mirror of git://sourceware.org/git/glibc.git
Don't override --enable-multi-arch.
This commit is contained in:
parent
bc425b339b
commit
77e8bddff3
|
|
@ -1,3 +1,7 @@
|
||||||
|
2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
|
||||||
|
|
||||||
|
* configure.in: Don't override --enable-multi-arch.
|
||||||
|
|
||||||
2011-01-15 Ulrich Drepper <drepper@gmail.com>
|
2011-01-15 Ulrich Drepper <drepper@gmail.com>
|
||||||
|
|
||||||
[BZ #6812]
|
[BZ #6812]
|
||||||
|
|
|
||||||
|
|
@ -3951,7 +3951,7 @@ if test x"$add_ons" != x; then
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
test -d "$srcdir/$libc_add_on" || {
|
test -d "$srcdir/$libc_add_on" || {
|
||||||
if test -d "$libc_add_on"; then
|
if test -d "$libc_add_on"; then
|
||||||
libc_add_on="`pwd`/$libc_add_on"
|
libc_add_on="`pwd`/$libc_add_on"
|
||||||
else
|
else
|
||||||
as_fn_error $? "add-on directory \"$libc_add_on\" does not exist" "$LINENO" 5
|
as_fn_error $? "add-on directory \"$libc_add_on\" does not exist" "$LINENO" 5
|
||||||
|
|
@ -3971,7 +3971,7 @@ $as_echo "$as_me: running configure fragment for add-on $libc_add_on" >&6;}
|
||||||
libc_add_on_subdirs=
|
libc_add_on_subdirs=
|
||||||
. "$libc_add_on_frag"
|
. "$libc_add_on_frag"
|
||||||
test -z "$libc_add_on" || {
|
test -z "$libc_add_on" || {
|
||||||
configured_add_ons="$configured_add_ons $libc_add_on"
|
configured_add_ons="$configured_add_ons $libc_add_on"
|
||||||
if test "x$libc_add_on_canonical" = xunknown; then
|
if test "x$libc_add_on_canonical" = xunknown; then
|
||||||
as_fn_error $? "fragment must set \$libc_add_on_canonical" "$LINENO" 5
|
as_fn_error $? "fragment must set \$libc_add_on_canonical" "$LINENO" 5
|
||||||
fi
|
fi
|
||||||
|
|
@ -4320,8 +4320,8 @@ for b in $base ''; do
|
||||||
for d in $add_ons_pfx ''; do
|
for d in $add_ons_pfx ''; do
|
||||||
for a in $add_ons_sfx ''; do
|
for a in $add_ons_sfx ''; do
|
||||||
if test -n "$m0$m0sub$b$v$o$m$msub"; then
|
if test -n "$m0$m0sub$b$v$o$m$msub"; then
|
||||||
try_srcdir="${srcdir}/"
|
try_srcdir="${srcdir}/"
|
||||||
case "$d" in
|
case "$d" in
|
||||||
/*) try_srcdir= ;;
|
/*) try_srcdir= ;;
|
||||||
esac
|
esac
|
||||||
try="${d}sysdeps$m0$m0sub$b$v$o$m$msub$a"
|
try="${d}sysdeps$m0$m0sub$b$v$o$m$msub$a"
|
||||||
|
|
@ -4356,7 +4356,7 @@ case $sysnames_add_ons$sysnames in
|
||||||
*"$multi_arch_d"*)
|
*"$multi_arch_d"*)
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
multi_arch=no
|
test x"$multi_arch" = xdefault && multi_arch=no
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
if test x"$multi_arch" != xno; then
|
if test x"$multi_arch" != xno; then
|
||||||
|
|
@ -4451,7 +4451,7 @@ while test $# -gt 0; do
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
if test $found = no; then
|
if test $found = no; then
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $name/Implies specifies nonexistent $x" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $name/Implies specifies nonexistent $x" >&5
|
||||||
$as_echo "$as_me: WARNING: $name/Implies specifies nonexistent $x" >&2;}
|
$as_echo "$as_me: WARNING: $name/Implies specifies nonexistent $x" >&2;}
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
@ -4528,7 +4528,7 @@ $as_echo "$as_me: WARNING: add-on $add_on contributed no sysdeps directories" >&
|
||||||
done
|
done
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
test -d "$f" || { test -e "$f" && exit 88; }
|
test -d "$f" || { test -e "$f" && exit 88; }
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done)
|
done)
|
||||||
|
|
@ -5937,7 +5937,7 @@ VERS_1 {
|
||||||
};
|
};
|
||||||
|
|
||||||
VERS_2 {
|
VERS_2 {
|
||||||
global: sym;
|
global: sym;
|
||||||
} VERS_1;
|
} VERS_1;
|
||||||
EOF
|
EOF
|
||||||
if ${CC-cc} -c $ASFLAGS conftest.s 1>&5 2>&5; then
|
if ${CC-cc} -c $ASFLAGS conftest.s 1>&5 2>&5; then
|
||||||
|
|
@ -6367,7 +6367,7 @@ fi
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_z_relro" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_z_relro" >&5
|
||||||
$as_echo "$libc_cv_z_relro" >&6; }
|
$as_echo "$libc_cv_z_relro" >&6; }
|
||||||
if test "$libc_cv_z_relro" = no; then
|
if test "$libc_cv_z_relro" = no; then
|
||||||
as_fn_error $? "linker with -z relro support required" "$LINENO" 5
|
as_fn_error $? "linker with -z relro support required" "$LINENO" 5
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*) ;;
|
*) ;;
|
||||||
|
|
@ -6918,13 +6918,13 @@ else
|
||||||
*) cfi_offset=0;;
|
*) cfi_offset=0;;
|
||||||
esac
|
esac
|
||||||
cat > conftest.s <<EOF
|
cat > conftest.s <<EOF
|
||||||
.text
|
.text
|
||||||
.type func,%function
|
.type func,%function
|
||||||
func:
|
func:
|
||||||
.cfi_startproc
|
.cfi_startproc
|
||||||
.cfi_remember_state
|
.cfi_remember_state
|
||||||
.cfi_rel_offset 1, $cfi_offset
|
.cfi_rel_offset 1, $cfi_offset
|
||||||
.cfi_endproc
|
.cfi_endproc
|
||||||
EOF
|
EOF
|
||||||
if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
|
if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
|
||||||
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
|
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
|
||||||
|
|
|
||||||
144
configure.in
144
configure.in
|
|
@ -29,8 +29,8 @@ config_vars=
|
||||||
|
|
||||||
# Check for a --with-gd argument and set libgd-LDFLAGS in config.make.
|
# Check for a --with-gd argument and set libgd-LDFLAGS in config.make.
|
||||||
AC_ARG_WITH([gd],
|
AC_ARG_WITH([gd],
|
||||||
AC_HELP_STRING([--with-gd=DIR],
|
AC_HELP_STRING([--with-gd=DIR],
|
||||||
[find libgd include dir and library with prefix DIR]),
|
[find libgd include dir and library with prefix DIR]),
|
||||||
[dnl
|
[dnl
|
||||||
case "$with_gd" in
|
case "$with_gd" in
|
||||||
yes|''|no) ;;
|
yes|''|no) ;;
|
||||||
|
|
@ -39,18 +39,18 @@ yes|''|no) ;;
|
||||||
esac
|
esac
|
||||||
])
|
])
|
||||||
AC_ARG_WITH([gd-include],
|
AC_ARG_WITH([gd-include],
|
||||||
AC_HELP_STRING([--with-gd-include=DIR],
|
AC_HELP_STRING([--with-gd-include=DIR],
|
||||||
[find libgd include files in DIR]),
|
[find libgd include files in DIR]),
|
||||||
[dnl
|
[dnl
|
||||||
case "$with_gd_include" in
|
case "$with_gd_include" in
|
||||||
''|no) ;;
|
''|no) ;;
|
||||||
*) libgd_include="-I$withval" ;;
|
*) libgd_include="-I$withval" ;;
|
||||||
esac
|
esac
|
||||||
])
|
])
|
||||||
AC_ARG_WITH([gd-lib],
|
AC_ARG_WITH([gd-lib],
|
||||||
AC_HELP_STRING([--with-gd-lib=DIR],
|
AC_HELP_STRING([--with-gd-lib=DIR],
|
||||||
[find libgd library files in DIR]),
|
[find libgd library files in DIR]),
|
||||||
[dnl
|
[dnl
|
||||||
case "$with_gd_lib" in
|
case "$with_gd_lib" in
|
||||||
''|no) ;;
|
''|no) ;;
|
||||||
*) libgd_ldflags="-L$withval" ;;
|
*) libgd_ldflags="-L$withval" ;;
|
||||||
|
|
@ -68,34 +68,34 @@ fi
|
||||||
|
|
||||||
dnl Arguments to specify presence of other packages/features.
|
dnl Arguments to specify presence of other packages/features.
|
||||||
AC_ARG_WITH([fp],
|
AC_ARG_WITH([fp],
|
||||||
AC_HELP_STRING([--with-fp],
|
AC_HELP_STRING([--with-fp],
|
||||||
[if using floating-point hardware @<:@default=yes@:>@]),
|
[if using floating-point hardware @<:@default=yes@:>@]),
|
||||||
[with_fp=$withval],
|
[with_fp=$withval],
|
||||||
[with_fp=yes])
|
[with_fp=yes])
|
||||||
AC_SUBST(with_fp)
|
AC_SUBST(with_fp)
|
||||||
AC_ARG_WITH([binutils],
|
AC_ARG_WITH([binutils],
|
||||||
AC_HELP_STRING([--with-binutils=PATH],
|
AC_HELP_STRING([--with-binutils=PATH],
|
||||||
[specify location of binutils (as and ld)]),
|
[specify location of binutils (as and ld)]),
|
||||||
[path_binutils=$withval],
|
[path_binutils=$withval],
|
||||||
[path_binutils=''])
|
[path_binutils=''])
|
||||||
AC_ARG_WITH([elf],
|
AC_ARG_WITH([elf],
|
||||||
AC_HELP_STRING([--with-elf],
|
AC_HELP_STRING([--with-elf],
|
||||||
[if using the ELF object format]),
|
[if using the ELF object format]),
|
||||||
[elf=$withval],
|
[elf=$withval],
|
||||||
[elf=no])
|
[elf=no])
|
||||||
AC_ARG_WITH([selinux],
|
AC_ARG_WITH([selinux],
|
||||||
AC_HELP_STRING([--with-selinux],
|
AC_HELP_STRING([--with-selinux],
|
||||||
[if building with SELinux support]),
|
[if building with SELinux support]),
|
||||||
[with_selinux=$withval],
|
[with_selinux=$withval],
|
||||||
[with_selinux=auto])
|
[with_selinux=auto])
|
||||||
AC_ARG_WITH([xcoff],
|
AC_ARG_WITH([xcoff],
|
||||||
AC_HELP_STRING([--with-xcoff],
|
AC_HELP_STRING([--with-xcoff],
|
||||||
[if using the XCOFF object format]),
|
[if using the XCOFF object format]),
|
||||||
[xcoff=$withval],
|
[xcoff=$withval],
|
||||||
[xcoff=no])
|
[xcoff=no])
|
||||||
AC_ARG_WITH([cvs],
|
AC_ARG_WITH([cvs],
|
||||||
AC_HELP_STRING([--without-cvs],
|
AC_HELP_STRING([--without-cvs],
|
||||||
[if CVS should not be used]),
|
[if CVS should not be used]),
|
||||||
[with_cvs=$withval],
|
[with_cvs=$withval],
|
||||||
[with_cvs=yes])
|
[with_cvs=yes])
|
||||||
if test "$with_cvs" = yes; then
|
if test "$with_cvs" = yes; then
|
||||||
|
|
@ -107,16 +107,16 @@ fi
|
||||||
AC_SUBST(with_cvs)
|
AC_SUBST(with_cvs)
|
||||||
|
|
||||||
AC_ARG_WITH([headers],
|
AC_ARG_WITH([headers],
|
||||||
AC_HELP_STRING([--with-headers=PATH],
|
AC_HELP_STRING([--with-headers=PATH],
|
||||||
[location of system headers to use
|
[location of system headers to use
|
||||||
(for example /usr/src/linux/include)
|
(for example /usr/src/linux/include)
|
||||||
@<:@default=compiler default@:>@]),
|
@<:@default=compiler default@:>@]),
|
||||||
[sysheaders=$withval],
|
[sysheaders=$withval],
|
||||||
[sysheaders=''])
|
[sysheaders=''])
|
||||||
|
|
||||||
AC_ARG_ENABLE([sanity-checks],
|
AC_ARG_ENABLE([sanity-checks],
|
||||||
AC_HELP_STRING([--disable-sanity-checks],
|
AC_HELP_STRING([--disable-sanity-checks],
|
||||||
[really do not use threads (should not be used except in special situations) @<:@default=yes@:>@]),
|
[really do not use threads (should not be used except in special situations) @<:@default=yes@:>@]),
|
||||||
[enable_sanity=$enableval],
|
[enable_sanity=$enableval],
|
||||||
[enable_sanity=yes])
|
[enable_sanity=yes])
|
||||||
|
|
||||||
|
|
@ -139,34 +139,34 @@ dnl [static=$enableval],
|
||||||
dnl [static=yes])
|
dnl [static=yes])
|
||||||
static=yes
|
static=yes
|
||||||
AC_ARG_ENABLE([shared],
|
AC_ARG_ENABLE([shared],
|
||||||
AC_HELP_STRING([--enable-shared],
|
AC_HELP_STRING([--enable-shared],
|
||||||
[build shared library @<:@default=yes if GNU ld & ELF@:>@]),
|
[build shared library @<:@default=yes if GNU ld & ELF@:>@]),
|
||||||
[shared=$enableval],
|
[shared=$enableval],
|
||||||
[shared=default])
|
[shared=default])
|
||||||
AC_ARG_ENABLE([profile],
|
AC_ARG_ENABLE([profile],
|
||||||
AC_HELP_STRING([--enable-profile],
|
AC_HELP_STRING([--enable-profile],
|
||||||
[build profiled library @<:@default=no@:>@]),
|
[build profiled library @<:@default=no@:>@]),
|
||||||
[profile=$enableval],
|
[profile=$enableval],
|
||||||
[profile=no])
|
[profile=no])
|
||||||
AC_ARG_ENABLE([omitfp],
|
AC_ARG_ENABLE([omitfp],
|
||||||
AC_HELP_STRING([--enable-omitfp],
|
AC_HELP_STRING([--enable-omitfp],
|
||||||
[build undebuggable optimized library @<:@default=no@:>@]),
|
[build undebuggable optimized library @<:@default=no@:>@]),
|
||||||
[omitfp=$enableval],
|
[omitfp=$enableval],
|
||||||
[omitfp=no])
|
[omitfp=no])
|
||||||
AC_ARG_ENABLE([bounded],
|
AC_ARG_ENABLE([bounded],
|
||||||
AC_HELP_STRING([--enable-bounded],
|
AC_HELP_STRING([--enable-bounded],
|
||||||
[build with runtime bounds checking @<:@default=no@:>@]),
|
[build with runtime bounds checking @<:@default=no@:>@]),
|
||||||
[bounded=$enableval],
|
[bounded=$enableval],
|
||||||
[bounded=no])
|
[bounded=no])
|
||||||
AC_ARG_ENABLE([versioning],
|
AC_ARG_ENABLE([versioning],
|
||||||
AC_HELP_STRING([--disable-versioning],
|
AC_HELP_STRING([--disable-versioning],
|
||||||
[do not include versioning information in the library objects @<:@default=yes if supported@:>@]),
|
[do not include versioning information in the library objects @<:@default=yes if supported@:>@]),
|
||||||
[enable_versioning=$enableval],
|
[enable_versioning=$enableval],
|
||||||
[enable_versioning=yes])
|
[enable_versioning=yes])
|
||||||
|
|
||||||
AC_ARG_ENABLE([oldest-abi],
|
AC_ARG_ENABLE([oldest-abi],
|
||||||
AC_HELP_STRING([--enable-oldest-abi=ABI],
|
AC_HELP_STRING([--enable-oldest-abi=ABI],
|
||||||
[configure the oldest ABI supported @<:@e.g. 2.2@:>@ @<:@default=glibc default@:>@]),
|
[configure the oldest ABI supported @<:@e.g. 2.2@:>@ @<:@default=glibc default@:>@]),
|
||||||
[oldest_abi=$enableval],
|
[oldest_abi=$enableval],
|
||||||
[oldest_abi=no])
|
[oldest_abi=no])
|
||||||
if test "$oldest_abi" = yes || test "$oldest_abi" = no; then
|
if test "$oldest_abi" = yes || test "$oldest_abi" = no; then
|
||||||
|
|
@ -187,27 +187,27 @@ fi
|
||||||
|
|
||||||
dnl Generic infrastructure for drop-in additions to libc.
|
dnl Generic infrastructure for drop-in additions to libc.
|
||||||
AC_ARG_ENABLE([add-ons],
|
AC_ARG_ENABLE([add-ons],
|
||||||
AC_HELP_STRING([--enable-add-ons@<:@=DIRS...@:>@],
|
AC_HELP_STRING([--enable-add-ons@<:@=DIRS...@:>@],
|
||||||
[configure and build add-ons in DIR1,DIR2,...
|
[configure and build add-ons in DIR1,DIR2,...
|
||||||
search for add-ons if no parameter given]),
|
search for add-ons if no parameter given]),
|
||||||
, [enable_add_ons=yes])
|
, [enable_add_ons=yes])
|
||||||
|
|
||||||
dnl Let the user avoid using TLS. Don't know why but...
|
dnl Let the user avoid using TLS. Don't know why but...
|
||||||
AC_ARG_WITH([tls],
|
AC_ARG_WITH([tls],
|
||||||
AC_HELP_STRING([--with-tls],
|
AC_HELP_STRING([--with-tls],
|
||||||
[enable support for TLS]),
|
[enable support for TLS]),
|
||||||
[usetls=$withval],
|
[usetls=$withval],
|
||||||
[usetls=yes])
|
[usetls=yes])
|
||||||
|
|
||||||
AC_ARG_WITH([__thread],
|
AC_ARG_WITH([__thread],
|
||||||
AC_HELP_STRING([--without-__thread],
|
AC_HELP_STRING([--without-__thread],
|
||||||
[do not use TLS features even when supporting them]),
|
[do not use TLS features even when supporting them]),
|
||||||
[use__thread=$withval],
|
[use__thread=$withval],
|
||||||
[use__thread=yes])
|
[use__thread=yes])
|
||||||
|
|
||||||
AC_ARG_ENABLE([hidden-plt],
|
AC_ARG_ENABLE([hidden-plt],
|
||||||
AC_HELP_STRING([--disable-hidden-plt],
|
AC_HELP_STRING([--disable-hidden-plt],
|
||||||
[do not hide internal function calls to avoid PLT]),
|
[do not hide internal function calls to avoid PLT]),
|
||||||
[hidden=$enableval],
|
[hidden=$enableval],
|
||||||
[hidden=yes])
|
[hidden=yes])
|
||||||
if test "x$hidden" = xno; then
|
if test "x$hidden" = xno; then
|
||||||
|
|
@ -224,8 +224,8 @@ AC_SUBST(bindnow)
|
||||||
dnl On some platforms we cannot use dynamic loading. We must provide
|
dnl On some platforms we cannot use dynamic loading. We must provide
|
||||||
dnl static NSS modules.
|
dnl static NSS modules.
|
||||||
AC_ARG_ENABLE([static-nss],
|
AC_ARG_ENABLE([static-nss],
|
||||||
AC_HELP_STRING([--enable-static-nss],
|
AC_HELP_STRING([--enable-static-nss],
|
||||||
[build static NSS modules @<:@default=no@:>@]),
|
[build static NSS modules @<:@default=no@:>@]),
|
||||||
[static_nss=$enableval],
|
[static_nss=$enableval],
|
||||||
[static_nss=no])
|
[static_nss=no])
|
||||||
dnl Enable static NSS also if we build no shared objects.
|
dnl Enable static NSS also if we build no shared objects.
|
||||||
|
|
@ -235,8 +235,8 @@ if test x"$static_nss" = xyes || test x"$shared" = xno; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_ARG_ENABLE([force-install],
|
AC_ARG_ENABLE([force-install],
|
||||||
AC_HELP_STRING([--disable-force-install],
|
AC_HELP_STRING([--disable-force-install],
|
||||||
[don't force installation of files from this package, even if they are older than the installed files]),
|
[don't force installation of files from this package, even if they are older than the installed files]),
|
||||||
[force_install=$enableval],
|
[force_install=$enableval],
|
||||||
[force_install=yes])
|
[force_install=yes])
|
||||||
AC_SUBST(force_install)
|
AC_SUBST(force_install)
|
||||||
|
|
@ -244,8 +244,8 @@ AC_SUBST(force_install)
|
||||||
dnl On some platforms we allow dropping compatibility with all kernel
|
dnl On some platforms we allow dropping compatibility with all kernel
|
||||||
dnl versions.
|
dnl versions.
|
||||||
AC_ARG_ENABLE([kernel],
|
AC_ARG_ENABLE([kernel],
|
||||||
AC_HELP_STRING([--enable-kernel=VERSION],
|
AC_HELP_STRING([--enable-kernel=VERSION],
|
||||||
[compile for compatibility with kernel not older than VERSION]),
|
[compile for compatibility with kernel not older than VERSION]),
|
||||||
[minimum_kernel=$enableval],
|
[minimum_kernel=$enableval],
|
||||||
[])
|
[])
|
||||||
dnl Prevent unreasonable values.
|
dnl Prevent unreasonable values.
|
||||||
|
|
@ -263,7 +263,7 @@ dnl This is not the default since many of the extra warnings are not
|
||||||
dnl appropriate.
|
dnl appropriate.
|
||||||
AC_ARG_ENABLE([all-warnings],
|
AC_ARG_ENABLE([all-warnings],
|
||||||
AC_HELP_STRING([--enable-all-warnings],
|
AC_HELP_STRING([--enable-all-warnings],
|
||||||
[enable all useful warnings gcc can issue]),
|
[enable all useful warnings gcc can issue]),
|
||||||
[all_warnings=$enableval],
|
[all_warnings=$enableval],
|
||||||
[])
|
[])
|
||||||
AC_SUBST(all_warnings)
|
AC_SUBST(all_warnings)
|
||||||
|
|
@ -444,7 +444,7 @@ if test x"$add_ons" != x; then
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
test -d "$srcdir/$libc_add_on" || {
|
test -d "$srcdir/$libc_add_on" || {
|
||||||
if test -d "$libc_add_on"; then
|
if test -d "$libc_add_on"; then
|
||||||
libc_add_on="`pwd`/$libc_add_on"
|
libc_add_on="`pwd`/$libc_add_on"
|
||||||
else
|
else
|
||||||
AC_MSG_ERROR(add-on directory \"$libc_add_on\" does not exist)
|
AC_MSG_ERROR(add-on directory \"$libc_add_on\" does not exist)
|
||||||
|
|
@ -463,7 +463,7 @@ if test x"$add_ons" != x; then
|
||||||
libc_add_on_subdirs=
|
libc_add_on_subdirs=
|
||||||
. "$libc_add_on_frag"
|
. "$libc_add_on_frag"
|
||||||
test -z "$libc_add_on" || {
|
test -z "$libc_add_on" || {
|
||||||
configured_add_ons="$configured_add_ons $libc_add_on"
|
configured_add_ons="$configured_add_ons $libc_add_on"
|
||||||
if test "x$libc_add_on_canonical" = xunknown; then
|
if test "x$libc_add_on_canonical" = xunknown; then
|
||||||
AC_MSG_ERROR(fragment must set \$libc_add_on_canonical)
|
AC_MSG_ERROR(fragment must set \$libc_add_on_canonical)
|
||||||
fi
|
fi
|
||||||
|
|
@ -602,7 +602,7 @@ fi
|
||||||
|
|
||||||
# For the multi-arch option we need support in the assembler.
|
# For the multi-arch option we need support in the assembler.
|
||||||
AC_CACHE_CHECK([for assembler gnu_indirect_function symbol type support],
|
AC_CACHE_CHECK([for assembler gnu_indirect_function symbol type support],
|
||||||
libc_cv_asm_gnu_indirect_function, [dnl
|
libc_cv_asm_gnu_indirect_function, [dnl
|
||||||
cat > conftest.s <<EOF
|
cat > conftest.s <<EOF
|
||||||
.type foo,%gnu_indirect_function
|
.type foo,%gnu_indirect_function
|
||||||
EOF
|
EOF
|
||||||
|
|
@ -771,8 +771,8 @@ for b in $base ''; do
|
||||||
for d in $add_ons_pfx ''; do
|
for d in $add_ons_pfx ''; do
|
||||||
for a in $add_ons_sfx ''; do
|
for a in $add_ons_sfx ''; do
|
||||||
if test -n "$m0$m0sub$b$v$o$m$msub"; then
|
if test -n "$m0$m0sub$b$v$o$m$msub"; then
|
||||||
try_srcdir="${srcdir}/"
|
try_srcdir="${srcdir}/"
|
||||||
case "$d" in
|
case "$d" in
|
||||||
/*) try_srcdir= ;;
|
/*) try_srcdir= ;;
|
||||||
esac
|
esac
|
||||||
try="${d}sysdeps$m0$m0sub$b$v$o$m$msub$a"
|
try="${d}sysdeps$m0$m0sub$b$v$o$m$msub$a"
|
||||||
|
|
@ -807,7 +807,7 @@ case $sysnames_add_ons$sysnames in
|
||||||
*"$multi_arch_d"*)
|
*"$multi_arch_d"*)
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
multi_arch=no
|
test x"$multi_arch" = xdefault && multi_arch=no
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
if test x"$multi_arch" != xno; then
|
if test x"$multi_arch" != xno; then
|
||||||
|
|
@ -901,7 +901,7 @@ while test $# -gt 0; do
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
if test $found = no; then
|
if test $found = no; then
|
||||||
AC_MSG_WARN($name/Implies specifies nonexistent $x)
|
AC_MSG_WARN($name/Implies specifies nonexistent $x)
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
|
|
@ -977,7 +977,7 @@ for add_on in $add_ons; do
|
||||||
done
|
done
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
test -d "$f" || { test -e "$f" && exit 88; }
|
test -d "$f" || { test -e "$f" && exit 88; }
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done)
|
done)
|
||||||
|
|
@ -1214,8 +1214,8 @@ AC_TRY_COMPILE(dnl
|
||||||
#error stddef.h ignored __need_*
|
#error stddef.h ignored __need_*
|
||||||
#endif
|
#endif
|
||||||
if (&size == NULL || &wchar == NULL) abort ();],
|
if (&size == NULL || &wchar == NULL) abort ();],
|
||||||
libc_cv_friendly_stddef=yes,
|
libc_cv_friendly_stddef=yes,
|
||||||
libc_cv_friendly_stddef=no)])
|
libc_cv_friendly_stddef=no)])
|
||||||
if test $libc_cv_friendly_stddef = yes; then
|
if test $libc_cv_friendly_stddef = yes; then
|
||||||
config_vars="$config_vars
|
config_vars="$config_vars
|
||||||
override stddef.h = # The installed <stddef.h> seems to be libc-friendly."
|
override stddef.h = # The installed <stddef.h> seems to be libc-friendly."
|
||||||
|
|
@ -1305,7 +1305,7 @@ VERS_1 {
|
||||||
};
|
};
|
||||||
|
|
||||||
VERS_2 {
|
VERS_2 {
|
||||||
global: sym;
|
global: sym;
|
||||||
} VERS_1;
|
} VERS_1;
|
||||||
EOF
|
EOF
|
||||||
if ${CC-cc} -c $ASFLAGS conftest.s 1>&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD; then
|
if ${CC-cc} -c $ASFLAGS conftest.s 1>&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD; then
|
||||||
|
|
@ -1581,7 +1581,7 @@ changequote([,])dnl
|
||||||
fi
|
fi
|
||||||
fi])
|
fi])
|
||||||
if test "$libc_cv_z_relro" = no; then
|
if test "$libc_cv_z_relro" = no; then
|
||||||
AC_MSG_ERROR(linker with -z relro support required)
|
AC_MSG_ERROR(linker with -z relro support required)
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*) ;;
|
*) ;;
|
||||||
|
|
@ -1863,12 +1863,12 @@ else
|
||||||
if test $ac_cv_prog_cc_works = yes; then
|
if test $ac_cv_prog_cc_works = yes; then
|
||||||
AC_CACHE_CHECK(for _ prefix on C symbol names, libc_cv_asm_underscores,
|
AC_CACHE_CHECK(for _ prefix on C symbol names, libc_cv_asm_underscores,
|
||||||
[AC_TRY_LINK([asm ("_glibc_foobar:");], [glibc_foobar ();],
|
[AC_TRY_LINK([asm ("_glibc_foobar:");], [glibc_foobar ();],
|
||||||
libc_cv_asm_underscores=yes,
|
libc_cv_asm_underscores=yes,
|
||||||
libc_cv_asm_underscores=no)])
|
libc_cv_asm_underscores=no)])
|
||||||
else
|
else
|
||||||
AC_CACHE_CHECK(for _ prefix on C symbol names, libc_cv_asm_underscores,
|
AC_CACHE_CHECK(for _ prefix on C symbol names, libc_cv_asm_underscores,
|
||||||
[AC_CHECK_ASM_UNDERSCORE(libc_cv_asm_underscores=yes,
|
[AC_CHECK_ASM_UNDERSCORE(libc_cv_asm_underscores=yes,
|
||||||
libc_cv_asm_underscores=no)])
|
libc_cv_asm_underscores=no)])
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if test $libc_cv_asm_underscores = no; then
|
if test $libc_cv_asm_underscores = no; then
|
||||||
|
|
@ -1929,13 +1929,13 @@ case $machine in
|
||||||
*) cfi_offset=0;;
|
*) cfi_offset=0;;
|
||||||
esac
|
esac
|
||||||
cat > conftest.s <<EOF
|
cat > conftest.s <<EOF
|
||||||
.text
|
.text
|
||||||
.type func,%function
|
.type func,%function
|
||||||
func:
|
func:
|
||||||
.cfi_startproc
|
.cfi_startproc
|
||||||
.cfi_remember_state
|
.cfi_remember_state
|
||||||
.cfi_rel_offset 1, $cfi_offset
|
.cfi_rel_offset 1, $cfi_offset
|
||||||
.cfi_endproc
|
.cfi_endproc
|
||||||
EOF
|
EOF
|
||||||
if AC_TRY_COMMAND(${CC-cc} $ASFLAGS -c conftest.s 1>&AS_MESSAGE_LOG_FD); then
|
if AC_TRY_COMMAND(${CC-cc} $ASFLAGS -c conftest.s 1>&AS_MESSAGE_LOG_FD); then
|
||||||
libc_cv_asm_cfi_directives=yes
|
libc_cv_asm_cfi_directives=yes
|
||||||
|
|
@ -2163,7 +2163,7 @@ if test "x$have_selinux" = xyes; then
|
||||||
|
|
||||||
# See if we have the libaudit library
|
# See if we have the libaudit library
|
||||||
AC_CHECK_LIB(audit, audit_log_user_avc_message,
|
AC_CHECK_LIB(audit, audit_log_user_avc_message,
|
||||||
have_libaudit=yes, have_libaudit=no)
|
have_libaudit=yes, have_libaudit=no)
|
||||||
if test "x$have_libaudit" = xyes; then
|
if test "x$have_libaudit" = xyes; then
|
||||||
AC_DEFINE(HAVE_LIBAUDIT, 1, [SELinux libaudit support])
|
AC_DEFINE(HAVE_LIBAUDIT, 1, [SELinux libaudit support])
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue