aboutsummaryrefslogtreecommitdiff
path: root/makeconf.sh
diff options
context:
space:
mode:
authorGravatar Miklos Szeredi <miklos@szeredi.hu>2004-11-10 11:52:26 +0000
committerGravatar Miklos Szeredi <miklos@szeredi.hu>2004-11-10 11:52:26 +0000
commit51ec103bec44fc172cb606e30fd681f378ed4809 (patch)
treea1f33cf34250c562cc41d2b58266cd0bb59c650c /makeconf.sh
parent064efb0c65763655c3b7cc66b0dc0c553b60a2a5 (diff)
merge up to fuse_2_0_merge1
Diffstat (limited to 'makeconf.sh')
-rwxr-xr-xmakeconf.sh26
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'."