diff options
Diffstat (limited to 'makeconf.sh')
-rwxr-xr-x | makeconf.sh | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/makeconf.sh b/makeconf.sh index ab11b9b..67357e3 100755 --- a/makeconf.sh +++ b/makeconf.sh @@ -1,15 +1,21 @@ #! /bin/sh -echo "NOTE: this script is obsolete. Use autoreconf instead!" echo Running libtoolize... -libtoolize --automake -echo Running aclocal... -aclocal -echo Running autoheader... -autoheader -echo Running autoconf... -autoconf -echo Running automake... -automake -a -c +libtoolize --automake -c + +if test ! -z "`which autoreconf`"; then + echo Running autoreconf... + autoreconf -i +else + echo Running aclocal... + aclocal + echo Running autoheader... + autoheader + echo Running autoconf... + autoconf + echo Running automake... + automake -a -c +fi + rm -f config.cache config.status echo "To compile run './configure', and then 'make'." |