From 587dbc6fe800892bbeeac210f5c9079a3ef70d8c Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 22 Jul 1995 10:55:44 +0000 Subject: * Makefile (autoconf-it): Make it executable and unwritable. * configure.in (sysnames): Under --enable-debug-configure, spew potential sysnames. --- configure | 82 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 43 insertions(+), 39 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 466006b..3619897 100755 --- a/configure +++ b/configure @@ -2,7 +2,7 @@ # From configure.in CVSid # Guess values for system-dependent variables and create Makefiles. -# Generated automatically using autoconf version 2.3 +# Generated automatically using autoconf version 2.4 # Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc. # # This configure script is free software; the Free Software Foundation @@ -237,7 +237,7 @@ EOF verbose=yes ;; -version | --version | --versio | --versi | --vers) - echo "configure generated by autoconf version 2.3" + echo "configure generated by autoconf version 2.4" exit 0 ;; -with-* | --with-*) @@ -624,9 +624,9 @@ netbsd* | 386bsd* | freebsd* | bsdi*) base_os=unix/bsd/bsd4.4 ;; osf* | sunos* | ultrix* | newsos* | dynix* | *bsd*) base_os=unix/bsd ;; -linux* | sysv* | isc* | esix* | sco* | minix* | irix4*) +sysv* | isc* | esix* | sco* | minix* | irix4*) base_os=unix/sysv ;; -solaris[2-9]*) +linux* | solaris[2-9]*) base_os=unix/sysv/sysv4 ;; none) base_os=standalone ;; @@ -677,6 +677,7 @@ for b in $base ''; do for o in /$ostry ''; do for m in $mach ''; do try="$m0$b$v$o$m" + test -n "$enable_debug_configure" && echo "$0 DEBUG: try $try" >&2 if test -d $sysdep_dir$try; then sysnames="$sysnames $try" { test -n "$o" || test -n "$b"; } && os_used=t @@ -997,7 +998,7 @@ else # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext < Syntax Error @@ -1011,7 +1012,7 @@ else rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext < Syntax Error @@ -1030,8 +1031,10 @@ fi rm -f conftest* ac_cv_prog_CPP="$CPP" fi + CPP="$ac_cv_prog_CPP" +else + ac_cv_prog_CPP="$CPP" fi -CPP="$ac_cv_prog_CPP" echo "$ac_t""$CPP" 1>&4 @@ -1063,7 +1066,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 <&4 +if eval "test \"`echo '$''{'libc_cv_asm_global_directive'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&4 +else + libc_cv_asm_global_directive=UNKNOWN +for ac_globl in .globl .global; do + cat > conftest.s </dev/null; then + libc_cv_asm_global_directive=${ac_globl} + fi + rm -f conftest* + test $libc_cv_asm_global_directive != UNKNOWN && break +done +fi + +echo "$ac_t""$libc_cv_asm_global_directive" 1>&4 +if test $libc_cv_asm_global_directive = UNKNOWN; then + { echo "configure: error: cannot determine asm global directive" 1>&2; exit 1; } +else + cat >> confdefs.h <&4 if eval "test \"`echo '$''{'libc_cv_asm_set_directive'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&4 else - cat > conftest.s <<\EOF + cat > conftest.s <&4 -if eval "test \"`echo '$''{'libc_cv_asm_global_directive'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&4 -else - libc_cv_asm_global_directive=UNKNOWN -for ac_globl in .globl .global; do - cat > conftest.s </dev/null; then - libc_cv_asm_global_directive=${ac_globl} - fi - rm -f conftest* - test $libc_cv_asm_global_directive != UNKNOWN && break -done -fi - -echo "$ac_t""$libc_cv_asm_global_directive" 1>&4 -if test $libc_cv_asm_global_directive = UNKNOWN; then - { echo "configure: error: cannot determine asm global directive" 1>&2; exit 1; } -else - cat >> confdefs.h <