Ticket #191: cmake_7_12.1b.diff
| File cmake_7_12.1b.diff, 17.6 KB (added by gunnar, 4 years ago) |
|---|
-
patterns/CMakeLists.txt
1 INCLUDE_DIRECTORIES(${GNUGo_SOURCE_DIR}/patterns) 2 INCLUDE_DIRECTORIES(${GNUGo_SOURCE_DIR}/engine) 3 INCLUDE_DIRECTORIES(${GNUGo_SOURCE_DIR}/sgf) 4 INCLUDE_DIRECTORIES(${GNUGo_SOURCE_DIR}/utils) 5 6 ########### mkpat program ############### 7 8 SET(mkpat_SRCS 9 mkpat.c 10 transform.c 11 dfa.c 12 ) 13 14 ADD_EXECUTABLE(mkpat ${mkpat_SRCS}) 15 16 TARGET_LINK_LIBRARIES(mkpat utils) 17 18 19 ########### joseki program ############### 20 21 SET(joseki_SRCS 22 joseki.c 23 ) 24 25 ADD_EXECUTABLE(joseki ${joseki_SRCS}) 26 27 TARGET_LINK_LIBRARIES(joseki board sgf utils) 28 29 30 ########### mkeyes program ############### 31 32 SET(mkeyes_SRCS 33 mkeyes.c 34 ) 35 36 ADD_EXECUTABLE(mkeyes ${mkeyes_SRCS}) 37 38 TARGET_LINK_LIBRARIES(mkeyes utils) 39 40 41 ########### uncompress_fuseki program ############### 42 43 SET(uncompress_fuseki_SRCS 44 uncompress_fuseki.c 45 ) 46 47 ADD_EXECUTABLE(uncompress_fuseki ${uncompress_fuseki_SRCS}) 48 49 TARGET_LINK_LIBRARIES(uncompress_fuseki utils board sgf) 50 51 52 ########### extract_fuseki program ############### 53 54 SET(extract_fuseki_SRCS 55 extract_fuseki.c 56 ) 57 58 ADD_EXECUTABLE(extract_fuseki ${extract_fuseki_SRCS}) 59 60 TARGET_LINK_LIBRARIES(extract_fuseki engine patterns 61 engine patterns sgf utils) 62 63 64 ########### next target ############### 65 66 SET(compress_fuseki_SRCS 67 compress_fuseki.c 68 ) 69 70 ADD_EXECUTABLE(compress_fuseki ${compress_fuseki_SRCS}) 71 72 TARGET_LINK_LIBRARIES(compress_fuseki) 73 74 75 ########### Generate files. ############## 76 77 GET_TARGET_PROPERTY(JOSEKI_EXE joseki LOCATION) 78 GET_TARGET_PROPERTY(MKPAT_EXE mkpat LOCATION) 79 GET_TARGET_PROPERTY(MKEYES_EXE mkeyes LOCATION) 80 GET_TARGET_PROPERTY(UNCOMPRESS_FUSEKI_EXE uncompress_fuseki LOCATION) 81 82 SET(JOSEKI_INPUTS "") 83 SET(JOSEKI_NAMES "") 84 SET(GG_BUILT_SOURCES "") 85 MACRO(BUILD_JOSEKI NAME PREFIX) 86 ADD_CUSTOM_COMMAND( 87 OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${NAME}.db 88 COMMAND ${JOSEKI_EXE} ${PREFIX} 89 ${CMAKE_CURRENT_SOURCE_DIR}/${NAME}.sgf 90 > ${CMAKE_CURRENT_BINARY_DIR}/${NAME}.db 91 DEPENDS joseki ${CMAKE_CURRENT_SOURCE_DIR}/${NAME}.sgf 92 ) 93 SET(JOSEKI_INPUTS ${JOSEKI_INPUTS} 94 "-i" ${CMAKE_CURRENT_BINARY_DIR}/${NAME}.db) 95 SET(JOSEKI_NAMES ${JOSEKI_NAMES} 96 ${CMAKE_CURRENT_BINARY_DIR}/${NAME}.db) 97 ENDMACRO(BUILD_JOSEKI) 98 99 BUILD_JOSEKI(gogo JG) 100 BUILD_JOSEKI(hoshi_keima JHK) 101 BUILD_JOSEKI(hoshi_other JHO) 102 BUILD_JOSEKI(komoku JK) 103 BUILD_JOSEKI(sansan JS) 104 BUILD_JOSEKI(mokuhazushi JM) 105 BUILD_JOSEKI(takamoku JT) 106 107 MACRO(RUN_MKPAT OPTIONS1 OPTIONS2 PATNAME DBNAME CNAME) 108 ADD_CUSTOM_COMMAND( 109 OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${CNAME} 110 COMMAND ${MKPAT_EXE} ${OPTIONS1} ${OPTIONS2} ${PATNAME} 111 -i ${CMAKE_CURRENT_SOURCE_DIR}/${DBNAME} 112 -o ${CMAKE_CURRENT_BINARY_DIR}/${CNAME} 113 DEPENDS mkpat ${CMAKE_CURRENT_SOURCE_DIR}/${DBNAME} 114 ) 115 SET(GG_BUILT_SOURCES ${GG_BUILT_SOURCES} ${CMAKE_CURRENT_BINARY_DIR}/${CNAME}) 116 ENDMACRO(RUN_MKPAT) 117 118 SET(DFAFLAGS -D -m) 119 120 MACRO(RUN_MKPAT_DFA OPTIONS PATNAME DTRNAME DBNAME CNAME) 121 ADD_CUSTOM_COMMAND( 122 OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${CNAME} 123 COMMAND ${MKPAT_EXE} ${DFAFLAGS} ${OPTIONS} 124 -t ${CMAKE_CURRENT_SOURCE_DIR}/${DTRNAME} ${PATNAME} 125 -i ${CMAKE_CURRENT_SOURCE_DIR}/${DBNAME} 126 -o ${CMAKE_CURRENT_BINARY_DIR}/${CNAME} 127 DEPENDS mkpat ${CMAKE_CURRENT_SOURCE_DIR}/${DBNAME} 128 ${CMAKE_CURRENT_SOURCE_DIR}/${DTRNAME} 129 ) 130 SET(GG_BUILT_SOURCES ${GG_BUILT_SOURCES} ${CMAKE_CURRENT_BINARY_DIR}/${CNAME}) 131 ENDMACRO(RUN_MKPAT_DFA) 132 133 MACRO(RUN_UNCOMPRESS_FUSEKI BOARDSIZE) 134 ADD_CUSTOM_COMMAND( 135 OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/fuseki${BOARDSIZE}.c 136 COMMAND ${UNCOMPRESS_FUSEKI_EXE} ${BOARDSIZE} 137 ${CMAKE_CURRENT_SOURCE_DIR}/fuseki${BOARDSIZE}.dbz 138 c > ${CMAKE_CURRENT_BINARY_DIR}/fuseki${BOARDSIZE}.c 139 DEPENDS uncompress_fuseki 140 ${CMAKE_CURRENT_SOURCE_DIR}/fuseki${BOARDSIZE}.dbz 141 ) 142 SET(GG_BUILT_SOURCES ${GG_BUILT_SOURCES} 143 ${CMAKE_CURRENT_BINARY_DIR}/fuseki${BOARDSIZE}.c) 144 ENDMACRO(RUN_UNCOMPRESS_FUSEKI) 145 146 # FIXME: It's very ugly that the RUN_MKPAT macro takes two separate 147 # option arguments, where one is in most cases eliminated by using "". 148 # The problem with just having one option argument is that specifying 149 # it as "-c -b" causes the space to be escaped into "-c\ -b". There is 150 # probably some trivial workaround for someone who actually knows cmake. 151 RUN_MKPAT(-X "" attpat attack.db apatterns.c) 152 RUN_MKPAT("" "" defpat defense.db dpatterns.c) 153 RUN_MKPAT(-b "" handipat handicap.db handipat.c) 154 RUN_MKPAT(-c "" influencepat influence.db influence.c) 155 RUN_MKPAT(-c -b barrierspat barriers.db barriers.c) 156 RUN_MKPAT(-b "" endpat endgame.db endgame.c) 157 RUN_MKPAT(-c "" conn conn.db conn.c) 158 RUN_MKPAT(-b "" fusekipat fuseki.db fusekipat.c) 159 RUN_MKPAT_DFA(-b aa_attackpat aa_attackpats.dtr aa_attackpats.db aa_attackpat.c) 160 RUN_MKPAT_DFA(-b owl_vital_apat owl_vital_apats.dtr owl_vital_apats.db owl_vital_apat.c) 161 RUN_MKPAT_DFA(-b owl_attackpat owl_attackpats.dtr owl_attackpats.db owl_attackpat.c) 162 RUN_MKPAT_DFA(-b owl_defendpat owl_defendpats.dtr owl_defendpats.db owl_defendpat.c) 163 RUN_UNCOMPRESS_FUSEKI(9) 164 RUN_UNCOMPRESS_FUSEKI(13) 165 RUN_UNCOMPRESS_FUSEKI(19) 166 167 ADD_CUSTOM_COMMAND( 168 OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/josekidb.c 169 COMMAND ${MKPAT_EXE} -C joseki ${JOSEKI_INPUTS} 170 -o ${CMAKE_CURRENT_BINARY_DIR}/josekidb.c 171 DEPENDS mkpat ${JOSEKI_NAMES} 172 ) 173 SET(GG_BUILT_SOURCES ${GG_BUILT_SOURCES} 174 ${CMAKE_CURRENT_BINARY_DIR}/josekidb.c) 175 176 ADD_CUSTOM_COMMAND( 177 OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/patterns.c 178 COMMAND ${MKPAT_EXE} -b pat -i ${CMAKE_CURRENT_SOURCE_DIR}/patterns.db 179 -i ${CMAKE_CURRENT_SOURCE_DIR}/patterns2.db 180 -o ${CMAKE_CURRENT_BINARY_DIR}/patterns.c 181 DEPENDS mkpat ${CMAKE_CURRENT_SOURCE_DIR}/patterns.db 182 ${CMAKE_CURRENT_SOURCE_DIR}/patterns2.db 183 ) 184 SET(GG_BUILT_SOURCES ${GG_BUILT_SOURCES} 185 ${CMAKE_CURRENT_BINARY_DIR}/patterns.c) 186 187 ADD_CUSTOM_COMMAND( 188 OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/eyes.c 189 COMMAND ${MKEYES_EXE} < ${CMAKE_CURRENT_SOURCE_DIR}/eyes.db 190 > ${CMAKE_CURRENT_BINARY_DIR}/eyes.c 191 DEPENDS mkeyes ${CMAKE_CURRENT_SOURCE_DIR}/eyes.db 192 ) 193 SET(GG_BUILT_SOURCES ${GG_BUILT_SOURCES} ${CMAKE_CURRENT_BINARY_DIR}/eyes.c) 194 195 196 197 ########### patterns library ############### 198 199 SET(patterns_STAT_SRCS 200 connections.c 201 helpers.c 202 transform.c 203 ${GG_BUILT_SOURCES} 204 ) 205 206 ADD_LIBRARY(patterns STATIC ${patterns_STAT_SRCS}) -
CMakeLists.txt
1 PROJECT(GNUGo) 2 3 INCLUDE(CheckIncludeFiles) 4 CHECK_INCLUDE_FILES(sys/times.h HAVE_SYS_TIMES_H) 5 CHECK_INCLUDE_FILES(sys/time.h HAVE_SYS_TIME_H) 6 CHECK_INCLUDE_FILES("sys/time.h;time.h" TIME_WITH_SYS_TIME) 7 CHECK_INCLUDE_FILES(unistd.h HAVE_UNISTD_H) 8 CHECK_INCLUDE_FILES(curses.h HAVE_CURSES_H) 9 CHECK_INCLUDE_FILES(glib.h HAVE_GLIB_H) 10 CHECK_INCLUDE_FILES(inttypes.h HAVE_INTTYPES_H) 11 CHECK_INCLUDE_FILES(memory.h HAVE_MEMORY_H) 12 CHECK_INCLUDE_FILES(ncurses/curses.h HAVE_NCURSES_CURSES_H) 13 CHECK_INCLUDE_FILES(ncurses/term.h HAVE_NCURSES_TERM_H) 14 CHECK_INCLUDE_FILES(stdint.h HAVE_STDINT_H) 15 CHECK_INCLUDE_FILES(stdlib.h HAVE_STDLIB_H) 16 CHECK_INCLUDE_FILES(strings.h HAVE_STRINGS_H) 17 CHECK_INCLUDE_FILES(string.h HAVE_STRING_H) 18 CHECK_INCLUDE_FILES(sys/stat.h HAVE_SYS_STAT_H) 19 CHECK_INCLUDE_FILES(sys/types.h HAVE_SYS_TYPES_H) 20 CHECK_INCLUDE_FILES(term.h HAVE_TERM_H) 21 CHECK_INCLUDE_FILES(crtdbg.h HAVE_CRTDBG_H) 22 CHECK_INCLUDE_FILES("winsock.h;io.h" HAVE_WINSOCK_IO_H) 23 24 INCLUDE(CheckTypeSize) 25 CHECK_TYPE_SIZE(long SIZEOF_LONG) 26 27 INCLUDE(CheckFunctionExists) 28 CHECK_FUNCTION_EXISTS(times HAVE_TIMES) 29 CHECK_FUNCTION_EXISTS(usleep HAVE_USLEEP) 30 CHECK_FUNCTION_EXISTS(gettimeofday HAVE_GETTIMEOFDAY) 31 CHECK_FUNCTION_EXISTS(vsnprintf HAVE_VSNPRINTF) 32 CHECK_FUNCTION_EXISTS(_vsnprintf HAVE__VSNPRINTF) 33 # FIXME: Probably necessary to add the glib library for this test to pass. 34 CHECK_FUNCTION_EXISTS(g_vsnprintf HAVE_G_VSNPRINTF) 35 36 SET(PRAGMAS "") 37 IF(WIN32) 38 SET(PRAGMAS "#pragma warning(disable: 4244 4305)") 39 ENDIF(WIN32) 40 41 CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake 42 ${CMAKE_CURRENT_BINARY_DIR}/config.h) 43 44 # Make sure all files know about and can find config.h 45 ADD_DEFINITIONS(-DHAVE_CONFIG_H) 46 INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}) 47 48 # Recurse into subdirectories. 49 ADD_SUBDIRECTORY(utils) 50 ADD_SUBDIRECTORY(sgf) 51 ADD_SUBDIRECTORY(engine) 52 ADD_SUBDIRECTORY(patterns) 53 ADD_SUBDIRECTORY(interface) -
sgf/CMakeLists.txt
1 INCLUDE_DIRECTORIES(${GNUGo_SOURCE_DIR}/utils) 2 3 ########### sgfgen program ############### 4 5 SET(sgfgen_SRCS 6 sgfgen.c 7 ) 8 9 ADD_EXECUTABLE(sgfgen ${sgfgen_SRCS}) 10 11 TARGET_LINK_LIBRARIES(sgfgen) 12 13 14 ########### sgf library ############### 15 16 SET(sgf_STAT_SRCS 17 sgf_utils.c 18 sgfnode.c 19 sgftree.c 20 ) 21 22 ADD_LIBRARY(sgf STATIC ${sgf_STAT_SRCS}) -
interface/gmp.c
55 55 #include <io.h> 56 56 #endif 57 57 58 #ifdef HAVE_ VISUAL_C58 #ifdef HAVE_WINSOCK_IO_H 59 59 #include <winsock.h> 60 60 #include <io.h> 61 61 #endif -
interface/CMakeLists.txt
1 INCLUDE_DIRECTORIES(${GNUGo_SOURCE_DIR}/engine) 2 INCLUDE_DIRECTORIES(${GNUGo_SOURCE_DIR}/sgf) 3 INCLUDE_DIRECTORIES(${GNUGo_SOURCE_DIR}/utils) 4 5 ########### gnugo executable ############### 6 7 SET(gnugo_SRCS 8 main.c 9 play_ascii.c 10 play_gmp.c 11 play_gtp.c 12 play_solo.c 13 play_test.c 14 gmp.c 15 gtp.c 16 ) 17 18 ADD_EXECUTABLE(gnugo ${gnugo_SRCS}) 19 20 IF(WIN32) 21 SET(PLATFORM_LIBRARIES wsock32) 22 ENDIF(WIN32) 23 24 IF(UNIX) 25 SET(PLATFORM_LIBRARIES m) 26 ENDIF(UNIX) 27 28 TARGET_LINK_LIBRARIES(gnugo sgf engine sgf utils patterns ${PLATFORM_LIBRARIES}) 29 30 INSTALL(TARGETS gnugo DESTINATION bin) -
utils/gg_utils.c
226 226 vsnprintf(dest, len, fmt, args); 227 227 #elif HAVE_G_VSNPRINTF 228 228 g_vsnprintf(dest, len, fmt, args); 229 #elif HAVE_ VISUAL_C229 #elif HAVE__VSNPRINTF_C 230 230 _vsnprintf(dest, len, fmt, args); 231 231 #else 232 232 UNUSED(len); -
utils/gg_utils.h
47 47 #include <io.h> 48 48 #endif 49 49 50 #ifdef HAVE_ VISUAL_C50 #ifdef HAVE_WINSOCK_IO_H 51 51 #include <winsock.h> 52 52 #include <io.h> 53 53 #endif -
utils/CMakeLists.txt
1 SET(utils_STAT_SRCS 2 getopt.c 3 getopt1.c 4 random.c 5 gg_utils.c 6 winsocket.c 7 ) 8 9 ADD_LIBRARY(utils STATIC ${utils_STAT_SRCS}) -
engine/gnugo.h
38 38 #include <config.h> 39 39 #endif 40 40 41 #ifdef HAVE_ VISUAL_C42 # include <crtdbg.h>41 #ifdef HAVE_CRTDBG_H 42 #include <crtdbg.h> 43 43 #endif 44 44 45 45 #include "sgftree.h" -
engine/CMakeLists.txt
1 INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}) 2 INCLUDE_DIRECTORIES(${GNUGo_SOURCE_DIR}/patterns) 3 INCLUDE_DIRECTORIES(${GNUGo_SOURCE_DIR}/sgf) 4 INCLUDE_DIRECTORIES(${GNUGo_SOURCE_DIR}/utils) 5 6 7 ########### engine library ############### 8 9 SET(engine_STAT_SRCS 10 aftermath.c 11 board.c 12 boardlib.c 13 breakin.c 14 cache.c 15 clock.c 16 combination.c 17 dragon.c 18 endgame.c 19 filllib.c 20 fuseki.c 21 genmove.c 22 globals.c 23 handicap.c 24 hash.c 25 influence.c 26 interface.c 27 matchpat.c 28 move_reasons.c 29 movelist.c 30 optics.c 31 oracle.c 32 owl.c 33 persistent.c 34 printutils.c 35 readconnect.c 36 reading.c 37 semeai.c 38 sgfdecide.c 39 sgffile.c 40 shapes.c 41 showbord.c 42 surround.c 43 unconditional.c 44 utils.c 45 value_moves.c 46 worm.c 47 ) 48 49 ADD_LIBRARY(engine STATIC ${engine_STAT_SRCS}) 50 51 52 ########### board library ############### 53 54 SET(board_STAT_SRCS 55 board.c 56 boardlib.c 57 hash.c 58 printutils.c 59 ) 60 61 ADD_LIBRARY(board STATIC ${board_STAT_SRCS}) -
config.h.cmake
1 /* Ruleset. Default Japanese */ 2 #define CHINESE_RULES 0 3 4 /* Allow resignation. Default enabled */ 5 #define RESIGNATION_ALLOWED 1 6 7 /* Default level (strength). Up to 10 supported */ 8 #define DEFAULT_LEVEL 10 9 10 /* Center oriented influence. Disabled by default. */ 11 #define COSMIC_GNUGO 0 12 13 /* Owl Node Limit. 1000 default. */ 14 #define OWL_NODE_LIMIT 1000 15 16 /* Semeai Variations. 500 default */ 17 #define SEMEAI_NODE_LIMIT 500 18 19 /* Default hash table size in megabytes */ 20 #define DEFAULT_MEMORY -1 21 22 /* Compile support for GTP communication over TCP/IP channel. */ 23 #undef ENABLE_SOCKET_SUPPORT 24 25 /* GAIN/LOSS codes. Disabled by default. */ 26 #define EXPERIMENTAL_OWL_EXT 0 27 28 /* Large Scale Captures. Disabled by default. */ 29 #define LARGE_SCALE 0 30 31 /* Oracle. Default not enabled. */ 32 #define ORACLE 0 33 34 /* Owl Threats. 0 standard. */ 35 #define OWL_THREATS 0 36 37 /* Break-in module. Enabled by default. */ 38 #define USE_BREAK_IN 1 39 40 /* Connection module. Default experimental. */ 41 #define EXPERIMENTAL_CONNECTIONS 1 42 43 /* Connection module. Default standard. */ 44 #define ALTERNATE_CONNECTIONS 1 45 46 /* Define as 1 to use the grid optimisation, or 2 to run it in self-test mode 47 */ 48 #define GRID_OPT 1 49 50 /* Define to use ansi escape sequences for color debugging */ 51 #undef ANSI_COLOR 52 53 /* Define to 1 if you have the <curses.h> header file. */ 54 #cmakedefine HAVE_CURSES_H 1 55 56 /* Define to 1 if you have the `gettimeofday' function. */ 57 #cmakedefine HAVE_GETTIMEOFDAY 1 58 59 /* Define to 1 if you have the <glib.h> header file. */ 60 #cmakedefine HAVE_GLIB_H 1 61 62 /* Define to 1 if you have the `g_vsnprintf' function. */ 63 #cmakedefine HAVE_G_VSNPRINTF 1 64 65 /* Define to 1 if you have the <inttypes.h> header file. */ 66 #cmakedefine HAVE_INTTYPES_H 1 67 68 /* Define to 1 if you have the <memory.h> header file. */ 69 #cmakedefine HAVE_MEMORY_H 1 70 71 /* Define to 1 if you have the <ncurses/curses.h> header file. */ 72 #cmakedefine HAVE_NCURSES_CURSES_H 1 73 74 /* Define to 1 if you have the <ncurses/term.h> header file. */ 75 #cmakedefine HAVE_NCURSES_TERM_H 1 76 77 /* Define to 1 if you have the <stdint.h> header file. */ 78 #cmakedefine HAVE_STDINT_H 1 79 80 /* Define to 1 if you have the <stdlib.h> header file. */ 81 #cmakedefine HAVE_STDLIB_H 1 82 83 /* Define to 1 if you have the <strings.h> header file. */ 84 #cmakedefine HAVE_STRINGS_H 1 85 86 /* Define to 1 if you have the <string.h> header file. */ 87 #cmakedefine HAVE_STRING_H 1 88 89 /* Define to 1 if you have the <sys/stat.h> header file. */ 90 #cmakedefine HAVE_SYS_STAT_H 1 91 92 /* Define to 1 if you have the <sys/times.h> header file. */ 93 #cmakedefine HAVE_SYS_TIMES_H 1 94 95 /* Define to 1 if you have the <sys/time.h> header file. */ 96 #cmakedefine HAVE_SYS_TIME_H 1 97 98 /* Define to 1 if you have the <sys/types.h> header file. */ 99 #cmakedefine HAVE_SYS_TYPES_H 1 100 101 /* Define to 1 if you have the <term.h> header file. */ 102 #cmakedefine HAVE_TERM_H 1 103 104 /* Define to 1 if you have the <crtdbg.h> header file. */ 105 #cmakedefine HAVE_CRTDBG_H 1 106 107 /* Define to 1 if you have the <winsock.h> and <io.h> header files. */ 108 #cmakedefine HAVE_WINSOCK_IO_H 1 109 110 /* Define to 1 if you have the `times' function. */ 111 #cmakedefine HAVE_TIMES 1 112 113 /* Define if your compiler supports transparent unions */ 114 #undef HAVE_TRANSPARENT_UNIONS 115 116 /* Define to 1 if you have the <unistd.h> header file. */ 117 #cmakedefine HAVE_UNISTD_H 1 118 119 /* Define to 1 if you have the `usleep' function. */ 120 #cmakedefine HAVE_USLEEP 1 121 122 /* Define if #define can take a variable number of arguments */ 123 #undef HAVE_VARIADIC_DEFINE 124 125 /* Define to 1 if you have the `vsnprintf' function. */ 126 #cmakedefine HAVE_VSNPRINTF 1 127 128 /* Define to 1 if you have the `_vsnprintf' function. */ 129 #cmakedefine HAVE__VSNPRINTF 1 130 131 /* Enable GNU Readline support */ 132 #undef READLINE 133 134 /* The size of a `long', as computed by sizeof. */ 135 #cmakedefine SIZEOF_LONG ${SIZEOF_LONG} 136 137 /* Define to 1 if you have the ANSI C header files. */ 138 #undef STDC_HEADERS 139 140 /* Define to 1 if termcap/terminfo is available. */ 141 #undef TERMINFO 142 143 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ 144 #cmakedefine TIME_WITH_SYS_TIME 1 145 146 /* Define special valgrind macros. */ 147 #undef USE_VALGRIND 148 149 /* Version number of package */ 150 #define VERSION "3.7.11" 151 152 /* Define to empty if `const' does not conform to ANSI C. */ 153 #undef const 154 155 ${PRAGMAS}
