From 58f3d912e20abc57c1c68cfc28325a5d58034189 Mon Sep 17 00:00:00 2001 From: Tadas Vilkeliskis Date: Fri, 25 Oct 2013 16:34:50 -0400 Subject: csv parser --- autogen.sh | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 autogen.sh (limited to 'autogen.sh') diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..9e90913 --- /dev/null +++ b/autogen.sh @@ -0,0 +1,28 @@ +#!/bin/sh + +# Script to generate all required files from a git checkout + +command -v libtool > /dev/null 2>&1 +if [ $? -ne 0 ]; then + echo "autogen.sh: error: could not find libtool. libtool is required to run autogen.sh." 1>&2 + exit 1 +fi + +command -v autoreconf > /dev/null 2>&1 + +if [ $? -ne 0 ]; then + echo "autogen.sh: error: could not find autoreconf. autoconf and automake are required to run autogen.sh." 1>&2 + exit 1 +fi + +mkdir -p ./config +if [ $? -ne 0 ]; then + echo "autogen.sh: error: could not create directory: ./config." 1>&2 + exit 1 +fi + +autoreconf --install --force --verbose -I config +if [ $? -ne 0 ]; then + echo "autogen.sh: error: autoreconf exited with status $?" 1>&2 + exit 1 +fi -- cgit v1.2.3