This commit is contained in:
Florian Rivoal 2010-12-16 14:18:52 +09:00
parent 23d9b4720d
commit 3084a9baad
22 changed files with 17 additions and 303 deletions

View file

@ -1,32 +1,19 @@
#!/bin/sh
#
# $Id: autogen.sh 1972 2006-09-06 08:21:54Z nick $
# Copyright (c) 2002-2010
# The Xfce development team. All rights reserved.
#
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/.
Please install the xfce4-dev-tools package first, available from
http://xfce.org/~benny/projects/xfce4-dev-tools/.
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 $@
xdt-autogen $@