Auto merged

2004/03/10 09:26:24+00:00 cantab.net!aia21
Move AC_GNU_SOURCE before AC_PROG_CC...

(Logical change 1.310)
edge.strict_endians
cantab.net!aia21 2004-03-10 09:26:51 +00:00
parent 3d757997b0
commit 0098e55da3
2 changed files with 39 additions and 39 deletions

72
configure vendored
View File

@ -2113,6 +2113,14 @@ else
fi
# Use GNU extensions if available.
cat >>confdefs.h <<\_ACEOF
#define _GNU_SOURCE 1
_ACEOF
# For djgpp support. (Note: This needs to be before AC_PROG_CC.)
case "$target" in
*-*-*djgpp)
@ -3787,7 +3795,7 @@ ia64-*-hpux*)
;;
*-*-irix6*)
# Find out which ABI we are using.
echo '#line 3790 "configure"' > conftest.$ac_ext
echo '#line 3798 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
@ -5284,7 +5292,7 @@ fi
# Provide some information about the compiler.
echo "$as_me:5287:" \
echo "$as_me:5295:" \
"checking for Fortran 77 compiler version" >&5
ac_compiler=`set X $ac_compile; echo $2`
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
@ -6289,11 +6297,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:6292: $lt_compile\"" >&5)
(eval echo "\"\$as_me:6300: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:6296: \$? = $ac_status" >&5
echo "$as_me:6304: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@ -6521,11 +6529,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:6524: $lt_compile\"" >&5)
(eval echo "\"\$as_me:6532: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:6528: \$? = $ac_status" >&5
echo "$as_me:6536: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@ -6588,11 +6596,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:6591: $lt_compile\"" >&5)
(eval echo "\"\$as_me:6599: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:6595: \$? = $ac_status" >&5
echo "$as_me:6603: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@ -8607,7 +8615,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 8610 "configure"
#line 8618 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -8705,7 +8713,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 8708 "configure"
#line 8716 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -10837,11 +10845,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:10840: $lt_compile\"" >&5)
(eval echo "\"\$as_me:10848: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:10844: \$? = $ac_status" >&5
echo "$as_me:10852: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@ -10904,11 +10912,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:10907: $lt_compile\"" >&5)
(eval echo "\"\$as_me:10915: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:10911: \$? = $ac_status" >&5
echo "$as_me:10919: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@ -12154,7 +12162,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 12157 "configure"
#line 12165 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -12252,7 +12260,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 12255 "configure"
#line 12263 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -13074,11 +13082,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:13077: $lt_compile\"" >&5)
(eval echo "\"\$as_me:13085: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:13081: \$? = $ac_status" >&5
echo "$as_me:13089: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@ -13141,11 +13149,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:13144: $lt_compile\"" >&5)
(eval echo "\"\$as_me:13152: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:13148: \$? = $ac_status" >&5
echo "$as_me:13156: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@ -15088,11 +15096,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:15091: $lt_compile\"" >&5)
(eval echo "\"\$as_me:15099: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:15095: \$? = $ac_status" >&5
echo "$as_me:15103: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@ -15320,11 +15328,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:15323: $lt_compile\"" >&5)
(eval echo "\"\$as_me:15331: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:15327: \$? = $ac_status" >&5
echo "$as_me:15335: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@ -15387,11 +15395,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:15390: $lt_compile\"" >&5)
(eval echo "\"\$as_me:15398: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:15394: \$? = $ac_status" >&5
echo "$as_me:15402: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@ -17406,7 +17414,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 17409 "configure"
#line 17417 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -17504,7 +17512,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 17507 "configure"
#line 17515 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -18510,14 +18518,6 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
# Use GNU extensions if available.(AIA)
cat >>confdefs.h <<\_ACEOF
#define _GNU_SOURCE 1
_ACEOF
# Enable large file support.
# Check whether --enable-largefile or --disable-largefile was given.

View File

@ -84,6 +84,9 @@ AC_ARG_ENABLE(really-static,
)
AM_CONDITIONAL(REALLYSTATIC, test "$enable_really_static" = yes)
# Use GNU extensions if available.
AC_GNU_SOURCE
# For djgpp support. (Note: This needs to be before AC_PROG_CC.)
case "$target" in
*-*-*djgpp)
@ -100,9 +103,6 @@ AC_PROG_LN_S
AC_PROG_MAKE_SET
AC_PROG_LIBTOOL
# Use GNU extensions if available.(AIA)
AC_GNU_SOURCE
# Enable large file support.
AC_SYS_LARGEFILE