diff options
author | Benedikt Meurer <benny@xfce.org> | 2005-08-31 09:18:20 +0000 |
---|---|---|
committer | Benedikt Meurer <benny@xfce.org> | 2005-08-31 09:18:20 +0000 |
commit | 20e5b81417b4fcb3a4384bbc83c48b907392230c (patch) | |
tree | 026d3ef8b1438d9cc9bfa4b0b487ab8193d806bb /autogen.sh | |
parent | ef655012b2a02240f3a30bc9af7c6a6629b792fd (diff) | |
download | xfce4-dev-tools-20e5b81417b4fcb3a4384bbc83c48b907392230c.tar.gz |
2005-08-31 Benedikt Meurer <benny@xfce.org>
* configure.in.in, autogen.sh: Merge build framework changes from
libexo.
(Old svn revision: 17214)
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 28 |
1 files changed, 15 insertions, 13 deletions
@@ -8,19 +8,21 @@ # Written for Xfce by Benedikt Meurer <benny@xfce.org>. # -if (type xdt-autogen) >/dev/null 2>&1; then - exec xdt-autogen $@ -else - (aclocal && - automake --add-missing --copy --gnu && - autoconf) || exit 1 +(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 +} - if test x"${NOCONFIGURE}" = x""; then - (./configure --enable-maintainer-mode $@ && - echo "Now type \"make\" to build.") || exit 1 - else - echo "Skipping configure process." - fi -fi +# substitute revision and date +revision=`svn info $0 | awk '/^Revision: / {printf "%04d\n", $2}'` +sed -e "s/@DATE@/`date +%Y%m%d`/g" -e "s/@REVISION@/${revision}/g" \ + < "configure.in.in" > "configure.in" + +exec xdt-autogen $@ # vi:set ts=2 sw=2 et ai: |