X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mech_eap.orig;a=blobdiff_plain;f=autogen.sh;h=13432d025140e6df5274be0c09d8a50ed1c5ff28;hp=25bf74f26255d1eadd1398ec1a6d00b53be59931;hb=HEAD;hpb=31cef49681566dc99790812f31de834dfce02c74 diff --git a/autogen.sh b/autogen.sh index 25bf74f..13432d0 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,3 +1,16 @@ #!/bin/sh -touch NEWS -autoreconf --force --install +# +# Regenerate autotools files. +# + +PATH=/usr/local/bin:$PATH + +if [ -x "`which autoreconf 2>/dev/null`" ] ; then + exec autoreconf -ivf +fi + +aclocal -I . -I m4 && \ + autoheader && \ + libtoolize --automake -c && \ + autoconf && \ + automake --add-missing --copy