mirror of git://sourceware.org/git/glibc.git
* configure.in: Replace AC_FD_CC with AS_MESSAGE_LOG_FD.
* sysdeps/alpha/elf/configure.in: Likewise.
* sysdeps/i386/elf/configure.in: Likewise.
* sysdeps/mach/hurd/configure.in: Likewise.
* sysdeps/x86_64/elf/configure.in: Likewise.
This commit is contained in:
parent
5d77b1da2b
commit
c2f55635da
|
|
@ -1,5 +1,11 @@
|
||||||
2002-10-18 Jeff Bailey <jbailey@gnu.org>
|
2002-10-18 Jeff Bailey <jbailey@gnu.org>
|
||||||
|
|
||||||
|
* configure.in: Replace AC_FD_CC with AS_MESSAGE_LOG_FD.
|
||||||
|
* sysdeps/alpha/elf/configure.in: Likewise.
|
||||||
|
* sysdeps/i386/elf/configure.in: Likewise.
|
||||||
|
* sysdeps/mach/hurd/configure.in: Likewise.
|
||||||
|
* sysdeps/x86_64/elf/configure.in: Likewise.
|
||||||
|
|
||||||
* configure.in: Use AC_CONFIG_SRCDIR and new AC_INIT syntax.
|
* configure.in: Use AC_CONFIG_SRCDIR and new AC_INIT syntax.
|
||||||
|
|
||||||
* sysdeps/alpha/elf/configure.in: Remove unneeded sinclude statement.
|
* sysdeps/alpha/elf/configure.in: Remove unneeded sinclude statement.
|
||||||
|
|
|
||||||
54
configure.in
54
configure.in
|
|
@ -778,7 +778,7 @@ AC_CACHE_CHECK(for old Debian install-info, libc_cv_old_debian_install_info,
|
||||||
echo 'START-INFO-DIR-ENTRY'
|
echo 'START-INFO-DIR-ENTRY'
|
||||||
echo '* Prog: (prog). Program.'
|
echo '* Prog: (prog). Program.'
|
||||||
echo 'END-INFO-DIR-ENTRY') >conftest.d/prog.info
|
echo 'END-INFO-DIR-ENTRY') >conftest.d/prog.info
|
||||||
if $INSTALL_INFO --info-dir=conftest.d conftest.d/prog.info >&AC_FD_CC 2>&1
|
if $INSTALL_INFO --info-dir=conftest.d conftest.d/prog.info >&AS_MESSAGE_LOG_FD 2>&1
|
||||||
then
|
then
|
||||||
if grep -s 'i-d-s works' conftest.d/dir >/dev/null
|
if grep -s 'i-d-s works' conftest.d/dir >/dev/null
|
||||||
then libc_cv_old_debian_install_info=no
|
then libc_cv_old_debian_install_info=no
|
||||||
|
|
@ -900,7 +900,7 @@ extern int glibc_conftest_frobozz;
|
||||||
main () { printf ("%d\n", glibc_conftest_frobozz); }
|
main () { printf ("%d\n", glibc_conftest_frobozz); }
|
||||||
EOF
|
EOF
|
||||||
if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
|
if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
|
||||||
-o conftest conftest.s conftest1.c 1>&AC_FD_CC 2>&AC_FD_CC; then
|
-o conftest conftest.s conftest1.c 1>&AS_MESSAGE_LOG_FD 2>&AC_FD_CC; then
|
||||||
libc_cv_asm_set_directive=yes
|
libc_cv_asm_set_directive=yes
|
||||||
else
|
else
|
||||||
libc_cv_asm_set_directive=no
|
libc_cv_asm_set_directive=no
|
||||||
|
|
@ -945,7 +945,7 @@ ${libc_cv_dot_text}
|
||||||
_sym:
|
_sym:
|
||||||
.symver _sym,sym@VERS
|
.symver _sym,sym@VERS
|
||||||
EOF
|
EOF
|
||||||
if ${CC-cc} -c $CFLAGS $CPPFLAGS conftest.s 1>&AC_FD_CC 2>&AC_FD_CC; then
|
if ${CC-cc} -c $CFLAGS $CPPFLAGS conftest.s 1>&AS_MESSAGE_LOG_FD 2>&AC_FD_CC; then
|
||||||
libc_cv_asm_symver_directive=yes
|
libc_cv_asm_symver_directive=yes
|
||||||
else
|
else
|
||||||
libc_cv_asm_symver_directive=no
|
libc_cv_asm_symver_directive=no
|
||||||
|
|
@ -967,11 +967,11 @@ VERS_2 {
|
||||||
global: sym;
|
global: sym;
|
||||||
} VERS_1;
|
} VERS_1;
|
||||||
EOF
|
EOF
|
||||||
if ${CC-cc} -c $CFLAGS $CPPFLAGS conftest.s 1>&AC_FD_CC 2>&AC_FD_CC; then
|
if ${CC-cc} -c $CFLAGS $CPPFLAGS conftest.s 1>&AS_MESSAGE_LOG_FD 2>&AC_FD_CC; then
|
||||||
if AC_TRY_COMMAND([${CC-cc} $CFLAGS -shared -o conftest.so conftest.o
|
if AC_TRY_COMMAND([${CC-cc} $CFLAGS -shared -o conftest.so conftest.o
|
||||||
-nostartfiles -nostdlib
|
-nostartfiles -nostdlib
|
||||||
-Wl,--version-script,conftest.map
|
-Wl,--version-script,conftest.map
|
||||||
1>&AC_FD_CC]);
|
1>&AS_MESSAGE_LOG_FD]);
|
||||||
then
|
then
|
||||||
libc_cv_ld_version_script_option=yes
|
libc_cv_ld_version_script_option=yes
|
||||||
else
|
else
|
||||||
|
|
@ -1009,7 +1009,7 @@ if test $elf = yes; then
|
||||||
.section foo_section
|
.section foo_section
|
||||||
.previous
|
.previous
|
||||||
EOF
|
EOF
|
||||||
if AC_TRY_COMMAND(${CC-cc} -c $CFLAGS conftest.s 1>&AC_FD_CC); then
|
if AC_TRY_COMMAND(${CC-cc} -c $CFLAGS conftest.s 1>&AS_MESSAGE_LOG_FD); then
|
||||||
libc_cv_asm_previous_directive=yes
|
libc_cv_asm_previous_directive=yes
|
||||||
else
|
else
|
||||||
libc_cv_asm_previous_directive=no
|
libc_cv_asm_previous_directive=no
|
||||||
|
|
@ -1024,7 +1024,7 @@ EOF
|
||||||
.pushsection foo_section
|
.pushsection foo_section
|
||||||
.popsection
|
.popsection
|
||||||
EOF
|
EOF
|
||||||
if AC_TRY_COMMAND(${CC-cc} -c $CFLAGS conftest.s 1>&AC_FD_CC); then
|
if AC_TRY_COMMAND(${CC-cc} -c $CFLAGS conftest.s 1>&AS_MESSAGE_LOG_FD); then
|
||||||
libc_cv_asm_popsection_directive=yes
|
libc_cv_asm_popsection_directive=yes
|
||||||
else
|
else
|
||||||
libc_cv_asm_popsection_directive=no
|
libc_cv_asm_popsection_directive=no
|
||||||
|
|
@ -1042,7 +1042,7 @@ foo:
|
||||||
.hidden bar
|
.hidden bar
|
||||||
bar:
|
bar:
|
||||||
EOF
|
EOF
|
||||||
if AC_TRY_COMMAND(${CC-cc} -c $CFLAGS conftest.s 1>&AC_FD_CC); then
|
if AC_TRY_COMMAND(${CC-cc} -c $CFLAGS conftest.s 1>&AS_MESSAGE_LOG_FD); then
|
||||||
libc_cv_asm_protected_directive=yes
|
libc_cv_asm_protected_directive=yes
|
||||||
else
|
else
|
||||||
libc_cv_asm_protected_directive=no
|
libc_cv_asm_protected_directive=no
|
||||||
|
|
@ -1145,7 +1145,7 @@ int foo (void) { return 1; }
|
||||||
int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;
|
int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;
|
||||||
EOF
|
EOF
|
||||||
if AC_TRY_COMMAND([${CC-cc} -o conftest conftest.c
|
if AC_TRY_COMMAND([${CC-cc} -o conftest conftest.c
|
||||||
-static -nostartfiles -nostdlib 1>&AC_FD_CC])
|
-static -nostartfiles -nostdlib 1>&AS_MESSAGE_LOG_FD])
|
||||||
then
|
then
|
||||||
if readelf -S conftest | fgrep INIT_ARRAY > /dev/null; then
|
if readelf -S conftest | fgrep INIT_ARRAY > /dev/null; then
|
||||||
libc_cv_initfinit_array=yes
|
libc_cv_initfinit_array=yes
|
||||||
|
|
@ -1168,7 +1168,7 @@ int _start (void) { return 42; }
|
||||||
EOF
|
EOF
|
||||||
if AC_TRY_COMMAND([${CC-cc} -shared -o conftest.so conftest.c
|
if AC_TRY_COMMAND([${CC-cc} -shared -o conftest.so conftest.c
|
||||||
-nostartfiles -nostdlib
|
-nostartfiles -nostdlib
|
||||||
-Wl,--enable-new-dtags,-z,nodelete 1>&AC_FD_CC])
|
-Wl,--enable-new-dtags,-z,nodelete 1>&AS_MESSAGE_LOG_FD])
|
||||||
then
|
then
|
||||||
libc_cv_z_nodelete=yes
|
libc_cv_z_nodelete=yes
|
||||||
else
|
else
|
||||||
|
|
@ -1184,7 +1184,7 @@ int _start (void) { return 42; }
|
||||||
EOF
|
EOF
|
||||||
if AC_TRY_COMMAND([${CC-cc} -shared -o conftest.so conftest.c
|
if AC_TRY_COMMAND([${CC-cc} -shared -o conftest.so conftest.c
|
||||||
-nostartfiles -nostdlib
|
-nostartfiles -nostdlib
|
||||||
-Wl,--enable-new-dtags,-z,nodlopen 1>&AC_FD_CC])
|
-Wl,--enable-new-dtags,-z,nodlopen 1>&AS_MESSAGE_LOG_FD])
|
||||||
then
|
then
|
||||||
libc_cv_z_nodlopen=yes
|
libc_cv_z_nodlopen=yes
|
||||||
else
|
else
|
||||||
|
|
@ -1200,7 +1200,7 @@ int _start (void) { return 42; }
|
||||||
EOF
|
EOF
|
||||||
if AC_TRY_COMMAND([${CC-cc} -shared -o conftest.so conftest.c
|
if AC_TRY_COMMAND([${CC-cc} -shared -o conftest.so conftest.c
|
||||||
-nostartfiles -nostdlib
|
-nostartfiles -nostdlib
|
||||||
-Wl,--enable-new-dtags,-z,initfirst 1>&AC_FD_CC])
|
-Wl,--enable-new-dtags,-z,initfirst 1>&AS_MESSAGE_LOG_FD])
|
||||||
then
|
then
|
||||||
libc_cv_z_initfirst=yes
|
libc_cv_z_initfirst=yes
|
||||||
else
|
else
|
||||||
|
|
@ -1214,7 +1214,7 @@ EOF
|
||||||
cat > conftest.c <<EOF
|
cat > conftest.c <<EOF
|
||||||
int _start (void) { return 42; }
|
int _start (void) { return 42; }
|
||||||
EOF
|
EOF
|
||||||
if AC_TRY_COMMAND([${CC-cc} -shared -o conftest.so conftest.c -Wl,-Bgroup -nostdlib 1>&AC_FD_CC])
|
if AC_TRY_COMMAND([${CC-cc} -shared -o conftest.so conftest.c -Wl,-Bgroup -nostdlib 1>&AS_MESSAGE_LOG_FD])
|
||||||
then
|
then
|
||||||
libc_cv_Bgroup=yes
|
libc_cv_Bgroup=yes
|
||||||
else
|
else
|
||||||
|
|
@ -1232,7 +1232,7 @@ int foo (void) { return bar (mumble); }
|
||||||
EOF
|
EOF
|
||||||
if AC_TRY_COMMAND([${CC-cc} -shared -o conftest.so conftest.c
|
if AC_TRY_COMMAND([${CC-cc} -shared -o conftest.so conftest.c
|
||||||
-nostdlib -nostartfiles
|
-nostdlib -nostartfiles
|
||||||
-Wl,-z,combreloc 1>&AC_FD_CC])
|
-Wl,-z,combreloc 1>&AS_MESSAGE_LOG_FD])
|
||||||
then
|
then
|
||||||
dnl The following test is a bit weak. We must use a tool which can test
|
dnl The following test is a bit weak. We must use a tool which can test
|
||||||
dnl cross-platform since the gcc used can be a cross compiler. Without
|
dnl cross-platform since the gcc used can be a cross compiler. Without
|
||||||
|
|
@ -1309,8 +1309,8 @@ if AC_TRY_EVAL(ac_compile); then
|
||||||
$2])
|
$2])
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "configure: failed program was:" >&AC_FD_CC
|
echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD
|
||||||
cat conftest.$ac_ext >&AC_FD_CC
|
cat conftest.$ac_ext >&AS_MESSAGE_LOG_FD
|
||||||
ifelse([$2], , , [rm -f conftest*
|
ifelse([$2], , , [rm -f conftest*
|
||||||
$2])
|
$2])
|
||||||
fi
|
fi
|
||||||
|
|
@ -1396,7 +1396,7 @@ case "${host_cpu}-${host_os}" in
|
||||||
cat > conftest.s <<EOF
|
cat > conftest.s <<EOF
|
||||||
nop ; is_old_puffin
|
nop ; is_old_puffin
|
||||||
EOF
|
EOF
|
||||||
if AC_TRY_COMMAND(${CC-cc} -c $CFLAGS conftest.s 1>&AC_FD_CC); then
|
if AC_TRY_COMMAND(${CC-cc} -c $CFLAGS conftest.s 1>&AS_MESSAGE_LOG_FD); then
|
||||||
libc_cv_asm_line_sep='!'
|
libc_cv_asm_line_sep='!'
|
||||||
else
|
else
|
||||||
if test -z "$enable_hacker_mode"; then
|
if test -z "$enable_hacker_mode"; then
|
||||||
|
|
@ -1420,7 +1420,7 @@ EOF
|
||||||
dnl No \ in command here because it ends up inside ''.
|
dnl No \ in command here because it ends up inside ''.
|
||||||
if AC_TRY_COMMAND([${CC-cc} $CFLAGS
|
if AC_TRY_COMMAND([${CC-cc} $CFLAGS
|
||||||
-nostdlib -nostartfiles -Wl,--no-whole-archive
|
-nostdlib -nostartfiles -Wl,--no-whole-archive
|
||||||
-o conftest conftest.c 1>&AC_FD_CC]); then
|
-o conftest conftest.c 1>&AS_MESSAGE_LOG_FD]); then
|
||||||
libc_cv_ld_no_whole_archive=yes
|
libc_cv_ld_no_whole_archive=yes
|
||||||
else
|
else
|
||||||
libc_cv_ld_no_whole_archive=no
|
libc_cv_ld_no_whole_archive=no
|
||||||
|
|
@ -1440,7 +1440,7 @@ EOF
|
||||||
dnl No \ in command here because it ends up inside ''.
|
dnl No \ in command here because it ends up inside ''.
|
||||||
if AC_TRY_COMMAND([${CC-cc} $CFLAGS
|
if AC_TRY_COMMAND([${CC-cc} $CFLAGS
|
||||||
-nostdlib -nostartfiles -fexceptions
|
-nostdlib -nostartfiles -fexceptions
|
||||||
-o conftest conftest.c 1>&AC_FD_CC]); then
|
-o conftest conftest.c 1>&AS_MESSAGE_LOG_FD]); then
|
||||||
libc_cv_gcc_exceptions=yes
|
libc_cv_gcc_exceptions=yes
|
||||||
else
|
else
|
||||||
libc_cv_gcc_exceptions=no
|
libc_cv_gcc_exceptions=no
|
||||||
|
|
@ -1514,14 +1514,14 @@ EOF
|
||||||
dnl No \ in command here because it ends up inside ''.
|
dnl No \ in command here because it ends up inside ''.
|
||||||
if AC_TRY_COMMAND([${CC-cc} $CFLAGS -DCHECK__register_frame_info
|
if AC_TRY_COMMAND([${CC-cc} $CFLAGS -DCHECK__register_frame_info
|
||||||
-nostdlib -nostartfiles
|
-nostdlib -nostartfiles
|
||||||
-o conftest conftest.c -lgcc >&AC_FD_CC]); then
|
-o conftest conftest.c -lgcc >&AS_MESSAGE_LOG_FD]); then
|
||||||
libc_cv_gcc_dwarf2_unwind_info=static
|
libc_cv_gcc_dwarf2_unwind_info=static
|
||||||
else
|
else
|
||||||
libc_cv_gcc_dwarf2_unwind_info=no
|
libc_cv_gcc_dwarf2_unwind_info=no
|
||||||
fi
|
fi
|
||||||
if AC_TRY_COMMAND([${CC-cc} $CFLAGS -DCHECK__register_frame_info
|
if AC_TRY_COMMAND([${CC-cc} $CFLAGS -DCHECK__register_frame_info
|
||||||
-nostdlib -nostartfiles
|
-nostdlib -nostartfiles
|
||||||
-o conftest conftest.c -lgcc -lgcc_eh >&AC_FD_CC]); then
|
-o conftest conftest.c -lgcc -lgcc_eh >&AS_MESSAGE_LOG_FD]); then
|
||||||
if ${CC-cc} $CFLAGS -DCHECK__register_frame_info -nostdlib -nostartfiles \
|
if ${CC-cc} $CFLAGS -DCHECK__register_frame_info -nostdlib -nostartfiles \
|
||||||
-o conftest conftest.c -lgcc -lgcc_eh -v 2>&1 >/dev/null \
|
-o conftest conftest.c -lgcc -lgcc_eh -v 2>&1 >/dev/null \
|
||||||
| grep -q -- --eh-frame-hdr; then
|
| grep -q -- --eh-frame-hdr; then
|
||||||
|
|
@ -1535,7 +1535,7 @@ fi
|
||||||
if test $libc_cv_gcc_dwarf2_unwind_info = no; then
|
if test $libc_cv_gcc_dwarf2_unwind_info = no; then
|
||||||
if AC_TRY_COMMAND([${CC-cc} $CFLAGS -DCHECK__register_frame
|
if AC_TRY_COMMAND([${CC-cc} $CFLAGS -DCHECK__register_frame
|
||||||
-nostdlib -nostartfiles
|
-nostdlib -nostartfiles
|
||||||
-o conftest conftest.c -lgcc >&AC_FD_CC]); then
|
-o conftest conftest.c -lgcc >&AS_MESSAGE_LOG_FD]); then
|
||||||
libc_cv_gcc_dwarf2_unwind_info=yes
|
libc_cv_gcc_dwarf2_unwind_info=yes
|
||||||
else
|
else
|
||||||
libc_cv_gcc_dwarf2_unwind_info=no
|
libc_cv_gcc_dwarf2_unwind_info=no
|
||||||
|
|
@ -1564,7 +1564,7 @@ int foo (int a)
|
||||||
EOF
|
EOF
|
||||||
dnl No \ in command here because it ends up inside ''.
|
dnl No \ in command here because it ends up inside ''.
|
||||||
if AC_TRY_COMMAND([${CC-cc} $CFLAGS -nostdlib -nostartfiles
|
if AC_TRY_COMMAND([${CC-cc} $CFLAGS -nostdlib -nostartfiles
|
||||||
-o conftest conftest.c -lgcc >&AC_FD_CC]); then
|
-o conftest conftest.c -lgcc >&AS_MESSAGE_LOG_FD]); then
|
||||||
libc_cv_gcc_builtin_expect=yes
|
libc_cv_gcc_builtin_expect=yes
|
||||||
else
|
else
|
||||||
libc_cv_gcc_builtin_expect=no
|
libc_cv_gcc_builtin_expect=no
|
||||||
|
|
@ -1612,7 +1612,7 @@ changequote([,])dnl
|
||||||
EOF
|
EOF
|
||||||
dnl No \ in command here because it ends up inside ''.
|
dnl No \ in command here because it ends up inside ''.
|
||||||
if AC_TRY_COMMAND([${CC-cc} $CFLAGS -nostdlib -nostartfiles
|
if AC_TRY_COMMAND([${CC-cc} $CFLAGS -nostdlib -nostartfiles
|
||||||
-o conftest conftest.c -lgcc >&AC_FD_CC]); then
|
-o conftest conftest.c -lgcc >&AS_MESSAGE_LOG_FD]); then
|
||||||
libc_cv_gcc_subtract_local_labels=yes
|
libc_cv_gcc_subtract_local_labels=yes
|
||||||
else
|
else
|
||||||
libc_cv_gcc_subtract_local_labels=no
|
libc_cv_gcc_subtract_local_labels=no
|
||||||
|
|
@ -1628,7 +1628,7 @@ if test "x$use__thread" != xno; then
|
||||||
[cat > conftest.c <<\EOF
|
[cat > conftest.c <<\EOF
|
||||||
__thread int a = 42;
|
__thread int a = 42;
|
||||||
EOF
|
EOF
|
||||||
if AC_TRY_COMMAND([${CC-cc} $CFLAGS -c conftest.c >&AC_FD_CC]); then
|
if AC_TRY_COMMAND([${CC-cc} $CFLAGS -c conftest.c >&AS_MESSAGE_LOG_FD]); then
|
||||||
libc_cv_gcc___thread=yes
|
libc_cv_gcc___thread=yes
|
||||||
else
|
else
|
||||||
libc_cv_gcc___thread=no
|
libc_cv_gcc___thread=no
|
||||||
|
|
@ -1647,7 +1647,7 @@ if test "$libc_cv_gcc___thread" = yes; then
|
||||||
cat > conftest.c <<\EOF
|
cat > conftest.c <<\EOF
|
||||||
extern __thread int a __attribute__((tls_model ("initial-exec")));
|
extern __thread int a __attribute__((tls_model ("initial-exec")));
|
||||||
EOF
|
EOF
|
||||||
if AC_TRY_COMMAND([${CC-cc} $CFLAGS -S -Werror conftest.c >&AC_FD_CC]); then
|
if AC_TRY_COMMAND([${CC-cc} $CFLAGS -S -Werror conftest.c >&AS_MESSAGE_LOG_FD]); then
|
||||||
libc_cv_gcc_tls_model_attr=yes
|
libc_cv_gcc_tls_model_attr=yes
|
||||||
else
|
else
|
||||||
libc_cv_gcc_tls_model_attr=no
|
libc_cv_gcc_tls_model_attr=no
|
||||||
|
|
@ -1844,7 +1844,7 @@ cat > conftest.c <<EOF
|
||||||
# error PIC is default.
|
# error PIC is default.
|
||||||
#endif
|
#endif
|
||||||
EOF
|
EOF
|
||||||
if eval "${CC-cc} -S conftest.c 2>&AC_FD_CC 1>&AC_FD_CC"; then
|
if eval "${CC-cc} -S conftest.c 2>&AS_MESSAGE_LOG_FD 1>&AC_FD_CC"; then
|
||||||
pic_default=no
|
pic_default=no
|
||||||
fi
|
fi
|
||||||
rm -f conftest.*])
|
rm -f conftest.*])
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ baz:
|
||||||
lda $16, n($31) !tprel
|
lda $16, n($31) !tprel
|
||||||
EOF
|
EOF
|
||||||
dnl
|
dnl
|
||||||
if AC_TRY_COMMAND(${CC-cc} -c $CFLAGS conftest.s 1>&AC_FD_CC); then
|
if AC_TRY_COMMAND(${CC-cc} -c $CFLAGS conftest.s 1>&AS_MESSAGE_LOG_FD); then
|
||||||
libc_cv_alpha_tls=yes
|
libc_cv_alpha_tls=yes
|
||||||
else
|
else
|
||||||
libc_cv_alpha_tls=no
|
libc_cv_alpha_tls=no
|
||||||
|
|
@ -64,7 +64,7 @@ EOF
|
||||||
dnl
|
dnl
|
||||||
|
|
||||||
libc_cv_alpha_hidden_gprel=no
|
libc_cv_alpha_hidden_gprel=no
|
||||||
if AC_TRY_COMMAND(${CC-cc} -S $CFLAGS -O2 -fpic conftest.c 1>&AC_FD_CC); then
|
if AC_TRY_COMMAND(${CC-cc} -S $CFLAGS -O2 -fpic conftest.c 1>&AS_MESSAGE_LOG_FD); then
|
||||||
if grep -q 'bar.*!gprel' conftest.s \
|
if grep -q 'bar.*!gprel' conftest.s \
|
||||||
&& grep -q 'baz.*!gprel' conftest.s \
|
&& grep -q 'baz.*!gprel' conftest.s \
|
||||||
&& ! grep -q 'bar.*!literal' conftest.s \
|
&& ! grep -q 'bar.*!literal' conftest.s \
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ baz: leal bar@TLSLDM(%ebx), %eax
|
||||||
movl %gs:bar@NTPOFF, %eax
|
movl %gs:bar@NTPOFF, %eax
|
||||||
EOF
|
EOF
|
||||||
dnl
|
dnl
|
||||||
if AC_TRY_COMMAND(${CC-cc} -c $CFLAGS conftest.s 1>&AC_FD_CC); then
|
if AC_TRY_COMMAND(${CC-cc} -c $CFLAGS conftest.s 1>&AS_MESSAGE_LOG_FD); then
|
||||||
libc_cv_386_tls=yes
|
libc_cv_386_tls=yes
|
||||||
else
|
else
|
||||||
libc_cv_386_tls=no
|
libc_cv_386_tls=no
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@ simpleroutine foobar_reply (
|
||||||
reply_port: reply_port_t;
|
reply_port: reply_port_t;
|
||||||
err: kern_return_t, RetCode);
|
err: kern_return_t, RetCode);
|
||||||
EOF
|
EOF
|
||||||
if AC_TRY_COMMAND([CC="${CC}" ${MIG-false} -n conftest.defs 1>&AC_FD_CC]); then
|
if AC_TRY_COMMAND([CC="${CC}" ${MIG-false} -n conftest.defs 1>&AS_MESSAGE_LOG_FD]); then
|
||||||
hurd_cv_mig_retcode=yes
|
hurd_cv_mig_retcode=yes
|
||||||
else
|
else
|
||||||
hurd_cv_mig_retcode=no
|
hurd_cv_mig_retcode=no
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ baz: leaq bar@TLSLD(%rip), %rdi
|
||||||
movq $bar@TPOFF, %rdx
|
movq $bar@TPOFF, %rdx
|
||||||
EOF
|
EOF
|
||||||
dnl
|
dnl
|
||||||
if AC_TRY_COMMAND(${CC-cc} -c $CFLAGS conftest.s 1>&AC_FD_CC); then
|
if AC_TRY_COMMAND(${CC-cc} -c $CFLAGS conftest.s 1>&AS_MESSAGE_LOG_FD); then
|
||||||
libc_cv_x86_64_tls=yes
|
libc_cv_x86_64_tls=yes
|
||||||
else
|
else
|
||||||
libc_cv_x86_64_tls=no
|
libc_cv_x86_64_tls=no
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue