r255: *** empty log message ***
[ctsim.git] / configure.in
index 24d141961178c495f82d3aa4d0a57fde38c401b1..22e3b52f11c29089c2d5af6cad45fc71529b878c 100644 (file)
@@ -4,7 +4,7 @@ dnl Must reset CDPATH so that bash's cd does not print to stdout
 dnl CDPATH=
 
 AC_INIT(src/ctsim.cpp)
-AM_INIT_AUTOMAKE(ctsim,2.0.5)
+AM_INIT_AUTOMAKE(ctsim,2.0.7)
 AM_CONFIG_HEADER(config.h)
 
 dnl Checks for programs.
@@ -162,11 +162,12 @@ if test "$withval" != "no" ; then
 
   AC_MSG_CHECKING([for LAM MPI installation])
   for testlamdir in "." $trylamdir /usr/local /usr/local/lam /usr /usr/lam /opt /opt/lam ; do
-    if test -x "$testlamdir/bin/hcc" ; then
+    if test -x "$testlamdir/bin/hcp" ; then
       if test "$testlamdir" != "/usr"; then    
         LDFLAGS="$LDFLAGS -L$testlamdir/lib"
         CFLAGS="$CFLAGS -I$testlamdir/include"
       fi
+      CFLAGS="$CFLAGS -I$testlamdir/include/mpi2c++"
       lamdir="$testlamdir"
       AC_SUBST(lamdir)
       mpienable="true"