2003-08-14 02:14:27 +08:00
|
|
|
#!/bin/sh
|
2005-10-19 02:45:11 +08:00
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
#
|
|
|
|
# Copyright (c) 2002-2005
|
|
|
|
# The Thunar development team. All rights reserved.
|
|
|
|
#
|
|
|
|
# Written for Thunar by Benedikt Meurer <benny@xfce.org>.
|
|
|
|
#
|
|
|
|
|
|
|
|
(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
|
2003-08-14 02:14:27 +08:00
|
|
|
exit 1
|
2005-10-19 02:45:11 +08:00
|
|
|
}
|
2003-08-14 02:14:27 +08:00
|
|
|
|
2007-03-03 05:16:33 +08:00
|
|
|
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"
|
2003-08-14 02:14:27 +08:00
|
|
|
|
2005-10-19 02:45:11 +08:00
|
|
|
exec xdt-autogen $@
|
2003-08-14 02:14:27 +08:00
|
|
|
|
2005-10-19 02:45:11 +08:00
|
|
|
# vi:set ts=2 sw=2 et ai:
|