summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2001-09-25 14:11:28 +0000
committerAndrew Bartlett <abartlet@samba.org>2001-09-25 14:11:28 +0000
commitcc96a00014ce383e3fad2b4c441d82da4debfbc3 (patch)
tree0b40e08e85857fb0465a92282a43b0b3df0dde37
parent76c8d7a579bbed73c1cd2dd30a1336cc87851c36 (diff)
downloadsamba-cc96a00014ce383e3fad2b4c441d82da4debfbc3.tar.gz
samba-cc96a00014ce383e3fad2b4c441d82da4debfbc3.tar.bz2
samba-cc96a00014ce383e3fad2b4c441d82da4debfbc3.zip
Fix up the ./configure for the BSDs:
Subject: Re: bugs in installman.sh script Date: Tue, 25 Sep 2001 16:02:11 +0200 (CEST) From: Rafal Szczesniak <mimir@spin.ict.pwr.wroc.pl> To: Andrew Bartlett <abartlet@pcug.org.au> CC: <samba-technical@lists.samba.org> On Tue, 25 Sep 2001, Andrew Bartlett wrote: > Its broken for BSDs and was broken for many others. You might want to > re-checkout. Any fixes appricatiated. OK. Here's the patch for configure.in. Replaces illegal, under [t]csh, substitution with more general sed construction. Apply it, please, and I'll see if I can clean up the installman.sh further. (This used to be commit cad971f4c37042c4e9b6e6332e55757473f6da78)
-rwxr-xr-xsource3/configure2
-rw-r--r--source3/configure.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/configure b/source3/configure
index cdef672404..8b7e6ee1a1 100755
--- a/source3/configure
+++ b/source3/configure
@@ -12049,7 +12049,7 @@ if test "${with_manpages_langs+set}" = set; then
esac
echo "$ac_t""$manlangs" 1>&6
- manlangs=${manlangs//,/ } # replacing commas with spaces to produce a list
+ manlangs=`echo $manlangs | sed "s/,/ /"` # replacing commas with spaces to produce a list
else
manlangs="en"
diff --git a/source3/configure.in b/source3/configure.in
index 3bd8995fd7..41d93e3645 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -2092,7 +2092,7 @@ AC_ARG_WITH(manpages-langs,
esac
AC_MSG_RESULT($manlangs)
- manlangs=${manlangs//,/ } # replacing commas with spaces to produce a list
+ manlangs=`echo $manlangs | sed "s/,/ /"` # replacing commas with spaces to produce a list
AC_SUBST(manlangs)],
[manlangs="en"