1998-11-23 01:04:09 +03:00
|
|
|
#! /bin/sh
|
|
|
|
# Run this to generate all the initial makefiles, etc.
|
|
|
|
|
1998-03-23 10:12:13 +03:00
|
|
|
srcdir=`dirname $0`
|
|
|
|
test -z "$srcdir" && srcdir=.
|
|
|
|
|
|
|
|
(
|
|
|
|
cd $srcdir
|
2000-08-30 00:00:37 +04:00
|
|
|
if test -d macros; then
|
2000-09-12 23:31:56 +04:00
|
|
|
aclocal -I macros $ACLOCAL_FLAGS || exit 1
|
1998-09-08 16:21:59 +04:00
|
|
|
else
|
2000-08-18 08:16:25 +04:00
|
|
|
if test -f aclocal.m4; then
|
|
|
|
echo Warning: aclocal.m4 cannot be rebuilt
|
|
|
|
else
|
|
|
|
echo Error: aclocal.m4 cannot be created
|
|
|
|
exit 1
|
|
|
|
fi
|
1998-09-08 16:21:59 +04:00
|
|
|
fi
|
2000-08-18 08:16:25 +04:00
|
|
|
autoheader || exit 1
|
2000-08-24 18:13:00 +04:00
|
|
|
autoconf || exit 1
|
|
|
|
automake -a || exit 1
|
2000-08-18 08:16:25 +04:00
|
|
|
cd vfs/samba || exit 1
|
2001-02-08 03:01:21 +03:00
|
|
|
date -u >include/stamp-h.in
|
2000-08-18 08:16:25 +04:00
|
|
|
autoheader || exit 1
|
|
|
|
autoconf || exit 1
|
|
|
|
) || exit 1
|
1998-03-23 10:12:13 +03:00
|
|
|
|
2000-08-24 18:13:00 +04:00
|
|
|
$srcdir/configure --cache-file=config.cache --enable-maintainer-mode "$@"
|