diff options
author | Fred Fish <fnf@specifix.com> | 1995-10-10 20:19:44 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1995-10-10 20:19:44 +0000 |
commit | 204c88253887045f0e9a0a7a858c36d8d60af72d (patch) | |
tree | 683ab2f57144488f55241dd668982157dbf624a1 /gdb/configure | |
parent | 1e02f0789d92fa80b8bca99d6e5d57e7223979a4 (diff) | |
download | gdb-204c88253887045f0e9a0a7a858c36d8d60af72d.zip gdb-204c88253887045f0e9a0a7a858c36d8d60af72d.tar.gz gdb-204c88253887045f0e9a0a7a858c36d8d60af72d.tar.bz2 |
Regenerate
Diffstat (limited to 'gdb/configure')
-rwxr-xr-x | gdb/configure | 68 |
1 files changed, 51 insertions, 17 deletions
diff --git a/gdb/configure b/gdb/configure index d16de48..b21ee8a 100755 --- a/gdb/configure +++ b/gdb/configure @@ -841,6 +841,39 @@ else echo "$ac_t""no" 1>&6 fi +for ac_prog in 'bison -y' byacc +do +# Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test -n "$YACC"; then + ac_cv_prog_YACC="$YACC" # Let the user override the test. +else + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" + for ac_dir in $PATH; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_prog_YACC="$ac_prog" + break + fi + done + IFS="$ac_save_ifs" +fi +fi +YACC="$ac_cv_prog_YACC" +if test -n "$YACC"; then + echo "$ac_t""$YACC" 1>&6 +else + echo "$ac_t""no" 1>&6 +fi + +test -n "$YACC" && break +done +test -n "$YACC" || YACC="yacc" + ac_aux_dir= for ac_dir in `cd $srcdir;pwd`/.. $srcdir/`cd $srcdir;pwd`/..; do @@ -974,7 +1007,7 @@ else ac_cv_c_cross=yes else cat > conftest.$ac_ext <<EOF -#line 978 "configure" +#line 1011 "configure" #include "confdefs.h" main(){return(0);} EOF @@ -996,7 +1029,7 @@ if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 1000 "configure" +#line 1033 "configure" #include "confdefs.h" #include <stdlib.h> #include <stdarg.h> @@ -1018,7 +1051,7 @@ rm -f conftest* if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat > conftest.$ac_ext <<EOF -#line 1022 "configure" +#line 1055 "configure" #include "confdefs.h" #include <string.h> EOF @@ -1036,7 +1069,7 @@ fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat > conftest.$ac_ext <<EOF -#line 1040 "configure" +#line 1073 "configure" #include "confdefs.h" #include <stdlib.h> EOF @@ -1057,7 +1090,7 @@ if test "$cross_compiling" = yes; then ac_cv_header_stdc=no else cat > conftest.$ac_ext <<EOF -#line 1061 "configure" +#line 1094 "configure" #include "confdefs.h" #include <ctype.h> #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') @@ -1095,7 +1128,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 1099 "configure" +#line 1132 "configure" #include "confdefs.h" #include <$ac_hdr> EOF @@ -1128,7 +1161,7 @@ if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 1132 "configure" +#line 1165 "configure" #include "confdefs.h" #include <sys/types.h> #include <sys/stat.h> @@ -1187,7 +1220,7 @@ else ac_cv_func_mmap=no else cat > conftest.$ac_ext <<EOF -#line 1191 "configure" +#line 1224 "configure" #include "confdefs.h" /* Thanks to Mike Haertel and Jim Avera for this test. */ @@ -1376,7 +1409,7 @@ test -z "$x_direct_test_library" && x_direct_test_library=Xt test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h cat > conftest.$ac_ext <<EOF -#line 1380 "configure" +#line 1413 "configure" #include "confdefs.h" #include <$x_direct_test_include> EOF @@ -1439,7 +1472,7 @@ rm -f conftest* ac_save_LIBS="$LIBS" LIBS="-l$x_direct_test_library $LIBS" cat > conftest.$ac_ext <<EOF -#line 1443 "configure" +#line 1476 "configure" #include "confdefs.h" int main() { return 0; } @@ -1558,7 +1591,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lICE $LIBS" cat > conftest.$ac_ext <<EOF -#line 1562 "configure" +#line 1595 "configure" #include "confdefs.h" int main() { return 0; } @@ -1602,7 +1635,7 @@ else ac_save_LIBS="$LIBS" LIBS="-ldnet $LIBS" cat > conftest.$ac_ext <<EOF -#line 1606 "configure" +#line 1639 "configure" #include "confdefs.h" int main() { return 0; } @@ -1637,7 +1670,7 @@ else ac_save_LIBS="$LIBS" LIBS="-ldnet_stub $LIBS" cat > conftest.$ac_ext <<EOF -#line 1641 "configure" +#line 1674 "configure" #include "confdefs.h" int main() { return 0; } @@ -1677,7 +1710,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lnsl $LIBS" cat > conftest.$ac_ext <<EOF -#line 1681 "configure" +#line 1714 "configure" #include "confdefs.h" int main() { return 0; } @@ -1716,7 +1749,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lsocket $LIBS" cat > conftest.$ac_ext <<EOF -#line 1720 "configure" +#line 1753 "configure" #include "confdefs.h" int main() { return 0; } @@ -1773,7 +1806,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 1777 "configure" +#line 1810 "configure" #include "confdefs.h" #include <tk.h> EOF @@ -1875,7 +1908,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 1879 "configure" +#line 1912 "configure" #include "confdefs.h" #include <tclInt.h> EOF @@ -2532,6 +2565,7 @@ s%@CPP@%$CPP%g s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g s%@INSTALL_DATA@%$INSTALL_DATA%g s%@RANLIB@%$RANLIB%g +s%@YACC@%$YACC%g s%@host@%$host%g s%@host_alias@%$host_alias%g s%@host_cpu@%$host_cpu%g |