From 95fa7e51c271a4f843689e426a2c2f3aa61c833b Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 30 Jun 2003 17:26:22 +0000 Subject: [PATCH] Better EBML and Matroska detection if --prefix is used for configure. --- acinclude-2.1.m4 | 4 ++-- acinclude-2.5.m4 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/acinclude-2.1.m4 b/acinclude-2.1.m4 index 0fcb2fe18..d65e2b5d4 100644 --- a/acinclude-2.1.m4 +++ b/acinclude-2.1.m4 @@ -294,7 +294,7 @@ AC_ARG_ENABLE(ebmltest, [ --disable-ebmltest Do not try to compile a if test "x$ebml_include" != "x"; then EBML_CFLAGS="-I$ebml_include" else - EBML_CFLAGS="-I$prefix/include" + EBML_CFLAGS="-I$prefix/include -I$prefix/include/ebml" fi if test "x$ebml_lib" != "x"; then EBML_LIBS="-L$ebml_lib" @@ -417,7 +417,7 @@ AC_ARG_ENABLE(matroskatest, [ --disable-matroskatest Do not try to compi if test "x$matroska_include" != "x"; then MATROSKA_CFLAGS="-I$matroska_include" else - MATROSKA_CFLAGS="-I$prefix/include" + MATROSKA_CFLAGS="-I$prefix/include -I$prefix/include/matroska" fi if test "x$matroska_lib" != "x"; then MATROSKA_LIBS="-L$matroska_lib" diff --git a/acinclude-2.5.m4 b/acinclude-2.5.m4 index 9a0e80be4..e9f1e897d 100644 --- a/acinclude-2.5.m4 +++ b/acinclude-2.5.m4 @@ -294,7 +294,7 @@ AC_ARG_ENABLE(ebmltest, [ --disable-ebmltest Do not try to compile a if test "x$ebml_include" != "x"; then EBML_CFLAGS="-I$ebml_include" else - EBML_CFLAGS="-I$prefix/include" + EBML_CFLAGS="-I$prefix/include -I$prefix/include/ebml" fi if test "x$ebml_lib" != "x"; then EBML_LIBS="-L$ebml_lib" @@ -417,7 +417,7 @@ AC_ARG_ENABLE(matroskatest, [ --disable-matroskatest Do not try to compi if test "x$matroska_include" != "x"; then MATROSKA_CFLAGS="-I$matroska_include" else - MATROSKA_CFLAGS="-I$prefix/include" + MATROSKA_CFLAGS="-I$prefix/include -I$prefix/include/matroska" fi if test "x$matroska_lib" != "x"; then MATROSKA_LIBS="-L$matroska_lib"