aboutsummaryrefslogtreecommitdiff
path: root/deduper/libpuzzle/autogen.sh
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2020-04-06 00:50:58 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2020-04-06 00:50:58 +0800
commited47c1557915bb2472f6959e723cd76155312a98 (patch)
tree85bc451630ebaa4f5ffce3043b4cbf948a912a66 /deduper/libpuzzle/autogen.sh
parent0a094f28c2e2ebfaac91398ae62e40f00f09221b (diff)
downloadoddities-ed47c1557915bb2472f6959e723cd76155312a98.tar.xz
Add deduper (unfinished tool for finding image duplicates).
Diffstat (limited to 'deduper/libpuzzle/autogen.sh')
-rwxr-xr-xdeduper/libpuzzle/autogen.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/deduper/libpuzzle/autogen.sh b/deduper/libpuzzle/autogen.sh
new file mode 100755
index 0000000..4717fc4
--- /dev/null
+++ b/deduper/libpuzzle/autogen.sh
@@ -0,0 +1,17 @@
+#! /bin/sh
+
+if [ -x "`which autoreconf 2>/dev/null`" ] ; then
+ exec autoreconf -ivf
+fi
+
+if glibtoolize --version > /dev/null 2>&1; then
+ LIBTOOLIZE='glibtoolize'
+else
+ LIBTOOLIZE='libtoolize'
+fi
+
+$LIBTOOLIZE && \
+aclocal && \
+autoheader && \
+automake --add-missing --force-missing --include-deps && \
+autoconf