mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 08:11:08 +00:00
* Makefile (autoconf-it): Make it executable and unwritable.
* configure.in (sysnames): Under --enable-debug-configure, spew potential sysnames.
This commit is contained in:
parent
439d1d4560
commit
587dbc6fe8
@ -1,5 +1,10 @@
|
|||||||
Sat Jul 22 01:56:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
|
Sat Jul 22 01:56:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
|
||||||
|
|
||||||
|
* Makefile (autoconf-it): Make it executable and unwritable.
|
||||||
|
|
||||||
|
* configure.in (sysnames): Under --enable-debug-configure, spew
|
||||||
|
potential sysnames.
|
||||||
|
|
||||||
* sysdeps/unix/i386/sysdep.h (JUMPTARGET): New macro; use name@PLT
|
* sysdeps/unix/i386/sysdep.h (JUMPTARGET): New macro; use name@PLT
|
||||||
#ifdef PIC.
|
#ifdef PIC.
|
||||||
(PSEUDO): Use JUMPTARGET(syscall_error) in jump insn.
|
(PSEUDO): Use JUMPTARGET(syscall_error) in jump insn.
|
||||||
|
2
Makefile
2
Makefile
@ -29,7 +29,9 @@ endif
|
|||||||
all: lib others
|
all: lib others
|
||||||
|
|
||||||
define autoconf-it
|
define autoconf-it
|
||||||
|
@-rm -f $@.new
|
||||||
autoconf $(ACFLAGS) $< > $@.new
|
autoconf $(ACFLAGS) $< > $@.new
|
||||||
|
chmod a-w,a+x $@.new
|
||||||
mv -f $@.new $@
|
mv -f $@.new $@
|
||||||
test ! -d CVS || cvs commit -m'Regenerated: autoconf $(ACFLAGS) $<' $@
|
test ! -d CVS || cvs commit -m'Regenerated: autoconf $(ACFLAGS) $<' $@
|
||||||
endef
|
endef
|
||||||
|
86
configure
vendored
86
configure
vendored
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# From configure.in CVSid
|
# From configure.in CVSid
|
||||||
# Guess values for system-dependent variables and create Makefiles.
|
# Guess values for system-dependent variables and create Makefiles.
|
||||||
# Generated automatically using autoconf version 2.3
|
# Generated automatically using autoconf version 2.4
|
||||||
# Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
|
# Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This configure script is free software; the Free Software Foundation
|
# This configure script is free software; the Free Software Foundation
|
||||||
@ -237,7 +237,7 @@ EOF
|
|||||||
verbose=yes ;;
|
verbose=yes ;;
|
||||||
|
|
||||||
-version | --version | --versio | --versi | --vers)
|
-version | --version | --versio | --versi | --vers)
|
||||||
echo "configure generated by autoconf version 2.3"
|
echo "configure generated by autoconf version 2.4"
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
|
||||||
-with-* | --with-*)
|
-with-* | --with-*)
|
||||||
@ -624,9 +624,9 @@ netbsd* | 386bsd* | freebsd* | bsdi*)
|
|||||||
base_os=unix/bsd/bsd4.4 ;;
|
base_os=unix/bsd/bsd4.4 ;;
|
||||||
osf* | sunos* | ultrix* | newsos* | dynix* | *bsd*)
|
osf* | sunos* | ultrix* | newsos* | dynix* | *bsd*)
|
||||||
base_os=unix/bsd ;;
|
base_os=unix/bsd ;;
|
||||||
linux* | sysv* | isc* | esix* | sco* | minix* | irix4*)
|
sysv* | isc* | esix* | sco* | minix* | irix4*)
|
||||||
base_os=unix/sysv ;;
|
base_os=unix/sysv ;;
|
||||||
solaris[2-9]*)
|
linux* | solaris[2-9]*)
|
||||||
base_os=unix/sysv/sysv4 ;;
|
base_os=unix/sysv/sysv4 ;;
|
||||||
none)
|
none)
|
||||||
base_os=standalone ;;
|
base_os=standalone ;;
|
||||||
@ -677,6 +677,7 @@ for b in $base ''; do
|
|||||||
for o in /$ostry ''; do
|
for o in /$ostry ''; do
|
||||||
for m in $mach ''; do
|
for m in $mach ''; do
|
||||||
try="$m0$b$v$o$m"
|
try="$m0$b$v$o$m"
|
||||||
|
test -n "$enable_debug_configure" && echo "$0 DEBUG: try $try" >&2
|
||||||
if test -d $sysdep_dir$try; then
|
if test -d $sysdep_dir$try; then
|
||||||
sysnames="$sysnames $try"
|
sysnames="$sysnames $try"
|
||||||
{ test -n "$o" || test -n "$b"; } && os_used=t
|
{ test -n "$o" || test -n "$b"; } && os_used=t
|
||||||
@ -997,7 +998,7 @@ else
|
|||||||
# On the NeXT, cc -E runs the code through the compiler's parser,
|
# On the NeXT, cc -E runs the code through the compiler's parser,
|
||||||
# not just through cpp.
|
# not just through cpp.
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 1001 "configure"
|
#line 1002 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
Syntax Error
|
Syntax Error
|
||||||
@ -1011,7 +1012,7 @@ else
|
|||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
CPP="${CC-cc} -E -traditional-cpp"
|
CPP="${CC-cc} -E -traditional-cpp"
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 1015 "configure"
|
#line 1016 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
Syntax Error
|
Syntax Error
|
||||||
@ -1030,8 +1031,10 @@ fi
|
|||||||
rm -f conftest*
|
rm -f conftest*
|
||||||
ac_cv_prog_CPP="$CPP"
|
ac_cv_prog_CPP="$CPP"
|
||||||
fi
|
fi
|
||||||
|
CPP="$ac_cv_prog_CPP"
|
||||||
|
else
|
||||||
|
ac_cv_prog_CPP="$CPP"
|
||||||
fi
|
fi
|
||||||
CPP="$ac_cv_prog_CPP"
|
|
||||||
echo "$ac_t""$CPP" 1>&4
|
echo "$ac_t""$CPP" 1>&4
|
||||||
|
|
||||||
|
|
||||||
@ -1063,7 +1066,7 @@ if eval "test \"`echo '$''{'libc_cv_friendly_stddef'+set}'`\" = set"; then
|
|||||||
echo $ac_n "(cached) $ac_c" 1>&4
|
echo $ac_n "(cached) $ac_c" 1>&4
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 1067 "configure"
|
#line 1070 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#define __need_size_t
|
#define __need_size_t
|
||||||
#define __need_wchar_t
|
#define __need_wchar_t
|
||||||
@ -1118,38 +1121,6 @@ if test $libc_cv_need_minus_P = yes; then
|
|||||||
asm-CPPFLAGS = -P # The assembler can't grok cpp's # line directives."
|
asm-CPPFLAGS = -P # The assembler can't grok cpp's # line directives."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo $ac_n "checking for .set assembler directive""... $ac_c" 1>&4
|
|
||||||
if eval "test \"`echo '$''{'libc_cv_asm_set_directive'+set}'`\" = set"; then
|
|
||||||
echo $ac_n "(cached) $ac_c" 1>&4
|
|
||||||
else
|
|
||||||
cat > conftest.s <<\EOF
|
|
||||||
.text
|
|
||||||
foo: .long 0
|
|
||||||
.set glibc_conftest_frobozz,foo
|
|
||||||
EOF
|
|
||||||
# The alpha-dec-osf1 assembler gives only a warning for `.set'
|
|
||||||
# (but it doesn't work), so we must do a linking check to be sure.
|
|
||||||
cat > conftest1.c <<\EOF
|
|
||||||
extern int glibc_conftest_frobozz;
|
|
||||||
main () { printf ("%d\n", glibc_conftest_frobozz); }
|
|
||||||
EOF
|
|
||||||
if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
|
|
||||||
conftest.s conftest1.c 1>&5 2>&5; then
|
|
||||||
libc_cv_asm_set_directive=yes
|
|
||||||
else
|
|
||||||
libc_cv_asm_set_directive=no
|
|
||||||
fi
|
|
||||||
rm -f conftest*
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "$ac_t""$libc_cv_asm_set_directive" 1>&4
|
|
||||||
if test $libc_cv_asm_set_directive = yes; then
|
|
||||||
cat >> confdefs.h <<\EOF
|
|
||||||
#define HAVE_ASM_SET_DIRECTIVE 1
|
|
||||||
EOF
|
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo $ac_n "checking for assembler global-symbol directive""... $ac_c" 1>&4
|
echo $ac_n "checking for assembler global-symbol directive""... $ac_c" 1>&4
|
||||||
if eval "test \"`echo '$''{'libc_cv_asm_global_directive'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'libc_cv_asm_global_directive'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&4
|
echo $ac_n "(cached) $ac_c" 1>&4
|
||||||
@ -1179,6 +1150,39 @@ EOF
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo $ac_n "checking for .set assembler directive""... $ac_c" 1>&4
|
||||||
|
if eval "test \"`echo '$''{'libc_cv_asm_set_directive'+set}'`\" = set"; then
|
||||||
|
echo $ac_n "(cached) $ac_c" 1>&4
|
||||||
|
else
|
||||||
|
cat > conftest.s <<EOF
|
||||||
|
.text
|
||||||
|
foo: .long 0
|
||||||
|
.set glibc_conftest_frobozz,foo
|
||||||
|
$libc_cv_asm_global_directive glibc_conftest_frobozz
|
||||||
|
EOF
|
||||||
|
# The alpha-dec-osf1 assembler gives only a warning for `.set'
|
||||||
|
# (but it doesn't work), so we must do a linking check to be sure.
|
||||||
|
cat > conftest1.c <<\EOF
|
||||||
|
extern int glibc_conftest_frobozz;
|
||||||
|
main () { printf ("%d\n", glibc_conftest_frobozz); }
|
||||||
|
EOF
|
||||||
|
if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
|
||||||
|
conftest.s conftest1.c 1>&5 2>&5; then
|
||||||
|
libc_cv_asm_set_directive=yes
|
||||||
|
else
|
||||||
|
libc_cv_asm_set_directive=no
|
||||||
|
fi
|
||||||
|
rm -f conftest*
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "$ac_t""$libc_cv_asm_set_directive" 1>&4
|
||||||
|
if test $libc_cv_asm_set_directive = yes; then
|
||||||
|
cat >> confdefs.h <<\EOF
|
||||||
|
#define HAVE_ASM_SET_DIRECTIVE 1
|
||||||
|
EOF
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
# sysdeps configure fragments may set these with files to be linked below.
|
# sysdeps configure fragments may set these with files to be linked below.
|
||||||
libc_link_dests=
|
libc_link_dests=
|
||||||
@ -1369,7 +1373,7 @@ do
|
|||||||
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
|
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
|
||||||
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
|
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
|
||||||
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
|
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
|
||||||
echo "$CONFIG_STATUS generated by autoconf version 2.3"
|
echo "$CONFIG_STATUS generated by autoconf version 2.4"
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
-help | --help | --hel | --he | --h)
|
-help | --help | --hel | --he | --h)
|
||||||
echo "\$ac_cs_usage"; exit 0 ;;
|
echo "\$ac_cs_usage"; exit 0 ;;
|
||||||
|
@ -166,6 +166,7 @@ for b in $base ''; do
|
|||||||
for o in /$ostry ''; do
|
for o in /$ostry ''; do
|
||||||
for m in $mach ''; do
|
for m in $mach ''; do
|
||||||
try="$m0$b$v$o$m"
|
try="$m0$b$v$o$m"
|
||||||
|
test -n "$enable_debug_configure" && echo "$0 [DEBUG]: try $try" >&2
|
||||||
if test -d $sysdep_dir$try; then
|
if test -d $sysdep_dir$try; then
|
||||||
sysnames="$sysnames $try"
|
sysnames="$sysnames $try"
|
||||||
{ test -n "$o" || test -n "$b"; } && os_used=t
|
{ test -n "$o" || test -n "$b"; } && os_used=t
|
||||||
|
Loading…
Reference in New Issue
Block a user