Imported Upstream version 0.18.1.1
[platform/upstream/gettext.git] / build-aux / ac-help.sed
1 # Sed script for post-processing the trace output of subordinate configures.
2 # Copyright (C) 2003, 2005 Free Software Foundation, Inc.
3 #
4 # This program is free software: you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 3 of the License, or
7 # (at your option) any later version.
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
17 # Replace invocations of some libtool macros.
18 s|.AC_ENABLE_SHARED_DEFAULT.|yes|g
19 s|.AC_ENABLE_STATIC_DEFAULT.|yes|g
20 s|.AC_ENABLE_FAST_INSTALL_DEFAULT.|yes|g
21 # Avoid loss of brackets, such as  --with-tags[=TAGS] => --with-tags=TAGS
22 s|\[=TAGS\]|@<:@=TAGS@:>@|g
23 s|\[=PKGS\]|@<:@=PKGS@:>@|g
24 # Avoid unwanted comma, such as  [default=use both] => [default=use], [both]
25 s|\[default=use both\]|@<:@default=use both@:>@|g