X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=configure.ac;h=3975bff3df08465ba940aea8b4daade73516f82c;hb=c0ea6ad1b06fc6d93f56c620a31df355afadf468;hp=b2406a6f6113cbcfc15bec83f20d4ab095cf281e;hpb=ff1bffe49d89a9aa98b4080a60b79eb8f261a520;p=pspp diff --git a/configure.ac b/configure.ac index b2406a6f61..3975bff3df 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script. dnl Initialize. AC_PREREQ(2.58) -AC_INIT(pspp, 0.3.1) +AC_INIT(pspp, 0.3.1,bug-gnu-pspp@gnu.org) AC_CONFIG_HEADERS([config.h]) AM_INIT_AUTOMAKE @@ -10,6 +10,9 @@ dnl Checks for programs. AC_GNU_SOURCE AC_PROG_CC +AM_CONDITIONAL(cc_is_gcc, test x"$GCC" = x"yes" ) + + dnl Internationalization macros. AM_GNU_GETTEXT AM_GNU_GETTEXT_VERSION dnl Prevents autoreconf complaint. @@ -89,15 +92,7 @@ AC_CHECK_FUNCS([gethostname strstr strtod __setfpucw isinf isnan finite \ AC_PROG_LN_S -dnl This must be after other tests so warnings don't provoke errors above. -if test "$ac_cv_c_compiler_gnu" = yes; then - CFLAGS="-g -Wall -W -Wno-uninitialized -Wwrite-strings \ --Wstrict-prototypes -Wpointer-arith -Wno-sign-compare" - if test "$CC_OPTIONS" != ""; then - CFLAGS="$CFLAGS $CC_OPTIONS" - fi -fi -AC_SUBST(CFLAGS) + AH_BOTTOM([#include ])