From: Peter Breitenlohner Date: Thu, 14 Feb 2008 23:48:39 +0000 (+0000) Subject: * libtool.m4 (_LT_SYS_DYNAMIC_LINKER): better handling of X-Git-Tag: release-2-2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66894adae814d3f2c1d799771a1670850c6a0bce;p=thirdparty%2Flibtool.git * 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. --- diff --git a/ChangeLog b/ChangeLog index 441c26889..36221b915 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-02-14 Peter Breitenlohner + + * 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 * libtoolize.m4sh (func_install_pkgconfig_files): Only call diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index a554983e0..6d03a3ae4 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -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