1#! /bin/sh 2 3# $Id: autogen.sh,v 1.1 2009-02-09 06:45:12 michael Exp $ 4# 5# Copyright (c) 2002 Daniel Elstner <daniel.elstner@gmx.net> 6# 7# This program is free software; you can redistribute it and/or modify 8# it under the terms of the GNU General Public License VERSION 2 as 9# published by the Free Software Foundation. You are not allowed to 10# use any other version of the license; unless you got the explicit 11# permission from the author to do so. 12# 13# This program is distributed in the hope that it will be useful, 14# but WITHOUT ANY WARRANTY; without even the implied warranty of 15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16# GNU General Public License for more details. 17# 18# You should have received a copy of the GNU General Public License 19# along with this program; if not, write to the Free Software 20# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 22 23dir=`echo "$0" | sed 's,[^/]*$,,'` 24test "x${dir}" = "x" && dir='.' 25 26if test "x`cd "${dir}" 2>/dev/null && pwd`" != "x`pwd`" 27then 28 echo "This script must be executed directly from the source directory." 29 exit 1 30fi 31 32rm -f config.cache acconfig.h 33 34# echo "- libtoolize." && \ 35# libtoolize --force && \ 36echo "- aclocal." && \ 37aclocal && \ 38echo "- autoconf." && \ 39autoconf && \ 40echo "- autoheader." && \ 41autoheader && \ 42echo "- automake." && \ 43automake --add-missing --gnu && \ 44exit 0 45 46# echo && \ 47# ./configure "$@" && exit 0 48 49exit 1 50 51