summaryrefslogtreecommitdiff
path: root/build-aux/ac-help.sed
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2005-03-22 15:15:28 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:12:27 +0200
commitc5c973719965708ec33283c800c8385bfa3d9246 (patch)
treee12063424b39c1d14300274d9f70c68c74ad9d39 /build-aux/ac-help.sed
parentb222986906da3cfe9850ceed2abcda13b136b8cf (diff)
downloadgettext-c5c973719965708ec33283c800c8385bfa3d9246.tar.gz
Move config/ac-help.sed to build-aux/ac-help.sed.
Diffstat (limited to 'build-aux/ac-help.sed')
-rw-r--r--build-aux/ac-help.sed26
1 files changed, 26 insertions, 0 deletions
diff --git a/build-aux/ac-help.sed b/build-aux/ac-help.sed
new file mode 100644
index 000000000..e6a526824
--- /dev/null
+++ b/build-aux/ac-help.sed
@@ -0,0 +1,26 @@
+# Sed script for post-processing the trace output of subordinate configures.
+# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+# Replace invocations of some libtool macros.
+s|.AC_ENABLE_SHARED_DEFAULT.|yes|g
+s|.AC_ENABLE_STATIC_DEFAULT.|yes|g
+s|.AC_ENABLE_FAST_INSTALL_DEFAULT.|yes|g
+# Avoid loss of brackets, such as --with-tags[=TAGS] => --with-tags=TAGS
+s|\[=TAGS\]|@<:@=TAGS@:>@|g
+s|\[=PKGS\]|@<:@=PKGS@:>@|g
+# Avoid unwanted comma, such as [default=use both] => [default=use], [both]
+s|\[default=use both\]|@<:@default=use both@:>@|g