diff options
Diffstat (limited to 'Utilities/cmlibarchive/build/autogen.sh')
-rwxr-xr-x | Utilities/cmlibarchive/build/autogen.sh | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Utilities/cmlibarchive/build/autogen.sh b/Utilities/cmlibarchive/build/autogen.sh new file mode 100755 index 0000000..03cd657 --- /dev/null +++ b/Utilities/cmlibarchive/build/autogen.sh @@ -0,0 +1,25 @@ +#!/bin/sh + + +# Start from one level above the build directory +if [ -f version ]; then + cd .. +fi + +if [ \! -f build/version ]; then + echo "Can't find source directory" + exit 1 +fi + +set -xe +aclocal -I build/autoconf + +# Note: --automake flag needed only for libtoolize from +# libtool 1.5.x; in libtool 2.2.x it is a synonym for --quiet +case `uname` in +Darwin) glibtoolize --automake -c;; +*) libtoolize --automake -c;; +esac +autoconf +autoheader +automake -a -c |