/[cvs]/eggdrop1.9/aclocal.m4
ViewVC logotype

Diff of /eggdrop1.9/aclocal.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.43 by guppy, Tue Jul 24 14:43:34 2001 UTC revision 1.44 by guppy, Thu Jul 26 04:07:48 2001 UTC
# Line 181  case "$egg_cv_var_system_type" in Line 181  case "$egg_cv_var_system_type" in
181        1.*)        1.*)
182          NEED_DL=0          NEED_DL=0
183          SHLIB_LD="$CC -shared"          SHLIB_LD="$CC -shared"
184          CC="$CC -mwin32"      AC_PROG_CC_WIN32
185        CC="$CC $WIN32FLAGS"
186          MOD_CC="$CC"          MOD_CC="$CC"
187          MOD_LD="$CC"          MOD_LD="$CC"
188          AC_MSG_CHECKING(for /usr/lib/binmode.o)          AC_MSG_CHECKING(for /usr/lib/binmode.o)
# Line 1238  AC_DEFUN(EGG_SAVE_PARAMETERS, [dnl Line 1239  AC_DEFUN(EGG_SAVE_PARAMETERS, [dnl
1239    AC_DIVERT_POP()dnl to NORMAL    AC_DIVERT_POP()dnl to NORMAL
1240    AC_SUBST(egg_ac_parameters)dnl    AC_SUBST(egg_ac_parameters)dnl
1241  ])dnl  ])dnl
1242    
1243    AC_DEFUN([AC_PROG_CC_WIN32], [
1244    AC_MSG_CHECKING([how to access the Win32 API])
1245    WIN32FLAGS=
1246    AC_TRY_COMPILE(,[
1247    #ifndef WIN32
1248    # ifndef _WIN32
1249    #  error WIN32 or _WIN32 not defined
1250    # endif
1251    #endif], [
1252    dnl found windows.h with the current config.
1253    AC_MSG_RESULT([present by default])
1254    ], [
1255    dnl try -mwin32
1256    ac_compile_save="$ac_compile"
1257    dnl we change CC so config.log looks correct
1258    save_CC="$CC"
1259    ac_compile="$ac_compile -mwin32"
1260    CC="$CC -mwin32"
1261    AC_TRY_COMPILE(,[
1262    #ifndef WIN32
1263    # ifndef _WIN32
1264    #  error WIN32 or _WIN32 not defined
1265    # endif
1266    #endif], [
1267    dnl found windows.h using -mwin32
1268    AC_MSG_RESULT([found via -mwin32])
1269    ac_compile="$ac_compile_save"
1270    CC="$save_CC"
1271    WIN32FLAGS="-mwin32"
1272    ], [
1273    ac_compile="$ac_compile_save"
1274    CC="$save_CC"
1275    AC_MSG_RESULT([not found])
1276    ])
1277    ])
1278    
1279    ])
1280    dnl

Legend:
Removed from v.1.43  
changed lines
  Added in v.1.44

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23