libtool-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Libtool branch, master, updated. v2.4.5-4-g6c822af


From: Gary V. Vaughan
Subject: [SCM] GNU Libtool branch, master, updated. v2.4.5-4-g6c822af
Date: Tue, 20 Jan 2015 16:26:12 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  6c822af50ff8343b20862c1a207f90c122fc9bcf (commit)
      from  edb4ff8bb662849b7f51de9693caa32ae9a3f855 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 6c822af50ff8343b20862c1a207f90c122fc9bcf
Author: Pavel Raiskup <address@hidden>
Date:   Tue Jan 20 16:12:59 2015 +0000

    libtool: respect config.site LT_SYS_LIBRARY_PATH
    
    Libtool generator code needs to remember the configure time
    LT_SYS_LIBRARY_PATH content to allow config.status properly
    instantiate default LT_SYS_LIBRARY_PATH libtool run-time value;
    Thats because config.status has no idea what the contents of
    config.site file is (by default).
    * m4/libtool.m4 (_LT_CONFIG): Use the _LT_DECLared
    $configure_time_lt_sys_library_path variable as the default for
    LT_SYS_DLSEARCH_PATH at run-time.
    (_LT_SYS_DYNAMIC_LINKER): Don't change ac_cv_* variable if it is
    not necessary. New $configure_time_lt_sys_library_path variable.
    * NEWS: Update.
    
    Signed-off-by: Gary V. Vaughan <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 NEWS          |    7 ++++++-
 m4/libtool.m4 |   18 +++++++++++-------
 2 files changed, 17 insertions(+), 8 deletions(-)

diff --git a/NEWS b/NEWS
index c382c70..7369127 100644
--- a/NEWS
+++ b/NEWS
@@ -2,12 +2,17 @@ NEWS - list of user-visible changes between releases of GNU 
Libtool
 
 * Noteworthy changes in release ?.? (????-??-??) [?]
 
+** New features:
+
+  - LT_SYS_LIBRARY_PATH can be set in config.site, or at configure time
+    and persists correctly in the generated libtool script.
+
 ** Bug fixes:
 
   - Fix a race condition in ltdl dryrun test that would cause spurious
     random failures of that test.
 
-  - LT_SYS_SEARCHPATH is munged correctly.
+  - LT_SYS_DLSEARCH_PATH is munged correctly.
 
 
 * Noteworthy changes in release 2.4.5 (2015-01-19) [stable]
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 18d0193..a3bc337 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -738,7 +738,7 @@ _LT_COPYING
 _LT_LIBTOOL_TAGS
 
 # Configured defaults for sys_lib_dlsearch_path munging.
-: \${LT_SYS_LIBRARY_PATH="$LT_SYS_LIBRARY_PATH"}
+: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
 
 # ### BEGIN LIBTOOL CONFIG
 _LT_LIBTOOL_CONFIG_VARS
@@ -3101,13 +3101,15 @@ if test set = 
"${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
 fi
 
-# lt_cv_sys_lib... is unaugmented for libtool script decls...
-lt_cv_sys_lib_dlsearch_path_spec=$sys_lib_dlsearch_path_spec
+# remember unaugmented sys_lib_dlsearch_path content for libtool script 
decls...
+configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
 
-# ..but sys_lib_... needs LT_SYS_LIBRARY_PATH munging for
-# LT_SYS_DLSEARCH_PATH macro in ltdl.m4 to work with the correct paths:
+# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
 
+# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
+configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
+
 _LT_DECL([], [variables_saved_for_relink], [1],
     [Variables whose values should be saved in libtool wrapper scripts and
     restored at link time])
@@ -3140,8 +3142,10 @@ _LT_DECL([], [hardcode_into_libs], [0],
     [Whether we should hardcode library paths into libraries])
 _LT_DECL([], [sys_lib_search_path_spec], [2],
     [Compile-time system search path for libraries])
-_LT_DECL([sys_lib_dlsearch_path_spec], [lt_cv_sys_lib_dlsearch_path_spec], [2],
-    [Run-time system search path for libraries])
+_LT_DECL([sys_lib_dlsearch_path_spec], [configure_time_dlsearch_path], [2],
+    [Detected run-time system search path for libraries])
+_LT_DECL([], [configure_time_lt_sys_library_path], [2],
+    [Explicit LT_SYS_LIBRARY_PATH set during ./configure time])
 ])# _LT_SYS_DYNAMIC_LINKER
 
 


hooks/post-receive
-- 
GNU Libtool



reply via email to

[Prev in Thread] Current Thread [Next in Thread]