2002-11-24 Roland McGrath <roland@redhat.com>
* configure.in: Skip AUTOCONF check under --without-cvs. * configure: Regenerated.
This commit is contained in:
parent
d7a5c7e70e
commit
14519931ae
38
configure
vendored
38
configure
vendored
@ -2503,7 +2503,8 @@ if test $ac_verc_fail = yes; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
for ac_prog in autoconf
|
if test "x$with_cvs" != xyes; then
|
||||||
|
for ac_prog in autoconf
|
||||||
do
|
do
|
||||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||||
set dummy $ac_prog; ac_word=$2
|
set dummy $ac_prog; ac_word=$2
|
||||||
@ -2544,26 +2545,27 @@ fi
|
|||||||
done
|
done
|
||||||
test -n "$AUTOCONF" || AUTOCONF="no"
|
test -n "$AUTOCONF" || AUTOCONF="no"
|
||||||
|
|
||||||
case "x$AUTOCONF" in
|
case "x$AUTOCONF" in
|
||||||
xno|x|x:) AUTOCONF=no ;;
|
xno|x|x:) AUTOCONF=no ;;
|
||||||
*)
|
*)
|
||||||
echo "$as_me:$LINENO: checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works" >&5
|
echo "$as_me:$LINENO: checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works" >&5
|
||||||
echo $ECHO_N "checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works... $ECHO_C" >&6
|
echo $ECHO_N "checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works... $ECHO_C" >&6
|
||||||
if test "${libc_cv_autoconf_works+set}" = set; then
|
if test "${libc_cv_autoconf_works+set}" = set; then
|
||||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||||
else
|
else
|
||||||
if (cd $srcdir; $AUTOCONF $ACFLAGS configure.in > /dev/null 2>&1); then
|
if (cd $srcdir; $AUTOCONF $ACFLAGS configure.in > /dev/null 2>&1); then
|
||||||
libc_cv_autoconf_works=yes
|
libc_cv_autoconf_works=yes
|
||||||
else
|
else
|
||||||
libc_cv_autoconf_works=no
|
libc_cv_autoconf_works=no
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
echo "$as_me:$LINENO: result: $libc_cv_autoconf_works" >&5
|
echo "$as_me:$LINENO: result: $libc_cv_autoconf_works" >&5
|
||||||
echo "${ECHO_T}$libc_cv_autoconf_works" >&6
|
echo "${ECHO_T}$libc_cv_autoconf_works" >&6
|
||||||
test $libc_cv_autoconf_works = yes || AUTOCONF=no
|
test $libc_cv_autoconf_works = yes || AUTOCONF=no
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
test "x$AUTOCONF" != xno || aux_missing="$aux_missing autoconf"
|
test "x$AUTOCONF" != xno || aux_missing="$aux_missing autoconf"
|
||||||
|
fi
|
||||||
|
|
||||||
ac_ext=c
|
ac_ext=c
|
||||||
ac_cpp='$CPP $CPPFLAGS'
|
ac_cpp='$CPP $CPPFLAGS'
|
||||||
@ -5003,7 +5005,7 @@ if test "${libc_cv_asm_underscores+set}" = set; then
|
|||||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 5006 "configure"
|
#line 5008 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
void underscore_test(void) {
|
void underscore_test(void) {
|
||||||
return; }
|
return; }
|
||||||
@ -5263,7 +5265,7 @@ if test "${libc_cv_gcc_dwarf2_unwind_info+set}" = set; then
|
|||||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||||
else
|
else
|
||||||
cat > conftest.c <<EOF
|
cat > conftest.c <<EOF
|
||||||
#line 5266 "configure"
|
#line 5268 "configure"
|
||||||
static char *__EH_FRAME_BEGIN__;
|
static char *__EH_FRAME_BEGIN__;
|
||||||
_start ()
|
_start ()
|
||||||
{
|
{
|
||||||
@ -5363,7 +5365,7 @@ if test "${libc_cv_gcc_builtin_expect+set}" = set; then
|
|||||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||||
else
|
else
|
||||||
cat > conftest.c <<EOF
|
cat > conftest.c <<EOF
|
||||||
#line 5366 "configure"
|
#line 5368 "configure"
|
||||||
int foo (int a)
|
int foo (int a)
|
||||||
{
|
{
|
||||||
a = __builtin_expect (a, 10);
|
a = __builtin_expect (a, 10);
|
||||||
@ -5431,7 +5433,7 @@ if test "${libc_cv_gcc_subtract_local_labels+set}" = set; then
|
|||||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||||
else
|
else
|
||||||
cat > conftest.c <<EOF
|
cat > conftest.c <<EOF
|
||||||
#line 5434 "configure"
|
#line 5436 "configure"
|
||||||
int foo (int a)
|
int foo (int a)
|
||||||
{
|
{
|
||||||
static const int ar[] = { &&l1 - &&l1, &&l2 - &&l1 };
|
static const int ar[] = { &&l1 - &&l1, &&l2 - &&l1 };
|
||||||
|
30
configure.in
30
configure.in
@ -673,21 +673,23 @@ AC_CHECK_PROG_VER(SED, sed, --version,
|
|||||||
[3.0[2-9]*|3.[1-9]*|[4-9]*],
|
[3.0[2-9]*|3.[1-9]*|[4-9]*],
|
||||||
SED=: aux_missing="$aux_missing sed")
|
SED=: aux_missing="$aux_missing sed")
|
||||||
|
|
||||||
AC_CHECK_PROGS(AUTOCONF, autoconf, no)
|
if test "x$with_cvs" != xyes; then
|
||||||
case "x$AUTOCONF" in
|
AC_CHECK_PROGS(AUTOCONF, autoconf, no)
|
||||||
xno|x|x:) AUTOCONF=no ;;
|
case "x$AUTOCONF" in
|
||||||
*)
|
xno|x|x:) AUTOCONF=no ;;
|
||||||
AC_CACHE_CHECK(dnl
|
*)
|
||||||
|
AC_CACHE_CHECK(dnl
|
||||||
whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works, libc_cv_autoconf_works, [dnl
|
whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works, libc_cv_autoconf_works, [dnl
|
||||||
if (cd $srcdir; $AUTOCONF $ACFLAGS configure.in > /dev/null 2>&1); then
|
if (cd $srcdir; $AUTOCONF $ACFLAGS configure.in > /dev/null 2>&1); then
|
||||||
libc_cv_autoconf_works=yes
|
libc_cv_autoconf_works=yes
|
||||||
else
|
else
|
||||||
libc_cv_autoconf_works=no
|
libc_cv_autoconf_works=no
|
||||||
fi])
|
fi])
|
||||||
test $libc_cv_autoconf_works = yes || AUTOCONF=no
|
test $libc_cv_autoconf_works = yes || AUTOCONF=no
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
test "x$AUTOCONF" != xno || aux_missing="$aux_missing autoconf"
|
test "x$AUTOCONF" != xno || aux_missing="$aux_missing autoconf"
|
||||||
|
fi
|
||||||
|
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
if test $host != $build; then
|
if test $host != $build; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user