AC_INIT([tsscds], [1.1], [emilio.nunez@usc.es]) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([src/bbfs.f90]) AC_PREFIX_DEFAULT([$HOME/tsscds-1.1]) AC_PROG_AWK AC_PROG_LN_S AC_PROG_CC AC_PROG_FC([gfortran]) AC_PROG_F77([gfortran]) AC_CHECK_PROG(PARALLELS_CHECK,parallel,yes) if test x"$PARALLELS_CHECK" != x"yes" ; then AC_MSG_ERROR([Please install GNU Parallel package before proceeding.]) fi #AC_CHECK_PROG(MODULES_CHECK,modulecmd,yes) #if test x"$MODULES_CHECK" != x"yes" ; then # AC_MSG_ERROR([Please install environment modules package before proceeding.]) #fi AC_CONFIG_FILES([Makefile]) AC_OUTPUT([ src/Makefile \ src/HL/Makefile\ scripts/Makefile\ scripts/CATscripts/Makefile\ scripts/HLscripts/Makefile\ scripts/MOPAC_DEV/Makefile\ docs/Makefile\ modules/Makefile\ examples/Makefile \ share/Makefile \ share/CAT/Makefile]) AC_MSG_NOTICE([ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Please add the following to your .bash_profile: module use $prefix/modules +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ])