mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +03:00
22 lines
441 B
Bash
Executable File
22 lines
441 B
Bash
Executable File
srcdir=`dirname $0`
|
|
test -z "$srcdir" && srcdir=.
|
|
|
|
(
|
|
cd $srcdir
|
|
if test -d macros; then
|
|
cat macros/gnome.m4 macros/gnome-vfs.m4 macros/gnome-undelfs.m4 \
|
|
macros/linger.m4 mc-aclocal.m4 gettext.m4 glib.m4 > aclocal.m4
|
|
else
|
|
echo macros directory not found, skipping generation of aclocal.m4
|
|
fi
|
|
autoheader
|
|
autoconf
|
|
)
|
|
|
|
if [ ! -z "$OBJ_DIR" ]; then
|
|
mkdir -p "$OBJ_DIR"
|
|
cd "$OBJ_DIR"
|
|
fi
|
|
|
|
$srcdir/$OBJDIR/configure --enable-maintainer-mode $*
|