summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2009-04-26 17:29:16 (UTC)
committer Michael Krelin <hacker@klever.net>2009-04-26 17:29:16 (UTC)
commitdba75615b556d78accf8f0e2ee0f83434018baf9 (patch) (side-by-side diff)
tree560c79122d449308c3f6c8634e16c1383f5128ff
parentbc9cda5ce7c146d77ffca803857649b8551bcbed (diff)
downloadlibopkele-dba75615b556d78accf8f0e2ee0f83434018baf9.zip
libopkele-dba75615b556d78accf8f0e2ee0f83434018baf9.tar.gz
libopkele-dba75615b556d78accf8f0e2ee0f83434018baf9.tar.bz2
autogen: fix for centos
I just can't figure out why doesn't autoconf work for the first time, but having run it twice seems to do the trick. Signed-off-by: Michael Krelin <hacker@klever.net>
Diffstat (more/less context) (show whitespace changes)
-rwxr-xr-xautogen.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 3b0e3f8..691173c 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,13 +1,13 @@
#!/bin/sh
tool_libtoolize="$(type -P glibtoolize || type -P libtoolize)"
if test -z "$tool_libtoolize" ; then
echo "Failed to find libtoolize." ; exit 1;
fi
(test -d aux.d || mkdir aux.d) \
&& (test -d aclocal.d || mkdir aclocal.d) \
&& "$tool_libtoolize" -f \
&& aclocal -I aclocal.d \
&& autoheader \
&& automake -a \
-&& autoconf \
+&& (autoconf || autoconf) \
&& ./configure "$@"