From 22a8998b3ef28fcaa7ba06c2459e6a93fbdd6a8c Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Thu, 6 Mar 2008 22:15:10 +0000 Subject: [PATCH] The second stage of the libtool detection is supposed to be the last piece of code that requires compile and link tests. Therefore, the visibility detection should happens before or it will fail. This commit was SVN r17773. --- configure.ac | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/configure.ac b/configure.ac index ceb8bb8a41..1091bb476a 100644 --- a/configure.ac +++ b/configure.ac @@ -989,6 +989,17 @@ OMPI_MCA # checkpoint results AC_CACHE_SAVE +################################## +# visibility +################################## + +# check the visbility stuff at the end to avoid problem with +# the previous tests that are not necessarily prepeare for +# the visibility feature. +ompi_show_title "Symbol Visibility Feature" + +OMPI_CHECK_VISIBILITY + ################################## # Contributed software ################################## @@ -1123,18 +1134,6 @@ AC_DEFINE_UNQUOTED(OMPI_WANT_LIBLTDL, $OMPI_ENABLE_DLOPEN_SUPPORT, AC_DEFINE_UNQUOTED(OPAL_HAVE_LTDL_ADVISE, $OPAL_HAVE_LTDL_ADVISE, [Whether libltdl appears to have the lt_dladvise interface]) -################################## -# visibility -################################## - -# check the visbility stuff at the end to avoid problem with -# the previous tests that are not necessarily prepeare for -# the visibility feature. -ompi_show_title "Symbol Visibility Feature" - -OMPI_CHECK_VISIBILITY - - ############################################################################ # final compiler config ############################################################################