From: Peep P. <so...@us...> - 2004-06-07 15:33:08
|
Update of /cvsroot/agd/server In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6180 Modified Files: configure.ac Log Message: Removed useless checks, overall fixes. Index: configure.ac =================================================================== RCS file: /cvsroot/agd/server/configure.ac,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- configure.ac 1 Apr 2004 19:17:13 -0000 1.8 +++ configure.ac 7 Jun 2004 15:32:59 -0000 1.9 @@ -1,11 +1,11 @@ ## Process this file with autoconf to produce a configure script. -AC_INIT(AGD, 0.0.3, [so...@es...]) +AC_INIT(AGD, 0.0.3, [pe...@li...]) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR(src/dfparse.y) AM_CONFIG_HEADER(src/config.h) AC_CONFIG_FILES([Makefile src/Makefile]) AC_PREFIX_DEFAULT(/usr) -AC_REVISION($revision 0.08$) +AC_REVISION($revision 0.09$) ## Disable lex, yacc, Makefile.in rebuilds by default. AM_MAINTAINER_MODE @@ -16,7 +16,7 @@ AM_PROG_CC_C_O AC_PROG_YACC AM_PROG_LEX -AC_PROG_AWK +#AC_PROG_AWK CFLAGS="" # Checks for configure options. @@ -40,11 +40,12 @@ AC_MSG_RESULT([no]) fi -AC_MSG_CHECKING(whether to enable Bison debugging) -AC_ARG_ENABLE(bison-debug, - AC_HELP_STRING([--enable-bison-debug], [enable Bison debugging]), , enable_bison_debug="no") -if test "x${enable_bison_debug}" != "xno"; then - YFLAGS="$YFLAGS -t" +AC_MSG_CHECKING(whether to enable Yacc debugging) +AC_ARG_ENABLE(yacc-debug, + AC_HELP_STRING([--enable-yacc-debug], [enable Yacc debugging]), , enable_yacc_debug="no") +if test "x${enable_yacc_debug}" != "xno"; then + AC_DEFINE([YYDEBUG], 1, [Yacc debug]) +# YFLAGS="$YFLAGS -t" AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) @@ -66,23 +67,27 @@ fi # Checks for libraries. -AC_CHECK_LIB(m, floor) +##AC_CHECK_LIB(m, floor) # This was needed by bytes_string, + # which was needed by memory statistics, + # which doesn't exist anymore. ##AC_CHECK_LIB(resolv, accept) AC_CHECK_LIB(nsl, gethostbyaddr) AC_CHECK_LIB(socket, socket) # Checks for header files. -AC_HEADER_STDC -AC_HEADER_DIRENT -AC_CHECK_HEADERS([arpa/inet.h fcntl.h netinet/in.h stddef.h sys/socket.h sys/time.h unistd.h winsock.h]) +#AC_HEADER_STDC +#AC_HEADER_DIRENT +#AC_CHECK_HEADERS([arpa/inet.h fcntl.h netinet/in.h stddef.h sys/socket.h sys/time.h unistd.h winsock.h]) + +AC_CHECK_HEADERS([winsock.h]) # This is where u_int32_t is on MacOSX - needs to be included before dirent.h. AC_CHECK_HEADERS([machine/types.h]) # Checks for typedefs, structures, and compiler characteristics. -AC_C_CONST +#AC_C_CONST AC_CHECK_TYPES([size_t, socklen_t]) -AC_HEADER_TIME -AC_STRUCT_TM +#AC_HEADER_TIME +#AC_STRUCT_TM # Checks for library functions. #AC_FUNC_MALLOC @@ -91,6 +96,6 @@ #AC_FUNC_STRFTIME #AC_FUNC_VPRINTF #AC_CHECK_FUNCS([atexit floor getcwd memset select socket strchr strerror strstr]) -AC_CHECK_FUNCS([getcwd memset select socket strerror]) +#AC_CHECK_FUNCS([getcwd memset select socket strerror]) AC_OUTPUT |