diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-10-12 21:19:48 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-10-12 21:19:48 +0200 |
commit | adc6d371af2cf356578fee6be0711d6db7f31288 (patch) | |
tree | 969a2b081f5089168a798dd945a8e0b287d02f8d /autogen.sh | |
parent | fafc815d3b2f525e703ab9482a008201097ab90d (diff) | |
parent | 32d9c872e7abdaedb497e7403a44470676838ecb (diff) |
Merge in from master.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -1,2 +1,25 @@ #!/bin/sh -e + +# Check if hugin has been obtained: +if [ ! -d hugin ] +then + echo "You are missing the hugin submodule." + echo "Run" + echo " git submodule init" + echo " git submodule update" + echo "to obtain it." + exit 1 +fi + +# Check for the existence of cppunit.m4. If missing emulate it. +mkdir -p actest +cat << EOF > actest/configure.ac +AC_INIT([actest], [1.0.0]) +AM_PATH_CPPUNIT(1.9.6) +EOF +[ -f acinclude.m4 ] && rm acinclude.m4 +autoreconf -W error actest 2>/dev/null || echo "AC_DEFUN([AM_PATH_CPPUNIT],[echo 'cppunit hack'])" > acinclude.m4 +rm -Rf actest + +# Now run autoreconf ${AUTORECONF:-autoreconf} -fiv |