mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Substitute ANSI2KNR again.
This commit is contained in:
parent
be85e2d23f
commit
d518b6c14d
@ -1,3 +1,7 @@
|
|||||||
|
2003-11-05 Hrvoje Niksic <hniksic@xemacs.org>
|
||||||
|
|
||||||
|
* configure.in: Substitute ANSI2KNR and U, so we can compile.
|
||||||
|
|
||||||
2003-11-05 Hrvoje Niksic <hniksic@xemacs.org>
|
2003-11-05 Hrvoje Niksic <hniksic@xemacs.org>
|
||||||
|
|
||||||
* configure.in: Use the Autoconf macro AC_C_PROTOTYPES instead of
|
* configure.in: Use the Autoconf macro AC_C_PROTOTYPES instead of
|
||||||
|
26
configure.in
26
configure.in
@ -109,12 +109,16 @@ test -z "$CFLAGS" && CFLAGS= auto_cflags=1
|
|||||||
test -z "$CC" && cc_specified=yes
|
test -z "$CC" && cc_specified=yes
|
||||||
|
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
|
AC_AIX
|
||||||
|
AM_PROG_CC_STDC
|
||||||
|
|
||||||
|
dnl Turn on optimization by default. Specifically:
|
||||||
dnl
|
dnl
|
||||||
dnl if the user hasn't specified CFLAGS, then
|
dnl if the user hasn't specified CFLAGS, then
|
||||||
dnl if compiler is gcc, then use -O2 and some warning flags
|
dnl if compiler is gcc, then
|
||||||
dnl else use os-specific flags or -O
|
dnl use -O2 and some warning flags
|
||||||
dnl
|
dnl else
|
||||||
|
dnl use os-specific flags or -O
|
||||||
if test -n "$auto_cflags"; then
|
if test -n "$auto_cflags"; then
|
||||||
if test -n "$GCC"; then
|
if test -n "$GCC"; then
|
||||||
CFLAGS="$CFLAGS -O2 -Wall -Wno-implicit"
|
CFLAGS="$CFLAGS -O2 -Wall -Wno-implicit"
|
||||||
@ -127,11 +131,6 @@ if test -n "$auto_cflags"; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl
|
|
||||||
dnl Handle AIX
|
|
||||||
dnl
|
|
||||||
AC_AIX
|
|
||||||
|
|
||||||
dnl
|
dnl
|
||||||
dnl Configure our included libtool and make sure it's regenerated when needed
|
dnl Configure our included libtool and make sure it's regenerated when needed
|
||||||
dnl
|
dnl
|
||||||
@ -157,8 +156,17 @@ AC_C_VOLATILE
|
|||||||
AC_C_BIGENDIAN
|
AC_C_BIGENDIAN
|
||||||
AC_C_PROTOTYPES
|
AC_C_PROTOTYPES
|
||||||
|
|
||||||
|
if test x"$am_cv_prog_cc_stdc" != xno; then
|
||||||
|
true
|
||||||
|
AC_SUBST(U, [])
|
||||||
|
AC_SUBST(ANSI2KNR, [])
|
||||||
|
else
|
||||||
|
AC_SUBST(U, [_])
|
||||||
|
AC_SUBST(ANSI2KNR, [./ansi2knr])
|
||||||
|
fi
|
||||||
|
|
||||||
dnl
|
dnl
|
||||||
dnl Checks for headers that might be missing.
|
dnl Checks for header files that might be missing.
|
||||||
dnl
|
dnl
|
||||||
|
|
||||||
dnl Check for basic headers, even those we assume the presence of.
|
dnl Check for basic headers, even those we assume the presence of.
|
||||||
|
Loading…
Reference in New Issue
Block a user