Removed autotools version numbers
[public/netxms.git] / reconf
1 #!/bin/sh
2 # Copyright (C) 2004 Alex Kirhenshtein <alk@alk.lv>
3 #
4 # This file is free software; as a special exception the author gives
5 # unlimited permission to copy and/or distribute it, with or without
6 # modifications, as long as this notice is preserved.
7 #
8 # This program is distributed in the hope that it will be useful, but
9 # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
10 # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11
12 ACLOCAL=aclocal
13 AUTOCONF=autoconf
14 AUTOHEADER=autoheader
15 AUTOMAKE=automake
16 LIBTOOLIZE=libtoolize
17
18 mkdir -p config
19 touch README
20
21 echo \*\*\* ACLOCAL: `which $ACLOCAL`
22 echo \*\*\* AUTOCONF: `which $AUTOCONF`
23 echo \*\*\* AUTOHEADER: `which $AUTOHEADER`
24 echo \*\*\* AUTOMAKE: `which $AUTOMAKE`
25 echo \*\*\* LIBTOOLIZE: `which $LIBTOOLIZE`
26
27 rm -f config.cache &&
28 [ ! -f config/ltmain.sh ] && $LIBTOOLIZE
29 echo "- aclocal." &&
30 $ACLOCAL -I m4 &&
31 echo "- autoconf." &&
32 $AUTOCONF &&
33 echo "- autoheader." &&
34 $AUTOHEADER &&
35 echo "- automake." &&
36 $AUTOMAKE -a &&
37 chmod 755 configure &&
38 exit $?