aboutsummaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2005-10-26 23:05:26 +0000
committerMicah Anderson <micah@riseup.net>2005-10-26 23:05:26 +0000
commitd076494a6ea20754841582d0903b13eb6a973cfd (patch)
treef38b4b96a044ef1449a0049aa09f4d70e9ddf960 /autogen.sh
parentc4785ba5edb9738f7e9da8c4086a4b6984515dd2 (diff)
downloadbackupninja-d076494a6ea20754841582d0903b13eb6a973cfd.tar.gz
backupninja-d076494a6ea20754841582d0903b13eb6a973cfd.tar.bz2
A little rearranging to get to autotools
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..05a815a
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+if [ "x$1" = "x-f" ]
+then
+ autoscan
+ [ -f "configure.in" ] && cp "configure.in" "configure.in.old"
+ mv -f "configure.scan" "configure.in"
+ echo "## This is just AUTOSCAN draft of configure.in"
+ $EDITOR "configure.in"
+fi
+
+### použít jen když je třeba použít configure.h.in
+#autoheader
+
+aclocal
+automake -a
+autoconf