From 14519931aee383dd66ddf97bcc8d96c03e4976b4 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 24 Nov 2002 23:11:14 +0000 Subject: [PATCH] 2002-11-24 Roland McGrath * configure.in: Skip AUTOCONF check under --without-cvs. * configure: Regenerated. --- configure | 38 ++++++++++++++++++++------------------ configure.in | 30 ++++++++++++++++-------------- 2 files changed, 36 insertions(+), 32 deletions(-) diff --git a/configure b/configure index 0176878bfe..3d0a5e9583 100755 --- a/configure +++ b/configure @@ -2503,7 +2503,8 @@ if test $ac_verc_fail = yes; then fi -for ac_prog in autoconf +if test "x$with_cvs" != xyes; then + for ac_prog in autoconf do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 @@ -2544,26 +2545,27 @@ fi done test -n "$AUTOCONF" || AUTOCONF="no" -case "x$AUTOCONF" in -xno|x|x:) AUTOCONF=no ;; -*) - echo "$as_me:$LINENO: checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works" >&5 + case "x$AUTOCONF" in + xno|x|x:) AUTOCONF=no ;; + *) + echo "$as_me:$LINENO: checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works" >&5 echo $ECHO_N "checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works... $ECHO_C" >&6 if test "${libc_cv_autoconf_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - if (cd $srcdir; $AUTOCONF $ACFLAGS configure.in > /dev/null 2>&1); then - libc_cv_autoconf_works=yes - else - libc_cv_autoconf_works=no - fi + if (cd $srcdir; $AUTOCONF $ACFLAGS configure.in > /dev/null 2>&1); then + libc_cv_autoconf_works=yes + else + libc_cv_autoconf_works=no + fi fi echo "$as_me:$LINENO: result: $libc_cv_autoconf_works" >&5 echo "${ECHO_T}$libc_cv_autoconf_works" >&6 - test $libc_cv_autoconf_works = yes || AUTOCONF=no - ;; -esac -test "x$AUTOCONF" != xno || aux_missing="$aux_missing autoconf" + test $libc_cv_autoconf_works = yes || AUTOCONF=no + ;; + esac + test "x$AUTOCONF" != xno || aux_missing="$aux_missing autoconf" +fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -5003,7 +5005,7 @@ if test "${libc_cv_asm_underscores+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat > conftest.$ac_ext <&6 else cat > conftest.c <&6 else cat > conftest.c <&6 else cat > conftest.c < /dev/null 2>&1); then - libc_cv_autoconf_works=yes - else - libc_cv_autoconf_works=no - fi]) - test $libc_cv_autoconf_works = yes || AUTOCONF=no - ;; -esac -test "x$AUTOCONF" != xno || aux_missing="$aux_missing autoconf" + if (cd $srcdir; $AUTOCONF $ACFLAGS configure.in > /dev/null 2>&1); then + libc_cv_autoconf_works=yes + else + libc_cv_autoconf_works=no + fi]) + test $libc_cv_autoconf_works = yes || AUTOCONF=no + ;; + esac + test "x$AUTOCONF" != xno || aux_missing="$aux_missing autoconf" +fi AC_PROG_CC if test $host != $build; then -- 2.43.5