$OpenBSD: patch-configure_ac,v 1.6 2012/09/05 08:09:27 ajacoutot Exp $

Second part of this patch is to allow to compile libdvdnav with another
version installed.

--- configure.ac.orig	Fri Oct  7 16:20:59 2011
+++ configure.ac	Sun Sep  2 22:27:34 2012
@@ -201,7 +201,7 @@ dnl ---------------------------------------------
 dnl cflags
 dnl ---------------------------------------------
 dnl Common cflags for all platforms
-CFLAGS="-O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE $CFLAGS"
+CFLAGS="-Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE $CFLAGS"
 DEBUG_CFLAGS="-g -DDEBUG $CFLAGS"
 
 AC_SUBST(DEBUG_CFLAGS)
@@ -214,7 +214,7 @@ AC_CHECK_PROG(DOXYGEN, doxygen, doxygen, no)
 dnl ---------------------------------------------
 dnl Some include paths ( !!! DO NOT REMOVE !!! )
 dnl ---------------------------------------------
-INCLUDES='-I$(top_srcdir) $(DVDNAV_CFLAGS)'
+INCLUDES='-I$(top_srcdir) -I$(top_srcdir)/src $(DVDNAV_CFLAGS)'
 AC_SUBST(INCLUDES)
 
 dnl ---------------------------------------------
