patch from Fred Fish
* configure.in: Remove code to examine linker scripts and set HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES. * configure, config.in: Regenerate. From-SVN: r74735
This commit is contained in:
parent
3a8167112a
commit
07f8f74a7b
|
@ -1,3 +1,9 @@
|
||||||
|
2003-12-17 Fred Fish <fnf@redhat.com>
|
||||||
|
|
||||||
|
* configure.in: Remove code to examine linker scripts and set
|
||||||
|
HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES.
|
||||||
|
* configure, config.in: Regenerate.
|
||||||
|
|
||||||
2003-12-16 Mark Mitchell <mark@codesourcery.com>
|
2003-12-16 Mark Mitchell <mark@codesourcery.com>
|
||||||
|
|
||||||
PR c++/12218
|
PR c++/12218
|
||||||
|
|
|
@ -517,9 +517,6 @@
|
||||||
/* Define if your linker supports -pie option. */
|
/* Define if your linker supports -pie option. */
|
||||||
#undef HAVE_LD_PIE
|
#undef HAVE_LD_PIE
|
||||||
|
|
||||||
/* Define if your MIPS libgloss linker scripts consistently include STARTUP directives. */
|
|
||||||
#undef HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES
|
|
||||||
|
|
||||||
/* Define to PREFIX/include if cpp should also search that directory. */
|
/* Define to PREFIX/include if cpp should also search that directory. */
|
||||||
#undef PREFIX_INCLUDE_DIR
|
#undef PREFIX_INCLUDE_DIR
|
||||||
|
|
||||||
|
|
|
@ -7530,39 +7530,6 @@ EOF
|
||||||
fi
|
fi
|
||||||
echo "$ac_t""$gcc_cv_ld_pie" 1>&6
|
echo "$ac_t""$gcc_cv_ld_pie" 1>&6
|
||||||
|
|
||||||
# Miscellaneous target-specific checks.
|
|
||||||
case "$target" in
|
|
||||||
mips*-*-*)
|
|
||||||
echo $ac_n "checking whether libgloss uses STARTUP directives consistently""... $ac_c" 1>&6
|
|
||||||
echo "configure:7538: checking whether libgloss uses STARTUP directives consistently" >&5
|
|
||||||
gcc_cv_mips_libgloss_startup=no
|
|
||||||
gcc_cv_libgloss_srcdir=`echo $srcdir | sed -e 's,/gcc$,,'`/libgloss
|
|
||||||
if test "x$exec_prefix" = xNONE; then
|
|
||||||
if test "x$prefix" = xNONE; then
|
|
||||||
test_prefix=/usr/local
|
|
||||||
else
|
|
||||||
test_prefix=$prefix
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
test_prefix=$exec_prefix
|
|
||||||
fi
|
|
||||||
for f in $gcc_cv_libgloss_srcdir/mips/idt.ld $test_prefix/$target_noncanonical/lib/idt.ld
|
|
||||||
do
|
|
||||||
if grep '^STARTUP' $f > /dev/null 2>&1; then
|
|
||||||
gcc_cv_mips_libgloss_startup=yes
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
if test x"$gcc_cv_mips_libgloss_startup" = xyes; then
|
|
||||||
cat >> confdefs.h <<\EOF
|
|
||||||
#define HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES 1
|
|
||||||
EOF
|
|
||||||
|
|
||||||
fi
|
|
||||||
echo "$ac_t""$gcc_cv_mips_libgloss_startup" 1>&6
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
if test x$with_sysroot = x && test x$host = x$target \
|
if test x$with_sysroot = x && test x$host = x$target \
|
||||||
&& test "$prefix" != "/usr" && test "x$prefix" != "x$local_prefix" ; then
|
&& test "$prefix" != "/usr" && test "x$prefix" != "x$local_prefix" ; then
|
||||||
cat >> confdefs.h <<EOF
|
cat >> confdefs.h <<EOF
|
||||||
|
@ -7736,7 +7703,7 @@ fi
|
||||||
|
|
||||||
|
|
||||||
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:7740: checking whether to enable maintainer-specific portions of Makefiles" >&5
|
echo "configure:7707: 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"
|
||||||
|
|
|
@ -2541,36 +2541,6 @@ if test x"$gcc_cv_ld_pie" = xyes; then
|
||||||
fi
|
fi
|
||||||
AC_MSG_RESULT($gcc_cv_ld_pie)
|
AC_MSG_RESULT($gcc_cv_ld_pie)
|
||||||
|
|
||||||
# Miscellaneous target-specific checks.
|
|
||||||
case "$target" in
|
|
||||||
mips*-*-*)
|
|
||||||
AC_MSG_CHECKING(whether libgloss uses STARTUP directives consistently)
|
|
||||||
gcc_cv_mips_libgloss_startup=no
|
|
||||||
gcc_cv_libgloss_srcdir=`echo $srcdir | sed -e 's,/gcc$,,'`/libgloss
|
|
||||||
if test "x$exec_prefix" = xNONE; then
|
|
||||||
if test "x$prefix" = xNONE; then
|
|
||||||
test_prefix=/usr/local
|
|
||||||
else
|
|
||||||
test_prefix=$prefix
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
test_prefix=$exec_prefix
|
|
||||||
fi
|
|
||||||
for f in $gcc_cv_libgloss_srcdir/mips/idt.ld $test_prefix/$target_noncanonical/lib/idt.ld
|
|
||||||
do
|
|
||||||
if grep '^STARTUP' $f > /dev/null 2>&1; then
|
|
||||||
gcc_cv_mips_libgloss_startup=yes
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
if test x"$gcc_cv_mips_libgloss_startup" = xyes; then
|
|
||||||
AC_DEFINE(HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES, 1,
|
|
||||||
[Define if your MIPS libgloss linker scripts consistently include STARTUP directives.])
|
|
||||||
fi
|
|
||||||
AC_MSG_RESULT($gcc_cv_mips_libgloss_startup)
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
if test x$with_sysroot = x && test x$host = x$target \
|
if test x$with_sysroot = x && test x$host = x$target \
|
||||||
&& test "$prefix" != "/usr" && test "x$prefix" != "x$local_prefix" ; then
|
&& test "$prefix" != "/usr" && test "x$prefix" != "x$local_prefix" ; then
|
||||||
AC_DEFINE_UNQUOTED(PREFIX_INCLUDE_DIR, "$prefix/include",
|
AC_DEFINE_UNQUOTED(PREFIX_INCLUDE_DIR, "$prefix/include",
|
||||||
|
|
Loading…
Reference in New Issue