aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2002-11-24 17:39:46 +0000
committerAndreas Schwab <schwab@suse.de>2002-11-24 17:39:46 +0000
commit8a97d03fbf410203fc1354b09d3467ebf6737e88 (patch)
tree3844569274a668235f8066f5a8d23dee63d4d7ec /sysdeps/unix
parent56c71d451fbec9e02ffdadefd7a2272d04e19ada (diff)
downloadglibc-8a97d03fbf410203fc1354b09d3467ebf6737e88.tar
glibc-8a97d03fbf410203fc1354b09d3467ebf6737e88.tar.gz
glibc-8a97d03fbf410203fc1354b09d3467ebf6737e88.tar.bz2
glibc-8a97d03fbf410203fc1354b09d3467ebf6737e88.zip
Regenerated: autoconf sysdeps/unix/configure.in
Diffstat (limited to 'sysdeps/unix')
-rwxr-xr-xsysdeps/unix/configure24
1 files changed, 16 insertions, 8 deletions
diff --git a/sysdeps/unix/configure b/sysdeps/unix/configure
index 61a5878dc1..75dc5896a0 100755
--- a/sysdeps/unix/configure
+++ b/sysdeps/unix/configure
@@ -15,31 +15,38 @@ if eval "test \"\${$as_ac_var+set}\" = set"; then
else
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
-#include "confdefs.h"
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func (); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
+{
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char $ac_func ();
-char (*f) ();
-
-int
-main ()
-{
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
-f = $ac_func;
+char (*f) () = $ac_func;
+#endif
+#ifdef __cplusplus
+}
#endif
+int
+main ()
+{
+
;
return 0;
}
@@ -59,7 +66,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
eval "$as_ac_var=yes"
else
echo "$as_me: failed program was:" >&5
-cat conftest.$ac_ext >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
eval "$as_ac_var=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext