📄 configure.in
字号:
dnl Process this file with autoconf to produce a configure script.AC_INIT(sources/game/efg.h)AM_INIT_AUTOMAKE(gambit, 0.97.0.3)dnl AM_CONFIG_HEADER(config.h)dnl Checks for programs.AC_PROG_CCAC_PROG_CXXAC_PROG_RANLIBAC_PROG_YACCdnl A number of the following checks are currently commented out.dnl These are checks for functions and headers we do actually use,dnl but for which we don't have any workarounds should they be missing.dnl Checks for header files.AC_HEADER_STDCdnl AC_CHECK_HEADERS(fcntl.h limits.h malloc.h sys/time.h unistd.h)dnl Checks for typedefs, structures, and compiler characteristics.AC_C_CONSTAC_C_INLINEAC_TYPE_PID_TAC_TYPE_SIZE_TAC_STRUCT_TMdnl Checks for library functions.AC_FUNC_MEMCMPAC_TYPE_SIGNALdnl AC_CHECK_FUNCS(ftime putenv strdup strstr strtod strtol)dnl------------------------dnl Checking for wxWindowsdnl------------------------dnl check for wx-configWX_PATH_WXCONFIG(2.3.2, WXCONFIG=1)if test "$WXCONFIG" != 1; then AC_MSG_ERROR([ Please check that wx-config is in path, the directory where wxWindows libraries are installed (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH or equivalent variable and wxWindows is version 2.3.2 or above. ])fiCXXFLAGS="-DNEWSTYLE_TEMPLATES ${CXXFLAGS} ${WX_CXXFLAGS}"CXXFLAGS=`echo $CXXFLAGS | sed 's/-fno-exceptions//g'`dnl Newer versions of gcc issue a warning if /usr/local/include listeddnl in search pathCXXFLAGS=`echo $CXXFLAGS | sed 's/-I\/usr\/local\/include//g'`LDFLAGS="${LDFLAGS} ${WX_LIBS}"GUI_LIBS="${WX_LIBS}"AC_SUBST(GUI_LIBS)AC_OUTPUT(Makefile sources/Makefile \ sources/base/Makefile \ sources/math/Makefile \ sources/numerical/Makefile \ sources/game/Makefile \ sources/pelican/Makefile \ sources/poly/Makefile \ sources/nash/Makefile \ sources/gcl/Makefile \ sources/bitmaps/Makefile \ sources/wxgcl/Makefile \ sources/gui/Makefile \ efg/Makefile nfg/Makefile)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -