summaryrefslogtreecommitdiff
path: root/json-c/src/autogen.sh
diff options
context:
space:
mode:
authorMichał Cichoń <michcic@gmail.com>2015-08-25 19:58:37 +0200
committerMichał Cichoń <michcic@gmail.com>2015-08-25 19:58:37 +0200
commita68df043bfbc7f8f38332143577877846631eca4 (patch)
treebf0e892f6e6df291111536e5db14982c834efe13 /json-c/src/autogen.sh
parent62c78119f83d76661ded8c852ac42c3b9330d211 (diff)
downloadpianobar-windows-build-a68df043bfbc7f8f38332143577877846631eca4.tar.gz
pianobar-windows-build-a68df043bfbc7f8f38332143577877846631eca4.tar.bz2
pianobar-windows-build-a68df043bfbc7f8f38332143577877846631eca4.zip
Update build environment
- remove faad2 - remove mad - remove polarssl - remove pthreads - add libcurl - add vtparse with UTF8 support - update project to use Visual Studio 2015
Diffstat (limited to 'json-c/src/autogen.sh')
-rw-r--r--json-c/src/autogen.sh14
1 files changed, 13 insertions, 1 deletions
diff --git a/json-c/src/autogen.sh b/json-c/src/autogen.sh
index c67b903..51d9e8e 100644
--- a/json-c/src/autogen.sh
+++ b/json-c/src/autogen.sh
@@ -1 +1,13 @@
-autoreconf -v --install || exit 1
+#!/bin/sh
+autoreconf -v --install || exit 1
+
+# If there are any options, assume the user wants to run configure.
+# To run configure w/o any options, use ./autogen.sh --configure
+if [ $# -gt 0 ] ; then
+ case "$1" in
+ --conf*)
+ shift 1
+ ;;
+ esac
+ exec ./configure "$@"
+fi