diff options
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..aae1061 --- /dev/null +++ b/autogen.sh @@ -0,0 +1,22 @@ +#!/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 |