diff options
author | Roland McGrath <roland@gnu.org> | 1996-02-13 16:09:47 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1996-02-13 16:09:47 +0000 |
commit | c6de69687174638ad7e94fca30b352521ba8bed8 (patch) | |
tree | 1cd6e20ae18f83082ed612a6a2fc4cb2244be5b0 | |
parent | ae4c4dae36998c94c1fdb8983777e173660fa956 (diff) | |
download | glibc-c6de69687174638ad7e94fca30b352521ba8bed8.tar.gz glibc-c6de69687174638ad7e94fca30b352521ba8bed8.tar.xz glibc-c6de69687174638ad7e94fca30b352521ba8bed8.zip |
(ipc): Specify msgget in caller column.
-rwxr-xr-x | configure | 36 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/syscalls.list | 2 |
2 files changed, 21 insertions, 17 deletions
diff --git a/configure b/configure index 4f17001a8b..ce9930e964 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 diff --git a/sysdeps/unix/sysv/linux/syscalls.list b/sysdeps/unix/sysv/linux/syscalls.list index cba83ea575..7ed7282a70 100644 --- a/sysdeps/unix/sysv/linux/syscalls.list +++ b/sysdeps/unix/sysv/linux/syscalls.list @@ -6,7 +6,7 @@ getpgid - getpgid 1 getpgid getpgrp - getpgrp 0 getpgrp getsid - getsid 1 getsid gtty - gtty 2 gtty -ipc - ipc 5 __ipc +ipc msgget ipc 5 __ipc mlock - mlock 2 __mlock mlock mlockall - mlockall 1 __mlockall mlockall mount - mount 5 __mount mount |