Follow changes in pkg.m4, fixing Gnome bug #166537, that happened on 2005-10-17 and...
[gmidimonitor.git] / bootstrap
blob0ae3a1c4ce74bb1ff0c899f656c308baae457d8d
1 #!/bin/sh
3 # autotools bootstrap script for gmidimonitor.
5 # This file is part of gmidimonitor
7 # Copyright (C) 2007 Nedko Arnaudov <nedko@arnaudov.name>
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; version 2 of the License
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.
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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
23 if test x$1 = xclean
24 then
25 GENERATED="aclocal.m4 autom4te.cache config.h.in configure config Makefile.in"
26 set -x
27 if test -f Makefile; then make distclean; fi
28 rm -rf ${GENERATED}
29 else
30 set -x
31 mkdir -p config
32 aclocal -I config
33 libtoolize --copy --force
34 autoheader
35 automake --foreign --add-missing --copy
36 autoconf