#!/bin/sh # # $Id: autogen.sh 23241 2006-09-29 19:05:15Z kelnos $ # # Copyright (c) 2002-2005 # The Xfce development team. All rights reserved. # # Written for Xfce by Benedikt Meurer . # (type xdt-autogen) >/dev/null 2>&1 || { cat >&2 </dev/null 2>&1 || { cat >&2 <configure.ac echo 'dnl *** DO NOT EDIT! ***' >>configure.ac echo >>configure.ac # 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.ac.in" >> "configure.ac" xdt-autogen $@ # vi:set ts=2 sw=2 et ai: