Introduce and use config/gcc-version.m4.
This commit is contained in:
parent
9ebd302d5e
commit
afefada0eb
@ -1,3 +1,9 @@
|
|||||||
|
2004-12-02 Richard Sandiford <rsandifo@redhat.com>
|
||||||
|
|
||||||
|
* configure.in: Include config/gcc-version.m4. Use TL_AC_GCC_VERSION
|
||||||
|
to set gcc_version_trigger. Remove some now-redundant AC_SUBSTs.
|
||||||
|
* configure: Regenerate.
|
||||||
|
|
||||||
2004-11-26 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
2004-11-26 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
||||||
|
|
||||||
* configure.in (hppa*-*-linux*): Don't add libgcj to noconfigdirs.
|
* configure.in (hppa*-*-linux*): Don't add libgcj to noconfigdirs.
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
2004-12-02 Richard Sandiford <rsandifo@redhat.com>
|
||||||
|
|
||||||
|
* gcc-version.m4: New file.
|
||||||
|
|
||||||
2004-09-24 Zack Weinberg <zack@codesourcery.com>
|
2004-09-24 Zack Weinberg <zack@codesourcery.com>
|
||||||
|
|
||||||
* warnings.m4: New file.
|
* warnings.m4: New file.
|
||||||
|
28
config/gcc-version.m4
Normal file
28
config/gcc-version.m4
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
dnl Usage: TL_AC_GCC_VERSION(TOPSRCDIR)
|
||||||
|
dnl
|
||||||
|
dnl Set up the variables:
|
||||||
|
dnl
|
||||||
|
dnl gcc_version_trigger: pathname of gcc's version.c, if available
|
||||||
|
dnl gcc_version_full: full gcc version string
|
||||||
|
dnl gcc_version: the first "word" in $gcc_version_full
|
||||||
|
dnl
|
||||||
|
dnl TOPSRCDIR is the top-level source directory.
|
||||||
|
AC_DEFUN([TL_AC_GCC_VERSION],
|
||||||
|
[
|
||||||
|
changequote(,)dnl
|
||||||
|
if test "${with_gcc_version_trigger+set}" = set; then
|
||||||
|
gcc_version_trigger=$with_gcc_version_trigger
|
||||||
|
else
|
||||||
|
gcc_version_trigger=$1/gcc/version.c
|
||||||
|
fi
|
||||||
|
if test -f "${gcc_version_trigger}"; then
|
||||||
|
gcc_version_full=`grep version_string "${gcc_version_trigger}" | sed -e 's/.*"\([^"]*\)".*/\1/'`
|
||||||
|
else
|
||||||
|
gcc_version_full=`$CC -v 2>&1 | sed -n 's/^gcc version //p'`
|
||||||
|
fi
|
||||||
|
gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
|
||||||
|
changequote([,])dnl
|
||||||
|
AC_SUBST(gcc_version_trigger)
|
||||||
|
AC_SUBST(gcc_version_full)
|
||||||
|
AC_SUBST(gcc_version)
|
||||||
|
])dnl
|
152
configure
vendored
152
configure
vendored
@ -851,16 +851,26 @@ fi
|
|||||||
topsrcdir=$srcpwd
|
topsrcdir=$srcpwd
|
||||||
|
|
||||||
extra_host_args=
|
extra_host_args=
|
||||||
|
|
||||||
# Define the trigger file to make sure configure will re-run whenever
|
# Define the trigger file to make sure configure will re-run whenever
|
||||||
# the gcc version number changes.
|
# the gcc version number changes.
|
||||||
if test "${with_gcc_version_trigger+set}" = set ; then
|
|
||||||
gcc_version_trigger="$with_gcc_version_trigger"
|
if test "${with_gcc_version_trigger+set}" = set; then
|
||||||
gcc_version=`grep version_string ${with_gcc_version_trigger} | sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/'`
|
gcc_version_trigger=$with_gcc_version_trigger
|
||||||
else
|
else
|
||||||
# If gcc's sources are available, define the trigger file.
|
gcc_version_trigger=$topsrcdir/gcc/version.c
|
||||||
if test -f ${topsrcdir}/gcc/version.c ; then
|
fi
|
||||||
gcc_version_trigger=${topsrcdir}/gcc/version.c
|
if test -f "${gcc_version_trigger}"; then
|
||||||
gcc_version=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/'`
|
gcc_version_full=`grep version_string "${gcc_version_trigger}" | sed -e 's/.*"\([^"]*\)".*/\1/'`
|
||||||
|
else
|
||||||
|
gcc_version_full=`$CC -v 2>&1 | sed -n 's/^gcc version //p'`
|
||||||
|
fi
|
||||||
|
gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if test -f $gcc_version_trigger ; then
|
||||||
case "$ac_configure_args" in
|
case "$ac_configure_args" in
|
||||||
*--with-gcc-version-trigger=$gcc_version_trigger* )
|
*--with-gcc-version-trigger=$gcc_version_trigger* )
|
||||||
;;
|
;;
|
||||||
@ -869,7 +879,6 @@ else
|
|||||||
ac_configure_args="$ac_configure_args --with-gcc-version-trigger=$gcc_version_trigger"
|
ac_configure_args="$ac_configure_args --with-gcc-version-trigger=$gcc_version_trigger"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
### To add a new directory to the tree, first choose whether it is a target
|
### To add a new directory to the tree, first choose whether it is a target
|
||||||
@ -1786,7 +1795,7 @@ else
|
|||||||
# Extract the first word of "gcc", so it can be a program name with args.
|
# Extract the first word of "gcc", so it can be a program name with args.
|
||||||
set dummy gcc; ac_word=$2
|
set dummy gcc; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:1790: checking for $ac_word" >&5
|
echo "configure:1799: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -1816,7 +1825,7 @@ if test -z "$CC"; then
|
|||||||
# Extract the first word of "cc", so it can be a program name with args.
|
# Extract the first word of "cc", so it can be a program name with args.
|
||||||
set dummy cc; ac_word=$2
|
set dummy cc; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:1820: checking for $ac_word" >&5
|
echo "configure:1829: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -1867,7 +1876,7 @@ fi
|
|||||||
# Extract the first word of "cl", so it can be a program name with args.
|
# Extract the first word of "cl", so it can be a program name with args.
|
||||||
set dummy cl; ac_word=$2
|
set dummy cl; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:1871: checking for $ac_word" >&5
|
echo "configure:1880: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -1899,7 +1908,7 @@ fi
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
|
||||||
echo "configure:1903: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
|
echo "configure:1912: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
|
||||||
|
|
||||||
ac_ext=c
|
ac_ext=c
|
||||||
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
|
||||||
@ -1910,12 +1919,12 @@ cross_compiling=$ac_cv_prog_cc_cross
|
|||||||
|
|
||||||
cat > conftest.$ac_ext << EOF
|
cat > conftest.$ac_ext << EOF
|
||||||
|
|
||||||
#line 1914 "configure"
|
#line 1923 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
main(){return(0);}
|
main(){return(0);}
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:1919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:1928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
ac_cv_prog_cc_works=yes
|
ac_cv_prog_cc_works=yes
|
||||||
# If we can't run a trivial program, we are probably using a cross compiler.
|
# If we can't run a trivial program, we are probably using a cross compiler.
|
||||||
if (./conftest; exit) 2>/dev/null; then
|
if (./conftest; exit) 2>/dev/null; then
|
||||||
@ -1941,12 +1950,12 @@ if test $ac_cv_prog_cc_works = no; then
|
|||||||
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
|
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
|
||||||
fi
|
fi
|
||||||
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
|
||||||
echo "configure:1945: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
|
echo "configure:1954: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
|
||||||
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
|
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
|
||||||
cross_compiling=$ac_cv_prog_cc_cross
|
cross_compiling=$ac_cv_prog_cc_cross
|
||||||
|
|
||||||
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
|
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
|
||||||
echo "configure:1950: checking whether we are using GNU C" >&5
|
echo "configure:1959: checking whether we are using GNU C" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -1955,7 +1964,7 @@ else
|
|||||||
yes;
|
yes;
|
||||||
#endif
|
#endif
|
||||||
EOF
|
EOF
|
||||||
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1959: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
|
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1968: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
|
||||||
ac_cv_prog_gcc=yes
|
ac_cv_prog_gcc=yes
|
||||||
else
|
else
|
||||||
ac_cv_prog_gcc=no
|
ac_cv_prog_gcc=no
|
||||||
@ -1974,7 +1983,7 @@ ac_test_CFLAGS="${CFLAGS+set}"
|
|||||||
ac_save_CFLAGS="$CFLAGS"
|
ac_save_CFLAGS="$CFLAGS"
|
||||||
CFLAGS=
|
CFLAGS=
|
||||||
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
|
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
|
||||||
echo "configure:1978: checking whether ${CC-cc} accepts -g" >&5
|
echo "configure:1987: checking whether ${CC-cc} accepts -g" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -2041,7 +2050,7 @@ fi
|
|||||||
# Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
|
# Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
|
||||||
set dummy ${ac_tool_prefix}gnatbind; ac_word=$2
|
set dummy ${ac_tool_prefix}gnatbind; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:2045: checking for $ac_word" >&5
|
echo "configure:2054: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_GNATBIND'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_GNATBIND'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -2073,7 +2082,7 @@ if test -n "$ac_tool_prefix"; then
|
|||||||
# Extract the first word of "gnatbind", so it can be a program name with args.
|
# Extract the first word of "gnatbind", so it can be a program name with args.
|
||||||
set dummy gnatbind; ac_word=$2
|
set dummy gnatbind; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:2077: checking for $ac_word" >&5
|
echo "configure:2086: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_GNATBIND'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_GNATBIND'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -2106,7 +2115,7 @@ fi
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo $ac_n "checking whether compiler driver understands Ada""... $ac_c" 1>&6
|
echo $ac_n "checking whether compiler driver understands Ada""... $ac_c" 1>&6
|
||||||
echo "configure:2110: checking whether compiler driver understands Ada" >&5
|
echo "configure:2119: checking whether compiler driver understands Ada" >&5
|
||||||
if eval "test \"`echo '$''{'acx_cv_cc_gcc_supports_ada'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'acx_cv_cc_gcc_supports_ada'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -2139,7 +2148,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo $ac_n "checking how to compare bootstrapped objects""... $ac_c" 1>&6
|
echo $ac_n "checking how to compare bootstrapped objects""... $ac_c" 1>&6
|
||||||
echo "configure:2143: checking how to compare bootstrapped objects" >&5
|
echo "configure:2152: checking how to compare bootstrapped objects" >&5
|
||||||
if eval "test \"`echo '$''{'gcc_cv_prog_cmp_skip'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'gcc_cv_prog_cmp_skip'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -2237,9 +2246,9 @@ saved_CFLAGS="$CFLAGS"
|
|||||||
CFLAGS="$CFLAGS $gmpinc"
|
CFLAGS="$CFLAGS $gmpinc"
|
||||||
# Check GMP actually works
|
# Check GMP actually works
|
||||||
echo $ac_n "checking for correct version of gmp.h""... $ac_c" 1>&6
|
echo $ac_n "checking for correct version of gmp.h""... $ac_c" 1>&6
|
||||||
echo "configure:2241: checking for correct version of gmp.h" >&5
|
echo "configure:2250: checking for correct version of gmp.h" >&5
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 2243 "configure"
|
#line 2252 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include "gmp.h"
|
#include "gmp.h"
|
||||||
int main() {
|
int main() {
|
||||||
@ -2250,7 +2259,7 @@ choke me
|
|||||||
|
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:2254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:2263: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
echo "$ac_t""yes" 1>&6
|
echo "$ac_t""yes" 1>&6
|
||||||
else
|
else
|
||||||
@ -2263,12 +2272,12 @@ rm -f conftest*
|
|||||||
|
|
||||||
if test x"$have_gmp" = xyes; then
|
if test x"$have_gmp" = xyes; then
|
||||||
echo $ac_n "checking for MPFR""... $ac_c" 1>&6
|
echo $ac_n "checking for MPFR""... $ac_c" 1>&6
|
||||||
echo "configure:2267: checking for MPFR" >&5
|
echo "configure:2276: checking for MPFR" >&5
|
||||||
|
|
||||||
saved_LIBS="$LIBS"
|
saved_LIBS="$LIBS"
|
||||||
LIBS="$LIBS $gmplibs"
|
LIBS="$LIBS $gmplibs"
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 2272 "configure"
|
#line 2281 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <gmp.h>
|
#include <gmp.h>
|
||||||
#include <mpfr.h>
|
#include <mpfr.h>
|
||||||
@ -2276,7 +2285,7 @@ int main() {
|
|||||||
mpfr_t n; mpfr_init(n);
|
mpfr_t n; mpfr_init(n);
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:2280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:2289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
echo "$ac_t""yes" 1>&6
|
echo "$ac_t""yes" 1>&6
|
||||||
else
|
else
|
||||||
@ -2763,7 +2772,7 @@ do
|
|||||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||||
set dummy $ac_prog; ac_word=$2
|
set dummy $ac_prog; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:2767: checking for $ac_word" >&5
|
echo "configure:2776: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_BISON'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_BISON'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -2798,7 +2807,7 @@ do
|
|||||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||||
set dummy $ac_prog; ac_word=$2
|
set dummy $ac_prog; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:2802: checking for $ac_word" >&5
|
echo "configure:2811: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_YACC'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_YACC'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -2833,7 +2842,7 @@ do
|
|||||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||||
set dummy $ac_prog; ac_word=$2
|
set dummy $ac_prog; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:2837: checking for $ac_word" >&5
|
echo "configure:2846: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_M4'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_M4'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -2868,7 +2877,7 @@ do
|
|||||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||||
set dummy $ac_prog; ac_word=$2
|
set dummy $ac_prog; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:2872: checking for $ac_word" >&5
|
echo "configure:2881: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_FLEX'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_FLEX'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -2903,7 +2912,7 @@ do
|
|||||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||||
set dummy $ac_prog; ac_word=$2
|
set dummy $ac_prog; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:2907: checking for $ac_word" >&5
|
echo "configure:2916: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_LEX'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_LEX'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -2938,7 +2947,7 @@ do
|
|||||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||||
set dummy $ac_prog; ac_word=$2
|
set dummy $ac_prog; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:2942: checking for $ac_word" >&5
|
echo "configure:2951: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_MAKEINFO'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_MAKEINFO'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -3559,8 +3568,6 @@ done
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Build module lists & subconfigure args.
|
# Build module lists & subconfigure args.
|
||||||
|
|
||||||
|
|
||||||
@ -3587,7 +3594,7 @@ test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
|
|||||||
# Extract the first word of "${ncn_tool_prefix}ar", so it can be a program name with args.
|
# Extract the first word of "${ncn_tool_prefix}ar", so it can be a program name with args.
|
||||||
set dummy ${ncn_tool_prefix}ar; ac_word=$2
|
set dummy ${ncn_tool_prefix}ar; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:3591: checking for $ac_word" >&5
|
echo "configure:3598: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -3620,7 +3627,7 @@ if test -z "$ac_cv_prog_AR" ; then
|
|||||||
# Extract the first word of "ar", so it can be a program name with args.
|
# Extract the first word of "ar", so it can be a program name with args.
|
||||||
set dummy ar; ac_word=$2
|
set dummy ar; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:3624: checking for $ac_word" >&5
|
echo "configure:3631: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_AR'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_AR'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -3659,7 +3666,7 @@ fi
|
|||||||
# Extract the first word of "${ncn_tool_prefix}as", so it can be a program name with args.
|
# Extract the first word of "${ncn_tool_prefix}as", so it can be a program name with args.
|
||||||
set dummy ${ncn_tool_prefix}as; ac_word=$2
|
set dummy ${ncn_tool_prefix}as; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:3663: checking for $ac_word" >&5
|
echo "configure:3670: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -3692,7 +3699,7 @@ if test -z "$ac_cv_prog_AS" ; then
|
|||||||
# Extract the first word of "as", so it can be a program name with args.
|
# Extract the first word of "as", so it can be a program name with args.
|
||||||
set dummy as; ac_word=$2
|
set dummy as; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:3696: checking for $ac_word" >&5
|
echo "configure:3703: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_AS'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_AS'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -3731,7 +3738,7 @@ fi
|
|||||||
# Extract the first word of "${ncn_tool_prefix}dlltool", so it can be a program name with args.
|
# Extract the first word of "${ncn_tool_prefix}dlltool", so it can be a program name with args.
|
||||||
set dummy ${ncn_tool_prefix}dlltool; ac_word=$2
|
set dummy ${ncn_tool_prefix}dlltool; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:3735: checking for $ac_word" >&5
|
echo "configure:3742: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -3764,7 +3771,7 @@ if test -z "$ac_cv_prog_DLLTOOL" ; then
|
|||||||
# Extract the first word of "dlltool", so it can be a program name with args.
|
# Extract the first word of "dlltool", so it can be a program name with args.
|
||||||
set dummy dlltool; ac_word=$2
|
set dummy dlltool; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:3768: checking for $ac_word" >&5
|
echo "configure:3775: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_DLLTOOL'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_DLLTOOL'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -3803,7 +3810,7 @@ fi
|
|||||||
# Extract the first word of "${ncn_tool_prefix}ld", so it can be a program name with args.
|
# Extract the first word of "${ncn_tool_prefix}ld", so it can be a program name with args.
|
||||||
set dummy ${ncn_tool_prefix}ld; ac_word=$2
|
set dummy ${ncn_tool_prefix}ld; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:3807: checking for $ac_word" >&5
|
echo "configure:3814: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -3836,7 +3843,7 @@ if test -z "$ac_cv_prog_LD" ; then
|
|||||||
# Extract the first word of "ld", so it can be a program name with args.
|
# Extract the first word of "ld", so it can be a program name with args.
|
||||||
set dummy ld; ac_word=$2
|
set dummy ld; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:3840: checking for $ac_word" >&5
|
echo "configure:3847: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_LD'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_LD'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -3875,7 +3882,7 @@ fi
|
|||||||
# Extract the first word of "${ncn_tool_prefix}nm", so it can be a program name with args.
|
# Extract the first word of "${ncn_tool_prefix}nm", so it can be a program name with args.
|
||||||
set dummy ${ncn_tool_prefix}nm; ac_word=$2
|
set dummy ${ncn_tool_prefix}nm; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:3879: checking for $ac_word" >&5
|
echo "configure:3886: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_NM'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_NM'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -3908,7 +3915,7 @@ if test -z "$ac_cv_prog_NM" ; then
|
|||||||
# Extract the first word of "nm", so it can be a program name with args.
|
# Extract the first word of "nm", so it can be a program name with args.
|
||||||
set dummy nm; ac_word=$2
|
set dummy nm; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:3912: checking for $ac_word" >&5
|
echo "configure:3919: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_NM'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_NM'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -3947,7 +3954,7 @@ fi
|
|||||||
# Extract the first word of "${ncn_tool_prefix}ranlib", so it can be a program name with args.
|
# Extract the first word of "${ncn_tool_prefix}ranlib", so it can be a program name with args.
|
||||||
set dummy ${ncn_tool_prefix}ranlib; ac_word=$2
|
set dummy ${ncn_tool_prefix}ranlib; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:3951: checking for $ac_word" >&5
|
echo "configure:3958: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -3980,7 +3987,7 @@ if test -z "$ac_cv_prog_RANLIB" ; then
|
|||||||
# Extract the first word of "ranlib", so it can be a program name with args.
|
# Extract the first word of "ranlib", so it can be a program name with args.
|
||||||
set dummy ranlib; ac_word=$2
|
set dummy ranlib; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:3984: checking for $ac_word" >&5
|
echo "configure:3991: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_RANLIB'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_RANLIB'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -4019,7 +4026,7 @@ fi
|
|||||||
# Extract the first word of "${ncn_tool_prefix}windres", so it can be a program name with args.
|
# Extract the first word of "${ncn_tool_prefix}windres", so it can be a program name with args.
|
||||||
set dummy ${ncn_tool_prefix}windres; ac_word=$2
|
set dummy ${ncn_tool_prefix}windres; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:4023: checking for $ac_word" >&5
|
echo "configure:4030: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -4052,7 +4059,7 @@ if test -z "$ac_cv_prog_WINDRES" ; then
|
|||||||
# Extract the first word of "windres", so it can be a program name with args.
|
# Extract the first word of "windres", so it can be a program name with args.
|
||||||
set dummy windres; ac_word=$2
|
set dummy windres; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:4056: checking for $ac_word" >&5
|
echo "configure:4063: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_WINDRES'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_WINDRES'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -4091,7 +4098,7 @@ fi
|
|||||||
# Extract the first word of "${ncn_tool_prefix}objcopy", so it can be a program name with args.
|
# Extract the first word of "${ncn_tool_prefix}objcopy", so it can be a program name with args.
|
||||||
set dummy ${ncn_tool_prefix}objcopy; ac_word=$2
|
set dummy ${ncn_tool_prefix}objcopy; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:4095: checking for $ac_word" >&5
|
echo "configure:4102: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_OBJCOPY'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_OBJCOPY'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -4124,7 +4131,7 @@ if test -z "$ac_cv_prog_OBJCOPY" ; then
|
|||||||
# Extract the first word of "objcopy", so it can be a program name with args.
|
# Extract the first word of "objcopy", so it can be a program name with args.
|
||||||
set dummy objcopy; ac_word=$2
|
set dummy objcopy; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:4128: checking for $ac_word" >&5
|
echo "configure:4135: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_OBJCOPY'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_OBJCOPY'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -4163,7 +4170,7 @@ fi
|
|||||||
# Extract the first word of "${ncn_tool_prefix}objdump", so it can be a program name with args.
|
# Extract the first word of "${ncn_tool_prefix}objdump", so it can be a program name with args.
|
||||||
set dummy ${ncn_tool_prefix}objdump; ac_word=$2
|
set dummy ${ncn_tool_prefix}objdump; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:4167: checking for $ac_word" >&5
|
echo "configure:4174: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -4196,7 +4203,7 @@ if test -z "$ac_cv_prog_OBJDUMP" ; then
|
|||||||
# Extract the first word of "objdump", so it can be a program name with args.
|
# Extract the first word of "objdump", so it can be a program name with args.
|
||||||
set dummy objdump; ac_word=$2
|
set dummy objdump; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:4200: checking for $ac_word" >&5
|
echo "configure:4207: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_OBJDUMP'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_OBJDUMP'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -4242,7 +4249,7 @@ fi
|
|||||||
# Extract the first word of "${ncn_target_tool_prefix}ar", so it can be a program name with args.
|
# Extract the first word of "${ncn_target_tool_prefix}ar", so it can be a program name with args.
|
||||||
set dummy ${ncn_target_tool_prefix}ar; ac_word=$2
|
set dummy ${ncn_target_tool_prefix}ar; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:4246: checking for $ac_word" >&5
|
echo "configure:4253: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_AR_FOR_TARGET'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_AR_FOR_TARGET'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -4275,7 +4282,7 @@ if test -z "$ac_cv_prog_CONFIGURED_AR_FOR_TARGET" ; then
|
|||||||
# Extract the first word of "ar", so it can be a program name with args.
|
# Extract the first word of "ar", so it can be a program name with args.
|
||||||
set dummy ar; ac_word=$2
|
set dummy ar; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:4279: checking for $ac_word" >&5
|
echo "configure:4286: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_CONFIGURED_AR_FOR_TARGET'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_CONFIGURED_AR_FOR_TARGET'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -4314,7 +4321,7 @@ fi
|
|||||||
# Extract the first word of "${ncn_target_tool_prefix}as", so it can be a program name with args.
|
# Extract the first word of "${ncn_target_tool_prefix}as", so it can be a program name with args.
|
||||||
set dummy ${ncn_target_tool_prefix}as; ac_word=$2
|
set dummy ${ncn_target_tool_prefix}as; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:4318: checking for $ac_word" >&5
|
echo "configure:4325: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_AS_FOR_TARGET'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_AS_FOR_TARGET'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -4347,7 +4354,7 @@ if test -z "$ac_cv_prog_CONFIGURED_AS_FOR_TARGET" ; then
|
|||||||
# Extract the first word of "as", so it can be a program name with args.
|
# Extract the first word of "as", so it can be a program name with args.
|
||||||
set dummy as; ac_word=$2
|
set dummy as; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:4351: checking for $ac_word" >&5
|
echo "configure:4358: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_CONFIGURED_AS_FOR_TARGET'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_CONFIGURED_AS_FOR_TARGET'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -4386,7 +4393,7 @@ fi
|
|||||||
# Extract the first word of "${ncn_target_tool_prefix}dlltool", so it can be a program name with args.
|
# Extract the first word of "${ncn_target_tool_prefix}dlltool", so it can be a program name with args.
|
||||||
set dummy ${ncn_target_tool_prefix}dlltool; ac_word=$2
|
set dummy ${ncn_target_tool_prefix}dlltool; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:4390: checking for $ac_word" >&5
|
echo "configure:4397: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_DLLTOOL_FOR_TARGET'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_DLLTOOL_FOR_TARGET'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -4419,7 +4426,7 @@ if test -z "$ac_cv_prog_CONFIGURED_DLLTOOL_FOR_TARGET" ; then
|
|||||||
# Extract the first word of "dlltool", so it can be a program name with args.
|
# Extract the first word of "dlltool", so it can be a program name with args.
|
||||||
set dummy dlltool; ac_word=$2
|
set dummy dlltool; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:4423: checking for $ac_word" >&5
|
echo "configure:4430: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_CONFIGURED_DLLTOOL_FOR_TARGET'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_CONFIGURED_DLLTOOL_FOR_TARGET'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -4458,7 +4465,7 @@ fi
|
|||||||
# Extract the first word of "${ncn_target_tool_prefix}ld", so it can be a program name with args.
|
# Extract the first word of "${ncn_target_tool_prefix}ld", so it can be a program name with args.
|
||||||
set dummy ${ncn_target_tool_prefix}ld; ac_word=$2
|
set dummy ${ncn_target_tool_prefix}ld; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:4462: checking for $ac_word" >&5
|
echo "configure:4469: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_LD_FOR_TARGET'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_LD_FOR_TARGET'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -4491,7 +4498,7 @@ if test -z "$ac_cv_prog_CONFIGURED_LD_FOR_TARGET" ; then
|
|||||||
# Extract the first word of "ld", so it can be a program name with args.
|
# Extract the first word of "ld", so it can be a program name with args.
|
||||||
set dummy ld; ac_word=$2
|
set dummy ld; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:4495: checking for $ac_word" >&5
|
echo "configure:4502: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_CONFIGURED_LD_FOR_TARGET'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_CONFIGURED_LD_FOR_TARGET'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -4530,7 +4537,7 @@ fi
|
|||||||
# Extract the first word of "${ncn_target_tool_prefix}nm", so it can be a program name with args.
|
# Extract the first word of "${ncn_target_tool_prefix}nm", so it can be a program name with args.
|
||||||
set dummy ${ncn_target_tool_prefix}nm; ac_word=$2
|
set dummy ${ncn_target_tool_prefix}nm; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:4534: checking for $ac_word" >&5
|
echo "configure:4541: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_NM_FOR_TARGET'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_NM_FOR_TARGET'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -4563,7 +4570,7 @@ if test -z "$ac_cv_prog_CONFIGURED_NM_FOR_TARGET" ; then
|
|||||||
# Extract the first word of "nm", so it can be a program name with args.
|
# Extract the first word of "nm", so it can be a program name with args.
|
||||||
set dummy nm; ac_word=$2
|
set dummy nm; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:4567: checking for $ac_word" >&5
|
echo "configure:4574: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_CONFIGURED_NM_FOR_TARGET'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_CONFIGURED_NM_FOR_TARGET'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -4602,7 +4609,7 @@ fi
|
|||||||
# Extract the first word of "${ncn_target_tool_prefix}ranlib", so it can be a program name with args.
|
# Extract the first word of "${ncn_target_tool_prefix}ranlib", so it can be a program name with args.
|
||||||
set dummy ${ncn_target_tool_prefix}ranlib; ac_word=$2
|
set dummy ${ncn_target_tool_prefix}ranlib; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:4606: checking for $ac_word" >&5
|
echo "configure:4613: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_RANLIB_FOR_TARGET'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_RANLIB_FOR_TARGET'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -4635,7 +4642,7 @@ if test -z "$ac_cv_prog_CONFIGURED_RANLIB_FOR_TARGET" ; then
|
|||||||
# Extract the first word of "ranlib", so it can be a program name with args.
|
# Extract the first word of "ranlib", so it can be a program name with args.
|
||||||
set dummy ranlib; ac_word=$2
|
set dummy ranlib; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:4639: checking for $ac_word" >&5
|
echo "configure:4646: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_CONFIGURED_RANLIB_FOR_TARGET'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_CONFIGURED_RANLIB_FOR_TARGET'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -4674,7 +4681,7 @@ fi
|
|||||||
# Extract the first word of "${ncn_target_tool_prefix}windres", so it can be a program name with args.
|
# Extract the first word of "${ncn_target_tool_prefix}windres", so it can be a program name with args.
|
||||||
set dummy ${ncn_target_tool_prefix}windres; ac_word=$2
|
set dummy ${ncn_target_tool_prefix}windres; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:4678: checking for $ac_word" >&5
|
echo "configure:4685: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_WINDRES_FOR_TARGET'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_WINDRES_FOR_TARGET'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -4707,7 +4714,7 @@ if test -z "$ac_cv_prog_CONFIGURED_WINDRES_FOR_TARGET" ; then
|
|||||||
# Extract the first word of "windres", so it can be a program name with args.
|
# Extract the first word of "windres", so it can be a program name with args.
|
||||||
set dummy windres; ac_word=$2
|
set dummy windres; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:4711: checking for $ac_word" >&5
|
echo "configure:4718: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_CONFIGURED_WINDRES_FOR_TARGET'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_CONFIGURED_WINDRES_FOR_TARGET'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -4792,7 +4799,7 @@ RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
|
|||||||
NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
|
NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
|
||||||
|
|
||||||
echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
|
echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
|
||||||
echo "configure:4796: checking whether to enable maintainer-specific portions of Makefiles" >&5
|
echo "configure:4803: checking whether to enable maintainer-specific portions of Makefiles" >&5
|
||||||
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
|
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
|
||||||
if test "${enable_maintainer_mode+set}" = set; then
|
if test "${enable_maintainer_mode+set}" = set; then
|
||||||
enableval="$enable_maintainer_mode"
|
enableval="$enable_maintainer_mode"
|
||||||
@ -4839,7 +4846,7 @@ esac
|
|||||||
# gcc for stageN-gcc and stagePREV-gcc for stage(N-1). In case this is not
|
# gcc for stageN-gcc and stagePREV-gcc for stage(N-1). In case this is not
|
||||||
# possible, however, we can resort to mv.
|
# possible, however, we can resort to mv.
|
||||||
echo $ac_n "checking if symbolic links between directories work""... $ac_c" 1>&6
|
echo $ac_n "checking if symbolic links between directories work""... $ac_c" 1>&6
|
||||||
echo "configure:4843: checking if symbolic links between directories work" >&5
|
echo "configure:4850: checking if symbolic links between directories work" >&5
|
||||||
if eval "test \"`echo '$''{'gcc_cv_prog_ln_s_dir'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'gcc_cv_prog_ln_s_dir'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -5073,6 +5080,9 @@ s%@INSTALL_DATA@%$INSTALL_DATA%g
|
|||||||
s%@LN@%$LN%g
|
s%@LN@%$LN%g
|
||||||
s%@LN_S@%$LN_S%g
|
s%@LN_S@%$LN_S%g
|
||||||
s%@TOPLEVEL_CONFIGURE_ARGUMENTS@%$TOPLEVEL_CONFIGURE_ARGUMENTS%g
|
s%@TOPLEVEL_CONFIGURE_ARGUMENTS@%$TOPLEVEL_CONFIGURE_ARGUMENTS%g
|
||||||
|
s%@gcc_version_trigger@%$gcc_version_trigger%g
|
||||||
|
s%@gcc_version_full@%$gcc_version_full%g
|
||||||
|
s%@gcc_version@%$gcc_version%g
|
||||||
s%@build_subdir@%$build_subdir%g
|
s%@build_subdir@%$build_subdir%g
|
||||||
s%@host_subdir@%$host_subdir%g
|
s%@host_subdir@%$host_subdir%g
|
||||||
s%@target_subdir@%$target_subdir%g
|
s%@target_subdir@%$target_subdir%g
|
||||||
@ -5104,8 +5114,6 @@ s%@SET_LIB_PATH@%$SET_LIB_PATH%g
|
|||||||
s%@RPATH_ENVVAR@%$RPATH_ENVVAR%g
|
s%@RPATH_ENVVAR@%$RPATH_ENVVAR%g
|
||||||
s%@BUILD_PREFIX@%$BUILD_PREFIX%g
|
s%@BUILD_PREFIX@%$BUILD_PREFIX%g
|
||||||
s%@BUILD_PREFIX_1@%$BUILD_PREFIX_1%g
|
s%@BUILD_PREFIX_1@%$BUILD_PREFIX_1%g
|
||||||
s%@gcc_version_trigger@%$gcc_version_trigger%g
|
|
||||||
s%@gcc_version@%$gcc_version%g
|
|
||||||
s%@tooldir@%$tooldir%g
|
s%@tooldir@%$tooldir%g
|
||||||
s%@build_tooldir@%$build_tooldir%g
|
s%@build_tooldir@%$build_tooldir%g
|
||||||
s%@GDB_TK@%$GDB_TK%g
|
s%@GDB_TK@%$GDB_TK%g
|
||||||
|
15
configure.in
15
configure.in
@ -19,6 +19,7 @@
|
|||||||
### WARNING: this file contains embedded tabs. Do not run untabify on this file.
|
### WARNING: this file contains embedded tabs. Do not run untabify on this file.
|
||||||
|
|
||||||
sinclude(config/acx.m4)
|
sinclude(config/acx.m4)
|
||||||
|
sinclude(config/gcc-version.m4)
|
||||||
|
|
||||||
AC_INIT(move-if-change)
|
AC_INIT(move-if-change)
|
||||||
AC_PREREQ(2.13)
|
AC_PREREQ(2.13)
|
||||||
@ -98,16 +99,11 @@ fi
|
|||||||
topsrcdir=$srcpwd
|
topsrcdir=$srcpwd
|
||||||
|
|
||||||
extra_host_args=
|
extra_host_args=
|
||||||
|
|
||||||
# Define the trigger file to make sure configure will re-run whenever
|
# Define the trigger file to make sure configure will re-run whenever
|
||||||
# the gcc version number changes.
|
# the gcc version number changes.
|
||||||
if test "${with_gcc_version_trigger+set}" = set ; then
|
TL_AC_GCC_VERSION([$topsrcdir])
|
||||||
gcc_version_trigger="$with_gcc_version_trigger"
|
if test -f $gcc_version_trigger ; then
|
||||||
gcc_version=`grep version_string ${with_gcc_version_trigger} | sed -e 's/.*\"\([[^ \"]]*\)[[ \"]].*/\1/'`
|
|
||||||
else
|
|
||||||
# If gcc's sources are available, define the trigger file.
|
|
||||||
if test -f ${topsrcdir}/gcc/version.c ; then
|
|
||||||
gcc_version_trigger=${topsrcdir}/gcc/version.c
|
|
||||||
gcc_version=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([[^ \"]]*\)[[ \"]].*/\1/'`
|
|
||||||
case "$ac_configure_args" in
|
case "$ac_configure_args" in
|
||||||
*--with-gcc-version-trigger=$gcc_version_trigger* )
|
*--with-gcc-version-trigger=$gcc_version_trigger* )
|
||||||
;;
|
;;
|
||||||
@ -116,7 +112,6 @@ else
|
|||||||
ac_configure_args="$ac_configure_args --with-gcc-version-trigger=$gcc_version_trigger"
|
ac_configure_args="$ac_configure_args --with-gcc-version-trigger=$gcc_version_trigger"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
### To add a new directory to the tree, first choose whether it is a target
|
### To add a new directory to the tree, first choose whether it is a target
|
||||||
@ -2154,8 +2149,6 @@ AC_SUBST(SET_LIB_PATH)
|
|||||||
AC_SUBST(RPATH_ENVVAR)
|
AC_SUBST(RPATH_ENVVAR)
|
||||||
AC_SUBST(BUILD_PREFIX)
|
AC_SUBST(BUILD_PREFIX)
|
||||||
AC_SUBST(BUILD_PREFIX_1)
|
AC_SUBST(BUILD_PREFIX_1)
|
||||||
AC_SUBST(gcc_version_trigger)
|
|
||||||
AC_SUBST(gcc_version)
|
|
||||||
AC_SUBST(tooldir)
|
AC_SUBST(tooldir)
|
||||||
AC_SUBST(build_tooldir)
|
AC_SUBST(build_tooldir)
|
||||||
AC_SUBST(GDB_TK)
|
AC_SUBST(GDB_TK)
|
||||||
|
Loading…
Reference in New Issue
Block a user