summaryrefslogtreecommitdiffstats
path: root/memory/jemalloc/src/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'memory/jemalloc/src/autogen.sh')
-rwxr-xr-xmemory/jemalloc/src/autogen.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/memory/jemalloc/src/autogen.sh b/memory/jemalloc/src/autogen.sh
new file mode 100755
index 000000000..75f32da68
--- /dev/null
+++ b/memory/jemalloc/src/autogen.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+for i in autoconf; do
+ echo "$i"
+ $i
+ if [ $? -ne 0 ]; then
+ echo "Error $? in $i"
+ exit 1
+ fi
+done
+
+echo "./configure --enable-autogen $@"
+./configure --enable-autogen $@
+if [ $? -ne 0 ]; then
+ echo "Error $? in ./configure"
+ exit 1
+fi