1#!/bin/sh 2 3# This script tries to follow the "GNU way" w.r.t. the autobits. 4# This does of course generate a number of irritating files. 5# Try to get over it (I am getting there myself). 6 7# This should generate any missing crud, and then run autoconf which should turn 8# configure.in into a "./configure" script and "Makefile.am" into a 9# "Makefile.in". Then running "./configure" should turn "Makefile.in" into 10# "Makefile" and should generate the config.h containing your systems various 11# settings. I know ... what a hassle ... 12 13# Also, sometimes these autobits things generate bizarre output (looking like 14# errors). So I direct everything "elsewhere" ... 15 16(aclocal 17autoheader 18libtoolize --copy --force 19automake --foreign --add-missing --copy 20autoconf) 1> /dev/null 2>&1 21 22# Move the "no-autotools" Makefile out of the way 23if test ! -f Makefile.plain; then 24 mv Makefile Makefile.plain 25fi 26