backupninja/autogen.sh

23 lines
414 B
Bash
Raw Normal View History

#!/bin/bash
if [ "x$EDITOR" = "x" ];
then
EDITOR=vi
fi
if [ "x$1" = "x-f" ]
then
autoscan
2018-06-29 17:14:06 +02:00
[ -f "configure.ac" ] && cp "configure.ac" "configure.ac.old"
mv -f "configure.scan" "configure.ac"
echo "## This is just AUTOSCAN draft of configure.ac"
$EDITOR "configure.ac"
fi
### použít jen když je třeba použít configure.h.in
#autoheader
aclocal \
2006-01-26 22:41:57 +01:00
&& automake -a -c \
&& autoconf