mirror of
https://github.com/utmapp/libepoxy.git
synced 2026-12-01 07:53:40 -10:00
As libtool suggest we do; this also allows using ACLOCAL_AMFLAGS inside build that create a separate environment with their own m4 macros, like jhbuild and Cerberus. In order to avoid a warning from autoreconf, we create the empty macros directory during the autogen.sh step; aclocal would create the directory for us anyway, but different versions of autotools may have different behaviours. Closes: #58
17 lines
241 B
Bash
Executable File
17 lines
241 B
Bash
Executable File
#! /bin/sh
|
|
|
|
srcdir=`dirname $0`
|
|
test -z "$srcdir" && srcdir=.
|
|
|
|
ORIGDIR=`pwd`
|
|
cd "$srcdir"
|
|
|
|
mkdir m4 || exit 1
|
|
|
|
autoreconf -v --install || exit $?
|
|
cd "$ORIGDIR" || exit $?
|
|
|
|
if test -z "$NOCONFIGURE"; then
|
|
exec "$srcdir/configure" "$@"
|
|
fi
|