dnl @@ dnl @file configure.in dnl @date Sun Jan 17 15:54:23 1999 dnl @author Tom Goodale dnl @desc dnl dnl @enddesc dnl @version $Id$ dnl @@ dnl Process this file with autoconf to produce a configure script. AC_REVISION($Id$) dnl It looks like older versions of Autoconf don't quite qork properly under dnl cygwin. AC_PREREQ(2.13) dnl Starts here AC_INIT() AC_CONFIG_HEADER(config.h) dnl Check the system type AC_CANONICAL_SYSTEM dnl Checks for programs. AC_PROG_MAKE_SET if test -z "$CC" ; then AC_PROG_CC fi if test -z "$CXX" ; then AC_PROG_CXX fi if test -z "$RANLIB" ; then AC_PROG_RANLIB fi dnl Look for a standalone CPP if test -z "$CPP" ; then AC_PATH_PROGS(CPP, cpp, echo, /lib:/usr/lib:/usr/local/lib:$PATH) fi if test -z "$PERL" ; then AC_CHECK_PROGS(PERL, perl) fi if test -z "$F90" ; then AC_CHECK_PROGS(F90, f90 pgf90 xlf90) fi if test -z "$F77" ; then AC_CHECK_PROGS(F77, f77 pgf77 g77 f90 pgf90 xlf90) fi if test -z "$AR" ; then AC_CHECK_PROGS(AR, ar) fi if test -z "$MKDIR" ; then AC_CHECK_PROGS(MKDIR, mkdir) fi if test -z "$SHELL" ; then AC_CHECK_PROGS(SHELL, sh bash) fi if test -z "$LD" ; then AC_SUBST(LD) LD=$CXX fi # Include some CCTK auxiliary functions . $srcdir/CCTK_Functions.sh ######################################################################### # If this is a known architecture, setup any specific flags. # This has to be done here as flags given to the compiler may # change the things detected later. # Create a file to put any #defines etc needed for this architecture # known architecture stuff should use cat >> etc to append to this file. cat > cctk_archdefs.h <> cctk_archdefs.h < cctk_extradefs.h < make.extra.defn <> cctk_extradefs.h <