backupninja/autogen.sh
2006-08-11 13:46:57 +00:00

23 lines
414 B
Bash
Executable File

#!/bin/bash
if [ "x$EDITOR" = "x" ];
then
EDITOR=vi
fi
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 -c \
&& autoconf