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) (unidiff)
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) (ignore 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 @@
1#!/bin/sh 1#!/bin/sh
2tool_libtoolize="$(type -P glibtoolize || type -P libtoolize)" 2tool_libtoolize="$(type -P glibtoolize || type -P libtoolize)"
3if test -z "$tool_libtoolize" ; then 3if test -z "$tool_libtoolize" ; then
4 echo "Failed to find libtoolize." ; exit 1; 4 echo "Failed to find libtoolize." ; exit 1;
5fi 5fi
6 (test -d aux.d || mkdir aux.d) \ 6 (test -d aux.d || mkdir aux.d) \
7&& (test -d aclocal.d || mkdir aclocal.d) \ 7&& (test -d aclocal.d || mkdir aclocal.d) \
8&& "$tool_libtoolize" -f \ 8&& "$tool_libtoolize" -f \
9&& aclocal -I aclocal.d \ 9&& aclocal -I aclocal.d \
10&& autoheader \ 10&& autoheader \
11&& automake -a \ 11&& automake -a \
12&& autoconf \ 12&& (autoconf || autoconf) \
13&& ./configure "$@" 13&& ./configure "$@"