about summary refs log tree commit diff
path: root/configure
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1996-08-27 00:14:18 +0000
committerUlrich Drepper <drepper@redhat.com>1996-08-27 00:14:18 +0000
commit59f63dc4f508b3dffaf1c12b0632e2bfce05d94b (patch)
tree77e95080303ebf2c0ae6947d074a5f147cc94f85 /configure
parent485604b41c5554c01542b2b1a8f24d3be59a678b (diff)
downloadglibc-cvs/libc-ud-960829.tar.gz
glibc-cvs/libc-ud-960829.tar.xz
glibc-cvs/libc-ud-960829.zip
Regenerated: autoconf configure.in cvs/libc-ud-960829 cvs/glibc-1-93
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure22
1 files changed, 22 insertions, 0 deletions
diff --git a/configure b/configure
index 91817b328b..00dd9d42cd 100755
--- a/configure
+++ b/configure
@@ -1575,6 +1575,27 @@ fi
 
 echo "$ac_t""$libc_cv_ld_no_whole_archive" 1>&6
 
+echo $ac_n "checking for gcc -fno-exceptions""... $ac_c" 1>&6
+if eval "test \"`echo '$''{'libc_cv_gcc_no_exceptions'+set}'`\" = set"; then
+  echo $ac_n "(cached) $ac_c" 1>&6
+else
+  cat > conftest.c <<\EOF
+_start () {}
+int __eh_pc;
+__throw () {}
+EOF
+if { ac_try='${CC-cc} $CFLAGS
+			    -nostdlib -nostartfiles -fno-exceptions
+			    -o conftest conftest.c'; { (eval echo configure:1590: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
+  libc_cv_gcc_no_exceptions=yes
+else
+  libc_cv_gcc_no_exceptions=no
+fi
+rm -f conftest*
+fi
+
+echo "$ac_t""$libc_cv_gcc_no_exceptions" 1>&6
+
 ### End of automated tests.
 ### Now run sysdeps configure fragments.
 
@@ -1841,6 +1862,7 @@ s%@AR@%$AR%g
 s%@RANLIB@%$RANLIB%g
 s%@libc_cv_have_initfini@%$libc_cv_have_initfini%g
 s%@libc_cv_ld_no_whole_archive@%$libc_cv_ld_no_whole_archive%g
+s%@libc_cv_gcc_exceptions@%$libc_cv_gcc_exceptions%g
 s%@uname_sysname@%$uname_sysname%g
 s%@uname_release@%$uname_release%g
 s%@uname_version@%$uname_version%g