dnl Process this file with autoconf to produce a configure script AC_INIT(TITLE.cleoks) AC_PROGRAMS_CHECK(FC, cleo_f77 f77) AC_PROGRAMS_CHECK(CC, cleo_cc cc gcc c89) AC_PROGRAMS_CHECK(MAKEDEPEND, cleo_makedepend makedepend) AC_PROG_CPP case "$MACHINE" in ULTRIX) CPP="/usr/bin/cpp -P -C -E";; esac AC_SUBST(CPP) dnl AC_PROG_INSTALL INSTALL="cp -f" INSTALL_PROGRAM="\$\(INSTALL\)" INSTALL_DATA="\$\(INSTALL\)" AC_SUBST(INSTALL) AC_SUBST(INSTALL_PROGRAM) AC_SUBST(INSTALL_DATA) MACHINE="`uname`" AC_SUBST(MACHINE) case "$MACHINE" in ULTRIX) FFLAGS="$FFLAGS -static -w1 -G 0 ";OPT_FFLAGS=" -O2";DBG_FFLAGS=" -g";; OSF1) FFLAGS="$FFLAGS -static -w1 -G 0 ";OPT_FFLAGS=" -O4";DBG_FFLAGS=" -g";; AIX) FFLAGS="$FFLAGS -qextname -qrndsngl ";OPT_FFLAGS=" -O";DBG_FFLAGS=" -g";; IRIX) FFLAGS="$FFLAGS -static -w1 -G 0 ";OPT_FFLAGS=" -O2";DBG_FFLAGS=" -g";; HP-UX) FFLAGS="$FFLAGS -K +U77 +ppu ";OPT_FFLAGS=" -O2";DBG_FFLAGS=" -g";; SunOS) FFLAGS="$FFLAGS -Bstatic ";OPT_FFLAGS=" -O3";DBG_FFLAGS=" -g";; Linux) FFLAGS="$FFLAGS -fno-automatic -fno-second-underscore";OPT_FFLAGS=" -O";DBG_FFLAGS=" -g -fdebug-kludge";; esac AC_SUBST(FFLAGS) AC_SUBST(OPT_FFLAGS) AC_SUBST(DBG_FFLAGS) AC_SUBST(CFLAGS) AC_OUTPUT( Makefile lunmgr/Makefile mesrep/Makefile Makefile.cleoks typscn/Makefile typscn/typscn/Makefile typscn/typsio/Makefile typscn/typsio_c/Makefile typscn/typsub/Makefile )