From 90842bb00acbf66188aab0364cfae21be702c201 Mon Sep 17 00:00:00 2001 From: auria Date: Sun, 17 Jan 2010 22:51:32 +0000 Subject: [PATCH] Fixed inverted path in previous commits git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4483 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 633c51716..c99d021bb 100644 --- a/configure.ac +++ b/configure.ac @@ -152,6 +152,10 @@ LIBS="$save_LIBS" save_LIBS=$LIBS +# also check in /usr/local +CPPFLAGS="${CPPFLAGS} -I/usr/local/include" +LDFLAGS="$LDFLAGS -L/usr/local/lib" + # search for the libraries needed to use ogg vorbis AC_SEARCH_LIBS(ov_open, vorbisfile, have_vorbisfile_lib=yes) @@ -185,7 +189,7 @@ AC_LANG_PUSH(C++) AC_ARG_WITH(irrlicht, [AS_HELP_STRING(--with-irrlicht=PREFIX, [specify the prefix path to irrlicht])]) if test "x$with_irrlicht" != "x" ; then - CPPFLAGS="${CPPFLAGS} -I $with_irrlicht/include -I $with_irrlicht/irrlicht/include" + CPPFLAGS="${CPPFLAGS} -I $with_irrlicht/include -I $with_irrlicht/include/irrlicht" AC_CHECK_HEADER(irrlicht.h, have_irrlicht_hdr=yes) if test x$have_irrlicht_hdr != xyes; then AC_MSG_ERROR([Can't find irrlicht in $with_irrlicht.])