]> sjero.net Git - wget/commitdiff
[svn] Don't insist on strict ANSI mode of the compiler.
authorhniksic <devnull@localhost>
Fri, 6 Apr 2001 03:11:24 +0000 (20:11 -0700)
committerhniksic <devnull@localhost>
Fri, 6 Apr 2001 03:11:24 +0000 (20:11 -0700)
Published in <sxs8zlezpsu.fsf@florida.arsdigita.de>.

ChangeLog
aclocal.m4

index 93c1fd7b7a568a360b0de962a02d3b948435b09f..432b1fe1ef227e83cebe77533ab421ff67f930db 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2001-04-06  Hrvoje Niksic  <hniksic@arsdigita.com>
+
+       * aclocal.m4 (AM_PROG_CC_STDC): Don't use -Xc under SYSV.  It
+       forces strict ANSI mode, which means we lose `long long'.
+       Generally, don't require __STDC__ to be defined to 1 because that
+       signifies strict ANSI.
+
 2001-04-04  Hrvoje Niksic  <hniksic@arsdigita.com>
 
        * NEWS: Cosmetic changes.
index e1a1fcb79a156109358d4a3864513b2f592694e2..decbba7a19ab36cee2e2ddea9946f5a3f820d3a2 100644 (file)
@@ -47,12 +47,11 @@ ac_save_CC="$CC"
 # AIX                  -qlanglvl=ansi
 # Ultrix and OSF/1     -std1
 # HP-UX                        -Aa -D_HPUX_SOURCE
-# SVR4                 -Xc -D__EXTENSIONS__
-for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
+for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE"
 do
   CC="$ac_save_CC $ac_arg"
   AC_TRY_COMPILE(
-[#if !defined(__STDC__) || __STDC__ != 1
+[#if !defined(__STDC__)
 choke me
 #endif
 /* DYNIX/ptx V4.1.3 can't compile sys/stat.h with -Xc -D__EXTENSIONS__. */