home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / gnu / src / amiga / perl-4.036-src.lha / perl-4.036 / configure.in < prev    next >
Encoding:
Text File  |  1994-08-23  |  804 b   |  30 lines

  1. dnl Process this file with autoconf to produce a configure script.
  2. AC_INIT(perl.c)
  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 -O2 to CFLAGS.
  12. # FIXME:  gcc 2.6.0 has trouble compiling tperl.c with -O2 and also generates
  13. # random mungwall hits on some other files, so for now, don't optimize.
  14. test -n "$GCC" && test -n "$auto_cflags" && CFLAGS="$CFLAGS"
  15.  
  16. AC_SUBST(CFLAGS)dnl
  17. AC_SUBST(LDFLAGS)dnl
  18.  
  19. AC_PROG_CPP
  20. AC_GCC_TRADITIONAL
  21. AC_PROG_INSTALL
  22. AC_PROG_YACC
  23. AC_RETSIGTYPE
  24. AC_LN_S
  25. AC_HAVE_LIBRARY(m)
  26. AC_HAVE_HEADERS(gdbm.h ndbm.h dbz.h dbm.h)
  27. AC_HAVE_LIBRARY(gdbm)
  28.  
  29. AC_OUTPUT(Makefile x2p/Makefile)
  30.