mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
69952de7c5
* autogen.sh: Add "-I macros" to the aclocal flags. * mc-aclocal.m4: Renamed fp_PROG_CC_STDC to MC_HPUX_PROG_CC_STDC so that aclocal will not complain about an obsolete macro. * configure.in: Use MC_HPUX_PROG_CC_STDC * ChangeLog: There was no ChangeLog here, so I added one.
26 lines
540 B
Bash
Executable File
26 lines
540 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
|
|
test -f mc-aclocal.m4 && test -f gettext.m4 && cat mc-aclocal.m4 gettext.m4 > acinclude.m4
|
|
aclocal -I macros $ACLOCAL_FLAGS
|
|
else
|
|
echo macros directory not found, skipping generation of aclocal.m4
|
|
fi
|
|
autoheader
|
|
autoconf
|
|
)
|
|
|
|
if [ -z "$OBJ_DIR" ]; then
|
|
$srcdir/configure --enable-maintainer-mode $*
|
|
else
|
|
mkdir -p "$OBJ_DIR"
|
|
cd "$OBJ_DIR"
|
|
../configure --enable-maintainer-mode $*
|
|
fi
|