diff options
author | Roland McGrath <roland@redhat.com> | 1995-03-08 18:09:30 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1995-03-08 18:09:30 +0000 |
commit | 3aabdf96a15a6a9f896ebf3eedf260ad38fc1f23 (patch) | |
tree | 8c154256afaf41dc9449326b5b61484d890abae0 /configure | |
parent | 55b99d4151fad01fdb4101dc57a3fd1cc68b5096 (diff) | |
download | gunmake-3aabdf96a15a6a9f896ebf3eedf260ad38fc1f23.tar.gz |
.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 75 |
1 files changed, 38 insertions, 37 deletions
@@ -1,6 +1,6 @@ #! /bin/sh -# From configure.in Id: configure.in,v 1.47 1995/02/22 03:18:18 roland Exp +# From configure.in Id: configure.in,v 1.47 1995/02/22 03:18:18 roland Alpha # Guess values for system-dependent variables and create Makefiles. # Generated automatically using autoconf version 2.1.3 # Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc. @@ -1551,19 +1551,19 @@ rm -f conftest* fi echo "$ac_t""$ac_cv_os_cray" 1>&6 if test $ac_cv_os_cray = yes; then -for func in _getb67 GETB67 getb67; do - echo $ac_n "checking for $func""... $ac_c" 1>&6 -if eval "test \"`echo '$''{'ac_cv_func_$func'+set}'`\" = set"; then +for ac_func in _getb67 GETB67 getb67; do + echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF #line 1561 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $func(); below. */ + which can conflict with char $ac_func(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ -char $func(); +char $ac_func(); int main() { return 0; } int t() { @@ -1571,30 +1571,31 @@ int t() { /* 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_$func) || defined (__stub___$func) +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -$func(); +$ac_func(); #endif ; return 0; } EOF if eval $ac_link; then rm -rf conftest* - eval "ac_cv_func_$func=yes" + eval "ac_cv_func_$ac_func=yes" else rm -rf conftest* - eval "ac_cv_func_$func=no" + eval "ac_cv_func_$ac_func=no" fi rm -f conftest* fi -if eval "test \"`echo '$ac_cv_func_'$func`\" = yes"; then +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<EOF -#define CRAY_STACKSEG_END $func +#define CRAY_STACKSEG_END $ac_func EOF -; break + + break else echo "$ac_t""no" 1>&6 fi @@ -1610,7 +1611,7 @@ else ac_cv_c_stack_direction=0 else cat > conftest.$ac_ext <<EOF -#line 1614 "configure" +#line 1615 "configure" #include "confdefs.h" find_stack_direction () { @@ -1651,7 +1652,7 @@ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 1655 "configure" +#line 1656 "configure" #include "confdefs.h" #include <vfork.h> EOF @@ -1685,7 +1686,7 @@ else ac_cv_func_vfork=no else cat > conftest.$ac_ext <<EOF -#line 1689 "configure" +#line 1690 "configure" #include "confdefs.h" /* Thanks to Paul Eggert for this test. */ #include <stdio.h> @@ -1803,7 +1804,7 @@ else { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext <<EOF -#line 1807 "configure" +#line 1808 "configure" #include "confdefs.h" #include <stdio.h> /* If setvbuf has the reversed format, exit 0. */ @@ -1847,7 +1848,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lelf $LIBS" cat > conftest.$ac_ext <<EOF -#line 1851 "configure" +#line 1852 "configure" #include "confdefs.h" int main() { return 0; } @@ -1880,7 +1881,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lkvm $LIBS" cat > conftest.$ac_ext <<EOF -#line 1884 "configure" +#line 1885 "configure" #include "confdefs.h" int main() { return 0; } @@ -1914,7 +1915,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lutil $LIBS" cat > conftest.$ac_ext <<EOF -#line 1918 "configure" +#line 1919 "configure" #include "confdefs.h" int main() { return 0; } @@ -1952,7 +1953,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lgetloadavg $LIBS" cat > conftest.$ac_ext <<EOF -#line 1956 "configure" +#line 1957 "configure" #include "confdefs.h" int main() { return 0; } @@ -1989,7 +1990,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 1993 "configure" +#line 1994 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -2047,7 +2048,7 @@ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2051 "configure" +#line 2052 "configure" #include "confdefs.h" #include <sys/dg_sys_info.h> EOF @@ -2076,7 +2077,7 @@ else ac_save_LIBS="$LIBS" LIBS="-ldgc $LIBS" cat > conftest.$ac_ext <<EOF -#line 2080 "configure" +#line 2081 "configure" #include "confdefs.h" int main() { return 0; } @@ -2130,7 +2131,7 @@ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2134 "configure" +#line 2135 "configure" #include "confdefs.h" #include <inq_stats/cpustats.h> EOF @@ -2169,7 +2170,7 @@ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2173 "configure" +#line 2174 "configure" #include "confdefs.h" #include <sys/cpustats.h> EOF @@ -2206,7 +2207,7 @@ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2210 "configure" +#line 2211 "configure" #include "confdefs.h" #include <$ac_hdr> EOF @@ -2242,7 +2243,7 @@ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2246 "configure" +#line 2247 "configure" #include "confdefs.h" #include <nlist.h> EOF @@ -2269,7 +2270,7 @@ EOF echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2273 "configure" +#line 2274 "configure" #include "confdefs.h" #include <nlist.h> int main() { return 0; } @@ -2306,7 +2307,7 @@ if eval "test \"`echo '$''{'ac_cv_func_getloadavg_setgid'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2310 "configure" +#line 2311 "configure" #include "confdefs.h" #include "$srcdir/getloadavg.c" #ifdef LDAV_PRIVILEGED @@ -2361,7 +2362,7 @@ else ac_cv_func_strcoll=no else cat > conftest.$ac_ext <<EOF -#line 2365 "configure" +#line 2366 "configure" #include "confdefs.h" #include <string.h> main () @@ -2395,7 +2396,7 @@ if test $ac_cv_func_getdtablesize = no; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2399 "configure" +#line 2400 "configure" #include "confdefs.h" #include <unistd.h> int main() { return 0; } @@ -2432,7 +2433,7 @@ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2436 "configure" +#line 2437 "configure" #include "confdefs.h" #include <$ac_hdr> EOF @@ -2466,7 +2467,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2470 "configure" +#line 2471 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -2515,7 +2516,7 @@ if eval "test \"`echo '$''{'make_cv_union_wait'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2519 "configure" +#line 2520 "configure" #include "confdefs.h" #include <sys/types.h> #include <sys/wait.h> @@ -2563,7 +2564,7 @@ if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2567 "configure" +#line 2568 "configure" #include "confdefs.h" #include <sys/types.h> #include <signal.h> @@ -2604,7 +2605,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lsun $LIBS" cat > conftest.$ac_ext <<EOF -#line 2608 "configure" +#line 2609 "configure" #include "confdefs.h" int main() { return 0; } |