2002-10-18 07:05:55 +02:00
|
|
|
# This file is generated from configure.in by Autoconf. DO NOT EDIT!
|
1996-12-08 09:01:13 +01:00
|
|
|
# Local configure fragment for sysdeps/unix/sysv/linux.
|
|
|
|
|
2002-07-29 00:43:25 +02:00
|
|
|
# The Linux kernel headers can be found in
|
|
|
|
# /lib/modules/$(uname -r)/build/include
|
|
|
|
# Check whether this directory is available.
|
|
|
|
if test -z "$sysheaders" &&
|
2002-10-26 03:06:33 +02:00
|
|
|
test "x$cross_compiling" = xno &&
|
2002-07-29 00:43:25 +02:00
|
|
|
test -d /lib/modules/`uname -r`/build/include; then
|
|
|
|
sysheaders="/lib/modules/`uname -r`/build/include"
|
|
|
|
ccheaders=`$CC -print-file-name=include`
|
|
|
|
SYSINCLUDES="-I $sysheaders"
|
|
|
|
fi
|
|
|
|
|
1996-12-08 09:01:13 +01:00
|
|
|
# Don't bother trying to generate any glue code to be compatible with the
|
|
|
|
# existing system library, because we are the only system library.
|
|
|
|
inhibit_glue=yes
|
|
|
|
|
1998-08-22 00:29:58 +02:00
|
|
|
if test -n "$sysheaders"; then
|
2000-01-27 21:16:37 +01:00
|
|
|
OLD_CPPFLAGS=$CPPFLAGS
|
|
|
|
CPPFLAGS="$CPPFLAGS $SYSINCLUDES"
|
1998-08-22 00:29:58 +02:00
|
|
|
fi
|
2003-01-21 06:45:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
echo "$as_me:$LINENO: checking for egrep" >&5
|
|
|
|
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
|
|
|
|
if test "${ac_cv_prog_egrep+set}" = set; then
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
else
|
|
|
|
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
|
|
|
|
then ac_cv_prog_egrep='grep -E'
|
|
|
|
else ac_cv_prog_egrep='egrep'
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
|
|
|
|
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
|
|
|
|
EGREP=$ac_cv_prog_egrep
|
|
|
|
|
|
|
|
|
2002-10-18 07:05:55 +02:00
|
|
|
echo "$as_me:$LINENO: checking installed Linux kernel header files" >&5
|
|
|
|
echo $ECHO_N "checking installed Linux kernel header files... $ECHO_C" >&6
|
|
|
|
if test "${libc_cv_linux2010+set}" = set; then
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1996-12-08 09:01:13 +01:00
|
|
|
else
|
2003-01-21 06:45:26 +01:00
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2002-10-18 07:05:55 +02:00
|
|
|
#line $LINENO "configure"
|
2003-02-26 01:01:15 +01:00
|
|
|
#include "confdefs.h"
|
1996-12-08 09:01:13 +01:00
|
|
|
#include <linux/version.h>
|
1999-05-30 11:07:13 +02:00
|
|
|
#if !defined LINUX_VERSION_CODE || LINUX_VERSION_CODE < (2 *65536+ 0 *256+ 10) /* 2.0.10 */
|
1996-12-08 09:01:13 +01:00
|
|
|
eat flaming death
|
|
|
|
#endif
|
2002-10-18 07:05:55 +02:00
|
|
|
_ACEOF
|
1999-05-30 11:07:13 +02:00
|
|
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
2003-01-21 06:45:26 +01:00
|
|
|
$EGREP "eat flaming death" >/dev/null 2>&1; then
|
1999-05-30 11:07:13 +02:00
|
|
|
libc_cv_linux2010='TOO OLD!'
|
1996-06-10 11:41:16 +02:00
|
|
|
else
|
1999-05-30 11:07:13 +02:00
|
|
|
libc_cv_linux2010='2.0.10 or later'
|
1996-06-10 11:41:16 +02:00
|
|
|
fi
|
|
|
|
rm -f conftest*
|
1999-05-30 11:07:13 +02:00
|
|
|
|
1996-06-10 11:41:16 +02:00
|
|
|
fi
|
2002-10-18 07:05:55 +02:00
|
|
|
echo "$as_me:$LINENO: result: $libc_cv_linux2010" >&5
|
|
|
|
echo "${ECHO_T}$libc_cv_linux2010" >&6
|
1996-07-29 07:54:17 +02:00
|
|
|
if test "$libc_cv_linux2010" != '2.0.10 or later'; then
|
2002-10-18 07:05:55 +02:00
|
|
|
{ { echo "$as_me:$LINENO: error: GNU libc requires kernel header files from
|
|
|
|
Linux 2.0.10 or later to be installed before configuring.
|
|
|
|
The kernel header files are found usually in /usr/include/asm and
|
|
|
|
/usr/include/linux; make sure these directories use files from
|
|
|
|
Linux 2.0.10 or later. This check uses <linux/version.h>, so
|
|
|
|
make sure that file was built correctly when installing the kernel header
|
|
|
|
files. To use kernel headers not from /usr/include/linux, use the
|
|
|
|
configure option --with-headers." >&5
|
|
|
|
echo "$as_me: error: GNU libc requires kernel header files from
|
1996-07-29 07:54:17 +02:00
|
|
|
Linux 2.0.10 or later to be installed before configuring.
|
1996-07-26 06:35:31 +02:00
|
|
|
The kernel header files are found usually in /usr/include/asm and
|
|
|
|
/usr/include/linux; make sure these directories use files from
|
1996-07-29 07:54:17 +02:00
|
|
|
Linux 2.0.10 or later. This check uses <linux/version.h>, so
|
1996-07-26 06:35:31 +02:00
|
|
|
make sure that file was built correctly when installing the kernel header
|
1998-08-22 00:29:58 +02:00
|
|
|
files. To use kernel headers not from /usr/include/linux, use the
|
2002-10-18 07:05:55 +02:00
|
|
|
configure option --with-headers." >&2;}
|
|
|
|
{ (exit 1); exit 1; }; }
|
1998-08-22 00:29:58 +02:00
|
|
|
fi
|
1999-05-27 01:37:38 +02:00
|
|
|
|
|
|
|
# If the user gave a minimal version number test whether the available
|
2000-06-13 05:49:12 +02:00
|
|
|
# kernel headers are young enough. Additionally we have minimal
|
|
|
|
# kernel versions for some architectures.
|
2000-06-13 08:22:36 +02:00
|
|
|
case "$machine" in
|
2001-07-06 11:21:36 +02:00
|
|
|
alpha*)
|
|
|
|
arch_minimum_kernel=2.1.100
|
2001-11-16 02:27:24 +01:00
|
|
|
libc_cv_gcc_unwind_find_fde=yes
|
|
|
|
;;
|
2002-01-29 04:56:50 +01:00
|
|
|
arm*)
|
|
|
|
arch_minimum_kernel=2.0.10
|
|
|
|
libc_cv_gcc_unwind_find_fde=yes
|
|
|
|
;;
|
2001-11-16 02:27:24 +01:00
|
|
|
i386*)
|
|
|
|
libc_cv_gcc_unwind_find_fde=yes
|
|
|
|
arch_minimum_kernel=2.0.10
|
2000-06-13 08:22:36 +02:00
|
|
|
;;
|
|
|
|
ia64*)
|
|
|
|
arch_minimum_kernel=2.4.0
|
|
|
|
;;
|
2000-10-15 08:50:42 +02:00
|
|
|
hppa*)
|
2003-01-21 06:45:26 +01:00
|
|
|
libc_cv_gcc_unwind_find_fde=yes
|
2002-11-19 07:41:14 +01:00
|
|
|
arch_minimum_kernel=2.4.19
|
2000-10-15 08:50:42 +02:00
|
|
|
;;
|
2002-01-18 14:03:16 +01:00
|
|
|
m68k*)
|
|
|
|
arch_minimum_kernel=2.0.10
|
|
|
|
libc_cv_gcc_unwind_find_fde=yes
|
|
|
|
;;
|
2001-07-06 11:21:36 +02:00
|
|
|
mips*)
|
2002-07-16 03:02:04 +02:00
|
|
|
arch_minimum_kernel=2.4.0
|
2001-11-16 02:27:24 +01:00
|
|
|
libc_cv_gcc_unwind_find_fde=yes
|
|
|
|
;;
|
2002-09-05 17:55:17 +02:00
|
|
|
powerpc/powerpc32)
|
2001-11-16 02:27:24 +01:00
|
|
|
libc_cv_gcc_unwind_find_fde=yes
|
|
|
|
arch_minimum_kernel=2.0.10
|
2001-07-06 11:21:36 +02:00
|
|
|
;;
|
2002-09-05 17:55:17 +02:00
|
|
|
powerpc/powerpc64)
|
2003-02-03 21:53:19 +01:00
|
|
|
arch_minimum_kernel=2.4.19
|
2002-09-05 17:55:17 +02:00
|
|
|
;;
|
2002-01-17 18:22:51 +01:00
|
|
|
s390/s390-32)
|
|
|
|
libc_cv_gcc_unwind_find_fde=yes
|
|
|
|
arch_minimum_kernel=2.2.10
|
|
|
|
;;
|
|
|
|
s390/s390-64)
|
|
|
|
libc_cv_gcc_unwind_find_fde=yes
|
|
|
|
arch_minimum_kernel=2.4.0
|
|
|
|
;;
|
2001-07-06 11:21:36 +02:00
|
|
|
sh*)
|
|
|
|
arch_minimum_kernel=2.3.99
|
2001-11-16 02:27:24 +01:00
|
|
|
libc_cv_gcc_unwind_find_fde=yes
|
|
|
|
;;
|
|
|
|
sparc*)
|
|
|
|
libc_cv_gcc_unwind_find_fde=yes
|
|
|
|
arch_minimum_kernel=2.0.10
|
2001-07-06 11:21:36 +02:00
|
|
|
;;
|
2001-09-20 08:43:34 +02:00
|
|
|
x86_64*)
|
|
|
|
arch_minimum_kernel=2.4.0
|
|
|
|
;;
|
2000-06-13 08:22:36 +02:00
|
|
|
*)
|
|
|
|
arch_minimum_kernel=2.0.10
|
|
|
|
;;
|
|
|
|
esac
|
2000-06-13 05:49:12 +02:00
|
|
|
if test -n "$minimum_kernel"; then
|
2002-10-18 07:05:55 +02:00
|
|
|
|
2000-06-13 08:22:36 +02:00
|
|
|
user_version=$((`echo "$minimum_kernel.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1 \* 65536 + \2 \* 256 + \3/'`))
|
|
|
|
arch_version=$((`echo "$arch_minimum_kernel.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1 \* 65536 + \2 \* 256 + \3/'`))
|
2002-10-18 07:05:55 +02:00
|
|
|
|
2000-06-13 08:22:36 +02:00
|
|
|
if test $user_version -lt $arch_version; then
|
2002-10-18 07:05:55 +02:00
|
|
|
{ echo "$as_me:$LINENO: WARNING: minimum kernel version reset to $arch_minimum_kernel" >&5
|
|
|
|
echo "$as_me: WARNING: minimum kernel version reset to $arch_minimum_kernel" >&2;}
|
2000-06-13 05:49:12 +02:00
|
|
|
minimum_kernel=$arch_minimum_kernel
|
|
|
|
fi
|
|
|
|
else
|
2000-06-13 08:22:36 +02:00
|
|
|
if test $arch_minimum_kernel != '2.0.10'; then
|
|
|
|
minimum_kernel=$arch_minimum_kernel
|
|
|
|
fi
|
2000-06-13 05:49:12 +02:00
|
|
|
fi
|
|
|
|
|
1999-05-27 01:37:38 +02:00
|
|
|
if test -n "$minimum_kernel"; then
|
2002-10-18 07:05:55 +02:00
|
|
|
echo "$as_me:$LINENO: checking for kernel header at least $minimum_kernel" >&5
|
|
|
|
echo $ECHO_N "checking for kernel header at least $minimum_kernel... $ECHO_C" >&6
|
1999-05-30 11:07:13 +02:00
|
|
|
decnum=`echo "$minimum_kernel.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/(\1 * 65536 + \2 * 256 + \3)/'`;
|
Update.
2001-03-12 Jakub Jelinek <jakub@redhat.com>
* csu/Makefile (abi-tag.h): Define OS and version separately, allow
version to be overriden from config.h.
* csu/abi-note.S: Use OS and version separately, include config.h.
* elf/dl-load.c (_dl_osversion): New.
(_dl_map_object_from_fd): Kill some warnings.
(open_verify): Check .note.ABI-tag of the library if present.
* elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
* elf/cache.c (struct cache_entry): Add osversion.
(print_entry): Print osversion.
(print_cache): Pass osversion to it.
(compare): Sort according to osversion.
(save_cache): Set osversion.
(add_to_cache): Add osversion argument.
* sysdeps/generic/ldconfig.h (add_to_cache, process_file,
process_elf_file): Add osversion argument.
* elf/readlib.c (process_file): Likewise.
* sysdeps/generic/readelflib.c (process_elf_file): Likewise.
* sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
process_elf32_file, process_elf64_file): Likewise.
* sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
process_elf32_file, process_elf64_file): Likewise.
* sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
process_elf32_file, process_elf64_file): Likewise.
* elf/ldconfig.c (manual_link): Pass it.
(search_dir): Issue diagnostic if two libs with the same soname in
the same directory have different .note.ABI-tag. Record osversion in
dlib_entry and use it from there.
(struct lib_entry): Remove.
(struct dlib_entry): Add osversion.
* sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
osversion.
* sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
field with osversion.
* sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
* sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
* sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
version in _dl_osversion.
* sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
* Makerules (build-shlib-helper, build-module-helper): New.
(build-shlib, build-module-helper): Make sure .note.ABI-tag comes
early.
* config.h.in (__ABI_TAG_VERSION): Add.
* elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
* sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
Handle LD_ASSUME_KERNEL.
* sysdeps/unix/sysv/linux/dl-librecon.h: New.
2001-03-16 08:40:05 +01:00
|
|
|
abinum=`echo "$minimum_kernel.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1,\2,\3/'`;
|
2002-10-18 07:05:55 +02:00
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
|
#line $LINENO "configure"
|
2003-02-26 01:01:15 +01:00
|
|
|
#include "confdefs.h"
|
1999-05-27 01:37:38 +02:00
|
|
|
#include <linux/version.h>
|
|
|
|
#if LINUX_VERSION_CODE < $decnum
|
|
|
|
eat flaming death
|
|
|
|
#endif
|
2002-10-18 07:05:55 +02:00
|
|
|
_ACEOF
|
1999-05-30 11:07:13 +02:00
|
|
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
2003-01-21 06:45:26 +01:00
|
|
|
$EGREP "eat flaming death" >/dev/null 2>&1; then
|
1999-05-30 11:07:13 +02:00
|
|
|
libc_minimum_kernel='too old!'
|
|
|
|
else
|
|
|
|
libc_minimum_kernel=ok
|
|
|
|
fi
|
|
|
|
rm -f conftest*
|
|
|
|
|
2002-10-18 07:05:55 +02:00
|
|
|
echo "$as_me:$LINENO: result: $libc_minimum_kernel" >&5
|
|
|
|
echo "${ECHO_T}$libc_minimum_kernel" >&6
|
1999-05-30 11:07:13 +02:00
|
|
|
if test "$libc_minimum_kernel" = ok; then
|
2002-10-18 07:05:55 +02:00
|
|
|
cat >>confdefs.h <<_ACEOF
|
1999-05-27 01:37:38 +02:00
|
|
|
#define __LINUX_KERNEL_VERSION $decnum
|
2002-10-18 07:05:55 +02:00
|
|
|
_ACEOF
|
Update.
2001-03-12 Jakub Jelinek <jakub@redhat.com>
* csu/Makefile (abi-tag.h): Define OS and version separately, allow
version to be overriden from config.h.
* csu/abi-note.S: Use OS and version separately, include config.h.
* elf/dl-load.c (_dl_osversion): New.
(_dl_map_object_from_fd): Kill some warnings.
(open_verify): Check .note.ABI-tag of the library if present.
* elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
* elf/cache.c (struct cache_entry): Add osversion.
(print_entry): Print osversion.
(print_cache): Pass osversion to it.
(compare): Sort according to osversion.
(save_cache): Set osversion.
(add_to_cache): Add osversion argument.
* sysdeps/generic/ldconfig.h (add_to_cache, process_file,
process_elf_file): Add osversion argument.
* elf/readlib.c (process_file): Likewise.
* sysdeps/generic/readelflib.c (process_elf_file): Likewise.
* sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
process_elf32_file, process_elf64_file): Likewise.
* sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
process_elf32_file, process_elf64_file): Likewise.
* sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
process_elf32_file, process_elf64_file): Likewise.
* elf/ldconfig.c (manual_link): Pass it.
(search_dir): Issue diagnostic if two libs with the same soname in
the same directory have different .note.ABI-tag. Record osversion in
dlib_entry and use it from there.
(struct lib_entry): Remove.
(struct dlib_entry): Add osversion.
* sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
osversion.
* sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
field with osversion.
* sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
* sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
* sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
version in _dl_osversion.
* sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
* Makerules (build-shlib-helper, build-module-helper): New.
(build-shlib, build-module-helper): Make sure .note.ABI-tag comes
early.
* config.h.in (__ABI_TAG_VERSION): Add.
* elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
* sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
Handle LD_ASSUME_KERNEL.
* sysdeps/unix/sysv/linux/dl-librecon.h: New.
2001-03-16 08:40:05 +01:00
|
|
|
|
2002-10-18 07:05:55 +02:00
|
|
|
cat >>confdefs.h <<_ACEOF
|
Update.
2001-03-12 Jakub Jelinek <jakub@redhat.com>
* csu/Makefile (abi-tag.h): Define OS and version separately, allow
version to be overriden from config.h.
* csu/abi-note.S: Use OS and version separately, include config.h.
* elf/dl-load.c (_dl_osversion): New.
(_dl_map_object_from_fd): Kill some warnings.
(open_verify): Check .note.ABI-tag of the library if present.
* elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
* elf/cache.c (struct cache_entry): Add osversion.
(print_entry): Print osversion.
(print_cache): Pass osversion to it.
(compare): Sort according to osversion.
(save_cache): Set osversion.
(add_to_cache): Add osversion argument.
* sysdeps/generic/ldconfig.h (add_to_cache, process_file,
process_elf_file): Add osversion argument.
* elf/readlib.c (process_file): Likewise.
* sysdeps/generic/readelflib.c (process_elf_file): Likewise.
* sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
process_elf32_file, process_elf64_file): Likewise.
* sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
process_elf32_file, process_elf64_file): Likewise.
* sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
process_elf32_file, process_elf64_file): Likewise.
* elf/ldconfig.c (manual_link): Pass it.
(search_dir): Issue diagnostic if two libs with the same soname in
the same directory have different .note.ABI-tag. Record osversion in
dlib_entry and use it from there.
(struct lib_entry): Remove.
(struct dlib_entry): Add osversion.
* sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
osversion.
* sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
field with osversion.
* sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
* sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
* sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
version in _dl_osversion.
* sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
* Makerules (build-shlib-helper, build-module-helper): New.
(build-shlib, build-module-helper): Make sure .note.ABI-tag comes
early.
* config.h.in (__ABI_TAG_VERSION): Add.
* elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
* sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
Handle LD_ASSUME_KERNEL.
* sysdeps/unix/sysv/linux/dl-librecon.h: New.
2001-03-16 08:40:05 +01:00
|
|
|
#define __ABI_TAG_VERSION $abinum
|
2002-10-18 07:05:55 +02:00
|
|
|
_ACEOF
|
1999-05-27 01:37:38 +02:00
|
|
|
|
|
|
|
else
|
2002-10-18 07:05:55 +02:00
|
|
|
{ { echo "$as_me:$LINENO: error: *** The available kernel headers are older than the requested
|
|
|
|
*** compatible kernel version" >&5
|
|
|
|
echo "$as_me: error: *** The available kernel headers are older than the requested
|
|
|
|
*** compatible kernel version" >&2;}
|
|
|
|
{ (exit 1); exit 1; }; }
|
1999-05-27 01:37:38 +02:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
2001-11-16 02:27:24 +01:00
|
|
|
# The result of the above test for the use of the FDE code is invalid if
|
|
|
|
# the user overrides the decision about the minimum ABI.
|
|
|
|
if test "$oldest_abi" != default && test "2.2.4" \< "$oldest_abi"; then
|
|
|
|
libc_cv_gcc_unwind_find_fde=no
|
|
|
|
fi
|
|
|
|
|
1998-08-22 00:29:58 +02:00
|
|
|
if test -n "$sysheaders"; then
|
2000-01-27 21:16:37 +01:00
|
|
|
CPPFLAGS=$OLD_CPPFLAGS
|
1996-06-10 11:41:16 +02:00
|
|
|
fi
|
update from main archive 961119
Wed Nov 20 02:04:11 1996 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/sigsuspend.c: Make sigsuspend a weak
alias of __sigsuspend.
* grp/grp.h: Correct comment about POSIX compliance.
* pwd/pwd.h: Likewise.
* login/utmp.h: Update copyright and pretty-print prototypes.
* sysdeps/generic/paths.h: Add _PATH_LASTLOG, _PATH_UTMP and
_PATH_WTMP from utmpbits.h.
* sysdeps/unix/sysv/linux/paths.h: Likewise.
* sysdeps/generic/utmpbits.h: Remove here.
* sysdeps/gnu/utmpbits.h: Likewise.
* misc/sys/uio.h: Place __BEGIN_DECLS correctly.
Pretty-print prototypes.
* sysdeps/unix/sysv/linux/sparc/clone.S: New file. Taken from
LinuxThreads-0.5.
Tue Nov 19 13:43:07 1996 Richard Henderson <rth@tamu.edu>
* inet/ether_hton.c: Include <string.h>.
* inet/ether_ntoh.c: Likewise.
* inet/rexec.c: Get errno, index, getpass, getlogin from headers.
* misc/search.h: Fix hcreate_r argument type (unsigned -> size_t).
* misc/sys/cdefs.h: Change __long_double_t definition from typedef
to define. Jim Nance reports problems building XEmacs otherwise.
* resolv/gethnamaddr.c: Protect h_errno redefinition.
* resolv/getnetnamadr.c: Likewise.
* resolv/herror.c: Likewise.
* sysdeps/generic/sigset.h (__SIGSETFN): Operator ## doesn't work
with -traditional. Reported by Eric Youngdale. While we're at this,
don't do error checking in the __ functions. This is consistent
with the sysv4 definitions and seems Right.
* signal/signal.h: Don't __OPTIMIZE__ sigops to __ versions. Add
prototype for __sigsuspend.
* sysdeps/posix/sigblock.c: Optimize sigmask <-> sigset_t conversions
for sigset_t == unsigned long. De-ansidecl-ify. Reformat copyright.
* sysdeps/posix/sigpause.c: Likewise.
* sysdeps/posix/sigsetmask.c: Likewise.
* sysdeps/posix/sigvec.c: Likewise.
* sysdeps/posix/sigintr.c: Reformat copyright.
* sysdeps/posix/signal.c: Check signal number out of range since
__sigismember doesn't anymore. Reformat copyright.
* sysdeps/posix/sigwait.c: Use __ versions of sigfillset, sigismember,
sigdelset, sigaction, and sigsuspend.
* stdlib/drand48-iter.c (__drand48_iterate): Cast state fragments
to the wider type before shifting.
* sysdeps/alpha/bsd-_setjmp.S: Silence assembler warning "$at used
without .set noat" in profiling hook.
* sysdeps/alpha/bsd-setjmp.S: Likewise.
* sysdeps/alpha/htonl.S: Likewise.
* sysdeps/alpha/htons.S: Likewise.
* sysdeps/alpha/s_copysign.S: Likewise.
* sysdeps/alpha/setjmp.S: Likewise.
* sysdeps/alpha/stpcpy.S: Likewise.
* sysdeps/alpha/strcat.S: Likewise.
* sysdeps/alpha/strcpy.S: Likewise.
* sysdeps/alpha/strncat.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/brk.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/llseek.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise. Rename
function to __sigsuspend and add weak alias.
* sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise. Add missing END.
* sysdeps/alpha/w_sqrt.S: Define _ERRNO_H so <errnos.h> defines EDOM.
* sysdeps/unix/execve.S: Match PSEUDO_END symbol with the symbol
SYSCALL__ actually generated.
* sysdeps/unix/sysv/linux/errnos.h [_LIBC_REENTRANT]: Reflexively
#define __set_errno, as several imported subsystems (eg. BIND) check
that the symbol is defined.
* sysdeps/unix/sysv/linux/getsysstats.c: Include <alloca.h>.
* sysdeps/alpha/memcpy.S: Temporarily remove until I can find a bug
that manifests in GCC.
Tue Nov 19 11:10:05 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* sysdeps/posix/writev.c (writev): COUNT parm is now int.
* sysdeps/posix/readv.c (readv): Likewise.
Tue Nov 19 15:28:29 1996 Ulrich Drepper <drepper@cygnus.com>
* nss/nss_dns/dns-network.c: Change return type of all functions
to enum nss_status.
Reported by NIIBE Yutaka.
* nss/nss_dns/dns-host.c: Update copyright.
Fri Nov 15 20:16:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* config.make.in: Remove definition of top_absdir.
* configure.in: Likewise. Use $(..) instead.
* Makerules (make-link): Use $(..) to find rellns-sh script.
Sat Nov 16 15:52:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* manual/nss.texi (Name Service Switch): Fix reference to
`frobnicate'.
Fri Nov 15 22:08:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
sys/mtio.h.
Mon Nov 18 05:51:13 1996 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/generic/waitstatus.h (__WIFSIGNALED): Rename local
variable from __stat to __status to prevent shadowing.
* sunrpc/rpc/clnt.h (clntudp_create, clntudp_bufcreate): Likewise
for parameter __wait.
Reported by NIIBE Yutaka.
Mon Nov 18 02:05:38 1996 Ulrich Drepper <drepper@cygnus.com>
* misc/regexp.c: New file. Implementation of obsolete interface
to regular expression matcher (required in XPG4.2).
* misc/regexp.h: New file. Header for above.
* misc/Makefile (headers): Add regexp.h.
(routines): Add regexp.c.
Update copyright.
Sun Nov 17 21:50:24 1996 Andreas Jaeger <aj@arthur.pfalz.de>
* stdlib/tst-strtod.c (main): Add arguments for main.
* stdlib/tst-strtol.c (main): Likewise.
Sun Nov 17 21:15:05 1996 Ulrich Drepper <drepper@cygnus.com>
* configure.in: Substitute libc_cv_slibdir and libc_cv_sysconfdir
in output files.
* sysdepes/unix/sysv/linux/configure: Define libc_cv_slibdir to /lib
and sysconfdir to /etc if $prefix is /usr.
* config.make.in: Add slibdir, sysconfdir and BASH to be replaced.
* elf/Makefile ($(objpfx)ldd): Install ldd.bash.in if
$(have-bash2) is yes.
* elf/ldd.bash.in: Add copyright and various cleanups.
* elf/ldd.sh.in: Likewise.
Implement RTLD_NEXT.
* elf/dlfcn.h: Define RTLD_NEXT.
* elf/dl-deps.c: Build second searchlist which contains duplicates.
* elf/dl-lookup.c (_dl_lookup_symbol_skip): New function. Used
for RTLD_NEXT lookup.
Rewrite _dl_lookup_symbol to put common parts for both lookup
functions in a separate function.
* elf/dlsym.c: Handle RTLD_NEXT by calling _dl_lookup_symbol_skip.
* elf/link.h (struct link_map): Add l_dupsearchlist and
l_ndupsearchlist.
Add prototype for _dl_lookup_symbol_skip.
* sunrpc/Makefile (rpcsvc): Add rusers.
* sunrpc/rpcsvc/rnusers.x: Remove. Obsolteted by rusers.x.
* sunrpc/rpcsvc/rusers.x: New file.
Sun Nov 17 04:24:35 1996 Ulrich Drepper <drepper@cygnus.com>
* stdio-common/vfprintf.c [USE_IN_LIBIO] (buffered_vfprintf): Call
__libc_lock_init for local lock.
Reported by a sun <asun@zoology.washington.edu>.
[!USE_IN_LIBIO] (PAD): Optimize a bit.
1996-11-20 04:45:51 +01:00
|
|
|
# The Linux filesystem standard prescribes where to place "essential"
|
|
|
|
# files. I.e., when the installation prefix is "/usr" we have to place
|
1996-12-20 02:39:50 +01:00
|
|
|
# shared library objects and the configuration files on the root partition
|
update from main archive 961119
Wed Nov 20 02:04:11 1996 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/sigsuspend.c: Make sigsuspend a weak
alias of __sigsuspend.
* grp/grp.h: Correct comment about POSIX compliance.
* pwd/pwd.h: Likewise.
* login/utmp.h: Update copyright and pretty-print prototypes.
* sysdeps/generic/paths.h: Add _PATH_LASTLOG, _PATH_UTMP and
_PATH_WTMP from utmpbits.h.
* sysdeps/unix/sysv/linux/paths.h: Likewise.
* sysdeps/generic/utmpbits.h: Remove here.
* sysdeps/gnu/utmpbits.h: Likewise.
* misc/sys/uio.h: Place __BEGIN_DECLS correctly.
Pretty-print prototypes.
* sysdeps/unix/sysv/linux/sparc/clone.S: New file. Taken from
LinuxThreads-0.5.
Tue Nov 19 13:43:07 1996 Richard Henderson <rth@tamu.edu>
* inet/ether_hton.c: Include <string.h>.
* inet/ether_ntoh.c: Likewise.
* inet/rexec.c: Get errno, index, getpass, getlogin from headers.
* misc/search.h: Fix hcreate_r argument type (unsigned -> size_t).
* misc/sys/cdefs.h: Change __long_double_t definition from typedef
to define. Jim Nance reports problems building XEmacs otherwise.
* resolv/gethnamaddr.c: Protect h_errno redefinition.
* resolv/getnetnamadr.c: Likewise.
* resolv/herror.c: Likewise.
* sysdeps/generic/sigset.h (__SIGSETFN): Operator ## doesn't work
with -traditional. Reported by Eric Youngdale. While we're at this,
don't do error checking in the __ functions. This is consistent
with the sysv4 definitions and seems Right.
* signal/signal.h: Don't __OPTIMIZE__ sigops to __ versions. Add
prototype for __sigsuspend.
* sysdeps/posix/sigblock.c: Optimize sigmask <-> sigset_t conversions
for sigset_t == unsigned long. De-ansidecl-ify. Reformat copyright.
* sysdeps/posix/sigpause.c: Likewise.
* sysdeps/posix/sigsetmask.c: Likewise.
* sysdeps/posix/sigvec.c: Likewise.
* sysdeps/posix/sigintr.c: Reformat copyright.
* sysdeps/posix/signal.c: Check signal number out of range since
__sigismember doesn't anymore. Reformat copyright.
* sysdeps/posix/sigwait.c: Use __ versions of sigfillset, sigismember,
sigdelset, sigaction, and sigsuspend.
* stdlib/drand48-iter.c (__drand48_iterate): Cast state fragments
to the wider type before shifting.
* sysdeps/alpha/bsd-_setjmp.S: Silence assembler warning "$at used
without .set noat" in profiling hook.
* sysdeps/alpha/bsd-setjmp.S: Likewise.
* sysdeps/alpha/htonl.S: Likewise.
* sysdeps/alpha/htons.S: Likewise.
* sysdeps/alpha/s_copysign.S: Likewise.
* sysdeps/alpha/setjmp.S: Likewise.
* sysdeps/alpha/stpcpy.S: Likewise.
* sysdeps/alpha/strcat.S: Likewise.
* sysdeps/alpha/strcpy.S: Likewise.
* sysdeps/alpha/strncat.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/brk.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/llseek.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise. Rename
function to __sigsuspend and add weak alias.
* sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise. Add missing END.
* sysdeps/alpha/w_sqrt.S: Define _ERRNO_H so <errnos.h> defines EDOM.
* sysdeps/unix/execve.S: Match PSEUDO_END symbol with the symbol
SYSCALL__ actually generated.
* sysdeps/unix/sysv/linux/errnos.h [_LIBC_REENTRANT]: Reflexively
#define __set_errno, as several imported subsystems (eg. BIND) check
that the symbol is defined.
* sysdeps/unix/sysv/linux/getsysstats.c: Include <alloca.h>.
* sysdeps/alpha/memcpy.S: Temporarily remove until I can find a bug
that manifests in GCC.
Tue Nov 19 11:10:05 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* sysdeps/posix/writev.c (writev): COUNT parm is now int.
* sysdeps/posix/readv.c (readv): Likewise.
Tue Nov 19 15:28:29 1996 Ulrich Drepper <drepper@cygnus.com>
* nss/nss_dns/dns-network.c: Change return type of all functions
to enum nss_status.
Reported by NIIBE Yutaka.
* nss/nss_dns/dns-host.c: Update copyright.
Fri Nov 15 20:16:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* config.make.in: Remove definition of top_absdir.
* configure.in: Likewise. Use $(..) instead.
* Makerules (make-link): Use $(..) to find rellns-sh script.
Sat Nov 16 15:52:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* manual/nss.texi (Name Service Switch): Fix reference to
`frobnicate'.
Fri Nov 15 22:08:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
sys/mtio.h.
Mon Nov 18 05:51:13 1996 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/generic/waitstatus.h (__WIFSIGNALED): Rename local
variable from __stat to __status to prevent shadowing.
* sunrpc/rpc/clnt.h (clntudp_create, clntudp_bufcreate): Likewise
for parameter __wait.
Reported by NIIBE Yutaka.
Mon Nov 18 02:05:38 1996 Ulrich Drepper <drepper@cygnus.com>
* misc/regexp.c: New file. Implementation of obsolete interface
to regular expression matcher (required in XPG4.2).
* misc/regexp.h: New file. Header for above.
* misc/Makefile (headers): Add regexp.h.
(routines): Add regexp.c.
Update copyright.
Sun Nov 17 21:50:24 1996 Andreas Jaeger <aj@arthur.pfalz.de>
* stdlib/tst-strtod.c (main): Add arguments for main.
* stdlib/tst-strtol.c (main): Likewise.
Sun Nov 17 21:15:05 1996 Ulrich Drepper <drepper@cygnus.com>
* configure.in: Substitute libc_cv_slibdir and libc_cv_sysconfdir
in output files.
* sysdepes/unix/sysv/linux/configure: Define libc_cv_slibdir to /lib
and sysconfdir to /etc if $prefix is /usr.
* config.make.in: Add slibdir, sysconfdir and BASH to be replaced.
* elf/Makefile ($(objpfx)ldd): Install ldd.bash.in if
$(have-bash2) is yes.
* elf/ldd.bash.in: Add copyright and various cleanups.
* elf/ldd.sh.in: Likewise.
Implement RTLD_NEXT.
* elf/dlfcn.h: Define RTLD_NEXT.
* elf/dl-deps.c: Build second searchlist which contains duplicates.
* elf/dl-lookup.c (_dl_lookup_symbol_skip): New function. Used
for RTLD_NEXT lookup.
Rewrite _dl_lookup_symbol to put common parts for both lookup
functions in a separate function.
* elf/dlsym.c: Handle RTLD_NEXT by calling _dl_lookup_symbol_skip.
* elf/link.h (struct link_map): Add l_dupsearchlist and
l_ndupsearchlist.
Add prototype for _dl_lookup_symbol_skip.
* sunrpc/Makefile (rpcsvc): Add rusers.
* sunrpc/rpcsvc/rnusers.x: Remove. Obsolteted by rusers.x.
* sunrpc/rpcsvc/rusers.x: New file.
Sun Nov 17 04:24:35 1996 Ulrich Drepper <drepper@cygnus.com>
* stdio-common/vfprintf.c [USE_IN_LIBIO] (buffered_vfprintf): Call
__libc_lock_init for local lock.
Reported by a sun <asun@zoology.washington.edu>.
[!USE_IN_LIBIO] (PAD): Optimize a bit.
1996-11-20 04:45:51 +01:00
|
|
|
# in /lib and /etc.
|
2002-10-16 05:03:00 +02:00
|
|
|
case "$prefix" in
|
|
|
|
/usr | /usr/)
|
|
|
|
# 64-bit libraries on bi-arch platforms go in /lib64 instead of /lib
|
|
|
|
case $machine in
|
|
|
|
sparc/sparc64 | x86_64 | powerpc/powerpc64 | s390/s390-64 )
|
1999-05-19 17:35:26 +02:00
|
|
|
libc_cv_slibdir="/lib64"
|
|
|
|
if test "$libdir" = '${exec_prefix}/lib'; then
|
|
|
|
libdir='${exec_prefix}/lib64';
|
2000-02-11 19:50:36 +01:00
|
|
|
# Locale data can be shared between 32bit and 64bit libraries
|
|
|
|
libc_cv_localedir='${exec_prefix}/lib/locale'
|
1999-05-19 17:35:26 +02:00
|
|
|
fi
|
2002-10-16 05:03:00 +02:00
|
|
|
;;
|
|
|
|
*)
|
1999-05-19 17:35:26 +02:00
|
|
|
libc_cv_slibdir="/lib"
|
2002-10-16 05:03:00 +02:00
|
|
|
;;
|
|
|
|
esac
|
2000-06-14 15:50:11 +02:00
|
|
|
# Allow the user to override the path with --sysconfdir
|
|
|
|
if test $sysconfdir = '${prefix}/etc'; then
|
|
|
|
libc_cv_sysconfdir=/etc
|
|
|
|
else
|
|
|
|
libc_cv_sysconfdir=$sysconfdir
|
|
|
|
fi
|
update from main archive 970121
1997-01-21 Paul Eggert <eggert@twinsun.com>
* posix/getopt.c (_getopt_internal): Return -1, not EOF, when args
are exhausted; this is required by POSIX.2.
* catgets/gencat.c, db/makedb.c, locale/programs/locale.c,
locale/programs/localedef.c, manual/examples/subopt.c,
posix/getopt.c, posix/getopt1.c, stdio-common/bug4.c,
sunrpc/rpcinfo.c (main): Check getopt return value against -1, not EOF.
Tue Jan 21 23:10:40 1997 Ulrich Drepper <drepper@cygnus.com>
* version.h (VERSION): Bump to 1.102.
* sysdeps/unix/sysv/linux/alpha/Dist: Add kernel_sigaction.h.
* elf/Makefile: Don't use CFLAGS-dl-load.c, but instead
CPPFLAGS-dl-load.c so that dependencies can be determined correctly.
* elf/dl-load.c: Fix comment.
* time/Banner: New file.
* time/Makefile (distribute): Add Banner.
Update from ADO tzcode1997a and tzdata1997a.
* time/antarctica: Update.
* time/australia: Update.
* time/zdump.c: Update.
* time/zic.c: Update.
* time/zone.tab: Update.
Mon Jan 20 08:38:32 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
* config.make.in (has-ldconfig): New variable.
* configure, configure.in (has_ldconfig): New substitute.
* sysdeps/unix/sysv/linux/configure.in (has_ldconfig): New,
check if $srcdir/elf/ldconfig.c exists.
* Makeconfig (rootsbindir): New, default as
$(exec_prefix)/sbin.
(rtld-version-installed-name): New, default as
ld-$(version).so.
* Makefile (install): Call `$(common-objpfx)elf/ldconfig -d'
only if $(cross-compiling) is no and $(build-shared) is yes.
* Makerules (make-shlib-link): New macro.
($(slibdir)/libfoo.so.$(libfoo.so-version)): Use
$(make-shlib-link) for symlink.
(install-rootsbin, install-rootsbin-nosubdir): New.
(install-no-libc.a-nosubdir): Add
install-rootsbin-nosubdir.
* Rules (others): Add $(install-rootsbin).
* config.make.in (rootsbindir): New.
* configure, configure.in (libc_cv_rootsbindir): New
substitute.
* elf/Makefile (others, install-rootsbin): New, set to
ldconfig.
(+link): New for static linking.
($(slibdir)/$(rtld-version-installed-name)): New.
($(slibdir)/$(rtld-installed-name)): Depend on
$(slibdir)/$(rtld-version-installed-name) and use
$(make-shlib-link) for symlink.
* sunrpc/xdr.c (xdr_string): Return FALSE if sp == NULL
while XDR_ENCODE.
* sysdeps/unix/sysv/linux/a.out.h: Use #include_next for
glibc internals.
* sysdeps/unix/sysv/linux/configure.in (libc_cv_rootsbindir):
New, set to "/sbin" if "$prefix" == "/usr".
Tue Jan 21 13:38:39 1997 Ulrich Drepper <drepper@cygnus.com>
* Makefile (distribute): Add glibcbug.in.
Reported by Philip Blundell <pjb27@cam.ac.uk>.
* elf/Makefile ($(objpfx)trusted-dirs.h): Create elf/ subdir in
build directory if necessary.
Reported by marcus@shannon.sysc.pdx.edu (Marcus G. Daniels).
1997-01-22 06:26:05 +01:00
|
|
|
libc_cv_rootsbindir="/sbin"
|
2002-10-16 05:03:00 +02:00
|
|
|
;;
|
|
|
|
esac
|
1996-11-28 05:16:09 +01:00
|
|
|
|
2002-09-25 08:47:44 +02:00
|
|
|
# Under Linux the LinuxThreads or NPTL add-on should be available.
|
1996-11-28 05:16:09 +01:00
|
|
|
case $add_ons in
|
2002-09-25 08:47:44 +02:00
|
|
|
# Only one of the add-ons should be available.
|
|
|
|
*linuxthreads*nptl*|*nptl*linuxthreads*)
|
|
|
|
echo "\
|
|
|
|
*** LinuxThreads and NPTL add-ons are both available. Only one must be used."
|
|
|
|
exit 1
|
|
|
|
;;
|
2000-06-13 05:49:12 +02:00
|
|
|
# It is available. Good.
|
1996-11-28 05:16:09 +01:00
|
|
|
*linuxthreads*)
|
2001-07-06 11:21:36 +02:00
|
|
|
linuxthreads_missing=
|
1996-11-28 05:16:09 +01:00
|
|
|
;;
|
2002-09-25 08:47:44 +02:00
|
|
|
*nptl*)
|
|
|
|
linuxthreads_missing=
|
|
|
|
;;
|
1996-11-28 05:16:09 +01:00
|
|
|
*)
|
2001-07-06 11:21:36 +02:00
|
|
|
linuxthreads_missing=yes
|
1996-11-28 05:16:09 +01:00
|
|
|
;;
|
|
|
|
esac
|
1996-12-07 04:30:25 +01:00
|
|
|
|
2001-07-06 11:21:36 +02:00
|
|
|
if test "$linuxthreads_missing"; then
|
1996-12-07 04:30:25 +01:00
|
|
|
if test $enable_sanity = yes; then
|
|
|
|
echo "\
|
2001-07-06 11:21:36 +02:00
|
|
|
*** On GNU/Linux systems it is normal to compile GNU libc with the
|
|
|
|
*** \`linuxthreads' add-on. Without that, the library will be
|
|
|
|
*** incompatible with normal GNU/Linux systems.
|
2000-02-29 06:21:42 +01:00
|
|
|
*** If you really mean to not use this add-on, run configure again
|
1996-12-07 04:30:25 +01:00
|
|
|
*** using the extra parameter \`--disable-sanity-checks'."
|
|
|
|
exit 1
|
|
|
|
else
|
2001-07-06 11:21:36 +02:00
|
|
|
echo "\
|
|
|
|
*** WARNING: Are you sure you do not want to use the \`linuxthreads'
|
|
|
|
*** add-on?"
|
1996-12-07 04:30:25 +01:00
|
|
|
fi
|
|
|
|
fi
|
update from main archive 970121
1997-01-21 Paul Eggert <eggert@twinsun.com>
* posix/getopt.c (_getopt_internal): Return -1, not EOF, when args
are exhausted; this is required by POSIX.2.
* catgets/gencat.c, db/makedb.c, locale/programs/locale.c,
locale/programs/localedef.c, manual/examples/subopt.c,
posix/getopt.c, posix/getopt1.c, stdio-common/bug4.c,
sunrpc/rpcinfo.c (main): Check getopt return value against -1, not EOF.
Tue Jan 21 23:10:40 1997 Ulrich Drepper <drepper@cygnus.com>
* version.h (VERSION): Bump to 1.102.
* sysdeps/unix/sysv/linux/alpha/Dist: Add kernel_sigaction.h.
* elf/Makefile: Don't use CFLAGS-dl-load.c, but instead
CPPFLAGS-dl-load.c so that dependencies can be determined correctly.
* elf/dl-load.c: Fix comment.
* time/Banner: New file.
* time/Makefile (distribute): Add Banner.
Update from ADO tzcode1997a and tzdata1997a.
* time/antarctica: Update.
* time/australia: Update.
* time/zdump.c: Update.
* time/zic.c: Update.
* time/zone.tab: Update.
Mon Jan 20 08:38:32 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
* config.make.in (has-ldconfig): New variable.
* configure, configure.in (has_ldconfig): New substitute.
* sysdeps/unix/sysv/linux/configure.in (has_ldconfig): New,
check if $srcdir/elf/ldconfig.c exists.
* Makeconfig (rootsbindir): New, default as
$(exec_prefix)/sbin.
(rtld-version-installed-name): New, default as
ld-$(version).so.
* Makefile (install): Call `$(common-objpfx)elf/ldconfig -d'
only if $(cross-compiling) is no and $(build-shared) is yes.
* Makerules (make-shlib-link): New macro.
($(slibdir)/libfoo.so.$(libfoo.so-version)): Use
$(make-shlib-link) for symlink.
(install-rootsbin, install-rootsbin-nosubdir): New.
(install-no-libc.a-nosubdir): Add
install-rootsbin-nosubdir.
* Rules (others): Add $(install-rootsbin).
* config.make.in (rootsbindir): New.
* configure, configure.in (libc_cv_rootsbindir): New
substitute.
* elf/Makefile (others, install-rootsbin): New, set to
ldconfig.
(+link): New for static linking.
($(slibdir)/$(rtld-version-installed-name)): New.
($(slibdir)/$(rtld-installed-name)): Depend on
$(slibdir)/$(rtld-version-installed-name) and use
$(make-shlib-link) for symlink.
* sunrpc/xdr.c (xdr_string): Return FALSE if sp == NULL
while XDR_ENCODE.
* sysdeps/unix/sysv/linux/a.out.h: Use #include_next for
glibc internals.
* sysdeps/unix/sysv/linux/configure.in (libc_cv_rootsbindir):
New, set to "/sbin" if "$prefix" == "/usr".
Tue Jan 21 13:38:39 1997 Ulrich Drepper <drepper@cygnus.com>
* Makefile (distribute): Add glibcbug.in.
Reported by Philip Blundell <pjb27@cam.ac.uk>.
* elf/Makefile ($(objpfx)trusted-dirs.h): Create elf/ subdir in
build directory if necessary.
Reported by marcus@shannon.sysc.pdx.edu (Marcus G. Daniels).
1997-01-22 06:26:05 +01:00
|
|
|
|
2002-05-19 20:37:30 +02:00
|
|
|
if test "$prefix" = "/usr/local" -o "$prefix" = "/usr/local/" -o "$prefix" = "NONE"; then
|
|
|
|
if test $enable_sanity = yes; then
|
|
|
|
echo "\
|
|
|
|
*** On GNU/Linux systems the GNU C Library should not be installed into
|
|
|
|
*** /usr/local since this might make your system totally unusable.
|
|
|
|
*** We strongly advise to use a different prefix. For details read the FAQ.
|
2002-07-29 00:43:25 +02:00
|
|
|
*** If you really mean to do this, run configure again using the extra
|
2002-05-19 20:37:30 +02:00
|
|
|
*** parameter \`--disable-sanity-checks'."
|
|
|
|
exit 1
|
|
|
|
else
|
|
|
|
echo "\
|
|
|
|
*** WARNING: Do you really want to install the GNU C Library into /usr/local?
|
|
|
|
*** This might make your system totally unusable, for details read the FAQ."
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
1999-12-04 19:05:55 +01:00
|
|
|
# One Linux we use ldconfig.
|
|
|
|
use_ldconfig=yes
|
1998-03-29 19:03:23 +02:00
|
|
|
|
|
|
|
# We need some extensions to the `ldd' script.
|
|
|
|
|
|
|
|
case "$machine" in
|
1999-07-06 22:10:29 +02:00
|
|
|
i[3456]86* | m68*)
|
1998-03-29 19:03:23 +02:00
|
|
|
ldd_rewrite_script=../sysdeps/unix/sysv/linux/ldd-rewrite.sed
|
|
|
|
;;
|
2001-09-19 05:25:37 +02:00
|
|
|
ia64*)
|
|
|
|
ldd_rewrite_script=../sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed
|
|
|
|
;;
|
|
|
|
s390*)
|
|
|
|
ldd_rewrite_script=../sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed
|
|
|
|
;;
|
1999-07-14 17:21:35 +02:00
|
|
|
sparc*)
|
1999-07-06 22:10:29 +02:00
|
|
|
ldd_rewrite_script=../sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed
|
|
|
|
;;
|
2001-09-20 08:43:34 +02:00
|
|
|
x86_64*)
|
|
|
|
ldd_rewrite_script=../sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed
|
|
|
|
;;
|
2002-09-05 17:55:17 +02:00
|
|
|
powerpc*)
|
|
|
|
ldd_rewrite_script=../sysdeps/unix/sysv/linux/powerpc/ldd-rewrite.sed
|
|
|
|
;;
|
1998-03-29 19:03:23 +02:00
|
|
|
*)
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
1998-11-29 00:37:49 +01:00
|
|
|
|
1998-12-02 14:44:40 +01:00
|
|
|
if test $host = $build; then
|
|
|
|
# If $prefix/include/{net,scsi} are symlinks, make install will
|
|
|
|
# clobber what they're linked to (probably a kernel tree).
|
|
|
|
# test -L ought to work on all Linux boxes.
|
|
|
|
if test "x$prefix" != xNONE; then
|
|
|
|
ac_prefix=$prefix
|
|
|
|
else
|
|
|
|
ac_prefix=$ac_default_prefix
|
|
|
|
fi
|
2002-10-18 07:05:55 +02:00
|
|
|
echo "$as_me:$LINENO: checking for symlinks in ${ac_prefix}/include" >&5
|
|
|
|
echo $ECHO_N "checking for symlinks in ${ac_prefix}/include... $ECHO_C" >&6
|
1998-12-04 16:52:50 +01:00
|
|
|
ac_message=
|
1998-12-02 14:44:40 +01:00
|
|
|
if test -L ${ac_prefix}/include/net; then
|
1998-12-04 16:52:50 +01:00
|
|
|
ac_message="$ac_message
|
|
|
|
${ac_prefix}/include/net is a symlink"
|
1998-12-02 14:44:40 +01:00
|
|
|
fi
|
|
|
|
if test -L ${ac_prefix}/include/scsi; then
|
1998-12-04 16:52:50 +01:00
|
|
|
ac_message="$ac_message
|
1998-12-02 14:44:40 +01:00
|
|
|
${ac_prefix}/include/scsi is a symlink"
|
|
|
|
fi
|
1998-12-04 16:52:50 +01:00
|
|
|
if test -n "$ac_message"; then
|
2002-10-18 07:05:55 +02:00
|
|
|
{ { echo "$as_me:$LINENO: error: $ac_message
|
|
|
|
\`make install' will destroy the target of the link(s).
|
|
|
|
Delete the links and re-run configure, or better still, move the entire
|
|
|
|
${ac_prefix}/include directory out of the way." >&5
|
|
|
|
echo "$as_me: error: $ac_message
|
1998-11-29 00:37:49 +01:00
|
|
|
\`make install' will destroy the target of the link(s).
|
|
|
|
Delete the links and re-run configure, or better still, move the entire
|
2002-10-18 07:05:55 +02:00
|
|
|
${ac_prefix}/include directory out of the way." >&2;}
|
|
|
|
{ (exit 1); exit 1; }; }
|
1998-12-02 14:44:40 +01:00
|
|
|
else
|
2002-10-18 07:05:55 +02:00
|
|
|
echo "$as_me:$LINENO: result: ok" >&5
|
|
|
|
echo "${ECHO_T}ok" >&6
|
1998-12-02 14:44:40 +01:00
|
|
|
fi
|
1998-11-29 00:37:49 +01:00
|
|
|
fi
|