summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2014-05-24 20:52:52 +0200
committerPatrick Ohly <patrick.ohly@intel.com>2014-05-24 20:52:52 +0200
commitfd52e77f29cee8b0827bdb15742b3f101d237254 (patch)
tree10e1989f1bfd282f34eb11d6bfa4ebc4b9883a56 /autogen.sh
downloadneon-fd52e77f29cee8b0827bdb15742b3f101d237254.tar.gz
neon-fd52e77f29cee8b0827bdb15742b3f101d237254.tar.bz2
neon-fd52e77f29cee8b0827bdb15742b3f101d237254.zip
Imported Upstream version 0.29.0upstream/0.29.0
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh29
1 files changed, 29 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..2643313
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,29 @@
+#!/bin/sh
+rm -f ltconfig ltmain.sh config.cache aclocal.m4 config.guess config.sub
+# remove the autoconf cache
+rm -rf autom4te*.cache
+# create a .version file for configure.in
+if test ! -f .version; then
+ # Building from SVN rather than in a release
+ echo 0.0.0-dev > .version
+ # for the documentation:
+ date +"%e %B %Y" | tr -d '\n' > doc/date.xml
+ echo -n 0.0.0-dev > doc/version.xml
+fi
+set -e
+echo -n "libtoolize... "
+LIBTOOLIZE=${LIBTOOLIZE:-libtoolize}
+if ${LIBTOOLIZE} --help | grep -- --install > /dev/null; then
+ ${LIBTOOLIZE} --copy --force --install >/dev/null;
+else
+ ${LIBTOOLIZE} --copy --force >/dev/null
+fi
+echo -n "aclocal... "
+${ACLOCAL:-aclocal} -I macros
+echo -n "autoheader... "
+${AUTOHEADER:-autoheader}
+echo -n "autoconf... "
+${AUTOCONF:-autoconf} -Wall
+echo okay.
+# remove the autoconf cache
+rm -rf autom4te*.cache