2012-11-03 02:19:27 +08:00
|
|
|
dnl We require that everyone use exactly the same Autoconf version so that
|
|
|
|
dnl the internal functions defined and used by the main configure script
|
2014-11-01 06:44:17 +08:00
|
|
|
dnl match those expected by the fragments. When changing this version,
|
|
|
|
dnl install.texi also needs to be updated.
|
2024-06-12 05:34:54 +08:00
|
|
|
m4_define([GLIBC_AUTOCONF_VERSION], [2.72])
|
2012-11-03 02:19:27 +08:00
|
|
|
m4_if(m4_defn([AC_AUTOCONF_VERSION]), GLIBC_AUTOCONF_VERSION, [],
|
|
|
|
[m4_fatal(m4_flatten(
|
|
|
|
Exactly version GLIBC_AUTOCONF_VERSION of Autoconf is required but you have
|
|
|
|
m4_defn([AC_AUTOCONF_VERSION])
|
|
|
|
), [63])])dnl
|
|
|
|
dnl
|
1995-02-18 09:27:10 +08:00
|
|
|
dnl We define the macro GLIBC_PROVIDES to do an AC_PROVIDE for each macro
|
2013-10-30 11:20:52 +08:00
|
|
|
dnl which appears in configure.ac before the sysdep configure scripts are run.
|
|
|
|
dnl Each sysdep configure.ac does GLIBC_PROVIDES first, to avoid any
|
1995-02-18 09:27:10 +08:00
|
|
|
dnl AC_REQUIREs or AC_BEFOREs duplicating their code.
|
|
|
|
dnl
|
2002-10-18 07:48:55 +08:00
|
|
|
define([GLIBC_PROVIDES], [dnl
|
2004-07-02 14:45:17 +08:00
|
|
|
AC_PROVIDE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
|
2009-09-16 05:14:42 +08:00
|
|
|
AC_PROVIDE([AC_CONFIG_SUBDIRS])dnl
|
2002-10-18 09:13:06 +08:00
|
|
|
AC_PROVIDE([_AS_ECHO_N_PREPARE])dnl
|
2009-09-16 05:14:42 +08:00
|
|
|
AC_PROVIDE([_AS_ECHO_PREPARE])dnl
|
2002-10-18 09:49:07 +08:00
|
|
|
AC_PROVIDE([_AS_CR_PREPARE])dnl
|
|
|
|
AC_PROVIDE([_AS_TR_SH_PREPARE])dnl
|
2012-10-10 06:41:30 +08:00
|
|
|
AC_PROVIDE([_AS_VAR_ARITH_PREPARE])dnl
|
1995-02-18 09:27:10 +08:00
|
|
|
AC_PROVIDE([AC_PROG_INSTALL])dnl
|
|
|
|
AC_PROVIDE([AC_PROG_CC])dnl
|
|
|
|
AC_PROVIDE([AC_PROG_CPP])dnl
|
2002-10-19 06:16:45 +08:00
|
|
|
AC_PROVIDE([_AS_PATH_SEPARATOR_PREPARE])dnl
|
|
|
|
AC_PROVIDE([_AS_TEST_PREPARE])dnl
|
2012-10-10 06:41:30 +08:00
|
|
|
AC_PROVIDE([_AS_BASENAME_PREPARE])dnl
|
|
|
|
AC_PROVIDE([_AS_ME_PREPARE])dnl
|
|
|
|
AC_PROVIDE([_AS_LINENO_PREPARE])dnl
|
|
|
|
AC_PROVIDE([AS_SHELL_FN_as_fn_set_status])dnl
|
|
|
|
AC_PROVIDE([AS_SHELL_FN_as_fn_exit])dnl
|
|
|
|
AC_PROVIDE([AS_SHELL_FN_as_fn_arith])dnl
|
|
|
|
AC_PROVIDE([AS_SHELL_FN_ac_fn_c_try_compile])dnl
|
2021-05-22 10:42:48 +08:00
|
|
|
AC_PROVIDE([AS_SHELL_FN_ac_fn_c_try_cpp])dnl
|
2002-10-18 07:48:55 +08:00
|
|
|
define([AS_MESSAGE_LOG_FD],5)dnl
|
|
|
|
define([AS_MESSAGE_FD],6)dnl
|
2002-10-19 03:18:49 +08:00
|
|
|
dnl Ripped out of AS_INIT, which does more cruft we do not want.
|
|
|
|
m4_wrap([m4_divert_pop([BODY])[]])
|
|
|
|
m4_divert_push([BODY])[]dnl
|
|
|
|
dnl End of ripped out of AS_INIT.
|
2013-10-30 11:20:52 +08:00
|
|
|
# This file is generated from configure.ac by Autoconf. DO NOT EDIT!
|
2002-10-18 09:13:06 +08:00
|
|
|
define([_AC_LANG], [C])dnl
|
1995-02-18 09:27:10 +08:00
|
|
|
])dnl
|
|
|
|
dnl
|
|
|
|
dnl Check for a symbol
|
|
|
|
dnl
|
2002-10-18 07:48:55 +08:00
|
|
|
AC_DEFUN([AC_CHECK_SYMBOL], [dnl
|
1995-02-18 09:27:10 +08:00
|
|
|
AC_MSG_CHECKING(for $1)
|
|
|
|
AC_CACHE_VAL(ac_cv_check_symbol_$1, [dnl
|
1996-05-11 06:06:47 +08:00
|
|
|
AC_TRY_LINK(,
|
1995-02-18 09:27:10 +08:00
|
|
|
changequote(,)dnl
|
|
|
|
extern char *$1[]; puts(*$1);,
|
|
|
|
changequote([,])dnl
|
|
|
|
ac_cv_check_symbol_$1=yes, ac_cv_check_symbol_$1=no)])
|
|
|
|
if test "$ac_cv_check_symbol_$1" = yes; then
|
|
|
|
changequote(,)dnl
|
|
|
|
ac_tr_symbol=`echo $1 | tr '[a-z]' '[A-Z]'`
|
|
|
|
changequote([,])dnl
|
|
|
|
AC_DEFINE_UNQUOTED(HAVE_${ac_tr_symbol})
|
|
|
|
fi
|
|
|
|
AC_MSG_RESULT($ac_cv_check_symbol_$1)])dnl
|
|
|
|
dnl
|
1997-05-27 07:01:17 +08:00
|
|
|
|
1998-04-03 01:42:53 +08:00
|
|
|
dnl Locate a program and check that its version is acceptable.
|
|
|
|
dnl AC_PROG_CHECK_VER(var, namelist, version-switch,
|
1998-04-07 17:21:28 +08:00
|
|
|
dnl [version-extract-regexp], version-glob [, do-if-fail])
|
2002-10-18 07:48:55 +08:00
|
|
|
AC_DEFUN([AC_CHECK_PROG_VER],
|
1998-04-07 17:21:28 +08:00
|
|
|
[AC_CHECK_PROGS([$1], [$2])
|
|
|
|
if test -z "[$]$1"; then
|
|
|
|
ac_verc_fail=yes
|
1998-04-03 01:42:53 +08:00
|
|
|
else
|
1998-04-07 17:21:28 +08:00
|
|
|
# Found it, now check the version.
|
|
|
|
AC_MSG_CHECKING([version of [$]$1])
|
1998-04-03 01:42:53 +08:00
|
|
|
changequote(<<,>>)dnl
|
1998-04-07 17:21:28 +08:00
|
|
|
ac_prog_version=`<<$>>$1 $3 2>&1 ifelse(<<$4>>,,,
|
2011-02-16 03:52:29 +08:00
|
|
|
<<| sed -n 's/^.*patsubst(<<$4>>,/,\/).*$/\1/p'>>)`
|
1998-04-07 17:21:28 +08:00
|
|
|
case $ac_prog_version in
|
|
|
|
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
|
|
|
|
<<$5>>)
|
1998-04-03 01:42:53 +08:00
|
|
|
changequote([,])dnl
|
1998-04-07 17:21:28 +08:00
|
|
|
ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
|
|
|
|
*) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
|
|
|
|
|
1998-04-03 01:42:53 +08:00
|
|
|
esac
|
1998-04-07 17:21:28 +08:00
|
|
|
AC_MSG_RESULT([$ac_prog_version])
|
1998-04-03 01:42:53 +08:00
|
|
|
fi
|
1998-04-07 17:21:28 +08:00
|
|
|
ifelse([$6],,,
|
|
|
|
[if test $ac_verc_fail = yes; then
|
|
|
|
$6
|
|
|
|
fi])
|
1998-04-03 01:42:53 +08:00
|
|
|
])
|
|
|
|
|
1997-05-27 07:01:17 +08:00
|
|
|
dnl These modifications are to allow for an empty cross compiler tree.
|
2002-10-18 07:48:55 +08:00
|
|
|
define([_AC_COMPILER_EXEEXT], [EXEEXT=
|
1997-05-27 07:01:17 +08:00
|
|
|
])
|
Update.
1997-09-25 00:23 Ulrich Drepper <drepper@cygnus.com>
* elf/dl-profile.c: Correct implementation.
* io/ftwtest-sh: Don't depend on TMPDIR == /tmp.
* locale/setlocale.c: Rewrite a bit for more clarity.
* math/Makefile (libm-calls): Add w_exp2.
* math/math_private.h: Add prototypes for __ieee754_exp2{,f,l}.
* sysdeps/libm-i387/s_exp2.S: Change name to __ieee754_exp2.
* sysdeps/libm-i387/s_exp2f.S: Likewise.
* sysdeps/libm-i387/s_exp2l.S: Likewise.
* sysdeps/libm-ieee754/k_standard.c: Add error cases for exp2.
* string/bits/string2.h (__strcpy_small): Optimize.
(__stpcpy_small): Likewise.
(strncpy): Use variable for dest argument since it's used more than
once.
(strncat): Likewise.
(strcmp): Add optimization for this function.
* sysdeps/i386/i486/string.h (strlen): Correctly use __builtin_strlen.
(__strcpy_small): Optimize.
(__stpcpy_small): Likewise.
(__stpcpy_c): Correctly use __mempcpy_* macros.
(__mempcpy_by2, __mempcpy_by4, __mempcpy_byn): Return pointer to
byte following last copied.
(strncat): Use variable for dest argument since it's used more than
once.
(strcmp): Add optimization for this function.
* sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use
.text and .previous to select correct section.
1997-09-23 19:56 Philip Blundell <Philip.Blundell@pobox.com>
* configure.in: Add `--disable-versioning' option to suppress the
use of symbol versions even if binutils claims to support it.
1997-09-24 20:10 Philip Blundell <Philip.Blundell@pobox.com>
* csu/Makefile (before-compile): Don't try to build abi-tags.h if
not using ELF.
1997-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf/sofini.c [HAVE_DWARF2_UNWIND_INFO]: Supply termination for
the frame unwind info section.
* elf/soinit.c [HAVE_DWARF2_UNWIND_INFO]: Register and unregister
the frame unwind info.
* config.h.in (HAVE_DWARF2_UNWIND_INFO): Add #undef.
* configure.in: Check whether gcc supports DWARF2 unwind info.
* libc.map: Export frame handling tables.
1997-09-10 06:56 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/unix/sysv/linux/powerpc/bits/kernel_termios.h:
Use the size of the kernel's termios structure for ioctls.
* sysdeps/powerpc/dl-machine.h: Prepare for library profiling.
* sysdeps/powerpc/bits/mathinline.h: Add slightly slower versions
of the C9X FP comparison macros. Delete 'fabs' and 'sqrt' inline
routines, because gcc has them as internals.
* sysdeps/powerpc/Makefile (pic-ccflags): Define this instead of
CFLAGS-.os.
* sysdeps/powerpc/bzero.S: New file.
* sysdeps/powerpc/strcat.c: New file.
* sysdeps/powerpc/strcpy.S: New file.
* sysdeps/powerpc/stpcpy.S: New file.
* math/Makefile: Add atest_exp2, test-reduce.
* math/atest_exp2.c: New file.
* math/test-reduce.c: New file.
* sysdeps/libm-ieee754/Dist: New file.
* sysdeps/libm-ieee754/s_exp2.c: New file.
* sysdeps/libm-ieee754/s_exp2f.c: New file.
* sysdeps/libm-ieee754/t_exp2.h: New file.
* sysdeps/libm-ieee754/t_exp2f.h: New file.
* math/libm-test.c (exp2_test): Add some more tests.
* Rules: Use empty.os instead of empty.o, since it gets linked into
libc.so...
* configure.in: Add --disable-static to disable building .a files.
* config.make.in: Substitute the new variable.
* Makeconfig: Don't build .o files if not building .a files.
* elf/dl-runtime.c (fixup): Factor out call to elf_machine_relplt.
(profile_fixup): Likewise.
1997-09-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* posix/globtest.c (main): Change to directory passed as first
argument.
* posix/globtest.sh: Don't cd before running the program, instead
pass testdir as argument, so that $common_objpfx remains valid.
1997-09-23 18:01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* nis/nis_call.c (__do_niscall2): Fix multiple Server support.
* nis/nis_findserver.c: Save latest working sockaddr_in.
1997-09-17 22:07 Zack Weinberg <zack@rabi.phys.columbia.edu>
* configure.in: Automatically determine whether as and ld are the
GNU versions.
(options): --with-gnu-{as,ld,binutils} replaced by
single option --with-binutils=PATH specifying a -B option to gcc.
* aclocal.m4: Two new macros defined, LIBC_PROG_FOO_GNU and
LIBC_PROG_BINUTILS.
* configure.in: Allow the user to force configuration for
unsupported platforms with an undocumented option.
1997-09-22 16:55 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* sunrpc/get_myaddr.c (get_myaddress): Avoid loopback interfaces,
return loopback address only if there is no other interface.
* nis/Makefile: Add nis_callback libnsl-routines.
* nis/nis_add.c: Use new __do_niscall* interface.
* nis/nis_cache.c: Likewise.
* nis/nis_checkpoint.c: Likewise.
* nis/nis_lookup.c: Likewise.
* nis/nis_mkdir.c: Likewise.
* nis/nis_modify.c: Likewise.
* nis/nis_ping.c: Likewise.
* nis/nis_remove.c: Likewise.
* nis/nis_rmdir.c: Likewise.
* nis/nis_server.c: Likewise.
* nis/nis_util.c: Likewise.
* nis/rpcsvc/nis.h: Make C++ safe.
* nis/nss_nisplus/nisplus-publickey.c (getsecretkey): Fix use
of variables.
* nis/nis_findserv.c: Make thread safe.
* nis/nis_call.c: Add support for callback, Fix use of variables.
* nis/nis_table.c: Add support for callback, FOLLOW_PATH and
ALL_RESULTS.
* nis/nis_callback.c: New, callback functions.
* nis/nis_intern.h: Add callback declarations.
1997-09-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* string/bits/string2.h: Fix logic in preprocessor directive.
(__strsep_1c, __strsep_g): Don't declare __retval as pointing to
const, to save a cast and a possible warning.
1997-09-22 04:12 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/i386/i486/atomicity.h (exchange_and_add): Really address
memory in xadd not %1.
1997-09-21 13:56 Ulrich Drepper <drepper@cygnus.com>
* manual/maint.texi (Supported Configurations): Add SPARC64 to
list of supported platforms.
1997-09-25 07:03:42 +08:00
|
|
|
|
2002-10-18 07:48:55 +08:00
|
|
|
AC_DEFUN([LIBC_PROG_FOO_GNU],
|
Update.
1997-09-25 00:23 Ulrich Drepper <drepper@cygnus.com>
* elf/dl-profile.c: Correct implementation.
* io/ftwtest-sh: Don't depend on TMPDIR == /tmp.
* locale/setlocale.c: Rewrite a bit for more clarity.
* math/Makefile (libm-calls): Add w_exp2.
* math/math_private.h: Add prototypes for __ieee754_exp2{,f,l}.
* sysdeps/libm-i387/s_exp2.S: Change name to __ieee754_exp2.
* sysdeps/libm-i387/s_exp2f.S: Likewise.
* sysdeps/libm-i387/s_exp2l.S: Likewise.
* sysdeps/libm-ieee754/k_standard.c: Add error cases for exp2.
* string/bits/string2.h (__strcpy_small): Optimize.
(__stpcpy_small): Likewise.
(strncpy): Use variable for dest argument since it's used more than
once.
(strncat): Likewise.
(strcmp): Add optimization for this function.
* sysdeps/i386/i486/string.h (strlen): Correctly use __builtin_strlen.
(__strcpy_small): Optimize.
(__stpcpy_small): Likewise.
(__stpcpy_c): Correctly use __mempcpy_* macros.
(__mempcpy_by2, __mempcpy_by4, __mempcpy_byn): Return pointer to
byte following last copied.
(strncat): Use variable for dest argument since it's used more than
once.
(strcmp): Add optimization for this function.
* sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use
.text and .previous to select correct section.
1997-09-23 19:56 Philip Blundell <Philip.Blundell@pobox.com>
* configure.in: Add `--disable-versioning' option to suppress the
use of symbol versions even if binutils claims to support it.
1997-09-24 20:10 Philip Blundell <Philip.Blundell@pobox.com>
* csu/Makefile (before-compile): Don't try to build abi-tags.h if
not using ELF.
1997-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf/sofini.c [HAVE_DWARF2_UNWIND_INFO]: Supply termination for
the frame unwind info section.
* elf/soinit.c [HAVE_DWARF2_UNWIND_INFO]: Register and unregister
the frame unwind info.
* config.h.in (HAVE_DWARF2_UNWIND_INFO): Add #undef.
* configure.in: Check whether gcc supports DWARF2 unwind info.
* libc.map: Export frame handling tables.
1997-09-10 06:56 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/unix/sysv/linux/powerpc/bits/kernel_termios.h:
Use the size of the kernel's termios structure for ioctls.
* sysdeps/powerpc/dl-machine.h: Prepare for library profiling.
* sysdeps/powerpc/bits/mathinline.h: Add slightly slower versions
of the C9X FP comparison macros. Delete 'fabs' and 'sqrt' inline
routines, because gcc has them as internals.
* sysdeps/powerpc/Makefile (pic-ccflags): Define this instead of
CFLAGS-.os.
* sysdeps/powerpc/bzero.S: New file.
* sysdeps/powerpc/strcat.c: New file.
* sysdeps/powerpc/strcpy.S: New file.
* sysdeps/powerpc/stpcpy.S: New file.
* math/Makefile: Add atest_exp2, test-reduce.
* math/atest_exp2.c: New file.
* math/test-reduce.c: New file.
* sysdeps/libm-ieee754/Dist: New file.
* sysdeps/libm-ieee754/s_exp2.c: New file.
* sysdeps/libm-ieee754/s_exp2f.c: New file.
* sysdeps/libm-ieee754/t_exp2.h: New file.
* sysdeps/libm-ieee754/t_exp2f.h: New file.
* math/libm-test.c (exp2_test): Add some more tests.
* Rules: Use empty.os instead of empty.o, since it gets linked into
libc.so...
* configure.in: Add --disable-static to disable building .a files.
* config.make.in: Substitute the new variable.
* Makeconfig: Don't build .o files if not building .a files.
* elf/dl-runtime.c (fixup): Factor out call to elf_machine_relplt.
(profile_fixup): Likewise.
1997-09-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* posix/globtest.c (main): Change to directory passed as first
argument.
* posix/globtest.sh: Don't cd before running the program, instead
pass testdir as argument, so that $common_objpfx remains valid.
1997-09-23 18:01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* nis/nis_call.c (__do_niscall2): Fix multiple Server support.
* nis/nis_findserver.c: Save latest working sockaddr_in.
1997-09-17 22:07 Zack Weinberg <zack@rabi.phys.columbia.edu>
* configure.in: Automatically determine whether as and ld are the
GNU versions.
(options): --with-gnu-{as,ld,binutils} replaced by
single option --with-binutils=PATH specifying a -B option to gcc.
* aclocal.m4: Two new macros defined, LIBC_PROG_FOO_GNU and
LIBC_PROG_BINUTILS.
* configure.in: Allow the user to force configuration for
unsupported platforms with an undocumented option.
1997-09-22 16:55 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* sunrpc/get_myaddr.c (get_myaddress): Avoid loopback interfaces,
return loopback address only if there is no other interface.
* nis/Makefile: Add nis_callback libnsl-routines.
* nis/nis_add.c: Use new __do_niscall* interface.
* nis/nis_cache.c: Likewise.
* nis/nis_checkpoint.c: Likewise.
* nis/nis_lookup.c: Likewise.
* nis/nis_mkdir.c: Likewise.
* nis/nis_modify.c: Likewise.
* nis/nis_ping.c: Likewise.
* nis/nis_remove.c: Likewise.
* nis/nis_rmdir.c: Likewise.
* nis/nis_server.c: Likewise.
* nis/nis_util.c: Likewise.
* nis/rpcsvc/nis.h: Make C++ safe.
* nis/nss_nisplus/nisplus-publickey.c (getsecretkey): Fix use
of variables.
* nis/nis_findserv.c: Make thread safe.
* nis/nis_call.c: Add support for callback, Fix use of variables.
* nis/nis_table.c: Add support for callback, FOLLOW_PATH and
ALL_RESULTS.
* nis/nis_callback.c: New, callback functions.
* nis/nis_intern.h: Add callback declarations.
1997-09-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* string/bits/string2.h: Fix logic in preprocessor directive.
(__strsep_1c, __strsep_g): Don't declare __retval as pointing to
const, to save a cast and a possible warning.
1997-09-22 04:12 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/i386/i486/atomicity.h (exchange_and_add): Really address
memory in xadd not %1.
1997-09-21 13:56 Ulrich Drepper <drepper@cygnus.com>
* manual/maint.texi (Supported Configurations): Add SPARC64 to
list of supported platforms.
1997-09-25 07:03:42 +08:00
|
|
|
[# Most GNU programs take a -v and spit out some text including
|
|
|
|
# the word 'GNU'. Some try to read stdin, so give them /dev/null.
|
1998-10-31 23:15:26 +08:00
|
|
|
if $1 -o conftest -v </dev/null 2>&1 | grep GNU > /dev/null 2>&1; then
|
Update.
1997-09-25 00:23 Ulrich Drepper <drepper@cygnus.com>
* elf/dl-profile.c: Correct implementation.
* io/ftwtest-sh: Don't depend on TMPDIR == /tmp.
* locale/setlocale.c: Rewrite a bit for more clarity.
* math/Makefile (libm-calls): Add w_exp2.
* math/math_private.h: Add prototypes for __ieee754_exp2{,f,l}.
* sysdeps/libm-i387/s_exp2.S: Change name to __ieee754_exp2.
* sysdeps/libm-i387/s_exp2f.S: Likewise.
* sysdeps/libm-i387/s_exp2l.S: Likewise.
* sysdeps/libm-ieee754/k_standard.c: Add error cases for exp2.
* string/bits/string2.h (__strcpy_small): Optimize.
(__stpcpy_small): Likewise.
(strncpy): Use variable for dest argument since it's used more than
once.
(strncat): Likewise.
(strcmp): Add optimization for this function.
* sysdeps/i386/i486/string.h (strlen): Correctly use __builtin_strlen.
(__strcpy_small): Optimize.
(__stpcpy_small): Likewise.
(__stpcpy_c): Correctly use __mempcpy_* macros.
(__mempcpy_by2, __mempcpy_by4, __mempcpy_byn): Return pointer to
byte following last copied.
(strncat): Use variable for dest argument since it's used more than
once.
(strcmp): Add optimization for this function.
* sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use
.text and .previous to select correct section.
1997-09-23 19:56 Philip Blundell <Philip.Blundell@pobox.com>
* configure.in: Add `--disable-versioning' option to suppress the
use of symbol versions even if binutils claims to support it.
1997-09-24 20:10 Philip Blundell <Philip.Blundell@pobox.com>
* csu/Makefile (before-compile): Don't try to build abi-tags.h if
not using ELF.
1997-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf/sofini.c [HAVE_DWARF2_UNWIND_INFO]: Supply termination for
the frame unwind info section.
* elf/soinit.c [HAVE_DWARF2_UNWIND_INFO]: Register and unregister
the frame unwind info.
* config.h.in (HAVE_DWARF2_UNWIND_INFO): Add #undef.
* configure.in: Check whether gcc supports DWARF2 unwind info.
* libc.map: Export frame handling tables.
1997-09-10 06:56 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/unix/sysv/linux/powerpc/bits/kernel_termios.h:
Use the size of the kernel's termios structure for ioctls.
* sysdeps/powerpc/dl-machine.h: Prepare for library profiling.
* sysdeps/powerpc/bits/mathinline.h: Add slightly slower versions
of the C9X FP comparison macros. Delete 'fabs' and 'sqrt' inline
routines, because gcc has them as internals.
* sysdeps/powerpc/Makefile (pic-ccflags): Define this instead of
CFLAGS-.os.
* sysdeps/powerpc/bzero.S: New file.
* sysdeps/powerpc/strcat.c: New file.
* sysdeps/powerpc/strcpy.S: New file.
* sysdeps/powerpc/stpcpy.S: New file.
* math/Makefile: Add atest_exp2, test-reduce.
* math/atest_exp2.c: New file.
* math/test-reduce.c: New file.
* sysdeps/libm-ieee754/Dist: New file.
* sysdeps/libm-ieee754/s_exp2.c: New file.
* sysdeps/libm-ieee754/s_exp2f.c: New file.
* sysdeps/libm-ieee754/t_exp2.h: New file.
* sysdeps/libm-ieee754/t_exp2f.h: New file.
* math/libm-test.c (exp2_test): Add some more tests.
* Rules: Use empty.os instead of empty.o, since it gets linked into
libc.so...
* configure.in: Add --disable-static to disable building .a files.
* config.make.in: Substitute the new variable.
* Makeconfig: Don't build .o files if not building .a files.
* elf/dl-runtime.c (fixup): Factor out call to elf_machine_relplt.
(profile_fixup): Likewise.
1997-09-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* posix/globtest.c (main): Change to directory passed as first
argument.
* posix/globtest.sh: Don't cd before running the program, instead
pass testdir as argument, so that $common_objpfx remains valid.
1997-09-23 18:01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* nis/nis_call.c (__do_niscall2): Fix multiple Server support.
* nis/nis_findserver.c: Save latest working sockaddr_in.
1997-09-17 22:07 Zack Weinberg <zack@rabi.phys.columbia.edu>
* configure.in: Automatically determine whether as and ld are the
GNU versions.
(options): --with-gnu-{as,ld,binutils} replaced by
single option --with-binutils=PATH specifying a -B option to gcc.
* aclocal.m4: Two new macros defined, LIBC_PROG_FOO_GNU and
LIBC_PROG_BINUTILS.
* configure.in: Allow the user to force configuration for
unsupported platforms with an undocumented option.
1997-09-22 16:55 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* sunrpc/get_myaddr.c (get_myaddress): Avoid loopback interfaces,
return loopback address only if there is no other interface.
* nis/Makefile: Add nis_callback libnsl-routines.
* nis/nis_add.c: Use new __do_niscall* interface.
* nis/nis_cache.c: Likewise.
* nis/nis_checkpoint.c: Likewise.
* nis/nis_lookup.c: Likewise.
* nis/nis_mkdir.c: Likewise.
* nis/nis_modify.c: Likewise.
* nis/nis_ping.c: Likewise.
* nis/nis_remove.c: Likewise.
* nis/nis_rmdir.c: Likewise.
* nis/nis_server.c: Likewise.
* nis/nis_util.c: Likewise.
* nis/rpcsvc/nis.h: Make C++ safe.
* nis/nss_nisplus/nisplus-publickey.c (getsecretkey): Fix use
of variables.
* nis/nis_findserv.c: Make thread safe.
* nis/nis_call.c: Add support for callback, Fix use of variables.
* nis/nis_table.c: Add support for callback, FOLLOW_PATH and
ALL_RESULTS.
* nis/nis_callback.c: New, callback functions.
* nis/nis_intern.h: Add callback declarations.
1997-09-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* string/bits/string2.h: Fix logic in preprocessor directive.
(__strsep_1c, __strsep_g): Don't declare __retval as pointing to
const, to save a cast and a possible warning.
1997-09-22 04:12 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/i386/i486/atomicity.h (exchange_and_add): Really address
memory in xadd not %1.
1997-09-21 13:56 Ulrich Drepper <drepper@cygnus.com>
* manual/maint.texi (Supported Configurations): Add SPARC64 to
list of supported platforms.
1997-09-25 07:03:42 +08:00
|
|
|
$2
|
|
|
|
else
|
|
|
|
$3
|
1998-10-31 23:15:26 +08:00
|
|
|
fi
|
|
|
|
rm -fr contest*])
|
Update.
1997-09-25 00:23 Ulrich Drepper <drepper@cygnus.com>
* elf/dl-profile.c: Correct implementation.
* io/ftwtest-sh: Don't depend on TMPDIR == /tmp.
* locale/setlocale.c: Rewrite a bit for more clarity.
* math/Makefile (libm-calls): Add w_exp2.
* math/math_private.h: Add prototypes for __ieee754_exp2{,f,l}.
* sysdeps/libm-i387/s_exp2.S: Change name to __ieee754_exp2.
* sysdeps/libm-i387/s_exp2f.S: Likewise.
* sysdeps/libm-i387/s_exp2l.S: Likewise.
* sysdeps/libm-ieee754/k_standard.c: Add error cases for exp2.
* string/bits/string2.h (__strcpy_small): Optimize.
(__stpcpy_small): Likewise.
(strncpy): Use variable for dest argument since it's used more than
once.
(strncat): Likewise.
(strcmp): Add optimization for this function.
* sysdeps/i386/i486/string.h (strlen): Correctly use __builtin_strlen.
(__strcpy_small): Optimize.
(__stpcpy_small): Likewise.
(__stpcpy_c): Correctly use __mempcpy_* macros.
(__mempcpy_by2, __mempcpy_by4, __mempcpy_byn): Return pointer to
byte following last copied.
(strncat): Use variable for dest argument since it's used more than
once.
(strcmp): Add optimization for this function.
* sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use
.text and .previous to select correct section.
1997-09-23 19:56 Philip Blundell <Philip.Blundell@pobox.com>
* configure.in: Add `--disable-versioning' option to suppress the
use of symbol versions even if binutils claims to support it.
1997-09-24 20:10 Philip Blundell <Philip.Blundell@pobox.com>
* csu/Makefile (before-compile): Don't try to build abi-tags.h if
not using ELF.
1997-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf/sofini.c [HAVE_DWARF2_UNWIND_INFO]: Supply termination for
the frame unwind info section.
* elf/soinit.c [HAVE_DWARF2_UNWIND_INFO]: Register and unregister
the frame unwind info.
* config.h.in (HAVE_DWARF2_UNWIND_INFO): Add #undef.
* configure.in: Check whether gcc supports DWARF2 unwind info.
* libc.map: Export frame handling tables.
1997-09-10 06:56 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/unix/sysv/linux/powerpc/bits/kernel_termios.h:
Use the size of the kernel's termios structure for ioctls.
* sysdeps/powerpc/dl-machine.h: Prepare for library profiling.
* sysdeps/powerpc/bits/mathinline.h: Add slightly slower versions
of the C9X FP comparison macros. Delete 'fabs' and 'sqrt' inline
routines, because gcc has them as internals.
* sysdeps/powerpc/Makefile (pic-ccflags): Define this instead of
CFLAGS-.os.
* sysdeps/powerpc/bzero.S: New file.
* sysdeps/powerpc/strcat.c: New file.
* sysdeps/powerpc/strcpy.S: New file.
* sysdeps/powerpc/stpcpy.S: New file.
* math/Makefile: Add atest_exp2, test-reduce.
* math/atest_exp2.c: New file.
* math/test-reduce.c: New file.
* sysdeps/libm-ieee754/Dist: New file.
* sysdeps/libm-ieee754/s_exp2.c: New file.
* sysdeps/libm-ieee754/s_exp2f.c: New file.
* sysdeps/libm-ieee754/t_exp2.h: New file.
* sysdeps/libm-ieee754/t_exp2f.h: New file.
* math/libm-test.c (exp2_test): Add some more tests.
* Rules: Use empty.os instead of empty.o, since it gets linked into
libc.so...
* configure.in: Add --disable-static to disable building .a files.
* config.make.in: Substitute the new variable.
* Makeconfig: Don't build .o files if not building .a files.
* elf/dl-runtime.c (fixup): Factor out call to elf_machine_relplt.
(profile_fixup): Likewise.
1997-09-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* posix/globtest.c (main): Change to directory passed as first
argument.
* posix/globtest.sh: Don't cd before running the program, instead
pass testdir as argument, so that $common_objpfx remains valid.
1997-09-23 18:01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* nis/nis_call.c (__do_niscall2): Fix multiple Server support.
* nis/nis_findserver.c: Save latest working sockaddr_in.
1997-09-17 22:07 Zack Weinberg <zack@rabi.phys.columbia.edu>
* configure.in: Automatically determine whether as and ld are the
GNU versions.
(options): --with-gnu-{as,ld,binutils} replaced by
single option --with-binutils=PATH specifying a -B option to gcc.
* aclocal.m4: Two new macros defined, LIBC_PROG_FOO_GNU and
LIBC_PROG_BINUTILS.
* configure.in: Allow the user to force configuration for
unsupported platforms with an undocumented option.
1997-09-22 16:55 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* sunrpc/get_myaddr.c (get_myaddress): Avoid loopback interfaces,
return loopback address only if there is no other interface.
* nis/Makefile: Add nis_callback libnsl-routines.
* nis/nis_add.c: Use new __do_niscall* interface.
* nis/nis_cache.c: Likewise.
* nis/nis_checkpoint.c: Likewise.
* nis/nis_lookup.c: Likewise.
* nis/nis_mkdir.c: Likewise.
* nis/nis_modify.c: Likewise.
* nis/nis_ping.c: Likewise.
* nis/nis_remove.c: Likewise.
* nis/nis_rmdir.c: Likewise.
* nis/nis_server.c: Likewise.
* nis/nis_util.c: Likewise.
* nis/rpcsvc/nis.h: Make C++ safe.
* nis/nss_nisplus/nisplus-publickey.c (getsecretkey): Fix use
of variables.
* nis/nis_findserv.c: Make thread safe.
* nis/nis_call.c: Add support for callback, Fix use of variables.
* nis/nis_table.c: Add support for callback, FOLLOW_PATH and
ALL_RESULTS.
* nis/nis_callback.c: New, callback functions.
* nis/nis_intern.h: Add callback declarations.
1997-09-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* string/bits/string2.h: Fix logic in preprocessor directive.
(__strsep_1c, __strsep_g): Don't declare __retval as pointing to
const, to save a cast and a possible warning.
1997-09-22 04:12 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/i386/i486/atomicity.h (exchange_and_add): Really address
memory in xadd not %1.
1997-09-21 13:56 Ulrich Drepper <drepper@cygnus.com>
* manual/maint.texi (Supported Configurations): Add SPARC64 to
list of supported platforms.
1997-09-25 07:03:42 +08:00
|
|
|
|
2002-10-18 07:48:55 +08:00
|
|
|
AC_DEFUN([LIBC_PROG_BINUTILS],
|
Update.
1997-09-25 00:23 Ulrich Drepper <drepper@cygnus.com>
* elf/dl-profile.c: Correct implementation.
* io/ftwtest-sh: Don't depend on TMPDIR == /tmp.
* locale/setlocale.c: Rewrite a bit for more clarity.
* math/Makefile (libm-calls): Add w_exp2.
* math/math_private.h: Add prototypes for __ieee754_exp2{,f,l}.
* sysdeps/libm-i387/s_exp2.S: Change name to __ieee754_exp2.
* sysdeps/libm-i387/s_exp2f.S: Likewise.
* sysdeps/libm-i387/s_exp2l.S: Likewise.
* sysdeps/libm-ieee754/k_standard.c: Add error cases for exp2.
* string/bits/string2.h (__strcpy_small): Optimize.
(__stpcpy_small): Likewise.
(strncpy): Use variable for dest argument since it's used more than
once.
(strncat): Likewise.
(strcmp): Add optimization for this function.
* sysdeps/i386/i486/string.h (strlen): Correctly use __builtin_strlen.
(__strcpy_small): Optimize.
(__stpcpy_small): Likewise.
(__stpcpy_c): Correctly use __mempcpy_* macros.
(__mempcpy_by2, __mempcpy_by4, __mempcpy_byn): Return pointer to
byte following last copied.
(strncat): Use variable for dest argument since it's used more than
once.
(strcmp): Add optimization for this function.
* sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use
.text and .previous to select correct section.
1997-09-23 19:56 Philip Blundell <Philip.Blundell@pobox.com>
* configure.in: Add `--disable-versioning' option to suppress the
use of symbol versions even if binutils claims to support it.
1997-09-24 20:10 Philip Blundell <Philip.Blundell@pobox.com>
* csu/Makefile (before-compile): Don't try to build abi-tags.h if
not using ELF.
1997-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf/sofini.c [HAVE_DWARF2_UNWIND_INFO]: Supply termination for
the frame unwind info section.
* elf/soinit.c [HAVE_DWARF2_UNWIND_INFO]: Register and unregister
the frame unwind info.
* config.h.in (HAVE_DWARF2_UNWIND_INFO): Add #undef.
* configure.in: Check whether gcc supports DWARF2 unwind info.
* libc.map: Export frame handling tables.
1997-09-10 06:56 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/unix/sysv/linux/powerpc/bits/kernel_termios.h:
Use the size of the kernel's termios structure for ioctls.
* sysdeps/powerpc/dl-machine.h: Prepare for library profiling.
* sysdeps/powerpc/bits/mathinline.h: Add slightly slower versions
of the C9X FP comparison macros. Delete 'fabs' and 'sqrt' inline
routines, because gcc has them as internals.
* sysdeps/powerpc/Makefile (pic-ccflags): Define this instead of
CFLAGS-.os.
* sysdeps/powerpc/bzero.S: New file.
* sysdeps/powerpc/strcat.c: New file.
* sysdeps/powerpc/strcpy.S: New file.
* sysdeps/powerpc/stpcpy.S: New file.
* math/Makefile: Add atest_exp2, test-reduce.
* math/atest_exp2.c: New file.
* math/test-reduce.c: New file.
* sysdeps/libm-ieee754/Dist: New file.
* sysdeps/libm-ieee754/s_exp2.c: New file.
* sysdeps/libm-ieee754/s_exp2f.c: New file.
* sysdeps/libm-ieee754/t_exp2.h: New file.
* sysdeps/libm-ieee754/t_exp2f.h: New file.
* math/libm-test.c (exp2_test): Add some more tests.
* Rules: Use empty.os instead of empty.o, since it gets linked into
libc.so...
* configure.in: Add --disable-static to disable building .a files.
* config.make.in: Substitute the new variable.
* Makeconfig: Don't build .o files if not building .a files.
* elf/dl-runtime.c (fixup): Factor out call to elf_machine_relplt.
(profile_fixup): Likewise.
1997-09-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* posix/globtest.c (main): Change to directory passed as first
argument.
* posix/globtest.sh: Don't cd before running the program, instead
pass testdir as argument, so that $common_objpfx remains valid.
1997-09-23 18:01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* nis/nis_call.c (__do_niscall2): Fix multiple Server support.
* nis/nis_findserver.c: Save latest working sockaddr_in.
1997-09-17 22:07 Zack Weinberg <zack@rabi.phys.columbia.edu>
* configure.in: Automatically determine whether as and ld are the
GNU versions.
(options): --with-gnu-{as,ld,binutils} replaced by
single option --with-binutils=PATH specifying a -B option to gcc.
* aclocal.m4: Two new macros defined, LIBC_PROG_FOO_GNU and
LIBC_PROG_BINUTILS.
* configure.in: Allow the user to force configuration for
unsupported platforms with an undocumented option.
1997-09-22 16:55 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* sunrpc/get_myaddr.c (get_myaddress): Avoid loopback interfaces,
return loopback address only if there is no other interface.
* nis/Makefile: Add nis_callback libnsl-routines.
* nis/nis_add.c: Use new __do_niscall* interface.
* nis/nis_cache.c: Likewise.
* nis/nis_checkpoint.c: Likewise.
* nis/nis_lookup.c: Likewise.
* nis/nis_mkdir.c: Likewise.
* nis/nis_modify.c: Likewise.
* nis/nis_ping.c: Likewise.
* nis/nis_remove.c: Likewise.
* nis/nis_rmdir.c: Likewise.
* nis/nis_server.c: Likewise.
* nis/nis_util.c: Likewise.
* nis/rpcsvc/nis.h: Make C++ safe.
* nis/nss_nisplus/nisplus-publickey.c (getsecretkey): Fix use
of variables.
* nis/nis_findserv.c: Make thread safe.
* nis/nis_call.c: Add support for callback, Fix use of variables.
* nis/nis_table.c: Add support for callback, FOLLOW_PATH and
ALL_RESULTS.
* nis/nis_callback.c: New, callback functions.
* nis/nis_intern.h: Add callback declarations.
1997-09-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* string/bits/string2.h: Fix logic in preprocessor directive.
(__strsep_1c, __strsep_g): Don't declare __retval as pointing to
const, to save a cast and a possible warning.
1997-09-22 04:12 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/i386/i486/atomicity.h (exchange_and_add): Really address
memory in xadd not %1.
1997-09-21 13:56 Ulrich Drepper <drepper@cygnus.com>
* manual/maint.texi (Supported Configurations): Add SPARC64 to
list of supported platforms.
1997-09-25 07:03:42 +08:00
|
|
|
[# Was a --with-binutils option given?
|
|
|
|
if test -n "$path_binutils"; then
|
|
|
|
# Make absolute; ensure a single trailing slash.
|
|
|
|
path_binutils=`(cd $path_binutils; pwd) | sed 's%/*$%/%'`
|
1998-04-03 01:42:53 +08:00
|
|
|
CC="$CC -B$path_binutils"
|
Update.
1997-09-25 00:23 Ulrich Drepper <drepper@cygnus.com>
* elf/dl-profile.c: Correct implementation.
* io/ftwtest-sh: Don't depend on TMPDIR == /tmp.
* locale/setlocale.c: Rewrite a bit for more clarity.
* math/Makefile (libm-calls): Add w_exp2.
* math/math_private.h: Add prototypes for __ieee754_exp2{,f,l}.
* sysdeps/libm-i387/s_exp2.S: Change name to __ieee754_exp2.
* sysdeps/libm-i387/s_exp2f.S: Likewise.
* sysdeps/libm-i387/s_exp2l.S: Likewise.
* sysdeps/libm-ieee754/k_standard.c: Add error cases for exp2.
* string/bits/string2.h (__strcpy_small): Optimize.
(__stpcpy_small): Likewise.
(strncpy): Use variable for dest argument since it's used more than
once.
(strncat): Likewise.
(strcmp): Add optimization for this function.
* sysdeps/i386/i486/string.h (strlen): Correctly use __builtin_strlen.
(__strcpy_small): Optimize.
(__stpcpy_small): Likewise.
(__stpcpy_c): Correctly use __mempcpy_* macros.
(__mempcpy_by2, __mempcpy_by4, __mempcpy_byn): Return pointer to
byte following last copied.
(strncat): Use variable for dest argument since it's used more than
once.
(strcmp): Add optimization for this function.
* sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use
.text and .previous to select correct section.
1997-09-23 19:56 Philip Blundell <Philip.Blundell@pobox.com>
* configure.in: Add `--disable-versioning' option to suppress the
use of symbol versions even if binutils claims to support it.
1997-09-24 20:10 Philip Blundell <Philip.Blundell@pobox.com>
* csu/Makefile (before-compile): Don't try to build abi-tags.h if
not using ELF.
1997-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf/sofini.c [HAVE_DWARF2_UNWIND_INFO]: Supply termination for
the frame unwind info section.
* elf/soinit.c [HAVE_DWARF2_UNWIND_INFO]: Register and unregister
the frame unwind info.
* config.h.in (HAVE_DWARF2_UNWIND_INFO): Add #undef.
* configure.in: Check whether gcc supports DWARF2 unwind info.
* libc.map: Export frame handling tables.
1997-09-10 06:56 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/unix/sysv/linux/powerpc/bits/kernel_termios.h:
Use the size of the kernel's termios structure for ioctls.
* sysdeps/powerpc/dl-machine.h: Prepare for library profiling.
* sysdeps/powerpc/bits/mathinline.h: Add slightly slower versions
of the C9X FP comparison macros. Delete 'fabs' and 'sqrt' inline
routines, because gcc has them as internals.
* sysdeps/powerpc/Makefile (pic-ccflags): Define this instead of
CFLAGS-.os.
* sysdeps/powerpc/bzero.S: New file.
* sysdeps/powerpc/strcat.c: New file.
* sysdeps/powerpc/strcpy.S: New file.
* sysdeps/powerpc/stpcpy.S: New file.
* math/Makefile: Add atest_exp2, test-reduce.
* math/atest_exp2.c: New file.
* math/test-reduce.c: New file.
* sysdeps/libm-ieee754/Dist: New file.
* sysdeps/libm-ieee754/s_exp2.c: New file.
* sysdeps/libm-ieee754/s_exp2f.c: New file.
* sysdeps/libm-ieee754/t_exp2.h: New file.
* sysdeps/libm-ieee754/t_exp2f.h: New file.
* math/libm-test.c (exp2_test): Add some more tests.
* Rules: Use empty.os instead of empty.o, since it gets linked into
libc.so...
* configure.in: Add --disable-static to disable building .a files.
* config.make.in: Substitute the new variable.
* Makeconfig: Don't build .o files if not building .a files.
* elf/dl-runtime.c (fixup): Factor out call to elf_machine_relplt.
(profile_fixup): Likewise.
1997-09-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* posix/globtest.c (main): Change to directory passed as first
argument.
* posix/globtest.sh: Don't cd before running the program, instead
pass testdir as argument, so that $common_objpfx remains valid.
1997-09-23 18:01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* nis/nis_call.c (__do_niscall2): Fix multiple Server support.
* nis/nis_findserver.c: Save latest working sockaddr_in.
1997-09-17 22:07 Zack Weinberg <zack@rabi.phys.columbia.edu>
* configure.in: Automatically determine whether as and ld are the
GNU versions.
(options): --with-gnu-{as,ld,binutils} replaced by
single option --with-binutils=PATH specifying a -B option to gcc.
* aclocal.m4: Two new macros defined, LIBC_PROG_FOO_GNU and
LIBC_PROG_BINUTILS.
* configure.in: Allow the user to force configuration for
unsupported platforms with an undocumented option.
1997-09-22 16:55 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* sunrpc/get_myaddr.c (get_myaddress): Avoid loopback interfaces,
return loopback address only if there is no other interface.
* nis/Makefile: Add nis_callback libnsl-routines.
* nis/nis_add.c: Use new __do_niscall* interface.
* nis/nis_cache.c: Likewise.
* nis/nis_checkpoint.c: Likewise.
* nis/nis_lookup.c: Likewise.
* nis/nis_mkdir.c: Likewise.
* nis/nis_modify.c: Likewise.
* nis/nis_ping.c: Likewise.
* nis/nis_remove.c: Likewise.
* nis/nis_rmdir.c: Likewise.
* nis/nis_server.c: Likewise.
* nis/nis_util.c: Likewise.
* nis/rpcsvc/nis.h: Make C++ safe.
* nis/nss_nisplus/nisplus-publickey.c (getsecretkey): Fix use
of variables.
* nis/nis_findserv.c: Make thread safe.
* nis/nis_call.c: Add support for callback, Fix use of variables.
* nis/nis_table.c: Add support for callback, FOLLOW_PATH and
ALL_RESULTS.
* nis/nis_callback.c: New, callback functions.
* nis/nis_intern.h: Add callback declarations.
1997-09-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* string/bits/string2.h: Fix logic in preprocessor directive.
(__strsep_1c, __strsep_g): Don't declare __retval as pointing to
const, to save a cast and a possible warning.
1997-09-22 04:12 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/i386/i486/atomicity.h (exchange_and_add): Really address
memory in xadd not %1.
1997-09-21 13:56 Ulrich Drepper <drepper@cygnus.com>
* manual/maint.texi (Supported Configurations): Add SPARC64 to
list of supported platforms.
1997-09-25 07:03:42 +08:00
|
|
|
fi
|
2021-10-26 20:02:57 +08:00
|
|
|
case "$CC" in
|
|
|
|
*fuse-ld=lld*) LDNAME=ld.lld;;
|
|
|
|
*) LDNAME=ld;;
|
|
|
|
esac
|
2022-12-07 00:02:41 +08:00
|
|
|
if test -z "$LD"; then
|
|
|
|
LD=`$CC -print-prog-name=$LDNAME`
|
|
|
|
fi
|
|
|
|
if test -z "$AR"; then
|
|
|
|
AR=`$CC -print-prog-name=ar`
|
|
|
|
fi
|
1998-11-21 01:27:07 +08:00
|
|
|
AC_SUBST(AR)
|
2022-12-07 00:02:41 +08:00
|
|
|
if test -z "$OBJCOPY"; then
|
|
|
|
OBJCOPY=`$CC -print-prog-name=objcopy`
|
|
|
|
fi
|
2011-06-25 15:06:42 +08:00
|
|
|
AC_SUBST(OBJCOPY)
|
2022-12-07 00:02:41 +08:00
|
|
|
if test -z "$GPROF"; then
|
|
|
|
GPROF=`$CC -print-prog-name=gprof`
|
|
|
|
fi
|
2017-08-15 21:49:40 +08:00
|
|
|
AC_SUBST(GPROF)
|
2023-01-12 05:17:10 +08:00
|
|
|
if test -z "$READELF"; then
|
|
|
|
READELF=`$CC -print-prog-name=readelf`
|
|
|
|
fi
|
|
|
|
AC_SUBST(READELF)
|
|
|
|
if test -z "$OBJDUMP"; then
|
|
|
|
OBJDUMP=`$CC -print-prog-name=objdump`
|
|
|
|
fi
|
|
|
|
AC_SUBST(OBJDUMP)
|
|
|
|
if test -z "$NM"; then
|
|
|
|
NM=`$CC -print-prog-name=nm`
|
|
|
|
fi
|
|
|
|
AC_SUBST(NM)
|
1998-04-03 01:42:53 +08:00
|
|
|
])
|
2012-03-08 08:17:27 +08:00
|
|
|
|
|
|
|
dnl Run a static link test with -nostdlib -nostartfiles.
|
|
|
|
dnl LIBC_TRY_LINK_STATIC([code], [action-if-true], [action-if-false])
|
|
|
|
AC_DEFUN([LIBC_TRY_LINK_STATIC],
|
|
|
|
[cat > conftest.c <<EOF
|
|
|
|
int _start (void) { return 0; }
|
|
|
|
int __start (void) { return 0; }
|
|
|
|
$1
|
|
|
|
EOF
|
2016-12-26 17:08:54 +08:00
|
|
|
AS_IF([AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp -o conftest
|
2012-03-08 08:17:27 +08:00
|
|
|
conftest.c -static -nostartfiles -nostdlib
|
|
|
|
1>&AS_MESSAGE_LOG_FD])],
|
|
|
|
[$2], [$3])
|
|
|
|
rm -f conftest*])
|
2012-03-17 02:12:50 +08:00
|
|
|
|
2012-03-22 00:33:57 +08:00
|
|
|
dnl Test a compiler option or options with an empty input file.
|
|
|
|
dnl LIBC_TRY_CC_OPTION([options], [action-if-true], [action-if-false])
|
|
|
|
AC_DEFUN([LIBC_TRY_CC_OPTION],
|
|
|
|
[AS_IF([AC_TRY_COMMAND([${CC-cc} $1 -xc /dev/null -S -o /dev/null])],
|
|
|
|
[$2], [$3])])
|
|
|
|
|
2012-03-17 02:12:50 +08:00
|
|
|
dnl Find and source sysdeps/*/preconfigure.
|
|
|
|
dnl LIBC_PRECONFIGURE([$srcdir], [for])
|
|
|
|
AC_DEFUN([LIBC_PRECONFIGURE], [dnl
|
|
|
|
if frags=`ls -d $1/sysdeps/*/preconfigure 2> /dev/null`
|
|
|
|
then
|
|
|
|
AC_MSG_CHECKING($2 preconfigure fragments)
|
|
|
|
for frag in $frags; do
|
|
|
|
name=`echo "$frag" | sed 's@/[[^/]]*[$]@@;s@^.*/@@'`
|
|
|
|
echo $ECHO_N "$name $ECHO_C" >&AS_MESSAGE_FD
|
|
|
|
. "$frag"
|
|
|
|
done
|
|
|
|
AC_MSG_RESULT()
|
|
|
|
fi])
|
2012-11-10 06:13:45 +08:00
|
|
|
|
|
|
|
# These two macros are taken from GCC's config/acx.m4.
|
|
|
|
dnl Support the --with-pkgversion configure option.
|
|
|
|
dnl ACX_PKGVERSION(default-pkgversion)
|
|
|
|
AC_DEFUN([ACX_PKGVERSION],[
|
|
|
|
AC_ARG_WITH(pkgversion,
|
|
|
|
AS_HELP_STRING([--with-pkgversion=PKG],
|
|
|
|
[Use PKG in the version string in place of "$1"]),
|
|
|
|
[case "$withval" in
|
|
|
|
yes) AC_MSG_ERROR([package version not specified]) ;;
|
|
|
|
no) PKGVERSION= ;;
|
|
|
|
*) PKGVERSION="($withval) " ;;
|
|
|
|
esac],
|
|
|
|
PKGVERSION="($1) "
|
|
|
|
)
|
|
|
|
PKGVERSION_TEXI=`echo "$PKGVERSION" | sed 's/@/@@/g'`
|
|
|
|
AC_SUBST(PKGVERSION)
|
|
|
|
AC_SUBST(PKGVERSION_TEXI)
|
|
|
|
])
|
|
|
|
|
|
|
|
dnl Support the --with-bugurl configure option.
|
|
|
|
dnl ACX_BUGURL(default-bugurl)
|
|
|
|
AC_DEFUN([ACX_BUGURL],[
|
|
|
|
AC_ARG_WITH(bugurl,
|
|
|
|
AS_HELP_STRING([--with-bugurl=URL],
|
|
|
|
[Direct users to URL to report a bug]),
|
|
|
|
[case "$withval" in
|
|
|
|
yes) AC_MSG_ERROR([bug URL not specified]) ;;
|
|
|
|
no) BUGURL=
|
|
|
|
;;
|
|
|
|
*) BUGURL="$withval"
|
|
|
|
;;
|
|
|
|
esac],
|
|
|
|
BUGURL="$1"
|
|
|
|
)
|
|
|
|
case ${BUGURL} in
|
|
|
|
"")
|
|
|
|
REPORT_BUGS_TO=
|
|
|
|
REPORT_BUGS_TEXI=
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
REPORT_BUGS_TO="<$BUGURL>"
|
|
|
|
REPORT_BUGS_TEXI=@uref{`echo "$BUGURL" | sed 's/@/@@/g'`}
|
|
|
|
;;
|
|
|
|
esac;
|
|
|
|
AC_SUBST(REPORT_BUGS_TO)
|
|
|
|
AC_SUBST(REPORT_BUGS_TEXI)
|
|
|
|
])
|
2012-11-22 04:31:01 +08:00
|
|
|
|
|
|
|
dnl Check linker option support.
|
|
|
|
dnl LIBC_LINKER_FEATURE([ld_option], [cc_option], [action-if-true], [action-if-false])
|
|
|
|
AC_DEFUN([LIBC_LINKER_FEATURE],
|
|
|
|
[AC_MSG_CHECKING([for linker that supports $1])
|
|
|
|
libc_linker_feature=no
|
2022-12-03 03:00:27 +08:00
|
|
|
cat > conftest.c <<EOF
|
2012-11-22 04:31:01 +08:00
|
|
|
int _start (void) { return 42; }
|
|
|
|
EOF
|
2022-12-03 03:00:27 +08:00
|
|
|
if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp
|
|
|
|
$2 -nostdlib -nostartfiles
|
|
|
|
-fPIC -shared -o conftest.so conftest.c
|
|
|
|
1>&AS_MESSAGE_LOG_FD])
|
|
|
|
then
|
|
|
|
if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp $2 -nostdlib \
|
|
|
|
-nostartfiles -fPIC -shared -o conftest.so conftest.c 2>&1 \
|
|
|
|
| grep "warning: $1 ignored" > /dev/null 2>&1; then
|
|
|
|
true
|
|
|
|
else
|
|
|
|
libc_linker_feature=yes
|
2012-11-22 04:31:01 +08:00
|
|
|
fi
|
|
|
|
fi
|
2022-12-03 03:00:27 +08:00
|
|
|
rm -f conftest*
|
2012-11-22 04:31:01 +08:00
|
|
|
if test $libc_linker_feature = yes; then
|
|
|
|
$3
|
|
|
|
else
|
|
|
|
$4
|
|
|
|
fi
|
|
|
|
AC_MSG_RESULT($libc_linker_feature)])
|
2013-03-21 06:37:06 +08:00
|
|
|
|
|
|
|
dnl Add a makefile variable, with value set from a shell string
|
|
|
|
dnl (expanded by the shell inside double quotes), to config.make.
|
|
|
|
dnl LIBC_CONFIG_VAR(make-variable, shell-value)
|
|
|
|
AC_DEFUN([LIBC_CONFIG_VAR],
|
|
|
|
[config_vars="$config_vars
|
|
|
|
$1 = $2"])
|
2013-04-07 00:00:35 +08:00
|
|
|
|
|
|
|
dnl Check that function FUNC was inlined as a builtin. The code fragment
|
|
|
|
dnl CODE is compiled with additional options CC_OPTION. If FUNC is
|
|
|
|
dnl not found in the assembly then it is assumed the compiler has support
|
|
|
|
dnl for this builtin and has inlined the call. If the compiler has the
|
|
|
|
dnl feature then ACTION-IF-TRUE is called, otherwise ACTION-IF-FALSE.
|
|
|
|
dnl It is up to the caller to provide a CC_OPTION that ensures the
|
|
|
|
dnl builtin is inlined if present.
|
|
|
|
dnl Warning: This may not work for some machines. For example on ARM the
|
|
|
|
dnl ABI dictates that some functions should not be inlined and instead
|
|
|
|
dnl should be provided by a compiler helper library e.g. __aeabi_memcpy.
|
|
|
|
dnl This is done to reduce code size.
|
|
|
|
dnl LIBC_COMPILER_BUILTIN([func], [code], [cc_option], [action-if-true], [action-if-false])
|
|
|
|
AC_DEFUN([LIBC_COMPILER_BUILTIN_INLINED],
|
|
|
|
[AC_MSG_CHECKING([for compiler support of inlined builtin function $1])
|
|
|
|
libc_compiler_builtin_inlined=no
|
|
|
|
cat > conftest.c <<EOF
|
|
|
|
int _start (void) { $2 return 0; }
|
|
|
|
EOF
|
2016-12-26 17:08:54 +08:00
|
|
|
if ! AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp
|
2013-04-07 00:00:35 +08:00
|
|
|
$3 -nostdlib -nostartfiles
|
2022-06-06 03:09:02 +08:00
|
|
|
-S conftest.c -o - | grep -F "$1"
|
2013-04-07 00:00:35 +08:00
|
|
|
1>&AS_MESSAGE_LOG_FD])
|
|
|
|
then
|
|
|
|
libc_compiler_builtin_inlined=yes
|
|
|
|
fi
|
|
|
|
rm -f conftest*
|
|
|
|
if test $libc_compiler_builtin_inlined = yes; then
|
|
|
|
$4
|
|
|
|
else
|
|
|
|
$5
|
|
|
|
fi
|
|
|
|
AC_MSG_RESULT($libc_compiler_builtin_inlined)])
|
2014-07-17 22:35:48 +08:00
|
|
|
|
|
|
|
dnl Default to slibdir named SLIBDIR instead of "lib", and rtlddir
|
|
|
|
dnl named RTLDDIR instead of "lib". This is used to put 64-bit
|
|
|
|
dnl libraries in /lib64.
|
|
|
|
dnl LIBC_SLIBDIR_RTLDDIR([slibdir], [rtlddir])
|
|
|
|
AC_DEFUN([LIBC_SLIBDIR_RTLDDIR],
|
|
|
|
[test -n "$libc_cv_slibdir" ||
|
|
|
|
case "$prefix" in
|
|
|
|
/usr | /usr/)
|
2018-01-25 17:41:27 +08:00
|
|
|
libc_cv_slibdir='/$1'
|
|
|
|
libc_cv_rtlddir='/$2'
|
2014-07-17 22:35:48 +08:00
|
|
|
if test "$libdir" = '${exec_prefix}/lib'; then
|
|
|
|
libdir='${exec_prefix}/$1';
|
|
|
|
# Locale data can be shared between 32-bit and 64-bit libraries.
|
2015-11-27 23:09:45 +08:00
|
|
|
libc_cv_complocaledir='${exec_prefix}/lib/locale'
|
2014-07-17 22:35:48 +08:00
|
|
|
fi
|
|
|
|
;;
|
|
|
|
esac])
|