configure: put m4 macros and autogenerated files into m4/ directory.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
This commit is contained in:
Javier Jardón 2012-06-28 00:27:31 +09:00 committed by Gwenole Beauchesne
parent 27246f04ab
commit 7eef852bdb
3 changed files with 13 additions and 4 deletions

View file

@ -1,3 +1,5 @@
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
AUTOMAKE_OPTIONS = foreign
SUBDIRS = debian.upstream gst-libs gst pkgconfig tests docs

View file

@ -12,6 +12,8 @@ test $TEST_TYPE $FILE || {
exit 1
}
mkdir -p m4
GTKDOCIZE=`which gtkdocize`
if test -z $GTKDOCIZE; then
echo "*** No gtk-doc support ***"
@ -33,7 +35,7 @@ if test -z $AUTORECONF; then
echo "*** No autoreconf found ***"
exit 1
else
ACLOCAL="${ACLOCAL-aclocal} $ACLOCAL_FLAGS" autoreconf -v --install || exit $?
autoreconf -v --install || exit $?
fi
if test -z "$NO_CONFIGURE"; then

View file

@ -59,10 +59,15 @@ AC_PREREQ([2.58])
AC_INIT([gst_vaapi], [gst_vaapi_version],
[gwenole.beauchesne@intel.com],
[gstreamer-vaapi])
AC_CONFIG_SRCDIR([Makefile.am])
AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_SRCDIR([Makefile.am])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_AUX_DIR([build-aux])
AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE
TODAY="`LC_ALL=C date +'%a, %d %b %Y %X %z'`"
AC_SUBST(TODAY)