[Xfce4-commits] <xfce4-mailwatch-plugin:master> Update to a newer version of autogen.sh
Florian Rivoal
noreply at xfce.org
Sat Feb 26 15:16:06 CET 2011
Updating branch refs/heads/master
to 445618f9f5a03a6e68c47eee9e40c72be33d8177 (commit)
from a91e8bfcb17c9aaeba7830d6f4165b391db7dc7c (commit)
commit 445618f9f5a03a6e68c47eee9e40c72be33d8177
Author: Florian Rivoal <frivoal at xfce.org>
Date: Sat Feb 26 10:57:20 2011 +0900
Update to a newer version of autogen.sh
autogen.sh | 42 ++++++------------------------------------
1 files changed, 6 insertions(+), 36 deletions(-)
diff --git a/autogen.sh b/autogen.sh
index 7004fa5..6bc0c8a 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,50 +1,20 @@
#!/bin/sh
#
-# $Id: autogen.sh 13265 2005-03-12 04:15:08Z brian $
-#
-# Copyright (c) 2002-2005
+# Copyright (c) 2002-2009
# The Xfce development team. All rights reserved.
#
# Written for Xfce by Benedikt Meurer <benny at xfce.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
- from http://www.xfce.org/.
-EOF
- exit 1
-}
-
-(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 check out again.
+ Please install the xfce4-dev-tools package first, available from
+ http://xfce.org/~benny/projects/xfce4-dev-tools/.
EOF
exit 1
}
-echo 'dnl *** This file is autogenerated. Do not edit. ***' >configure.ac
-echo >>configure.ac
-
-linguas=$(sed -e '/^#/d' po/LINGUAS)
-
-if [ -d .git/svn ]; then
- revision=$(git svn find-rev trunk 2>/dev/null ||
- git svn find-rev origin/trunk 2>/dev/null ||
- git svn find-rev HEAD 2>/dev/null ||
- git svn find-rev master 2>/dev/null)
-elif [ -d .svn ]; then
- revision=$(LC_ALL=C svn info $0 | awk '/^Revision: / {printf "%05d\n", $2}')
-else
- revision=UNKNOWN
-fi
-sed -e "s/@LINGUAS@/${linguas}/g" \
- -e "s/@REVISION@/${revision}/g" \
- < "configure.ac.in" >> "configure.ac"
-
-exec xdt-autogen $@
-
-# vi:set ts=2 sw=2 et ai:
+xdt-autogen $@
More information about the Xfce4-commits
mailing list