ldap: Run on host when vsnames is empty.
[matthijs/upstream/backupninja-vserver.git] / autogen.sh
1 #!/bin/bash
2
3 if [ "x$EDITOR" = "x" ];
4 then
5         EDITOR=vi
6 fi
7
8 if [ "x$1" = "x-f"  ]
9 then
10     autoscan
11     [ -f "configure.in" ] && cp "configure.in" "configure.in.old"
12     mv -f "configure.scan" "configure.in"
13     echo "## This is just AUTOSCAN draft of configure.in"
14     $EDITOR "configure.in"
15 fi
16
17 ### použít jen když je třeba použít configure.h.in
18 #autoheader
19
20 aclocal \
21 && automake -a -c \
22 && autoconf