home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 5 / FreshFish_July-August1994.bin / bbs / gnu / pdksh-4.9-src.lha / src / amiga / pdksh-4.9 / configure.in < prev    next >
Text File  |  1994-06-14  |  581b  |  24 lines

  1. dnl Process this file with autoconf to produce a configure script.
  2. AC_INIT(sh/sh.h)
  3. AC_CONFIG_HEADER(sh/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_RANLIB
  21. AC_STDC_HEADERS
  22. AC_ALLOCA
  23. AC_OUTPUT(Makefile sh/Makefile)
  24.