[Xfce4-commits] <ristretto:ristretto-0.0> update autogen.sh

Stephan Arts noreply at xfce.org
Sun Oct 23 19:30:37 CEST 2011


Updating branch refs/heads/ristretto-0.0
         to 62e18e38ac8eb1db15009c2c6a1a044c5655ae47 (commit)
       from c6353cde046c1802f8aa688649af61c10ce1a1c4 (commit)

commit 62e18e38ac8eb1db15009c2c6a1a044c5655ae47
Author: Stephan Arts <stephan at xfce.org>
Date:   Mon Nov 15 06:33:55 2010 +0100

    update autogen.sh

 autogen.sh |   34 +++++++++++-----------------------
 1 files changed, 11 insertions(+), 23 deletions(-)

diff --git a/autogen.sh b/autogen.sh
index f370893..ef98c52 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,39 +1,27 @@
 #!/bin/sh
 #
-# $Id: autogen.sh 22391 2006-07-10 12:54:50Z benny $
+# $Id$
 #
-# Copyright (c) 2002-2006
+# Copyright (c) 2002-2009
 #         The Xfce development team. All rights reserved.
 #
-# Written for Xfce by Benedikt Meurer <benny at xfce.org>.
+# 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 "%05d\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