summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-02-17 17:26:58 +0100
committerGravatar Martin Szulecki2013-02-17 17:26:58 +0100
commit42f5b53169ae89a226054280ebd581ccc8ab766a (patch)
tree947037dd777865212c0f1a42b8a1cb40646169c7
parent943b64678c6e9d6ed9553b5fd628922de6aa75a3 (diff)
downloadcsoap-42f5b53169ae89a226054280ebd581ccc8ab766a.tar.gz
csoap-42f5b53169ae89a226054280ebd581ccc8ab766a.tar.bz2
Update autogen.sh and add libtool step
-rwxr-xr-xautogen.sh48
1 files changed, 44 insertions, 4 deletions
diff --git a/autogen.sh b/autogen.sh
index d389e09..df5b3d7 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -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