mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-01 00:54:24 +03:00
0c81f3a1bf
to ... * Makefile.am, doc-gnome/Makefile.am, pc/Makefile.am: ... this * Make.common.in: support for "distdir" for compatability with Automake-generated makefiles * autogen.sh: run automake. Force cache - it is off by default in autoconf 2.49a, but it's still handy for maintainers * configure.in: adapted for Automake
29 lines
647 B
Bash
Executable File
29 lines
647 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 && test -f mc-aclocal.m4 && test -f gettext.m4; then
|
|
cat mc-aclocal.m4 gettext.m4 > acinclude.m4
|
|
aclocal -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 "$@"
|