| AC_SUBST(disasm_fs) |
AC_SUBST(disasm_fs) |
| |
|
| case "$host_os" in |
case "$host_os" in |
| *win32) |
*win32|cygwin) |
| EXE=".exe" |
|
| DIRSEP="\\" |
DIRSEP="\\" |
| ;; |
;; |
| *darwin*) |
*darwin*) |
| #Darwin uses some funny preprocessor by default; eliminate it: |
#Darwin uses some funny preprocessor by default; eliminate it: |
| AC_MSG_NOTICE([using -traditional-cpp on Darwin]) |
AC_MSG_NOTICE([using -traditional-cpp on Darwin]) |
| CFLAGS="$CFLAGS -traditional-cpp" |
CFLAGS="$CFLAGS -traditional-cpp" |
| EXE="" |
|
| DIRSEP="/" |
DIRSEP="/" |
| ;; |
;; |
| *) |
*) |
| EXE="" |
|
| DIRSEP="/" |
DIRSEP="/" |
| ;; |
;; |
| esac |
esac |
| AC_SUBST(EXE) |
|
| AC_SUBST(DIRSEP) |
AC_SUBST(DIRSEP) |
| AC_DEFINE_UNQUOTED(DIRSEP,'$DIRSEP',[a directory separator character]) |
AC_DEFINE_UNQUOTED(DIRSEP,'$DIRSEP',[a directory separator character]) |
| |
|