From 747257d2c99fae99a1d990a1555fce52c37431b1 Mon Sep 17 00:00:00 2001 From: Peter O'Gorman Date: Thu, 24 Jan 2008 06:56:05 +0000 Subject: [PATCH] * libtool.m4 (sys_lib_search_path_spec, sys_lib_dlsearch_path_spec): Allow for a cache variable lt_cv_sys_lib... to set these at configure time. --- ChangeLog | 6 ++++++ libtool.m4 | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/ChangeLog b/ChangeLog index 96a399f24..9e4561f04 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-01-24 Peter O'Gorman + + * libtool.m4 (sys_lib_search_path_spec, sys_lib_dlsearch_path_spec): + Allow for a cache variable lt_cv_sys_lib... to set these at configure + time. + 2008-01-21 Peter O'Gorman * ltmain.in [darwin]: look in libdir for dependent libraries, the .la diff --git a/libtool.m4 b/libtool.m4 index 3a51b70f4..50abc8f3e 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -1817,6 +1817,13 @@ esac AC_MSG_RESULT([$dynamic_linker]) test "$dynamic_linker" = no && can_build_shared=no +AC_CACHE_VAL([lt_cv_sys_lib_search_path_spec], +[lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"]) +sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" +AC_CACHE_VAL([lt_cv_sys_lib_dlsearch_path_spec], +[lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"]) +sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" + variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -- 2.47.2