X-Git-Url: http://git.jankratochvil.net/?p=gnokii.git;a=blobdiff_plain;f=configure.in;h=ea77afb0d8432611dcc0fc8f89abfc079f9328f7;hp=c3ab23c465102ece9a4a39f57f488169dafcf0fe;hb=refs%2Fheads%2Flace_writephonebook;hpb=d5720d789c6e0941558360dd73911a67fee3f142 diff --git a/configure.in b/configure.in index c3ab23c..ea77afb 100644 --- a/configure.in +++ b/configure.in @@ -32,7 +32,9 @@ test x"$prefix" = xNONE && prefix="$ac_default_prefix" AC_ARG_ENABLE(debug, [ --enable-debug compile with debug code], - [ CFLAGS="-g -Wall" + [ if test "x$GCC" = "xyes"; then + CFLAGS="-ggdb3 -Wall" + fi AC_DEFINE(DEBUG) debug="yes" ], [ debug="no" ] @@ -437,7 +439,7 @@ AC_PROG_GCC_TRADITIONAL AC_FUNC_MEMCMP AC_TYPE_SIGNAL AC_FUNC_STRFTIME -AC_CHECK_FUNCS(mktime select strdup strstr strtol strtok strsep snprintf) +AC_CHECK_FUNCS(mktime select strdup strstr strtol strtok strsep snprintf vsnprintf asprintf vasprintf) CFLAGS="$CFLAGS $NLS_CFLAGS" LIBS="$LIBS $NLS_LIBS"