From 9039e728b2015b54dc87da52f450c27683303392 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 23 Apr 2007 21:22:24 +0000 Subject: All system headers (except Boost) now included through system.hh; also, added support for pre-compiled headers since I'm now using a centralized resource for system headers. --- configure.in | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 8bb6247f..1ff68b20 100644 --- a/configure.in +++ b/configure.in @@ -17,14 +17,13 @@ AC_PROG_MAKE_SET AC_PROG_LIBTOOL AM_PROG_LIBTOOL -AC_PROG_YACC - -AC_PROG_LEX -if test "$LEX" != flex; then - LEX="$SHELL $missing_dir/missing flex" - AC_SUBST(LEX_OUTPUT_ROOT, lex.yy) - AC_SUBST(LEXLIB, '') -fi +#AC_PROG_YACC +#AC_PROG_LEX +#if test "$LEX" != flex; then +# LEX="$SHELL $missing_dir/missing flex" +# AC_SUBST(LEX_OUTPUT_ROOT, lex.yy) +# AC_SUBST(LEXLIB, '') +#fi # Checks for emacs lisp path AM_PATH_LISPDIR @@ -317,6 +316,16 @@ AC_ARG_ENABLE(debug, AM_CONDITIONAL(DEBUG, test x$debug = xtrue) +AC_ARG_ENABLE(pch, + [ --enable-pch Use GCC 4.x pre-compiled headers], + [case "${enableval}" in + yes) pch=true ;; + no) pch=false ;; + *) AC_MSG_ERROR(bad value ${enableval} for --enable-pch) ;; + esac],[pch=true]) + +AM_CONDITIONAL(USE_PCH, test x$pch = xtrue) + # Checks for header files. AC_STDC_HEADERS AC_HAVE_HEADERS(sys/stat.h langinfo.h) -- cgit v1.2.3