]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Move macro gt_GLOBAL_SYMBOL_PIPE to exported.m4.
authorBruno Haible <bruno@clisp.org>
Sat, 11 Apr 2009 10:40:47 +0000 (10:40 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:16:04 +0000 (12:16 +0200)
gettext-tools/ChangeLog
gettext-tools/configure.ac
gettext-tools/m4/ChangeLog
gettext-tools/m4/Makefile.am
gettext-tools/m4/exported.m4 [new file with mode: 0644]

index eebfcb3029b70d59e9f589041156b06bb52ce476..c77b91106a3c8898627795446930e5968c7adf9a 100644 (file)
@@ -1,3 +1,8 @@
+2009-04-11  Bruno Haible  <bruno@clisp.org>
+
+       * configure.ac (gt_GLOBAL_SYMBOL_PIPE): Remove macro, moved to
+       m4/exported.m4.
+
 2009-03-25  Bruno Haible  <bruno@clisp.org>
 
        Fix the handling of Windows resources in shared libraries.
index ca0c7ebcd98b191e86cf3f00af23f06f4fc9b4b1..41e03510a09c3929f865fb435b21aaa85f38dcc3 100644 (file)
@@ -284,19 +284,6 @@ case "$host_os" in
 esac
 
 dnl Check for nm output filter that yields the exported symbols.
-AC_DEFUN([gt_GLOBAL_SYMBOL_PIPE], [
-  AC_REQUIRE([AC_PROG_NM]) dnl provided by libtool.m4
-  AC_SUBST([NM])
-  AC_REQUIRE([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE]) dnl provided by libtool.m4
-  GLOBAL_SYMBOL_PIPE=$lt_cv_sys_global_symbol_pipe
-  AC_SUBST([GLOBAL_SYMBOL_PIPE])
-  if test -n "$GLOBAL_SYMBOL_PIPE"; then
-    HAVE_GLOBAL_SYMBOL_PIPE=1
-  else
-    HAVE_GLOBAL_SYMBOL_PIPE=
-  fi
-  AC_SUBST([HAVE_GLOBAL_SYMBOL_PIPE])
-])
 gt_GLOBAL_SYMBOL_PIPE
 
 dnl Check for Emacs and where to install .elc files.
index 62cf3f89e58d1f95c26c6e447d985611b8bc2668..8d9ffae6b3e20751ee6bd978dec755a2c98a0f3d 100644 (file)
@@ -1,3 +1,8 @@
+2009-04-11  Bruno Haible  <bruno@clisp.org>
+
+       * exported.m4: New file, extracted from ../configure.ac.
+       * Makefile.am (EXTRA_DIST): Add it.
+
 2009-01-25  Bruno Haible  <bruno@clisp.org>
 
        * Makefile.am (EXTRA_DIST): Remove locale-ja.m4.
index b214211eac717b68cd75610b048989cabce4acab..99a11e958a60c54bc5e30e383f3be4223854661e 100644 (file)
@@ -45,6 +45,7 @@ examplesbuildaux_DATA = \
 # Generate this list with
 # find . -type f -name '*.m4' -printf '%f\n' | sort | tr '\012' @ | sed 's/@$/%/;s/@/ \\@/g' | tr @% '\012\012'
 EXTRA_DIST = README csharpexec-test.exe \
+exported.m4 \
 hostname.m4 \
 libgrep.m4 \
 regex.m4 \
diff --git a/gettext-tools/m4/exported.m4 b/gettext-tools/m4/exported.m4
new file mode 100644 (file)
index 0000000..fc37923
--- /dev/null
@@ -0,0 +1,21 @@
+# exported.m4 serial 1 (gettext-0.18)
+dnl Copyright (C) 2006, 2009 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl Prerequisites of the exported.sh script:
+dnl Check for nm output filter that yields the exported symbols.
+AC_DEFUN([gt_GLOBAL_SYMBOL_PIPE], [
+  AC_REQUIRE([AC_PROG_NM]) dnl provided by libtool.m4
+  AC_SUBST([NM])
+  AC_REQUIRE([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE]) dnl provided by libtool.m4
+  GLOBAL_SYMBOL_PIPE=$lt_cv_sys_global_symbol_pipe
+  AC_SUBST([GLOBAL_SYMBOL_PIPE])
+  if test -n "$GLOBAL_SYMBOL_PIPE"; then
+    HAVE_GLOBAL_SYMBOL_PIPE=1
+  else
+    HAVE_GLOBAL_SYMBOL_PIPE=
+  fi
+  AC_SUBST([HAVE_GLOBAL_SYMBOL_PIPE])
+])