2005-10-27 01:05:26 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
2006-08-11 15:46:57 +02:00
|
|
|
if [ "x$EDITOR" = "x" ];
|
|
|
|
then
|
|
|
|
EDITOR=vi
|
|
|
|
fi
|
|
|
|
|
2005-10-27 01:05:26 +02:00
|
|
|
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"
|
2005-10-27 01:05:26 +02:00
|
|
|
fi
|
|
|
|
|
|
|
|
### použít jen když je třeba použít configure.h.in
|
|
|
|
#autoheader
|
|
|
|
|
2006-01-26 22:05:45 +01:00
|
|
|
aclocal \
|
2006-01-26 22:41:57 +01:00
|
|
|
&& automake -a -c \
|
2006-01-26 22:05:45 +01:00
|
|
|
&& autoconf
|