Implemented retention time for DCO instances. Fixes #NX-757
[public/netxms.git] / reconf
CommitLineData
3d9b275c 1#!/bin/sh
950013d9
AK
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
2adc2d49
AK
12autoreconf -fi -W none,obsolete,syntax
13exit $?
14
b263092f
VK
15ACLOCAL=aclocal
16AUTOCONF=autoconf
17AUTOHEADER=autoheader
18AUTOMAKE=automake
bde311b8 19if test -x "`which libtoolize`"; then
6caa8b7f
VK
20 LIBTOOLIZE=libtoolize
21fi
bde311b8 22if test -x "`which glibtoolize`"; then
6caa8b7f
VK
23 LIBTOOLIZE=glibtoolize
24fi
3d9b275c 25
c2f314dc 26mkdir -p config
050afaa8 27touch README
c2f314dc 28
6cd235ca
AK
29echo \*\*\* ACLOCAL: `which $ACLOCAL`
30echo \*\*\* AUTOCONF: `which $AUTOCONF`
31echo \*\*\* AUTOHEADER: `which $AUTOHEADER`
32echo \*\*\* AUTOMAKE: `which $AUTOMAKE`
33echo \*\*\* LIBTOOLIZE: `which $LIBTOOLIZE`
34
950013d9 35rm -f config.cache &&
3d9b275c 36[ ! -f config/ltmain.sh ] && $LIBTOOLIZE
950013d9 37echo "- aclocal." &&
3d9b275c 38$ACLOCAL -I m4 &&
950013d9 39echo "- autoconf." &&
3d9b275c 40$AUTOCONF &&
950013d9 41echo "- autoheader." &&
3d9b275c 42$AUTOHEADER &&
950013d9 43echo "- automake." &&
3d9b275c 44$AUTOMAKE -a &&
4cd0c9a7
VK
45chmod 755 configure
46
47if test -d src/private; then
48 FILES=`cat src/private/configure.files`
49 for file in $FILES; do
50 echo "Processing $file"
51 $AUTOMAKE $file
52 done
53fi
54
6693a1d0 55exit $?