mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Don't insist on strict ANSI mode of the compiler.
Published in <sxs8zlezpsu.fsf@florida.arsdigita.de>.
This commit is contained in:
parent
31ea5aae27
commit
6382983f9c
@ -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.
|
||||
|
5
aclocal.m4
vendored
5
aclocal.m4
vendored
@ -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__. */
|
||||
|
Loading…
Reference in New Issue
Block a user