summaryrefslogtreecommitdiff
path: root/libarchive/libarchive-2.7.1/build/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/libarchive-2.7.1/build/autogen.sh')
-rwxr-xr-xlibarchive/libarchive-2.7.1/build/autogen.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/libarchive/libarchive-2.7.1/build/autogen.sh b/libarchive/libarchive-2.7.1/build/autogen.sh
new file mode 100755
index 0000000..1266b3e
--- /dev/null
+++ b/libarchive/libarchive-2.7.1/build/autogen.sh
@@ -0,0 +1,22 @@
+#!/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
+autoheader
+autoconf
+case `uname` in
+Darwin) glibtoolize --automake -c;;
+*) libtoolize --automake -c;;
+esac
+automake -a -c