Commit fafe6832 authored by Ghislain MARY's avatar Ghislain MARY

Allow out-of-tree build and use config.h header.

parent e65bcdff
#!/bin/sh
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
THEDIR=`pwd`
cd $srcdir
#AM_VERSION="1.11"
if ! type aclocal-$AM_VERSION 1>/dev/null 2>&1; then
AUTOMAKE=automake
......@@ -26,7 +32,9 @@ echo "Generating build scripts for iSAC mediastreamer2 plugin..."
set -x
$LIBTOOLIZE --copy --force
$ACLOCAL $ACLOCAL_ARGS
#autoheader
autoheader
$AUTOMAKE --force-missing --add-missing --copy
autoconf
cd $THEDIR
......@@ -12,6 +12,8 @@ AC_CANONICAL_SYSTEM
AM_INIT_AUTOMAKE([tar-ustar --warnings=no-portability])
AC_CONFIG_HEADERS(config.h)
AC_ARG_ENABLE(strict,
[ --enable-strict Enable error on compilation warning [default=no]],
[wall_werror=$enableval],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment