From: <the...@us...> - 2006-05-08 17:09:44
|
Revision: 16152 Author: thekingant Date: 2006-05-07 19:26:40 -0700 (Sun, 07 May 2006) ViewCVS: http://svn.sourceforge.net/gaim/?rev=16152&view=rev Log Message: ----------- When --enable-debug is used, set --enable-fatal-asserts as well Modified Paths: -------------- trunk/configure.ac Modified: trunk/configure.ac =================================================================== --- trunk/configure.ac 2006-05-08 02:09:44 UTC (rev 16151) +++ trunk/configure.ac 2006-05-08 02:26:40 UTC (rev 16152) @@ -75,11 +75,11 @@ ]) dnl Check for inet_aton -AC_CHECK_FUNC(inet_aton, , [AC_CHECK_LIB(resolv, inet_aton, , +AC_CHECK_FUNC(inet_aton, , [AC_CHECK_LIB(resolv, inet_aton, , [AC_ERROR(inet_aton not found)])]) AC_CHECK_LIB(resolv, __res_query) AC_CHECK_LIB(nsl, gethostent) -AC_CHECK_FUNC(socket, , +AC_CHECK_FUNC(socket, , [AC_CHECK_LIB(socket, socket, , [AC_ERROR([socket not found])])]) dnl If all goes well, by this point the previous two checks will have dnl pulled in -lsocket and -lnsl if we need them. @@ -130,12 +130,12 @@ { char buf[6]; time_t t = time(NULL); - + if (strftime(buf, sizeof(buf), "%z", localtime(&t)) != 5) return 1; - + fprintf(stderr, "strftime(\"%%z\") yields: \"%s\"\n", buf); - + return !((buf[0] == '-' || buf[0] == '+') && (buf[1] >= '0' && buf[1] <= '9') && (buf[2] >= '0' && buf[2] <= '9') && @@ -508,6 +508,7 @@ if test "x$enable_debug" = "xyes" ; then AC_DEFINE(DEBUG, 1, [Define if debugging is enabled.]) + enable_fatal_asserts="yes" fi if test "x$enable_fatal_asserts" = "xyes" ; then This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |