aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-02-13 16:09:47 +0000
committerRoland McGrath <roland@gnu.org>1996-02-13 16:09:47 +0000
commitc6de69687174638ad7e94fca30b352521ba8bed8 (patch)
tree1cd6e20ae18f83082ed612a6a2fc4cb2244be5b0 /configure
parentae4c4dae36998c94c1fdb8983777e173660fa956 (diff)
downloadglibc-c6de69687174638ad7e94fca30b352521ba8bed8.zip
glibc-c6de69687174638ad7e94fca30b352521ba8bed8.tar.gz
glibc-c6de69687174638ad7e94fca30b352521ba8bed8.tar.bz2
(ipc): Specify msgget in caller column.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure36
1 files changed, 20 insertions, 16 deletions
diff --git a/configure b/configure
index 4f17001..ce9930e 100755
--- a/configure
+++ b/configure
@@ -520,12 +520,9 @@ fi
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
-ac_cpp='echo $CPP $CPPFLAGS 1>&5;
-$CPP $CPPFLAGS'
-ac_compile='echo ${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5;
-${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5 2>&5'
-ac_link='echo ${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5;
-${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5 2>&5'
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
@@ -1150,12 +1147,13 @@ else
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
cat > conftest.$ac_ext <<EOF
-#line 1154 "configure"
+#line 1151 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
-eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+{ (eval echo configure:1157: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
:
@@ -1164,12 +1162,13 @@ else
rm -rf conftest*
CPP="${CC-cc} -E -traditional-cpp"
cat > conftest.$ac_ext <<EOF
-#line 1168 "configure"
+#line 1166 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
-eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+{ (eval echo configure:1172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
:
@@ -1218,7 +1217,7 @@ if eval "test \"`echo '$''{'libc_cv_friendly_stddef'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.$ac_ext <<EOF
-#line 1222 "configure"
+#line 1221 "configure"
#include "confdefs.h"
#define __need_size_t
#define __need_wchar_t
@@ -1234,7 +1233,7 @@ size_t size; wchar_t wchar;
if (&size == NULL || &wchar == NULL) abort ();
; return 0; }
EOF
-if eval $ac_compile; then
+if { (eval echo configure:1237: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
libc_cv_friendly_stddef=yes
else
@@ -1341,7 +1340,7 @@ if eval "test \"`echo '$''{'libc_cv_have_initfini'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.$ac_ext <<EOF
-#line 1345 "configure"
+#line 1344 "configure"
#include "confdefs.h"
int main() { return 0; }
@@ -1350,7 +1349,7 @@ asm (".section .init");
asm (".section .fini");
; return 0; }
EOF
-if eval $ac_compile; then
+if { (eval echo configure:1353: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
libc_cv_have_initfini=yes
else
@@ -1382,9 +1381,14 @@ for dir in $sysnames; do
echo "$ac_t""running configure fragment for $dir" 1>&4
. $sysdep_dir/$dir/configure
fi
+
if test -z "$uname"; then
- { test -r $sysdep_dir/$dir/uname.c || test -r $sysdep_dir/$dir/uname.S; } \
- && uname=$dir
+ if test -r $sysdep_dir/$dir/uname.c ||
+ test -r $sysdep_dir/$dir/uname.S ||
+ { test -r $sysdep_dir/$dir/syscalls.list &&
+ grep '^uname[ ]' $sysdep_dir/$dir/syscalls.list >/dev/null; }; then
+ uname=$dir
+ fi
fi
done