X-Git-Url: https://git.jankratochvil.net/?p=gnokii.git;a=blobdiff_plain;f=configure.in;h=0a305893f676a1bf3ac6f35cd203ae5ee7366823;hp=3670353c9db6efdd6e53d482e239d69b393bd1dc;hb=7fe9e12e4451190f8ca2543a98de9abd4f9b8958;hpb=4ee1266711b695852ec88f06784fd84400cd70bb diff --git a/configure.in b/configure.in index 3670353..0a30589 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"