about summary refs log tree commit diff
path: root/sysdeps/unix/configure
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-05-30 09:07:13 +0000
committerUlrich Drepper <drepper@redhat.com>1999-05-30 09:07:13 +0000
commit0ea554bf8158e381c067062b011f12368c036b8f (patch)
treef27a9be78d5f9700562de6a2512974f2a0c94ea2 /sysdeps/unix/configure
parentfc0a2d72e5d12276e97f6b581a54561c239872f8 (diff)
downloadglibc-0ea554bf8158e381c067062b011f12368c036b8f.tar.gz
glibc-0ea554bf8158e381c067062b011f12368c036b8f.tar.xz
glibc-0ea554bf8158e381c067062b011f12368c036b8f.zip
Update.
1999-05-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* manual/stdio.texi: Fix some typos.
Diffstat (limited to 'sysdeps/unix/configure')
-rwxr-xr-xsysdeps/unix/configure7
1 files changed, 4 insertions, 3 deletions
diff --git a/sysdeps/unix/configure b/sysdeps/unix/configure
index b7eff0368d..0acc2277b0 100755
--- a/sysdeps/unix/configure
+++ b/sysdeps/unix/configure
@@ -6,7 +6,7 @@ for ac_func in strerror
 do
 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 echo "configure:9: checking for $ac_func" >&5
-if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
+if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
@@ -19,6 +19,7 @@ else
 /* 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() {
 
@@ -28,12 +29,12 @@ int main() {
 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 choke me
 #else
-$ac_func();
+f = $ac_func;
 #endif
 
 ; return 0; }
 EOF
-if { (eval echo configure:37: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:38: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_func_$ac_func=yes"
 else