Make autoreconf -i -f work.
authorTim Terriberry <tterribe@xiph.org>
Fri, 20 May 2011 20:41:50 +0000 (20:41 +0000)
committerTim Terriberry <tterribe@xiph.org>
Fri, 20 May 2011 20:41:50 +0000 (20:41 +0000)
Patch from David Schleef.

svn path=/trunk/theora/; revision=17990

Makefile.am
configure.ac

index 89fd753..1783857 100644 (file)
@@ -4,6 +4,8 @@
 #AUTOMAKE_OPTIONS = foreign 1.7 dist-zip dist-bzip2
 AUTOMAKE_OPTIONS = foreign 1.11 dist-zip dist-xz
 
+ACLOCAL_AMFLAGS=-I m4
+
 if THEORA_ENABLE_EXAMPLES
 EXAMPLES_DIR = examples
 else
index 1cbec1a..456b603 100644 (file)
@@ -68,7 +68,7 @@ AC_LIBTOOL_WIN32_DLL
 AM_PROG_LIBTOOL
 
 dnl Add parameters for aclocal
-AC_SUBST(ACLOCAL_AMFLAGS, "-I m4")
+AC_CONFIG_MACRO_DIR([m4])
 
 dnl Check for doxygen
 AC_ARG_ENABLE([doc],