author | Michael Krelin <hacker@klever.net> | 2009-04-26 17:29:16 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2009-04-26 17:29:16 (UTC) |
commit | dba75615b556d78accf8f0e2ee0f83434018baf9 (patch) (unidiff) | |
tree | 560c79122d449308c3f6c8634e16c1383f5128ff | |
parent | bc9cda5ce7c146d77ffca803857649b8551bcbed (diff) | |
download | libopkele-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>
-rwxr-xr-x | autogen.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,13 +1,13 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | tool_libtoolize="$(type -P glibtoolize || type -P libtoolize)" | 2 | tool_libtoolize="$(type -P glibtoolize || type -P libtoolize)" |
3 | if test -z "$tool_libtoolize" ; then | 3 | if test -z "$tool_libtoolize" ; then |
4 | echo "Failed to find libtoolize." ; exit 1; | 4 | echo "Failed to find libtoolize." ; exit 1; |
5 | fi | 5 | fi |
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 "$@" |