--- trunk/OOPSE_old/configure.ac 2003/02/17 18:03:06 273 +++ trunk/OOPSE_old/configure.ac 2003/02/18 21:54:51 276 @@ -1,4 +1,4 @@ -AC_INIT([OOPSE],0.5) +AC_INIT([oopse],0.5) AC_CONFIG_SRCDIR(src/mySrc) AM_CONFIG_HEADER(./config.h) AM_INIT_AUTOMAKE @@ -11,8 +11,22 @@ dnl check for libs and headers AC_PROG_RANLIB AC_PROG_INSTALL +dnl ***************************************************** +dnl set up compiler and machine dependent fortran files +dnl ***************************************************** + +case $F77 in + ifc) fortran_machine_defs='Linux_ifc_machdep.$(OBJEXT)' flibs_extra='-lPEPCF90' ;; + *) AC_MSG_ERROR([currently only ifc is supported as the fortran compiler. See README for details]) ;; +esac +AC_SUBST([fortran_machine_defs]) +AC_SUBST([flibs_extra]) + +dnl ***************************************************** dnl check for libs and headers +dnl ****************************************************** + AC_ARG_WITH(sprng_include, AC_HELP_STRING([--with-sprng_include=], [specify the location of the sprng headers (default is /usr/local/include/sprng)]), @@ -48,4 +62,5 @@ AC_OUTPUT([Makefile src/Makefile src/mdtools/Makefile AC_MSG_ERROR(libmpi.a not found.)) -AC_OUTPUT([Makefile src/Makefile src/mdtools/Makefile src/mdtools/libBASS/Makefile src/mdtools/libmdCode/Makefile]) +AC_OUTPUT([Makefile src/Makefile src/mdtools/Makefile src/mdtools/libBASS/Makefile src/mdtools/libmdCode/Makefile\ + src/oose/Makefile src/oopse/Makefile])