mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 18:14:25 +03:00
57aed41219
* acinclude.m4: ... this * autogen.sh: simplified - no more tricks with mc-aclocal.m4 * Makefile.am: aclocal should scan "." for gettext.m4
28 lines
560 B
Bash
Executable File
28 lines
560 B
Bash
Executable File
#! /bin/sh
|
|
# Run this to generate all the initial makefiles, etc.
|
|
|
|
srcdir=`dirname $0`
|
|
test -z "$srcdir" && srcdir=.
|
|
|
|
(
|
|
cd $srcdir
|
|
if test -d macros; then
|
|
aclocal -I . -I macros $ACLOCAL_FLAGS || exit 1
|
|
else
|
|
if test -f aclocal.m4; then
|
|
echo Warning: aclocal.m4 cannot be rebuilt
|
|
else
|
|
echo Error: aclocal.m4 cannot be created
|
|
exit 1
|
|
fi
|
|
fi
|
|
autoheader || exit 1
|
|
autoconf || exit 1
|
|
automake -a || exit 1
|
|
cd vfs/samba || exit 1
|
|
autoheader || exit 1
|
|
autoconf || exit 1
|
|
) || exit 1
|
|
|
|
$srcdir/configure --cache-file=config.cache --enable-maintainer-mode "$@"
|