From e73f968c039d491a65cde18c5bd5db084e94af73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20Wauthy?= Date: Fri, 2 Mar 2007 21:16:33 +0000 Subject: [PATCH] add support for LINGUAS (Old svn revision: 2534) --- autogen.sh | 5 +++++ configure.ac => configure.in.in | 0 2 files changed, 5 insertions(+) rename configure.ac => configure.in.in (100%) diff --git a/autogen.sh b/autogen.sh index d4db27f..22b0d38 100755 --- a/autogen.sh +++ b/autogen.sh @@ -18,6 +18,11 @@ EOF exit 1 } +linguas=`sed -e '/^#/d' po/LINGUAS` +revision=`LC_ALL=C svn info $0 | awk '/^Revision: / {printf "%05d\n", $2}'` +sed -e "s/@LINGUAS@/${linguas}/g" \ + -e "s/@REVISION@/${revision}/g" \ + < "configure.in.in" > "configure.in" exec xdt-autogen $@ diff --git a/configure.ac b/configure.in.in similarity index 100% rename from configure.ac rename to configure.in.in