[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU M4 source repository branch, master, updated. cvs-readonly-342
From: |
Gary V. Vaughan |
Subject: |
[SCM] GNU M4 source repository branch, master, updated. cvs-readonly-342-g15ed81c |
Date: |
Wed, 26 Nov 2014 20:27:00 +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 M4 source repository".
http://git.sv.gnu.org/gitweb/?p=m4.git;a=commitdiff;h=15ed81cd88deaeb83b6c6f60d6fd0556aa5b96c7
The branch, master has been updated
via 15ed81cd88deaeb83b6c6f60d6fd0556aa5b96c7 (commit)
from f5a6f25daf08a02ff0da13b64de999778f98189f (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 15ed81cd88deaeb83b6c6f60d6fd0556aa5b96c7
Author: Gary V. Vaughan <address@hidden>
Date: Wed Nov 26 20:25:47 2014 +0000
configury: simplify calculation of module file extension.
* configure.ac (LT_SYS_MODULE_EXT): Use this...
(mfour_shrext): Remove. ...instead of working it out manually.
Signed-off-by: Gary V. Vaughan <address@hidden>
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 13 +++++--------
1 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/configure.ac b/configure.ac
index 04da7e9..2688a7f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -182,11 +182,8 @@ esac
LT_LIB_DLLOAD
LT_SYS_SYMBOL_USCORE
-save_module=$module; module=yes
-mfour_shrext=`eval printf '%s' \"$shrext_cmds\"`
-module=$save_module
-AC_DEFINE_UNQUOTED([SYS_SHREXT], ["$mfour_shrext"],
- [Define this to the system shared module file extension])
+LT_SYS_MODULE_EXT
+libm4_shlibext=$libltdl_cv_shlibext
if test yes = "$sys_symbol_underscore"; then
AC_MSG_CHECKING([whether dlsym requires underscore prefixed symbols])
@@ -202,12 +199,12 @@ int fnord () __attribute__((visibility("default")));
#endif
int fnord () { return 42; }]
_M4_EOF
- libobjs=conftest_loadme.$ac_objext; lib=conftest_loadme$mfour_shrext
+ libobjs=conftest_loadme.$ac_objext; lib=conftest_loadme$libm4_shlibext
save_module_cmds=$module_cmds; module_cmds=`eval echo $module_cmds`
test -n "$module_cmds" || module_cmds=`eval echo $archive_cmds`
$CC $pic_flag -c conftest_loadme.$ac_ext
eval "wl=\"$lt_prog_compiler_wl\"; major=; versuffix=; verstring=;
deplibs=; \
- rpath=/not-exists/conftest_loadme$mfour_shrext; $module_cmds"
+ rpath=/not-exists/conftest_loadme$libm4_shlibext; $module_cmds"
module_cmds=$save_module_cmds
# Try to fetch fnord with dlsym().
@@ -234,7 +231,7 @@ _M4_EOF
# endif
#endif
int main () {
- void *handle = dlopen ("`pwd`/$objdir/conftest_loadme$mfour_shrext",
RTLD_GLOBAL|RTLD_NOW);
+ void *handle = dlopen ("`pwd`/$objdir/conftest_loadme$libm4_shlibext",
RTLD_GLOBAL|RTLD_NOW);
int status = $mfour_dlunknown;
if (handle) {
if (dlsym (handle, "fnord"))
hooks/post-receive
--
GNU M4 source repository
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU M4 source repository branch, master, updated. cvs-readonly-342-g15ed81c,
Gary V. Vaughan <=