From: Peter Breitenlohner Date: Thu, 14 Feb 2008 23:48:56 +0000 (+0000) Subject: * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): better handling X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=5d74e8719d63b0dff8f2c83150b68e3ff0edb050;p=thirdparty%2Flibtool.git * 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. --- diff --git a/ChangeLog b/ChangeLog index ee4e75555..f9b7549c1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-02-14 Peter Breitenlohner + + * 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 * libltdl/configure.ac: Bump package version. diff --git a/libtool.m4 b/libtool.m4 index fda6ec5dc..01a72865a 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -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