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

ChangeLog
libtool.m4

index ee4e75555813fa6ef2209371a2e45fbe550987a2..f9b7549c1a77408fcab9baf3ed24f8088104d7dd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-02-14  Peter Breitenlohner  <peb@mppmu.mpg.de>
+
+       * libtool.m4 (AC_LIBTOOL_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-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * libltdl/configure.ac: Bump package version.
index fda6ec5dced0c5093dcbf1909083e7084d99e941..01a72865a8570660ddb12a524ae8d45248bff2ab 100644 (file)
@@ -1889,12 +1889,12 @@ 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"
+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
 
 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 if test "$GCC" = yes; then