about summary refs log tree commit diff
path: root/configure.in
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-06-26 14:47:05 +0000
committerUlrich Drepper <drepper@redhat.com>1998-06-26 14:47:05 +0000
commitdff14448f7521b27349af4e67d141aba1c9d7edd (patch)
tree2dd0d2abacdead8595ad645a34a4e5f445ccb9f9 /configure.in
parent768cbca8b5a0db079bab56ef2178c977b1ad2a34 (diff)
downloadglibc-dff14448f7521b27349af4e67d141aba1c9d7edd.tar.gz
glibc-dff14448f7521b27349af4e67d141aba1c9d7edd.tar.xz
glibc-dff14448f7521b27349af4e67d141aba1c9d7edd.zip
Update.
1998-06-26 14:37  Ulrich Drepper  <drepper@cygnus.com>

	* configure.in: Check for -fexceptions.
	* config.make.in: Define exceptions, not no-exceptions.
	* misc/sys/cdefs.h: Define __PMS.  When using modern g++ define
	__P to use throw().
	* misc/Makefile: Define CFLAGS-tsearch.c and CFLAGS-lsearch.c to
	$(exceptions).
	* stdlib/Makefile: Likewise for bsearch.c, msort.c, and qsort.c.
	* misc/search.h: Use __PMS in tsearch, tfind, tdelete, twalk, tdestroy,
	lfind, and lsearch prototpypes.
	* stdlib/stdlib.h: Likewise for bsearch and qsort.

1998-06-26  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/i386/fpu/bits/mathinline.h (__finite): Use C code, not asm.

1998-06-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* Makefile (remove-old-headers): Make phony.

	* configure.in: Substitute @old_glibc_headers@.

1998-06-26  Ulrich Drepper  <drepper@cygnus.com>

	* libc.map: Remove __libc_uid.

1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* manual/terminal.texi (Allocation, Pseudo-Terminal Pairs): Fix
	typos.

1998-06-26  Ulrich Drepper  <drepper@cygnus.com>

	* libc.map: Add Alpha-specific io function from protected namespace.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in14
1 files changed, 7 insertions, 7 deletions
diff --git a/configure.in b/configure.in
index 7dc7d4b560..b64e31cdb7 100644
--- a/configure.in
+++ b/configure.in
@@ -892,7 +892,7 @@ if test $libc_cv_ld_no_whole_archive = yes; then
 fi
 AC_SUBST(no_whole_archive)dnl
 
-AC_CACHE_CHECK(for gcc -fno-exceptions, libc_cv_gcc_no_exceptions, [dnl
+AC_CACHE_CHECK(for gcc -fexceptions, libc_cv_gcc_exceptions, [dnl
 cat > conftest.c <<\EOF
 _start () {}
 int __eh_pc;
@@ -900,17 +900,17 @@ __throw () {}
 EOF
 dnl No \ in command here because it ends up inside ''.
 if AC_TRY_COMMAND([${CC-cc} $CFLAGS
-			    -nostdlib -nostartfiles -fno-exceptions
+			    -nostdlib -nostartfiles -fexceptions
 			    -o conftest conftest.c 1>&AC_FD_CC]); then
-  libc_cv_gcc_no_exceptions=yes
+  libc_cv_gcc_exceptions=yes
 else
-  libc_cv_gcc_no_exceptions=no
+  libc_cv_gcc_exceptions=no
 fi
 rm -f conftest*])
-if test $libc_cv_ld_no_whole_archive = yes; then
-  no_exceptions=-fno-exceptions
+if test $libc_cv_gcc_exceptions = yes; then
+  exceptions=-fexceptions
 fi
-AC_SUBST(no_exceptions)dnl
+AC_SUBST(exceptions)dnl
 
 if test "$base_machine" = alpha ; then
 AC_CACHE_CHECK(for function ..ng prefix, libc_cv_gcc_alpha_ng_prefix, [dnl