1
1
mc/autogen.sh
Norbert Warmuth 45bb4a3329 Sun Nov 22 22:23:20 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
* tk/Makefile.in: added findme.o to LOBJS and filegui.o to OOBJS

* autogen.sh: replaced "cat *.m4" with a call to aclocal. Concatenate
mc-aclocal.m4 and gettext.m4 to acinclude.m4. The other way round
would have been to add three more m4 files to the replaced cat line
(including cond.m4 from automake-1.3b).

Fixed OBJ_DIR handling.

* deleted glib.m4 which isn't needed any longer

* cvsignore: added acinclude.m4
1998-11-22 22:04:09 +00:00

26 строки
530 B
Bash
Исполняемый файл

#! /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 $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