diff options
author | Martin Szulecki | 2013-02-17 17:26:58 +0100 |
---|---|---|
committer | Martin Szulecki | 2013-02-17 17:26:58 +0100 |
commit | 42f5b53169ae89a226054280ebd581ccc8ab766a (patch) | |
tree | 947037dd777865212c0f1a42b8a1cb40646169c7 | |
parent | 943b64678c6e9d6ed9553b5fd628922de6aa75a3 (diff) | |
download | csoap-42f5b53169ae89a226054280ebd581ccc8ab766a.tar.gz csoap-42f5b53169ae89a226054280ebd581ccc8ab766a.tar.bz2 |
Update autogen.sh and add libtool step
-rwxr-xr-x | autogen.sh | 48 |
1 files changed, 44 insertions, 4 deletions
@@ -1,7 +1,47 @@ #!/bin/sh +echo -n 'Running libtoolize... ' +if [ `uname -s` = Darwin ] +then + LIBTOOLIZE=glibtoolize +else + LIBTOOLIZE=libtoolize +fi -aclocal -autoconf -automake --add-missing --copy -automake +if $LIBTOOLIZE --force; then + echo 'done.' +else + echo 'failed.' + exit 1 +fi +echo -n 'Running aclocal... ' +if aclocal; then + echo 'done.' +else + echo 'failed.' + exit 1 +fi + +echo -n 'Running autoheader... ' +if autoheader; then + echo 'done.' +else + echo 'failed.' + exit 1 +fi + +echo -n 'Running automake... ' +if automake --add-missing; then + echo 'done.' +else + echo 'failed.' + exit 1 +fi + +echo -n 'Running autoconf... ' +if autoconf; then + echo 'done.' +else + echo 'failed.' + exit 1 +fi |