home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 6 / FreshFish_September1994.bin / bbs / gnu / gawk-2.15.5-src.lha / GNU / src / amiga / gawk-2.15.5 / configure.in < prev    next >
Encoding:
Text File  |  1994-06-13  |  714 b   |  29 lines

  1. dnl Process this file with autoconf to produce a configure script.
  2. AC_INIT(awk.y)
  3. AC_CONFIG_HEADER(config.h)
  4.  
  5. # We want these before the checks, so the checks can modify their values.
  6. test -z "$CFLAGS" && CFLAGS= auto_cflags=1
  7. test -z "$LDFLAGS" && LDFLAGS=
  8.  
  9. AC_PROG_CC
  10.  
  11. # If we're using gcc and the user hasn't specified CFLAGS, add -O to CFLAGS.
  12. test -n "$GCC" && test -n "$auto_cflags" && CFLAGS="$CFLAGS -O2"
  13.  
  14. AC_SUBST(CFLAGS)dnl
  15. AC_SUBST(LDFLAGS)dnl
  16.  
  17. AC_PROG_CPP
  18. AC_GCC_TRADITIONAL
  19. AC_PROG_INSTALL
  20. AC_PROG_YACC
  21. AC_RETSIGTYPE
  22. AC_STDC_HEADERS
  23.  
  24. AC_COMPILE_CHECK(_setjmp declaration in <setjmp.h>,
  25.          [#include <setjmp.h>], [jmp_buf buf; _setjmp (buf)],
  26.          AC_DEFINE(HAVE_UNDERSCORE_SETJMP))
  27.  
  28. AC_OUTPUT(Makefile)
  29.