Commit 92ef4cdd authored by Shane Snyder's avatar Shane Snyder

fix some small configure bugs for cray systems

parent b770409e
This diff is collapsed.
...@@ -27,7 +27,7 @@ CHECK_ZLIB ...@@ -27,7 +27,7 @@ CHECK_ZLIB
AC_ARG_ENABLE(cuserid, AC_ARG_ENABLE(cuserid,
[ --disable-cuserid Disables attempted use of cuserid() at run time], [ --disable-cuserid Disables attempted use of cuserid() at run time],
[if test "x$enableval" = "xno" ; then [if test "x$enableval" = "xno" ; then
AC_DEFINE(DARSHAN_DISABLE_CUSERID, 1, Define if cuserid() should be disabled), AC_DEFINE(DARSHAN_DISABLE_CUSERID, 1, Define if cuserid() should be disabled)
fi] fi]
,) ,)
...@@ -270,13 +270,15 @@ AC_CHECK_TYPE([MPIO_Request], ...@@ -270,13 +270,15 @@ AC_CHECK_TYPE([MPIO_Request],
AC_DEFINE(__D_MPI_REQUEST, MPI_Request, Generalized request type for MPI-IO) AC_DEFINE(__D_MPI_REQUEST, MPI_Request, Generalized request type for MPI-IO)
,[#include <mpi.h>]) ,[#include <mpi.h>])
# attempt to detect librarly naming convention in mpi compiler script # attempt to detect library naming convention in mpi compiler script
AC_MSG_CHECKING(for old (pre-3.1.1) style MPICH library naming convention) AS_IF([$CC -show foo.c -o foo >& /dev/null],
AS_IF([$CC -show foo.c -o foo |grep lmpich >& /dev/null], AC_MSG_CHECKING(for old (pre-3.1.1) style MPICH library naming convention)
AC_MSG_RESULT(yes) AS_IF([$CC -show foo.c -o foo |grep lmpich >& /dev/null],
MPICH_LIB_OLD=1, AC_MSG_RESULT(yes)
AC_MSG_RESULT(no) MPICH_LIB_OLD=1,
MPICH_LIB_OLD=0) AC_MSG_RESULT(no)
MPICH_LIB_OLD=0),
MPICH_LIB_OLD=0)
# check to see whether the bgq instrumentation module should be built # check to see whether the bgq instrumentation module should be built
AC_ARG_ENABLE( AC_ARG_ENABLE(
...@@ -310,7 +312,6 @@ AC_ARG_WITH(mod-mem, ...@@ -310,7 +312,6 @@ AC_ARG_WITH(mod-mem,
) )
DARSHAN_VERSION="AC_PACKAGE_VERSION" DARSHAN_VERSION="AC_PACKAGE_VERSION"
AC_SUBST(darshan_lib_path) AC_SUBST(darshan_lib_path)
AC_SUBST(darshan_share_path) AC_SUBST(darshan_share_path)
AC_SUBST(LDFLAGS) AC_SUBST(LDFLAGS)
......
...@@ -63,9 +63,6 @@ ...@@ -63,9 +63,6 @@
/* Define to the one symbol short name of this package. */ /* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME #undef PACKAGE_TARNAME
/* Define to the home page for this package. */
#undef PACKAGE_URL
/* Define to the version of this package. */ /* Define to the version of this package. */
#undef PACKAGE_VERSION #undef PACKAGE_VERSION
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment