mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-10 10:12:21 +08:00
bfd/
* configure.in: Call ACX_LARGEFILE. Stop calling AC_PLUGINS, AC_SYS_LARGEFILE and checking the Solaris largefile exception. * aclocal.m4: Regenerate. * configure: Regenerate. binutils/ * configure.in: Call ACX_LARGEFILE. Stop calling AC_PLUGINS, AC_SYS_LARGEFILE and checking the Solaris largefile exception. * aclocal.m4: Regenerate. * configure: Regenerate. gas/ * configure.in: Call ACX_LARGEFILE. Stop calling AC_SYS_LARGEFILE. * aclocal.m4: Regenerate. * configure: Regenerate. gdb/ * configure.ac: Call ACX_LARGEFILE. * aclocal.m4: Call m4_include for ../config/largefile.m4 and ../config/plugins.m4. * configure: Regenerate. * config.in: Regenerate. gprof/ * configure.in: Call ACX_LARGEFILE. Stop calling AC_SYS_LARGEFILE. * aclocal.m4: Regenerate. * configure: Regenerate. ld/ * configure.in: Call ACX_LARGEFILE. Stop calling AC_SYS_LARGEFILE. * aclocal.m4: Regenerate. * configure: Regenerate.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
|
|
||||||
|
* configure.in: Call ACX_LARGEFILE. Stop calling AC_PLUGINS,
|
||||||
|
AC_SYS_LARGEFILE and checking the Solaris largefile exception.
|
||||||
|
* aclocal.m4: Regenerate.
|
||||||
|
* configure: Regenerate.
|
||||||
|
|
||||||
2009-11-09 H.J. Lu <hongjiu.lu@intel.com>
|
2009-11-09 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
PR ld/10911
|
PR ld/10911
|
||||||
|
1
bfd/aclocal.m4
vendored
1
bfd/aclocal.m4
vendored
@ -971,6 +971,7 @@ AC_SUBST([am__untar])
|
|||||||
m4_include([../config/acx.m4])
|
m4_include([../config/acx.m4])
|
||||||
m4_include([../config/depstand.m4])
|
m4_include([../config/depstand.m4])
|
||||||
m4_include([../config/gettext-sister.m4])
|
m4_include([../config/gettext-sister.m4])
|
||||||
|
m4_include([../config/largefile.m4])
|
||||||
m4_include([../config/lead-dot.m4])
|
m4_include([../config/lead-dot.m4])
|
||||||
m4_include([../config/nls.m4])
|
m4_include([../config/nls.m4])
|
||||||
m4_include([../config/override.m4])
|
m4_include([../config/override.m4])
|
||||||
|
51
bfd/configure
vendored
51
bfd/configure
vendored
@ -11629,6 +11629,11 @@ CC="$lt_save_CC"
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# AC_PLUGINS setting $plugins is called by ACX_LARGEFILE.
|
||||||
|
|
||||||
|
# As the $enable_largefile decision depends on --enable-plugins we must set it
|
||||||
|
# even in directories otherwise not depending on the $plugins option.
|
||||||
|
|
||||||
|
|
||||||
# Check whether --enable-plugins was given.
|
# Check whether --enable-plugins was given.
|
||||||
if test "${enable_plugins+set}" = set; then :
|
if test "${enable_plugins+set}" = set; then :
|
||||||
@ -11643,36 +11648,16 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
if test "$plugins" = "yes"; then
|
case "${host}" in
|
||||||
PLUGINS_TRUE=
|
|
||||||
PLUGINS_FALSE='#'
|
|
||||||
else
|
|
||||||
PLUGINS_TRUE='#'
|
|
||||||
PLUGINS_FALSE=
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
if test "$plugins" = "yes"; then
|
|
||||||
if test "$enable_dlopen" != "yes" ; then
|
|
||||||
as_fn_error "
|
|
||||||
Building BFD with plugin support requires a host that supports -ldl." "$LINENO" 5
|
|
||||||
fi
|
|
||||||
enable_targets="$enable_targets plugin"
|
|
||||||
fi
|
|
||||||
|
|
||||||
case "${target}" in
|
|
||||||
sparc-*-solaris*|i[3-7]86-*-solaris*)
|
sparc-*-solaris*|i[3-7]86-*-solaris*)
|
||||||
# On native 32bit sparc and ia32 solaris, large-file and procfs support
|
# On native 32bit sparc and ia32 solaris, large-file and procfs support
|
||||||
# are mutually exclusive; and without procfs support, the elf module
|
# are mutually exclusive; and without procfs support, the bfd/ elf module
|
||||||
# cannot provide certain routines such as elfcore_write_prpsinfo
|
# cannot provide certain routines such as elfcore_write_prpsinfo
|
||||||
# or elfcore_write_prstatus. So unless the user explicitly requested
|
# or elfcore_write_prstatus. So unless the user explicitly requested
|
||||||
# large-file support through the --enable-largefile switch, disable
|
# large-file support through the --enable-largefile switch, disable
|
||||||
# large-file support in favor of procfs support.
|
# large-file support in favor of procfs support.
|
||||||
if test "${target}" = "${host}" -a "$enable_largefile" != 'yes'; then
|
test "${target}" = "${host}" -a "x$plugins" = xno \
|
||||||
if test "$plugins" = "no"; then
|
&& : ${enable_largefile="no"}
|
||||||
enable_largefile="no"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@ -11875,6 +11860,24 @@ rm -rf conftest*
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if test "$plugins" = "yes"; then
|
||||||
|
PLUGINS_TRUE=
|
||||||
|
PLUGINS_FALSE='#'
|
||||||
|
else
|
||||||
|
PLUGINS_TRUE='#'
|
||||||
|
PLUGINS_FALSE=
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
if test "$plugins" = "yes"; then
|
||||||
|
if test "$enable_dlopen" != "yes" ; then
|
||||||
|
as_fn_error "
|
||||||
|
Building BFD with plugin support requires a host that supports -ldl." "$LINENO" 5
|
||||||
|
fi
|
||||||
|
enable_targets="$enable_targets plugin"
|
||||||
|
fi
|
||||||
|
|
||||||
# Check whether --enable-64-bit-bfd was given.
|
# Check whether --enable-64-bit-bfd was given.
|
||||||
if test "${enable_64_bit_bfd+set}" = set; then :
|
if test "${enable_64_bit_bfd+set}" = set; then :
|
||||||
enableval=$enable_64_bit_bfd; case "${enableval}" in
|
enableval=$enable_64_bit_bfd; case "${enableval}" in
|
||||||
|
@ -25,7 +25,8 @@ AC_USE_SYSTEM_EXTENSIONS
|
|||||||
|
|
||||||
LT_INIT([dlopen])
|
LT_INIT([dlopen])
|
||||||
|
|
||||||
AC_PLUGINS
|
# AC_PLUGINS setting $plugins is called by ACX_LARGEFILE.
|
||||||
|
ACX_LARGEFILE
|
||||||
|
|
||||||
AM_CONDITIONAL(PLUGINS, test "$plugins" = "yes")
|
AM_CONDITIONAL(PLUGINS, test "$plugins" = "yes")
|
||||||
|
|
||||||
@ -37,26 +38,6 @@ if test "$plugins" = "yes"; then
|
|||||||
enable_targets="$enable_targets plugin"
|
enable_targets="$enable_targets plugin"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case "${target}" in
|
|
||||||
changequote(,)dnl
|
|
||||||
sparc-*-solaris*|i[3-7]86-*-solaris*)
|
|
||||||
changequote([,])dnl
|
|
||||||
# On native 32bit sparc and ia32 solaris, large-file and procfs support
|
|
||||||
# are mutually exclusive; and without procfs support, the elf module
|
|
||||||
# cannot provide certain routines such as elfcore_write_prpsinfo
|
|
||||||
# or elfcore_write_prstatus. So unless the user explicitly requested
|
|
||||||
# large-file support through the --enable-largefile switch, disable
|
|
||||||
# large-file support in favor of procfs support.
|
|
||||||
if test "${target}" = "${host}" -a "$enable_largefile" != 'yes'; then
|
|
||||||
if test "$plugins" = "no"; then
|
|
||||||
enable_largefile="no"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
AC_SYS_LARGEFILE
|
|
||||||
|
|
||||||
AC_ARG_ENABLE(64-bit-bfd,
|
AC_ARG_ENABLE(64-bit-bfd,
|
||||||
[ --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes)],
|
[ --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes)],
|
||||||
[case "${enableval}" in
|
[case "${enableval}" in
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
|
|
||||||
|
* configure.in: Call ACX_LARGEFILE. Stop calling AC_PLUGINS,
|
||||||
|
AC_SYS_LARGEFILE and checking the Solaris largefile exception.
|
||||||
|
* aclocal.m4: Regenerate.
|
||||||
|
* configure: Regenerate.
|
||||||
|
|
||||||
2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
|
2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
|
|
||||||
* bucomm.c (get_file_size): Update comment for the error return value.
|
* bucomm.c (get_file_size): Update comment for the error return value.
|
||||||
|
1
binutils/aclocal.m4
vendored
1
binutils/aclocal.m4
vendored
@ -994,6 +994,7 @@ m4_include([../bfd/warning.m4])
|
|||||||
m4_include([../config/depstand.m4])
|
m4_include([../config/depstand.m4])
|
||||||
m4_include([../config/gettext-sister.m4])
|
m4_include([../config/gettext-sister.m4])
|
||||||
m4_include([../config/iconv.m4])
|
m4_include([../config/iconv.m4])
|
||||||
|
m4_include([../config/largefile.m4])
|
||||||
m4_include([../config/lead-dot.m4])
|
m4_include([../config/lead-dot.m4])
|
||||||
m4_include([../config/lib-ld.m4])
|
m4_include([../config/lib-ld.m4])
|
||||||
m4_include([../config/lib-link.m4])
|
m4_include([../config/lib-link.m4])
|
||||||
|
52
binutils/configure
vendored
52
binutils/configure
vendored
@ -5038,6 +5038,10 @@ $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# As the $enable_largefile decision depends on --enable-plugins we must set it
|
||||||
|
# even in directories otherwise not depending on the $plugins option.
|
||||||
|
|
||||||
|
|
||||||
# Check whether --enable-plugins was given.
|
# Check whether --enable-plugins was given.
|
||||||
if test "${enable_plugins+set}" = set; then :
|
if test "${enable_plugins+set}" = set; then :
|
||||||
enableval=$enable_plugins; case "${enableval}" in
|
enableval=$enable_plugins; case "${enableval}" in
|
||||||
@ -5051,17 +5055,16 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
case "${target}" in
|
case "${host}" in
|
||||||
sparc-*-solaris*|i[3-7]86-*-solaris*)
|
sparc-*-solaris*|i[3-7]86-*-solaris*)
|
||||||
# See comment in bfd/configure.in for the reason for this test.
|
# On native 32bit sparc and ia32 solaris, large-file and procfs support
|
||||||
# PR 9992/binutils: We have to duplicate the behaviour of bfd's
|
# are mutually exclusive; and without procfs support, the bfd/ elf module
|
||||||
# configure script so that the utilities in this directory agree
|
# cannot provide certain routines such as elfcore_write_prpsinfo
|
||||||
# on the size of structures used to describe files.
|
# or elfcore_write_prstatus. So unless the user explicitly requested
|
||||||
if test "${target}" = "${host}" -a "$enable_largefile" != 'yes'; then
|
# large-file support through the --enable-largefile switch, disable
|
||||||
if test "$plugins" = "no"; then
|
# large-file support in favor of procfs support.
|
||||||
enable_largefile="no"
|
test "${target}" = "${host}" -a "x$plugins" = xno \
|
||||||
fi
|
&& : ${enable_largefile="no"}
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@ -5263,6 +5266,7 @@ rm -rf conftest*
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
case `pwd` in
|
case `pwd` in
|
||||||
*\ * | *\ *)
|
*\ * | *\ *)
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
|
||||||
@ -5742,13 +5746,13 @@ if test "${lt_cv_nm_interface+set}" = set; then :
|
|||||||
else
|
else
|
||||||
lt_cv_nm_interface="BSD nm"
|
lt_cv_nm_interface="BSD nm"
|
||||||
echo "int some_variable = 0;" > conftest.$ac_ext
|
echo "int some_variable = 0;" > conftest.$ac_ext
|
||||||
(eval echo "\"\$as_me:5745: $ac_compile\"" >&5)
|
(eval echo "\"\$as_me:5749: $ac_compile\"" >&5)
|
||||||
(eval "$ac_compile" 2>conftest.err)
|
(eval "$ac_compile" 2>conftest.err)
|
||||||
cat conftest.err >&5
|
cat conftest.err >&5
|
||||||
(eval echo "\"\$as_me:5748: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
|
(eval echo "\"\$as_me:5752: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
|
||||||
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
|
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
|
||||||
cat conftest.err >&5
|
cat conftest.err >&5
|
||||||
(eval echo "\"\$as_me:5751: output\"" >&5)
|
(eval echo "\"\$as_me:5755: output\"" >&5)
|
||||||
cat conftest.out >&5
|
cat conftest.out >&5
|
||||||
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
|
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
|
||||||
lt_cv_nm_interface="MS dumpbin"
|
lt_cv_nm_interface="MS dumpbin"
|
||||||
@ -6953,7 +6957,7 @@ ia64-*-hpux*)
|
|||||||
;;
|
;;
|
||||||
*-*-irix6*)
|
*-*-irix6*)
|
||||||
# Find out which ABI we are using.
|
# Find out which ABI we are using.
|
||||||
echo '#line 6956 "configure"' > conftest.$ac_ext
|
echo '#line 6960 "configure"' > conftest.$ac_ext
|
||||||
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
||||||
(eval $ac_compile) 2>&5
|
(eval $ac_compile) 2>&5
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
@ -8215,11 +8219,11 @@ else
|
|||||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||||
-e 's:$: $lt_compiler_flag:'`
|
-e 's:$: $lt_compiler_flag:'`
|
||||||
(eval echo "\"\$as_me:8218: $lt_compile\"" >&5)
|
(eval echo "\"\$as_me:8222: $lt_compile\"" >&5)
|
||||||
(eval "$lt_compile" 2>conftest.err)
|
(eval "$lt_compile" 2>conftest.err)
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
cat conftest.err >&5
|
cat conftest.err >&5
|
||||||
echo "$as_me:8222: \$? = $ac_status" >&5
|
echo "$as_me:8226: \$? = $ac_status" >&5
|
||||||
if (exit $ac_status) && test -s "$ac_outfile"; then
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
||||||
# The compiler can only warn and ignore the option if not recognized
|
# The compiler can only warn and ignore the option if not recognized
|
||||||
# So say no if there are warnings other than the usual output.
|
# So say no if there are warnings other than the usual output.
|
||||||
@ -8554,11 +8558,11 @@ else
|
|||||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||||
-e 's:$: $lt_compiler_flag:'`
|
-e 's:$: $lt_compiler_flag:'`
|
||||||
(eval echo "\"\$as_me:8557: $lt_compile\"" >&5)
|
(eval echo "\"\$as_me:8561: $lt_compile\"" >&5)
|
||||||
(eval "$lt_compile" 2>conftest.err)
|
(eval "$lt_compile" 2>conftest.err)
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
cat conftest.err >&5
|
cat conftest.err >&5
|
||||||
echo "$as_me:8561: \$? = $ac_status" >&5
|
echo "$as_me:8565: \$? = $ac_status" >&5
|
||||||
if (exit $ac_status) && test -s "$ac_outfile"; then
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
||||||
# The compiler can only warn and ignore the option if not recognized
|
# The compiler can only warn and ignore the option if not recognized
|
||||||
# So say no if there are warnings other than the usual output.
|
# So say no if there are warnings other than the usual output.
|
||||||
@ -8659,11 +8663,11 @@ else
|
|||||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||||
-e 's:$: $lt_compiler_flag:'`
|
-e 's:$: $lt_compiler_flag:'`
|
||||||
(eval echo "\"\$as_me:8662: $lt_compile\"" >&5)
|
(eval echo "\"\$as_me:8666: $lt_compile\"" >&5)
|
||||||
(eval "$lt_compile" 2>out/conftest.err)
|
(eval "$lt_compile" 2>out/conftest.err)
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
cat out/conftest.err >&5
|
cat out/conftest.err >&5
|
||||||
echo "$as_me:8666: \$? = $ac_status" >&5
|
echo "$as_me:8670: \$? = $ac_status" >&5
|
||||||
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
||||||
then
|
then
|
||||||
# The compiler can only warn and ignore the option if not recognized
|
# The compiler can only warn and ignore the option if not recognized
|
||||||
@ -8714,11 +8718,11 @@ else
|
|||||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||||
-e 's:$: $lt_compiler_flag:'`
|
-e 's:$: $lt_compiler_flag:'`
|
||||||
(eval echo "\"\$as_me:8717: $lt_compile\"" >&5)
|
(eval echo "\"\$as_me:8721: $lt_compile\"" >&5)
|
||||||
(eval "$lt_compile" 2>out/conftest.err)
|
(eval "$lt_compile" 2>out/conftest.err)
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
cat out/conftest.err >&5
|
cat out/conftest.err >&5
|
||||||
echo "$as_me:8721: \$? = $ac_status" >&5
|
echo "$as_me:8725: \$? = $ac_status" >&5
|
||||||
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
||||||
then
|
then
|
||||||
# The compiler can only warn and ignore the option if not recognized
|
# The compiler can only warn and ignore the option if not recognized
|
||||||
@ -11096,7 +11100,7 @@ else
|
|||||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||||
lt_status=$lt_dlunknown
|
lt_status=$lt_dlunknown
|
||||||
cat > conftest.$ac_ext <<_LT_EOF
|
cat > conftest.$ac_ext <<_LT_EOF
|
||||||
#line 11099 "configure"
|
#line 11103 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
#if HAVE_DLFCN_H
|
#if HAVE_DLFCN_H
|
||||||
@ -11192,7 +11196,7 @@ else
|
|||||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||||
lt_status=$lt_dlunknown
|
lt_status=$lt_dlunknown
|
||||||
cat > conftest.$ac_ext <<_LT_EOF
|
cat > conftest.$ac_ext <<_LT_EOF
|
||||||
#line 11195 "configure"
|
#line 11199 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
#if HAVE_DLFCN_H
|
#if HAVE_DLFCN_H
|
||||||
|
@ -16,25 +16,7 @@ AC_PROG_CC
|
|||||||
AC_GNU_SOURCE
|
AC_GNU_SOURCE
|
||||||
AC_USE_SYSTEM_EXTENSIONS
|
AC_USE_SYSTEM_EXTENSIONS
|
||||||
|
|
||||||
AC_PLUGINS
|
ACX_LARGEFILE
|
||||||
|
|
||||||
case "${target}" in
|
|
||||||
changequote(,)dnl
|
|
||||||
sparc-*-solaris*|i[3-7]86-*-solaris*)
|
|
||||||
changequote([,])dnl
|
|
||||||
# See comment in bfd/configure.in for the reason for this test.
|
|
||||||
# PR 9992/binutils: We have to duplicate the behaviour of bfd's
|
|
||||||
# configure script so that the utilities in this directory agree
|
|
||||||
# on the size of structures used to describe files.
|
|
||||||
if test "${target}" = "${host}" -a "$enable_largefile" != 'yes'; then
|
|
||||||
if test "$plugins" = "no"; then
|
|
||||||
enable_largefile="no"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
AC_SYS_LARGEFILE
|
|
||||||
LT_INIT
|
LT_INIT
|
||||||
|
|
||||||
AC_ARG_ENABLE(targets,
|
AC_ARG_ENABLE(targets,
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
|
|
||||||
|
* configure.in: Call ACX_LARGEFILE. Stop calling AC_SYS_LARGEFILE.
|
||||||
|
* aclocal.m4: Regenerate.
|
||||||
|
* configure: Regenerate.
|
||||||
|
|
||||||
2009-11-10 Maxim Kuvyrkov <maxim@codesourcery.com>
|
2009-11-10 Maxim Kuvyrkov <maxim@codesourcery.com>
|
||||||
|
|
||||||
* config/m68k-parse.h (enum m68k_register): Add ACR[4-7], RGPIOBAR.
|
* config/m68k-parse.h (enum m68k_register): Add ACR[4-7], RGPIOBAR.
|
||||||
|
2
gas/aclocal.m4
vendored
2
gas/aclocal.m4
vendored
@ -993,9 +993,11 @@ m4_include([../bfd/acinclude.m4])
|
|||||||
m4_include([../bfd/warning.m4])
|
m4_include([../bfd/warning.m4])
|
||||||
m4_include([../config/depstand.m4])
|
m4_include([../config/depstand.m4])
|
||||||
m4_include([../config/gettext-sister.m4])
|
m4_include([../config/gettext-sister.m4])
|
||||||
|
m4_include([../config/largefile.m4])
|
||||||
m4_include([../config/lead-dot.m4])
|
m4_include([../config/lead-dot.m4])
|
||||||
m4_include([../config/nls.m4])
|
m4_include([../config/nls.m4])
|
||||||
m4_include([../config/override.m4])
|
m4_include([../config/override.m4])
|
||||||
|
m4_include([../config/plugins.m4])
|
||||||
m4_include([../config/po.m4])
|
m4_include([../config/po.m4])
|
||||||
m4_include([../config/progtest.m4])
|
m4_include([../config/progtest.m4])
|
||||||
m4_include([../libtool.m4])
|
m4_include([../libtool.m4])
|
||||||
|
62
gas/configure
vendored
62
gas/configure
vendored
@ -892,6 +892,7 @@ ac_subst_files=''
|
|||||||
ac_user_opts='
|
ac_user_opts='
|
||||||
enable_option_checking
|
enable_option_checking
|
||||||
enable_dependency_tracking
|
enable_dependency_tracking
|
||||||
|
enable_plugins
|
||||||
enable_largefile
|
enable_largefile
|
||||||
enable_shared
|
enable_shared
|
||||||
enable_static
|
enable_static
|
||||||
@ -1537,6 +1538,7 @@ Optional Features:
|
|||||||
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
||||||
--disable-dependency-tracking speeds up one-time build
|
--disable-dependency-tracking speeds up one-time build
|
||||||
--enable-dependency-tracking do not reject slow dependency extractors
|
--enable-dependency-tracking do not reject slow dependency extractors
|
||||||
|
--enable-plugins Enable support for plugins (defaults no)
|
||||||
--disable-largefile omit support for large files
|
--disable-largefile omit support for large files
|
||||||
--enable-shared[=PKGS] build shared libraries [default=yes]
|
--enable-shared[=PKGS] build shared libraries [default=yes]
|
||||||
--enable-static[=PKGS] build static libraries [default=yes]
|
--enable-static[=PKGS] build static libraries [default=yes]
|
||||||
@ -5021,6 +5023,37 @@ $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# As the $enable_largefile decision depends on --enable-plugins we must set it
|
||||||
|
# even in directories otherwise not depending on the $plugins option.
|
||||||
|
|
||||||
|
|
||||||
|
# Check whether --enable-plugins was given.
|
||||||
|
if test "${enable_plugins+set}" = set; then :
|
||||||
|
enableval=$enable_plugins; case "${enableval}" in
|
||||||
|
yes | "") plugins=yes ;;
|
||||||
|
no) plugins=no ;;
|
||||||
|
*) plugins=yes ;;
|
||||||
|
esac
|
||||||
|
else
|
||||||
|
plugins=no
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
case "${host}" in
|
||||||
|
sparc-*-solaris*|i[3-7]86-*-solaris*)
|
||||||
|
# On native 32bit sparc and ia32 solaris, large-file and procfs support
|
||||||
|
# are mutually exclusive; and without procfs support, the bfd/ elf module
|
||||||
|
# cannot provide certain routines such as elfcore_write_prpsinfo
|
||||||
|
# or elfcore_write_prstatus. So unless the user explicitly requested
|
||||||
|
# large-file support through the --enable-largefile switch, disable
|
||||||
|
# large-file support in favor of procfs support.
|
||||||
|
test "${target}" = "${host}" -a "x$plugins" = xno \
|
||||||
|
&& : ${enable_largefile="no"}
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
# Check whether --enable-largefile was given.
|
# Check whether --enable-largefile was given.
|
||||||
if test "${enable_largefile+set}" = set; then :
|
if test "${enable_largefile+set}" = set; then :
|
||||||
enableval=$enable_largefile;
|
enableval=$enable_largefile;
|
||||||
@ -5220,6 +5253,7 @@ rm -rf conftest*
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
case `pwd` in
|
case `pwd` in
|
||||||
*\ * | *\ *)
|
*\ * | *\ *)
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
|
||||||
@ -5699,13 +5733,13 @@ if test "${lt_cv_nm_interface+set}" = set; then :
|
|||||||
else
|
else
|
||||||
lt_cv_nm_interface="BSD nm"
|
lt_cv_nm_interface="BSD nm"
|
||||||
echo "int some_variable = 0;" > conftest.$ac_ext
|
echo "int some_variable = 0;" > conftest.$ac_ext
|
||||||
(eval echo "\"\$as_me:5702: $ac_compile\"" >&5)
|
(eval echo "\"\$as_me:5736: $ac_compile\"" >&5)
|
||||||
(eval "$ac_compile" 2>conftest.err)
|
(eval "$ac_compile" 2>conftest.err)
|
||||||
cat conftest.err >&5
|
cat conftest.err >&5
|
||||||
(eval echo "\"\$as_me:5705: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
|
(eval echo "\"\$as_me:5739: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
|
||||||
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
|
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
|
||||||
cat conftest.err >&5
|
cat conftest.err >&5
|
||||||
(eval echo "\"\$as_me:5708: output\"" >&5)
|
(eval echo "\"\$as_me:5742: output\"" >&5)
|
||||||
cat conftest.out >&5
|
cat conftest.out >&5
|
||||||
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
|
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
|
||||||
lt_cv_nm_interface="MS dumpbin"
|
lt_cv_nm_interface="MS dumpbin"
|
||||||
@ -6910,7 +6944,7 @@ ia64-*-hpux*)
|
|||||||
;;
|
;;
|
||||||
*-*-irix6*)
|
*-*-irix6*)
|
||||||
# Find out which ABI we are using.
|
# Find out which ABI we are using.
|
||||||
echo '#line 6913 "configure"' > conftest.$ac_ext
|
echo '#line 6947 "configure"' > conftest.$ac_ext
|
||||||
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
||||||
(eval $ac_compile) 2>&5
|
(eval $ac_compile) 2>&5
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
@ -8172,11 +8206,11 @@ else
|
|||||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||||
-e 's:$: $lt_compiler_flag:'`
|
-e 's:$: $lt_compiler_flag:'`
|
||||||
(eval echo "\"\$as_me:8175: $lt_compile\"" >&5)
|
(eval echo "\"\$as_me:8209: $lt_compile\"" >&5)
|
||||||
(eval "$lt_compile" 2>conftest.err)
|
(eval "$lt_compile" 2>conftest.err)
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
cat conftest.err >&5
|
cat conftest.err >&5
|
||||||
echo "$as_me:8179: \$? = $ac_status" >&5
|
echo "$as_me:8213: \$? = $ac_status" >&5
|
||||||
if (exit $ac_status) && test -s "$ac_outfile"; then
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
||||||
# The compiler can only warn and ignore the option if not recognized
|
# The compiler can only warn and ignore the option if not recognized
|
||||||
# So say no if there are warnings other than the usual output.
|
# So say no if there are warnings other than the usual output.
|
||||||
@ -8511,11 +8545,11 @@ else
|
|||||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||||
-e 's:$: $lt_compiler_flag:'`
|
-e 's:$: $lt_compiler_flag:'`
|
||||||
(eval echo "\"\$as_me:8514: $lt_compile\"" >&5)
|
(eval echo "\"\$as_me:8548: $lt_compile\"" >&5)
|
||||||
(eval "$lt_compile" 2>conftest.err)
|
(eval "$lt_compile" 2>conftest.err)
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
cat conftest.err >&5
|
cat conftest.err >&5
|
||||||
echo "$as_me:8518: \$? = $ac_status" >&5
|
echo "$as_me:8552: \$? = $ac_status" >&5
|
||||||
if (exit $ac_status) && test -s "$ac_outfile"; then
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
||||||
# The compiler can only warn and ignore the option if not recognized
|
# The compiler can only warn and ignore the option if not recognized
|
||||||
# So say no if there are warnings other than the usual output.
|
# So say no if there are warnings other than the usual output.
|
||||||
@ -8616,11 +8650,11 @@ else
|
|||||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||||
-e 's:$: $lt_compiler_flag:'`
|
-e 's:$: $lt_compiler_flag:'`
|
||||||
(eval echo "\"\$as_me:8619: $lt_compile\"" >&5)
|
(eval echo "\"\$as_me:8653: $lt_compile\"" >&5)
|
||||||
(eval "$lt_compile" 2>out/conftest.err)
|
(eval "$lt_compile" 2>out/conftest.err)
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
cat out/conftest.err >&5
|
cat out/conftest.err >&5
|
||||||
echo "$as_me:8623: \$? = $ac_status" >&5
|
echo "$as_me:8657: \$? = $ac_status" >&5
|
||||||
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
||||||
then
|
then
|
||||||
# The compiler can only warn and ignore the option if not recognized
|
# The compiler can only warn and ignore the option if not recognized
|
||||||
@ -8671,11 +8705,11 @@ else
|
|||||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||||
-e 's:$: $lt_compiler_flag:'`
|
-e 's:$: $lt_compiler_flag:'`
|
||||||
(eval echo "\"\$as_me:8674: $lt_compile\"" >&5)
|
(eval echo "\"\$as_me:8708: $lt_compile\"" >&5)
|
||||||
(eval "$lt_compile" 2>out/conftest.err)
|
(eval "$lt_compile" 2>out/conftest.err)
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
cat out/conftest.err >&5
|
cat out/conftest.err >&5
|
||||||
echo "$as_me:8678: \$? = $ac_status" >&5
|
echo "$as_me:8712: \$? = $ac_status" >&5
|
||||||
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
||||||
then
|
then
|
||||||
# The compiler can only warn and ignore the option if not recognized
|
# The compiler can only warn and ignore the option if not recognized
|
||||||
@ -11053,7 +11087,7 @@ else
|
|||||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||||
lt_status=$lt_dlunknown
|
lt_status=$lt_dlunknown
|
||||||
cat > conftest.$ac_ext <<_LT_EOF
|
cat > conftest.$ac_ext <<_LT_EOF
|
||||||
#line 11056 "configure"
|
#line 11090 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
#if HAVE_DLFCN_H
|
#if HAVE_DLFCN_H
|
||||||
@ -11149,7 +11183,7 @@ else
|
|||||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||||
lt_status=$lt_dlunknown
|
lt_status=$lt_dlunknown
|
||||||
cat > conftest.$ac_ext <<_LT_EOF
|
cat > conftest.$ac_ext <<_LT_EOF
|
||||||
#line 11152 "configure"
|
#line 11186 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
#if HAVE_DLFCN_H
|
#if HAVE_DLFCN_H
|
||||||
|
@ -24,7 +24,7 @@ AM_INIT_AUTOMAKE(gas, ${BFD_VERSION})
|
|||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
AC_GNU_SOURCE
|
AC_GNU_SOURCE
|
||||||
AC_USE_SYSTEM_EXTENSIONS
|
AC_USE_SYSTEM_EXTENSIONS
|
||||||
AC_SYS_LARGEFILE
|
ACX_LARGEFILE
|
||||||
|
|
||||||
LT_INIT
|
LT_INIT
|
||||||
|
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
|
|
||||||
|
* configure.ac: Call ACX_LARGEFILE.
|
||||||
|
* aclocal.m4: Call m4_include for ../config/largefile.m4 and
|
||||||
|
../config/plugins.m4.
|
||||||
|
* configure: Regenerate.
|
||||||
|
* config.in: Regenerate.
|
||||||
|
|
||||||
2009-11-10 Keith Seitz <keiths@redhat.com>
|
2009-11-10 Keith Seitz <keiths@redhat.com>
|
||||||
|
|
||||||
* c-exp.y: Add new rule for resolving method overloads.
|
* c-exp.y: Add new rule for resolving method overloads.
|
||||||
|
2
gdb/aclocal.m4
vendored
2
gdb/aclocal.m4
vendored
@ -1001,4 +1001,6 @@ m4_include([gnulib/m4/onceonly_2_57.m4])
|
|||||||
m4_include([gnulib/m4/stdint.m4])
|
m4_include([gnulib/m4/stdint.m4])
|
||||||
m4_include([gnulib/m4/string_h.m4])
|
m4_include([gnulib/m4/string_h.m4])
|
||||||
m4_include([gnulib/m4/wchar.m4])
|
m4_include([gnulib/m4/wchar.m4])
|
||||||
|
m4_include([../config/largefile.m4])
|
||||||
|
m4_include([../config/plugins.m4])
|
||||||
m4_include([acinclude.m4])
|
m4_include([acinclude.m4])
|
||||||
|
@ -734,10 +734,16 @@
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Number of bits in a file offset, on hosts where this is settable. */
|
||||||
|
#undef _FILE_OFFSET_BITS
|
||||||
|
|
||||||
/* Define to 1 so <sys/proc.h> gets a definition of anon_hdl. Works around a
|
/* Define to 1 so <sys/proc.h> gets a definition of anon_hdl. Works around a
|
||||||
<sys/proc.h> problem on IRIX 5. */
|
<sys/proc.h> problem on IRIX 5. */
|
||||||
#undef _KMEMUSER
|
#undef _KMEMUSER
|
||||||
|
|
||||||
|
/* Define for large files, on AIX-style hosts. */
|
||||||
|
#undef _LARGE_FILES
|
||||||
|
|
||||||
/* Define to 1 if on MINIX. */
|
/* Define to 1 if on MINIX. */
|
||||||
#undef _MINIX
|
#undef _MINIX
|
||||||
|
|
||||||
|
234
gdb/configure
vendored
234
gdb/configure
vendored
@ -879,6 +879,8 @@ ac_subst_files='host_makefile_frag'
|
|||||||
ac_user_opts='
|
ac_user_opts='
|
||||||
enable_option_checking
|
enable_option_checking
|
||||||
enable_maintainer_mode
|
enable_maintainer_mode
|
||||||
|
enable_plugins
|
||||||
|
enable_largefile
|
||||||
enable_dependency_tracking
|
enable_dependency_tracking
|
||||||
with_separate_debug_dir
|
with_separate_debug_dir
|
||||||
with_gdb_datadir
|
with_gdb_datadir
|
||||||
@ -1552,6 +1554,8 @@ Optional Features:
|
|||||||
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
||||||
--enable-maintainer-mode enable make rules and dependencies not useful
|
--enable-maintainer-mode enable make rules and dependencies not useful
|
||||||
(and sometimes confusing) to the casual installer
|
(and sometimes confusing) to the casual installer
|
||||||
|
--enable-plugins Enable support for plugins (defaults no)
|
||||||
|
--disable-largefile omit support for large files
|
||||||
--disable-dependency-tracking speeds up one-time build
|
--disable-dependency-tracking speeds up one-time build
|
||||||
--enable-dependency-tracking do not reject slow dependency extractors
|
--enable-dependency-tracking do not reject slow dependency extractors
|
||||||
--enable-targets=TARGETS
|
--enable-targets=TARGETS
|
||||||
@ -4082,6 +4086,236 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# As the $enable_largefile decision depends on --enable-plugins we must set it
|
||||||
|
# even in directories otherwise not depending on the $plugins option.
|
||||||
|
|
||||||
|
|
||||||
|
# Check whether --enable-plugins was given.
|
||||||
|
if test "${enable_plugins+set}" = set; then :
|
||||||
|
enableval=$enable_plugins; case "${enableval}" in
|
||||||
|
yes | "") plugins=yes ;;
|
||||||
|
no) plugins=no ;;
|
||||||
|
*) plugins=yes ;;
|
||||||
|
esac
|
||||||
|
else
|
||||||
|
plugins=no
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
case "${host}" in
|
||||||
|
sparc-*-solaris*|i[3-7]86-*-solaris*)
|
||||||
|
# On native 32bit sparc and ia32 solaris, large-file and procfs support
|
||||||
|
# are mutually exclusive; and without procfs support, the bfd/ elf module
|
||||||
|
# cannot provide certain routines such as elfcore_write_prpsinfo
|
||||||
|
# or elfcore_write_prstatus. So unless the user explicitly requested
|
||||||
|
# large-file support through the --enable-largefile switch, disable
|
||||||
|
# large-file support in favor of procfs support.
|
||||||
|
test "${target}" = "${host}" -a "x$plugins" = xno \
|
||||||
|
&& : ${enable_largefile="no"}
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# Check whether --enable-largefile was given.
|
||||||
|
if test "${enable_largefile+set}" = set; then :
|
||||||
|
enableval=$enable_largefile;
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "$enable_largefile" != no; then
|
||||||
|
|
||||||
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
|
||||||
|
$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
|
||||||
|
if test "${ac_cv_sys_largefile_CC+set}" = set; then :
|
||||||
|
$as_echo_n "(cached) " >&6
|
||||||
|
else
|
||||||
|
ac_cv_sys_largefile_CC=no
|
||||||
|
if test "$GCC" != yes; then
|
||||||
|
ac_save_CC=$CC
|
||||||
|
while :; do
|
||||||
|
# IRIX 6.2 and later do not support large files by default,
|
||||||
|
# so use the C compiler's -n32 option if that helps.
|
||||||
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
|
/* end confdefs.h. */
|
||||||
|
#include <sys/types.h>
|
||||||
|
/* Check that off_t can represent 2**63 - 1 correctly.
|
||||||
|
We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
||||||
|
since some C++ compilers masquerading as C compilers
|
||||||
|
incorrectly reject 9223372036854775807. */
|
||||||
|
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
|
||||||
|
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|
||||||
|
&& LARGE_OFF_T % 2147483647 == 1)
|
||||||
|
? 1 : -1];
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
_ACEOF
|
||||||
|
if ac_fn_c_try_compile "$LINENO"; then :
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
rm -f core conftest.err conftest.$ac_objext
|
||||||
|
CC="$CC -n32"
|
||||||
|
if ac_fn_c_try_compile "$LINENO"; then :
|
||||||
|
ac_cv_sys_largefile_CC=' -n32'; break
|
||||||
|
fi
|
||||||
|
rm -f core conftest.err conftest.$ac_objext
|
||||||
|
break
|
||||||
|
done
|
||||||
|
CC=$ac_save_CC
|
||||||
|
rm -f conftest.$ac_ext
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
|
||||||
|
$as_echo "$ac_cv_sys_largefile_CC" >&6; }
|
||||||
|
if test "$ac_cv_sys_largefile_CC" != no; then
|
||||||
|
CC=$CC$ac_cv_sys_largefile_CC
|
||||||
|
fi
|
||||||
|
|
||||||
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
|
||||||
|
$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
|
||||||
|
if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
|
||||||
|
$as_echo_n "(cached) " >&6
|
||||||
|
else
|
||||||
|
while :; do
|
||||||
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
|
/* end confdefs.h. */
|
||||||
|
#include <sys/types.h>
|
||||||
|
/* Check that off_t can represent 2**63 - 1 correctly.
|
||||||
|
We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
||||||
|
since some C++ compilers masquerading as C compilers
|
||||||
|
incorrectly reject 9223372036854775807. */
|
||||||
|
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
|
||||||
|
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|
||||||
|
&& LARGE_OFF_T % 2147483647 == 1)
|
||||||
|
? 1 : -1];
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
_ACEOF
|
||||||
|
if ac_fn_c_try_compile "$LINENO"; then :
|
||||||
|
ac_cv_sys_file_offset_bits=no; break
|
||||||
|
fi
|
||||||
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
||||||
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
|
/* end confdefs.h. */
|
||||||
|
#define _FILE_OFFSET_BITS 64
|
||||||
|
#include <sys/types.h>
|
||||||
|
/* Check that off_t can represent 2**63 - 1 correctly.
|
||||||
|
We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
||||||
|
since some C++ compilers masquerading as C compilers
|
||||||
|
incorrectly reject 9223372036854775807. */
|
||||||
|
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
|
||||||
|
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|
||||||
|
&& LARGE_OFF_T % 2147483647 == 1)
|
||||||
|
? 1 : -1];
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
_ACEOF
|
||||||
|
if ac_fn_c_try_compile "$LINENO"; then :
|
||||||
|
ac_cv_sys_file_offset_bits=64; break
|
||||||
|
fi
|
||||||
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
||||||
|
ac_cv_sys_file_offset_bits=unknown
|
||||||
|
break
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
|
||||||
|
$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
|
||||||
|
case $ac_cv_sys_file_offset_bits in #(
|
||||||
|
no | unknown) ;;
|
||||||
|
*)
|
||||||
|
cat >>confdefs.h <<_ACEOF
|
||||||
|
#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
|
||||||
|
_ACEOF
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
rm -rf conftest*
|
||||||
|
if test $ac_cv_sys_file_offset_bits = unknown; then
|
||||||
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
|
||||||
|
$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
|
||||||
|
if test "${ac_cv_sys_large_files+set}" = set; then :
|
||||||
|
$as_echo_n "(cached) " >&6
|
||||||
|
else
|
||||||
|
while :; do
|
||||||
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
|
/* end confdefs.h. */
|
||||||
|
#include <sys/types.h>
|
||||||
|
/* Check that off_t can represent 2**63 - 1 correctly.
|
||||||
|
We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
||||||
|
since some C++ compilers masquerading as C compilers
|
||||||
|
incorrectly reject 9223372036854775807. */
|
||||||
|
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
|
||||||
|
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|
||||||
|
&& LARGE_OFF_T % 2147483647 == 1)
|
||||||
|
? 1 : -1];
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
_ACEOF
|
||||||
|
if ac_fn_c_try_compile "$LINENO"; then :
|
||||||
|
ac_cv_sys_large_files=no; break
|
||||||
|
fi
|
||||||
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
||||||
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
|
/* end confdefs.h. */
|
||||||
|
#define _LARGE_FILES 1
|
||||||
|
#include <sys/types.h>
|
||||||
|
/* Check that off_t can represent 2**63 - 1 correctly.
|
||||||
|
We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
||||||
|
since some C++ compilers masquerading as C compilers
|
||||||
|
incorrectly reject 9223372036854775807. */
|
||||||
|
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
|
||||||
|
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|
||||||
|
&& LARGE_OFF_T % 2147483647 == 1)
|
||||||
|
? 1 : -1];
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
_ACEOF
|
||||||
|
if ac_fn_c_try_compile "$LINENO"; then :
|
||||||
|
ac_cv_sys_large_files=1; break
|
||||||
|
fi
|
||||||
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
||||||
|
ac_cv_sys_large_files=unknown
|
||||||
|
break
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
|
||||||
|
$as_echo "$ac_cv_sys_large_files" >&6; }
|
||||||
|
case $ac_cv_sys_large_files in #(
|
||||||
|
no | unknown) ;;
|
||||||
|
*)
|
||||||
|
cat >>confdefs.h <<_ACEOF
|
||||||
|
#define _LARGE_FILES $ac_cv_sys_large_files
|
||||||
|
_ACEOF
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
rm -rf conftest*
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${CC-cc} option to accept ANSI C" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${CC-cc} option to accept ANSI C" >&5
|
||||||
|
@ -28,6 +28,7 @@ AM_MAINTAINER_MODE
|
|||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
AC_USE_SYSTEM_EXTENSIONS
|
AC_USE_SYSTEM_EXTENSIONS
|
||||||
gl_EARLY
|
gl_EARLY
|
||||||
|
ACX_LARGEFILE
|
||||||
AM_PROG_CC_STDC
|
AM_PROG_CC_STDC
|
||||||
|
|
||||||
AC_CONFIG_AUX_DIR(..)
|
AC_CONFIG_AUX_DIR(..)
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
|
|
||||||
|
* configure.in: Call ACX_LARGEFILE. Stop calling AC_SYS_LARGEFILE.
|
||||||
|
* aclocal.m4: Regenerate.
|
||||||
|
* configure: Regenerate.
|
||||||
|
|
||||||
2009-09-25 Dimitry Gorbachev <d.g.gorbachev@gmail.com>
|
2009-09-25 Dimitry Gorbachev <d.g.gorbachev@gmail.com>
|
||||||
|
|
||||||
PR 10656
|
PR 10656
|
||||||
|
2
gprof/aclocal.m4
vendored
2
gprof/aclocal.m4
vendored
@ -971,9 +971,11 @@ AC_SUBST([am__untar])
|
|||||||
m4_include([../bfd/warning.m4])
|
m4_include([../bfd/warning.m4])
|
||||||
m4_include([../config/depstand.m4])
|
m4_include([../config/depstand.m4])
|
||||||
m4_include([../config/gettext-sister.m4])
|
m4_include([../config/gettext-sister.m4])
|
||||||
|
m4_include([../config/largefile.m4])
|
||||||
m4_include([../config/lead-dot.m4])
|
m4_include([../config/lead-dot.m4])
|
||||||
m4_include([../config/nls.m4])
|
m4_include([../config/nls.m4])
|
||||||
m4_include([../config/override.m4])
|
m4_include([../config/override.m4])
|
||||||
|
m4_include([../config/plugins.m4])
|
||||||
m4_include([../config/po.m4])
|
m4_include([../config/po.m4])
|
||||||
m4_include([../config/progtest.m4])
|
m4_include([../config/progtest.m4])
|
||||||
m4_include([../libtool.m4])
|
m4_include([../libtool.m4])
|
||||||
|
62
gprof/configure
vendored
62
gprof/configure
vendored
@ -876,6 +876,7 @@ ac_subst_files=''
|
|||||||
ac_user_opts='
|
ac_user_opts='
|
||||||
enable_option_checking
|
enable_option_checking
|
||||||
enable_dependency_tracking
|
enable_dependency_tracking
|
||||||
|
enable_plugins
|
||||||
enable_largefile
|
enable_largefile
|
||||||
enable_shared
|
enable_shared
|
||||||
enable_static
|
enable_static
|
||||||
@ -1517,6 +1518,7 @@ Optional Features:
|
|||||||
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
||||||
--disable-dependency-tracking speeds up one-time build
|
--disable-dependency-tracking speeds up one-time build
|
||||||
--enable-dependency-tracking do not reject slow dependency extractors
|
--enable-dependency-tracking do not reject slow dependency extractors
|
||||||
|
--enable-plugins Enable support for plugins (defaults no)
|
||||||
--disable-largefile omit support for large files
|
--disable-largefile omit support for large files
|
||||||
--enable-shared[=PKGS] build shared libraries [default=yes]
|
--enable-shared[=PKGS] build shared libraries [default=yes]
|
||||||
--enable-static[=PKGS] build static libraries [default=yes]
|
--enable-static[=PKGS] build static libraries [default=yes]
|
||||||
@ -4958,6 +4960,37 @@ $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# As the $enable_largefile decision depends on --enable-plugins we must set it
|
||||||
|
# even in directories otherwise not depending on the $plugins option.
|
||||||
|
|
||||||
|
|
||||||
|
# Check whether --enable-plugins was given.
|
||||||
|
if test "${enable_plugins+set}" = set; then :
|
||||||
|
enableval=$enable_plugins; case "${enableval}" in
|
||||||
|
yes | "") plugins=yes ;;
|
||||||
|
no) plugins=no ;;
|
||||||
|
*) plugins=yes ;;
|
||||||
|
esac
|
||||||
|
else
|
||||||
|
plugins=no
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
case "${host}" in
|
||||||
|
sparc-*-solaris*|i[3-7]86-*-solaris*)
|
||||||
|
# On native 32bit sparc and ia32 solaris, large-file and procfs support
|
||||||
|
# are mutually exclusive; and without procfs support, the bfd/ elf module
|
||||||
|
# cannot provide certain routines such as elfcore_write_prpsinfo
|
||||||
|
# or elfcore_write_prstatus. So unless the user explicitly requested
|
||||||
|
# large-file support through the --enable-largefile switch, disable
|
||||||
|
# large-file support in favor of procfs support.
|
||||||
|
test "${target}" = "${host}" -a "x$plugins" = xno \
|
||||||
|
&& : ${enable_largefile="no"}
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
# Check whether --enable-largefile was given.
|
# Check whether --enable-largefile was given.
|
||||||
if test "${enable_largefile+set}" = set; then :
|
if test "${enable_largefile+set}" = set; then :
|
||||||
enableval=$enable_largefile;
|
enableval=$enable_largefile;
|
||||||
@ -5158,6 +5191,7 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
case `pwd` in
|
case `pwd` in
|
||||||
*\ * | *\ *)
|
*\ * | *\ *)
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
|
||||||
@ -5637,13 +5671,13 @@ if test "${lt_cv_nm_interface+set}" = set; then :
|
|||||||
else
|
else
|
||||||
lt_cv_nm_interface="BSD nm"
|
lt_cv_nm_interface="BSD nm"
|
||||||
echo "int some_variable = 0;" > conftest.$ac_ext
|
echo "int some_variable = 0;" > conftest.$ac_ext
|
||||||
(eval echo "\"\$as_me:5640: $ac_compile\"" >&5)
|
(eval echo "\"\$as_me:5674: $ac_compile\"" >&5)
|
||||||
(eval "$ac_compile" 2>conftest.err)
|
(eval "$ac_compile" 2>conftest.err)
|
||||||
cat conftest.err >&5
|
cat conftest.err >&5
|
||||||
(eval echo "\"\$as_me:5643: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
|
(eval echo "\"\$as_me:5677: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
|
||||||
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
|
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
|
||||||
cat conftest.err >&5
|
cat conftest.err >&5
|
||||||
(eval echo "\"\$as_me:5646: output\"" >&5)
|
(eval echo "\"\$as_me:5680: output\"" >&5)
|
||||||
cat conftest.out >&5
|
cat conftest.out >&5
|
||||||
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
|
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
|
||||||
lt_cv_nm_interface="MS dumpbin"
|
lt_cv_nm_interface="MS dumpbin"
|
||||||
@ -6848,7 +6882,7 @@ ia64-*-hpux*)
|
|||||||
;;
|
;;
|
||||||
*-*-irix6*)
|
*-*-irix6*)
|
||||||
# Find out which ABI we are using.
|
# Find out which ABI we are using.
|
||||||
echo '#line 6851 "configure"' > conftest.$ac_ext
|
echo '#line 6885 "configure"' > conftest.$ac_ext
|
||||||
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
||||||
(eval $ac_compile) 2>&5
|
(eval $ac_compile) 2>&5
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
@ -8110,11 +8144,11 @@ else
|
|||||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||||
-e 's:$: $lt_compiler_flag:'`
|
-e 's:$: $lt_compiler_flag:'`
|
||||||
(eval echo "\"\$as_me:8113: $lt_compile\"" >&5)
|
(eval echo "\"\$as_me:8147: $lt_compile\"" >&5)
|
||||||
(eval "$lt_compile" 2>conftest.err)
|
(eval "$lt_compile" 2>conftest.err)
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
cat conftest.err >&5
|
cat conftest.err >&5
|
||||||
echo "$as_me:8117: \$? = $ac_status" >&5
|
echo "$as_me:8151: \$? = $ac_status" >&5
|
||||||
if (exit $ac_status) && test -s "$ac_outfile"; then
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
||||||
# The compiler can only warn and ignore the option if not recognized
|
# The compiler can only warn and ignore the option if not recognized
|
||||||
# So say no if there are warnings other than the usual output.
|
# So say no if there are warnings other than the usual output.
|
||||||
@ -8449,11 +8483,11 @@ else
|
|||||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||||
-e 's:$: $lt_compiler_flag:'`
|
-e 's:$: $lt_compiler_flag:'`
|
||||||
(eval echo "\"\$as_me:8452: $lt_compile\"" >&5)
|
(eval echo "\"\$as_me:8486: $lt_compile\"" >&5)
|
||||||
(eval "$lt_compile" 2>conftest.err)
|
(eval "$lt_compile" 2>conftest.err)
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
cat conftest.err >&5
|
cat conftest.err >&5
|
||||||
echo "$as_me:8456: \$? = $ac_status" >&5
|
echo "$as_me:8490: \$? = $ac_status" >&5
|
||||||
if (exit $ac_status) && test -s "$ac_outfile"; then
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
||||||
# The compiler can only warn and ignore the option if not recognized
|
# The compiler can only warn and ignore the option if not recognized
|
||||||
# So say no if there are warnings other than the usual output.
|
# So say no if there are warnings other than the usual output.
|
||||||
@ -8554,11 +8588,11 @@ else
|
|||||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||||
-e 's:$: $lt_compiler_flag:'`
|
-e 's:$: $lt_compiler_flag:'`
|
||||||
(eval echo "\"\$as_me:8557: $lt_compile\"" >&5)
|
(eval echo "\"\$as_me:8591: $lt_compile\"" >&5)
|
||||||
(eval "$lt_compile" 2>out/conftest.err)
|
(eval "$lt_compile" 2>out/conftest.err)
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
cat out/conftest.err >&5
|
cat out/conftest.err >&5
|
||||||
echo "$as_me:8561: \$? = $ac_status" >&5
|
echo "$as_me:8595: \$? = $ac_status" >&5
|
||||||
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
||||||
then
|
then
|
||||||
# The compiler can only warn and ignore the option if not recognized
|
# The compiler can only warn and ignore the option if not recognized
|
||||||
@ -8609,11 +8643,11 @@ else
|
|||||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||||
-e 's:$: $lt_compiler_flag:'`
|
-e 's:$: $lt_compiler_flag:'`
|
||||||
(eval echo "\"\$as_me:8612: $lt_compile\"" >&5)
|
(eval echo "\"\$as_me:8646: $lt_compile\"" >&5)
|
||||||
(eval "$lt_compile" 2>out/conftest.err)
|
(eval "$lt_compile" 2>out/conftest.err)
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
cat out/conftest.err >&5
|
cat out/conftest.err >&5
|
||||||
echo "$as_me:8616: \$? = $ac_status" >&5
|
echo "$as_me:8650: \$? = $ac_status" >&5
|
||||||
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
||||||
then
|
then
|
||||||
# The compiler can only warn and ignore the option if not recognized
|
# The compiler can only warn and ignore the option if not recognized
|
||||||
@ -10991,7 +11025,7 @@ else
|
|||||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||||
lt_status=$lt_dlunknown
|
lt_status=$lt_dlunknown
|
||||||
cat > conftest.$ac_ext <<_LT_EOF
|
cat > conftest.$ac_ext <<_LT_EOF
|
||||||
#line 10994 "configure"
|
#line 11028 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
#if HAVE_DLFCN_H
|
#if HAVE_DLFCN_H
|
||||||
@ -11087,7 +11121,7 @@ else
|
|||||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||||
lt_status=$lt_dlunknown
|
lt_status=$lt_dlunknown
|
||||||
cat > conftest.$ac_ext <<_LT_EOF
|
cat > conftest.$ac_ext <<_LT_EOF
|
||||||
#line 11090 "configure"
|
#line 11124 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
#if HAVE_DLFCN_H
|
#if HAVE_DLFCN_H
|
||||||
|
@ -20,7 +20,7 @@ AC_CONFIG_HEADERS([gconfig.h:gconfig.in])
|
|||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
AC_GNU_SOURCE
|
AC_GNU_SOURCE
|
||||||
AC_USE_SYSTEM_EXTENSIONS
|
AC_USE_SYSTEM_EXTENSIONS
|
||||||
AC_SYS_LARGEFILE
|
ACX_LARGEFILE
|
||||||
AC_PROG_INSTALL
|
AC_PROG_INSTALL
|
||||||
|
|
||||||
LT_INIT
|
LT_INIT
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
|
|
||||||
|
* configure.in: Call ACX_LARGEFILE. Stop calling AC_SYS_LARGEFILE.
|
||||||
|
* aclocal.m4: Regenerate.
|
||||||
|
* configure: Regenerate.
|
||||||
|
|
||||||
2009-11-10 Nick Clifton <nickc@redhat.com>
|
2009-11-10 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
PR ld/10864
|
PR ld/10864
|
||||||
|
2
ld/aclocal.m4
vendored
2
ld/aclocal.m4
vendored
@ -994,9 +994,11 @@ m4_include([../bfd/warning.m4])
|
|||||||
m4_include([../config/acx.m4])
|
m4_include([../config/acx.m4])
|
||||||
m4_include([../config/depstand.m4])
|
m4_include([../config/depstand.m4])
|
||||||
m4_include([../config/gettext-sister.m4])
|
m4_include([../config/gettext-sister.m4])
|
||||||
|
m4_include([../config/largefile.m4])
|
||||||
m4_include([../config/lead-dot.m4])
|
m4_include([../config/lead-dot.m4])
|
||||||
m4_include([../config/nls.m4])
|
m4_include([../config/nls.m4])
|
||||||
m4_include([../config/override.m4])
|
m4_include([../config/override.m4])
|
||||||
|
m4_include([../config/plugins.m4])
|
||||||
m4_include([../config/po.m4])
|
m4_include([../config/po.m4])
|
||||||
m4_include([../config/progtest.m4])
|
m4_include([../config/progtest.m4])
|
||||||
m4_include([../libtool.m4])
|
m4_include([../libtool.m4])
|
||||||
|
62
ld/configure
vendored
62
ld/configure
vendored
@ -904,6 +904,7 @@ with_sysroot
|
|||||||
enable_got
|
enable_got
|
||||||
enable_werror
|
enable_werror
|
||||||
enable_build_warnings
|
enable_build_warnings
|
||||||
|
enable_plugins
|
||||||
enable_largefile
|
enable_largefile
|
||||||
enable_shared
|
enable_shared
|
||||||
enable_static
|
enable_static
|
||||||
@ -1552,6 +1553,7 @@ Optional Features:
|
|||||||
multigot)
|
multigot)
|
||||||
--enable-werror treat compile warnings as errors
|
--enable-werror treat compile warnings as errors
|
||||||
--enable-build-warnings enable build-time compiler warnings
|
--enable-build-warnings enable build-time compiler warnings
|
||||||
|
--enable-plugins Enable support for plugins (defaults no)
|
||||||
--disable-largefile omit support for large files
|
--disable-largefile omit support for large files
|
||||||
--enable-shared[=PKGS] build shared libraries [default=yes]
|
--enable-shared[=PKGS] build shared libraries [default=yes]
|
||||||
--enable-static[=PKGS] build static libraries [default=yes]
|
--enable-static[=PKGS] build static libraries [default=yes]
|
||||||
@ -5408,6 +5410,37 @@ $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# As the $enable_largefile decision depends on --enable-plugins we must set it
|
||||||
|
# even in directories otherwise not depending on the $plugins option.
|
||||||
|
|
||||||
|
|
||||||
|
# Check whether --enable-plugins was given.
|
||||||
|
if test "${enable_plugins+set}" = set; then :
|
||||||
|
enableval=$enable_plugins; case "${enableval}" in
|
||||||
|
yes | "") plugins=yes ;;
|
||||||
|
no) plugins=no ;;
|
||||||
|
*) plugins=yes ;;
|
||||||
|
esac
|
||||||
|
else
|
||||||
|
plugins=no
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
case "${host}" in
|
||||||
|
sparc-*-solaris*|i[3-7]86-*-solaris*)
|
||||||
|
# On native 32bit sparc and ia32 solaris, large-file and procfs support
|
||||||
|
# are mutually exclusive; and without procfs support, the bfd/ elf module
|
||||||
|
# cannot provide certain routines such as elfcore_write_prpsinfo
|
||||||
|
# or elfcore_write_prstatus. So unless the user explicitly requested
|
||||||
|
# large-file support through the --enable-largefile switch, disable
|
||||||
|
# large-file support in favor of procfs support.
|
||||||
|
test "${target}" = "${host}" -a "x$plugins" = xno \
|
||||||
|
&& : ${enable_largefile="no"}
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
# Check whether --enable-largefile was given.
|
# Check whether --enable-largefile was given.
|
||||||
if test "${enable_largefile+set}" = set; then :
|
if test "${enable_largefile+set}" = set; then :
|
||||||
enableval=$enable_largefile;
|
enableval=$enable_largefile;
|
||||||
@ -5608,6 +5641,7 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
case `pwd` in
|
case `pwd` in
|
||||||
*\ * | *\ *)
|
*\ * | *\ *)
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
|
||||||
@ -6087,13 +6121,13 @@ if test "${lt_cv_nm_interface+set}" = set; then :
|
|||||||
else
|
else
|
||||||
lt_cv_nm_interface="BSD nm"
|
lt_cv_nm_interface="BSD nm"
|
||||||
echo "int some_variable = 0;" > conftest.$ac_ext
|
echo "int some_variable = 0;" > conftest.$ac_ext
|
||||||
(eval echo "\"\$as_me:6090: $ac_compile\"" >&5)
|
(eval echo "\"\$as_me:6124: $ac_compile\"" >&5)
|
||||||
(eval "$ac_compile" 2>conftest.err)
|
(eval "$ac_compile" 2>conftest.err)
|
||||||
cat conftest.err >&5
|
cat conftest.err >&5
|
||||||
(eval echo "\"\$as_me:6093: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
|
(eval echo "\"\$as_me:6127: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
|
||||||
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
|
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
|
||||||
cat conftest.err >&5
|
cat conftest.err >&5
|
||||||
(eval echo "\"\$as_me:6096: output\"" >&5)
|
(eval echo "\"\$as_me:6130: output\"" >&5)
|
||||||
cat conftest.out >&5
|
cat conftest.out >&5
|
||||||
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
|
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
|
||||||
lt_cv_nm_interface="MS dumpbin"
|
lt_cv_nm_interface="MS dumpbin"
|
||||||
@ -7298,7 +7332,7 @@ ia64-*-hpux*)
|
|||||||
;;
|
;;
|
||||||
*-*-irix6*)
|
*-*-irix6*)
|
||||||
# Find out which ABI we are using.
|
# Find out which ABI we are using.
|
||||||
echo '#line 7301 "configure"' > conftest.$ac_ext
|
echo '#line 7335 "configure"' > conftest.$ac_ext
|
||||||
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
||||||
(eval $ac_compile) 2>&5
|
(eval $ac_compile) 2>&5
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
@ -8560,11 +8594,11 @@ else
|
|||||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||||
-e 's:$: $lt_compiler_flag:'`
|
-e 's:$: $lt_compiler_flag:'`
|
||||||
(eval echo "\"\$as_me:8563: $lt_compile\"" >&5)
|
(eval echo "\"\$as_me:8597: $lt_compile\"" >&5)
|
||||||
(eval "$lt_compile" 2>conftest.err)
|
(eval "$lt_compile" 2>conftest.err)
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
cat conftest.err >&5
|
cat conftest.err >&5
|
||||||
echo "$as_me:8567: \$? = $ac_status" >&5
|
echo "$as_me:8601: \$? = $ac_status" >&5
|
||||||
if (exit $ac_status) && test -s "$ac_outfile"; then
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
||||||
# The compiler can only warn and ignore the option if not recognized
|
# The compiler can only warn and ignore the option if not recognized
|
||||||
# So say no if there are warnings other than the usual output.
|
# So say no if there are warnings other than the usual output.
|
||||||
@ -8899,11 +8933,11 @@ else
|
|||||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||||
-e 's:$: $lt_compiler_flag:'`
|
-e 's:$: $lt_compiler_flag:'`
|
||||||
(eval echo "\"\$as_me:8902: $lt_compile\"" >&5)
|
(eval echo "\"\$as_me:8936: $lt_compile\"" >&5)
|
||||||
(eval "$lt_compile" 2>conftest.err)
|
(eval "$lt_compile" 2>conftest.err)
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
cat conftest.err >&5
|
cat conftest.err >&5
|
||||||
echo "$as_me:8906: \$? = $ac_status" >&5
|
echo "$as_me:8940: \$? = $ac_status" >&5
|
||||||
if (exit $ac_status) && test -s "$ac_outfile"; then
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
||||||
# The compiler can only warn and ignore the option if not recognized
|
# The compiler can only warn and ignore the option if not recognized
|
||||||
# So say no if there are warnings other than the usual output.
|
# So say no if there are warnings other than the usual output.
|
||||||
@ -9004,11 +9038,11 @@ else
|
|||||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||||
-e 's:$: $lt_compiler_flag:'`
|
-e 's:$: $lt_compiler_flag:'`
|
||||||
(eval echo "\"\$as_me:9007: $lt_compile\"" >&5)
|
(eval echo "\"\$as_me:9041: $lt_compile\"" >&5)
|
||||||
(eval "$lt_compile" 2>out/conftest.err)
|
(eval "$lt_compile" 2>out/conftest.err)
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
cat out/conftest.err >&5
|
cat out/conftest.err >&5
|
||||||
echo "$as_me:9011: \$? = $ac_status" >&5
|
echo "$as_me:9045: \$? = $ac_status" >&5
|
||||||
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
||||||
then
|
then
|
||||||
# The compiler can only warn and ignore the option if not recognized
|
# The compiler can only warn and ignore the option if not recognized
|
||||||
@ -9059,11 +9093,11 @@ else
|
|||||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||||
-e 's:$: $lt_compiler_flag:'`
|
-e 's:$: $lt_compiler_flag:'`
|
||||||
(eval echo "\"\$as_me:9062: $lt_compile\"" >&5)
|
(eval echo "\"\$as_me:9096: $lt_compile\"" >&5)
|
||||||
(eval "$lt_compile" 2>out/conftest.err)
|
(eval "$lt_compile" 2>out/conftest.err)
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
cat out/conftest.err >&5
|
cat out/conftest.err >&5
|
||||||
echo "$as_me:9066: \$? = $ac_status" >&5
|
echo "$as_me:9100: \$? = $ac_status" >&5
|
||||||
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
||||||
then
|
then
|
||||||
# The compiler can only warn and ignore the option if not recognized
|
# The compiler can only warn and ignore the option if not recognized
|
||||||
@ -11441,7 +11475,7 @@ else
|
|||||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||||
lt_status=$lt_dlunknown
|
lt_status=$lt_dlunknown
|
||||||
cat > conftest.$ac_ext <<_LT_EOF
|
cat > conftest.$ac_ext <<_LT_EOF
|
||||||
#line 11444 "configure"
|
#line 11478 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
#if HAVE_DLFCN_H
|
#if HAVE_DLFCN_H
|
||||||
@ -11537,7 +11571,7 @@ else
|
|||||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||||
lt_status=$lt_dlunknown
|
lt_status=$lt_dlunknown
|
||||||
cat > conftest.$ac_ext <<_LT_EOF
|
cat > conftest.$ac_ext <<_LT_EOF
|
||||||
#line 11540 "configure"
|
#line 11574 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
#if HAVE_DLFCN_H
|
#if HAVE_DLFCN_H
|
||||||
|
@ -110,7 +110,7 @@ fi
|
|||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
AC_GNU_SOURCE
|
AC_GNU_SOURCE
|
||||||
AC_USE_SYSTEM_EXTENSIONS
|
AC_USE_SYSTEM_EXTENSIONS
|
||||||
AC_SYS_LARGEFILE
|
ACX_LARGEFILE
|
||||||
AC_PROG_INSTALL
|
AC_PROG_INSTALL
|
||||||
|
|
||||||
LT_INIT
|
LT_INIT
|
||||||
|
Reference in New Issue
Block a user