aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2002-11-24 17:39:51 +0000
committerAndreas Schwab <schwab@suse.de>2002-11-24 17:39:51 +0000
commitdab830850f70d682270d4637c1683eb54ad6dd37 (patch)
treeb23189c6068d61e5256e4e1cb4806f1a9e5991b5 /sysdeps
parent8a97d03fbf410203fc1354b09d3467ebf6737e88 (diff)
downloadglibc-dab830850f70d682270d4637c1683eb54ad6dd37.zip
glibc-dab830850f70d682270d4637c1683eb54ad6dd37.tar.gz
glibc-dab830850f70d682270d4637c1683eb54ad6dd37.tar.bz2
Regenerated: autoconf sysdeps/generic/configure.in
Diffstat (limited to 'sysdeps')
-rwxr-xr-xsysdeps/generic/configure24
1 files changed, 16 insertions, 8 deletions
diff --git a/sysdeps/generic/configure b/sysdeps/generic/configure
index 6f1582b..a01e019 100755
--- a/sysdeps/generic/configure
+++ b/sysdeps/generic/configure
@@ -14,31 +14,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;
}
@@ -58,7 +65,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