From 200d6cb058800a5d75d9724e407a60501c5c495f Mon Sep 17 00:00:00 2001 From: Brian Barrett Date: Wed, 30 Nov 2005 14:00:31 +0000 Subject: [PATCH] * if libltdl fails to configure, abort the configure process. We don't have the ability at this point to roll back and build without libltdl if we thought we we going to have libltdl (we can configure without libltdl if we know from the start it won't be there, from --disable-dlopen). This commit was SVN r8336. --- configure.ac | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 326eea8872..72bc29a6ae 100644 --- a/configure.ac +++ b/configure.ac @@ -1474,9 +1474,10 @@ if test "$OMPI_ENABLE_DLOPEN_SUPPORT" = "1" ; then WRAPPER_EXTRA_LIBS="$WRAPPER_EXTRA_LIBS $extra_ldflags" LDFLAGS="-export-dynamic $LDFLAGS" else - LIBLTDL_SUBDIR= - LIBLTDL_LTLIB= - WANT_LIBLTDL=0 + AC_MSG_ERROR([Failed to build GNU libltdl. This usually means that something +is incorrectly setup with your environment. There may be useful information in +opal/libltdl/config.log. You can also disable GNU libltdl (which will disable +dynamic shared object loading) by configuring with --disable-dlopen.]) fi CFLAGS="$CFLAGS_save" else