- for macos, strdup is not defined. force configure --with-macos to

define BX_HAVE_STRDUP=0.
This commit is contained in:
Bryce Denney 2001-04-10 02:11:42 +00:00
parent 4e04f4cb58
commit fdac0b6e12
2 changed files with 5 additions and 0 deletions

4
bochs/configure vendored
View File

@ -3602,6 +3602,10 @@ EOF
elif test "$with_macos" = yes; then
cat >> confdefs.h <<\EOF
#define BX_WITH_MACOS 1
EOF
cat >> confdefs.h <<\EOF
#define BX_HAVE_STRDUP 0
EOF
GUI_OBJS='$(GUI_OBJS_MACOS)'

View File

@ -667,6 +667,7 @@ elif test "$with_win32_vcpp" = yes; then
CD_UP_TWO="cd ..\.."
elif test "$with_macos" = yes; then
AC_DEFINE(BX_WITH_MACOS, 1)
AC_DEFINE(BX_HAVE_STRDUP, 0)
GUI_OBJS='$(GUI_OBJS_MACOS)'
GUI_LINK_OPTS='$(GUI_LINK_OPTS_MACOS)'
else