/[bison]/bison/configure.ac
ViewVC logotype

Diff of /bison/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.11 by eggert, Mon Oct 7 04:51:50 2002 UTC revision 1.12 by akim, Sun Oct 13 18:49:44 2002 UTC
# Line 26  AC_CONFIG_AUX_DIR(config) Line 26  AC_CONFIG_AUX_DIR(config)
26  AM_INIT_AUTOMAKE([1.7 check-news readme-alpha dist-bzip2])  AM_INIT_AUTOMAKE([1.7 check-news readme-alpha dist-bzip2])
27  AC_CONFIG_HEADERS([config.h:config.hin])  AC_CONFIG_HEADERS([config.h:config.hin])
28    
29  # Initialize the test suite.  # Checks for the compiler.
 AC_CONFIG_TESTDIR(tests)  
 AC_CONFIG_FILES([tests/Makefile tests/atlocal])  
 AC_CONFIG_FILES([tests/bison], [chmod +x tests/bison])  
 # Needed by tests/atlocal.in.  
 AC_SUBST([GCC])  
   
 # Checks for programs.  
30  AC_PROG_CC  AC_PROG_CC
31  AM_PROG_LEX  # Remove with Automake 1.8.
 AC_PROG_YACC  
 AC_MINIX  
32  AC_ISC_POSIX  AC_ISC_POSIX
33    AC_GNU_SOURCE
34    AC_MINIX
35  AM_PROG_CC_STDC  AM_PROG_CC_STDC
 AC_PROG_RANLIB  
 AM_MISSING_PROG([AUTOM4TE], [autom4te])  
 BISON_PROG_GNU_M4  
 if test x"$ac_cv_prog_gnu_m4" != xyes; then  
   AC_MSG_ERROR([GNU M4 1.4 is required])  
 fi  
 AC_DEFINE_UNQUOTED([M4], ["$M4"], [Define to the GNU M4 executable name.])  
   
36  AC_ARG_ENABLE(gcc-warnings,  AC_ARG_ENABLE(gcc-warnings,
37  [  --enable-gcc-warnings   turn on lots of GCC warnings (not recommended)],  [  --enable-gcc-warnings   turn on lots of GCC warnings (not recommended)],
38  [case "${enableval}" in  [case "${enableval}" in
# Line 73  if test "${enableval}" = yes; then Line 58  if test "${enableval}" = yes; then
58    BISON_WARNING(-Wwrite-strings)    BISON_WARNING(-Wwrite-strings)
59  fi  fi
60    
61  # Checks for libraries.  # Checks for programs.
62  AC_DEFINE([_GNU_SOURCE],1,[Define to 1 for GNU C library extensions.])  AM_PROG_LEX
63    AC_PROG_YACC
64    AC_PROG_RANLIB
65    BISON_PROG_GNU_M4
66    if test x"$ac_cv_prog_gnu_m4" != xyes; then
67      AC_MSG_ERROR([GNU M4 1.4 is required])
68    fi
69    AC_DEFINE_UNQUOTED([M4], ["$M4"], [Define to the GNU M4 executable name.])
70    
71  # Checks for header files.  # Checks for header files.
72  AC_HEADER_STDC  AC_HEADER_STDC
# Line 110  BISON_PREREQ_TIMEVAR Line 102  BISON_PREREQ_TIMEVAR
102  AM_GNU_GETTEXT(external, need-ngettext)  AM_GNU_GETTEXT(external, need-ngettext)
103  AM_GNU_GETTEXT_VERSION(0.11.5)  AM_GNU_GETTEXT_VERSION(0.11.5)
104    
105    # Initialize the test suite.
106    AC_CONFIG_TESTDIR(tests)
107    AC_CONFIG_FILES([tests/Makefile tests/atlocal])
108    AC_CONFIG_FILES([tests/bison], [chmod +x tests/bison])
109    AC_CHECK_PROGS([VALGRIND], [valgrind])
110    AC_CHECK_PROGS([GXX], [g++])
111    AM_MISSING_PROG([AUTOM4TE], [autom4te])
112    # Needed by tests/atlocal.in.
113    AC_SUBST([GCC])
114    O0CFLAGS=`echo $CFLAGS | sed 's/-O[0-9] *//'`
115    AC_SUBST([O0CFLAGS])
116    
117  AC_CONFIG_FILES([Makefile  AC_CONFIG_FILES([Makefile
118                   config/Makefile                   config/Makefile
119                   po/Makefile.in                   po/Makefile.in

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26