This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] Fix PR 9863
- From: neroden at twcny dot rr dot com (Nathanael Nerode)
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 24 Oct 2003 16:36:55 -0400
- Subject: [patch] Fix PR 9863
Will commit (since I maintain this section) unless there are complaints.
* configure.in: Bail out if awk is missing.
* configure: Regenerate.
Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/configure.in,v
retrieving revision 1.746
diff -u -r1.746 configure.in
--- configure.in 23 Oct 2003 05:37:44 -0000 1.746
+++ configure.in 24 Oct 2003 20:34:40 -0000
@@ -586,6 +586,12 @@
# Find some useful tools
AC_PROG_AWK
+# We need awk to run opts.sh (to create options.c and options.h).
+# Bail out if it's missing.
+case ${AWK} in
+ "") AC_MSG_ERROR([can't build without awk, bailing out]) ;;
+esac
+
gcc_AC_PROG_LN
gcc_AC_PROG_LN_S
AC_PROG_RANLIB
--
Nathanael Nerode <neroden at gcc.gnu.org>
http://home.twcny.rr.com/nerode/neroden/fdl.html