]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4 (_LT_SYS_DYNAMIC_LINKER): better handling of
authorPeter Breitenlohner <peb@mppmu.mpg.de>
Thu, 14 Feb 2008 23:48:39 +0000 (23:48 +0000)
committerPeter O'Gorman <peter@pogma.com>
Thu, 14 Feb 2008 23:48:39 +0000 (23:48 +0000)
predefined values for lt_cv_sys_lib_search_path_spec and
lt_cv_sys_lib_dlsearch_path_spec.

ChangeLog
libltdl/m4/libtool.m4

index 441c26889549e5f3d2d843c052aa1e27d299cdf9..36221b9153eb18acb21c8d8d6d0a9e7e5c22f869 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-02-14  Peter Breitenlohner  <peb@mppmu.mpg.de>
+
+       * libtool.m4 (_LT_SYS_DYNAMIC_LINKER): better handling of
+       predefined values for lt_cv_sys_lib_search_path_spec and
+       lt_cv_sys_lib_dlsearch_path_spec.
+
 2008-02-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * libtoolize.m4sh (func_install_pkgconfig_files): Only call
index a554983e0b0e6b7ecbf06bb81a438fb6a9479467..6d03a3ae40f613028f6215604ef1a2de6f88c8e1 100644 (file)
@@ -2665,12 +2665,12 @@ if test "$GCC" = yes; then
   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 fi
  
-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"
+if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
+  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
+fi
+if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
+  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
+fi
 
 _LT_DECL([], [variables_saved_for_relink], [1],
     [Variables whose values should be saved in libtool wrapper scripts and