[Xfce4-commits] <xfce4-diskperf-plugin:master> update autogen.sh for newer xdt
Landry Breuil
noreply at xfce.org
Sat Jan 23 12:22:02 CET 2010
Updating branch refs/heads/master
to 1691c13adcbb682435271dd5634f9e53d3dcc5ab (commit)
from de1e13e5087d9fa6b43ba0c79bee884f1a85756b (commit)
commit 1691c13adcbb682435271dd5634f9e53d3dcc5ab
Author: Landry Breuil <landry at rhaalovely.net>
Date: Sat Jan 23 12:17:52 2010 +0100
update autogen.sh for newer xdt
autogen.sh | 34 ++++++++++++----------------------
1 files changed, 12 insertions(+), 22 deletions(-)
diff --git a/autogen.sh b/autogen.sh
index 72c275d..d3b7588 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,35 +1,25 @@
#!/bin/sh
#
-# $Id: autogen.sh 2257 2006-12-19 19:49:00Z nick $
-#
-# Copyright (c) 2002-2007
+# Copyright (c) 2002-2009
# The Xfce development team. All rights reserved.
#
+# Written for Xfce by Benedikt Meurer <benny at xfce.org>
+# and Brian Tarricone <brian at tarricone.org>.
+#
+
+export XDT_AUTOGEN_REQUIRED_VERSION="4.7.0"
(type xdt-autogen) >/dev/null 2>&1 || {
cat >&2 <<EOF
-autogen.sh: You don't seem to have the Xfce development tools installed on
- your system, which are required to build this software.
- Please install the xfce4-dev-tools package first, it is available
+autogen.sh: You don't seem to have the Xfce development tools (at least
+ version $XDT_REQURED_VERSION) installed on your system, which
+ are required to build this software.
+ Please install the xfce4-dev-tools package first; it is available
from http://www.xfce.org/.
EOF
exit 1
}
-# verify that po/LINGUAS is present
-(test -f po/LINGUAS) >/dev/null 2>&1 || {
- cat >&2 <<EOF
-autogen.sh: The file po/LINGUAS could not be found. Please check your snapshot
- or try to checkout again.
-EOF
- exit 1
-}
-
-# substitute revision and linguas
-linguas=`sed -e '/^#/d' po/LINGUAS`
-revision=`LC_ALL=C svn info $0 | awk '/^Revision: / {printf "%04d\n", $2}'`
-sed -e "s/@LINGUAS@/${linguas}/g" \
- -e "s/@REVISION@/${revision}/g" \
- < "configure.in.in" > "configure.in"
+exec xdt-autogen "$@"
-exec xdt-autogen $@
+# vi:set ts=2 sw=2 et ai:
More information about the Xfce4-commits
mailing list