configure.ac, base/asm-common.h: Check explicitly for `_' on symbols.
[catacomb] / configure.ac
index 308e457..cc7f3b4 100644 (file)
@@ -192,6 +192,13 @@ case mdw_asm_debug in
        [Define to enable assembler-level debugging.]) ;;
 esac
 
+dnl Check for leading underscores on C symbols.
+LT_SYS_SYMBOL_USCORE
+case $sys_symbol_underscore in
+  yes) AC_DEFINE([SYM_USCORE], [1],
+        [Define if C symbols are prefixed with an underscore.]) ;;
+esac
+
 dnl--------------------------------------------------------------------------
 dnl CPU-specific assembler features.