home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / f2c-93.04.28-src.tgz / tar.out / fsf / f2c / configure.in < prev    next >
Text File  |  1996-09-28  |  570b  |  23 lines

  1. dnl Process this file with autoconf to produce a configure script.
  2. AC_INIT(f2c.h)
  3.  
  4. # We want these before the checks, so the checks can modify their values.
  5. test -z "$CFLAGS" && CFLAGS= auto_cflags=1
  6. test -z "$LDFLAGS" && LDFLAGS=
  7.  
  8. AC_PROG_CC
  9.  
  10. # If we're using gcc and the user hasn't specified CFLAGS, add -O to CFLAGS.
  11. test -n "$GCC" && test -n "$auto_cflags" && CFLAGS="$CFLAGS -O2"
  12.  
  13. AC_SUBST(CFLAGS)dnl
  14. AC_SUBST(LDFLAGS)dnl
  15.  
  16. AC_PROG_CPP
  17. AC_GCC_TRADITIONAL
  18. AC_PROG_INSTALL
  19. AC_PROG_RANLIB
  20. AC_PROG_YACC
  21.  
  22. AC_OUTPUT(Makefile src/Makefile libF77/Makefile libI77/Makefile)
  23.