Atetmpt at fixing --with-irrlicht when irrlicht is installed unix-style

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4482 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2010-01-17 21:40:46 +00:00
parent 18affc70c1
commit 09d21b2261

View File

@ -185,7 +185,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"
CPPFLAGS="${CPPFLAGS} -I $with_irrlicht/include -I $with_irrlicht/irrlicht/include"
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.])