summaryrefslogtreecommitdiffstats
path: root/cvscompile
diff options
context:
space:
mode:
Diffstat (limited to 'cvscompile')
-rw-r--r--cvscompile17
1 files changed, 17 insertions, 0 deletions
diff --git a/cvscompile b/cvscompile
new file mode 100644
index 0000000..41bd1f7
--- /dev/null
+++ b/cvscompile
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+touch ltconfig
+libtoolize --force --copy --automake
+aclocal $ACLOCAL_FLAGS
+autoheader
+automake --foreign --copy --add-missing
+touch depcomp # seems to be missing for old automake
+autoconf
+export CFLAGS='-O2 -Wall -W -pipe -g'
+echo "CFLAGS=$CFLAGS"
+echo "./configure $@"
+./configure $@ || exit 1
+unset CFLAGS
+if [ -z "$CVSCOMPILE_NO_MAKE" ]; then
+ make
+fi