Build Fix -- compatibility issue with newer autoconf
[sxemacs] / modules / autogen.sh
1 #!/bin/sh
2
3 olddir=`pwd`
4 srcdir=`dirname $0`
5 test -z "$srcdir" && srcdir=.
6
7 cd "$srcdir"
8 ##rm -rf autom4te.cache aclocal.m4
9
10 if test -z "$FORCE"; then
11     FORCE=
12 else
13     FORCE=--force
14 fi
15
16 # aclocal -I . $FORCE
17 # autoheader $FORCE -Wall
18 # autoconf $FORCE -Wall
19 # automake $FORCE -ac -Wall
20
21 autoreconf $FORCE --install -Wall
22
23 cd $olddir