[mpich2-commits] r6624 - mpich2/trunk/confdb

balaji at mcs.anl.gov balaji at mcs.anl.gov
Fri May 7 09:51:54 CDT 2010


Author: balaji
Date: 2010-05-07 09:51:54 -0500 (Fri, 07 May 2010)
New Revision: 6624

Modified:
   mpich2/trunk/confdb/aclocal_shl.m4
Log:
Missed out throwing an error for the case where the compiler cannot
find the shared library support option in r6623.

Modified: mpich2/trunk/confdb/aclocal_shl.m4
===================================================================
--- mpich2/trunk/confdb/aclocal_shl.m4	2010-05-07 07:13:15 UTC (rev 6623)
+++ mpich2/trunk/confdb/aclocal_shl.m4	2010-05-07 14:51:54 UTC (rev 6624)
@@ -96,6 +96,9 @@
 	   break
 	fi
     done
+    if test "$works" != "yes"; then
+       AC_MSG_ERROR([Cannot build shared libraries with this compiler])
+    fi
     # This used to have -Wl,-rpath earlier, but that causes problems
     # on many systems.
     C_LINKPATH_SHL=""



More information about the mpich2-commits mailing list