]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4 (sys_lib_search_path_spec, sys_lib_dlsearch_path_spec):
authorPeter O'Gorman <peter@pogma.com>
Thu, 24 Jan 2008 06:56:05 +0000 (06:56 +0000)
committerPeter O'Gorman <peter@pogma.com>
Thu, 24 Jan 2008 06:56:05 +0000 (06:56 +0000)
Allow for a cache variable lt_cv_sys_lib... to set these at configure
time.

ChangeLog
libtool.m4

index 96a399f248295d4d55f3a85ee76ec8284f7aa348..9e4561f041f5a44b1d37e0e4431fcd897cf4b011 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-01-24  Peter O'Gorman  <peter@pogma.com>
+
+       * 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  <peter@pogma.com>
 
        * ltmain.in [darwin]: look in libdir for dependent libraries, the .la
index 3a51b70f4c911a3ea40aa64524b1230359f9bfe1..50abc8f3ebb7e780088d307719e5ef4a0f738a12 100644 (file)
@@ -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"