blob: 83365b4e6f0cc1b929e21691c84bfa60afab0b24 [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001From 89c62db54716d514e639f9e1bfd3c1f7d82641dd Mon Sep 17 00:00:00 2001
Brad Bishopd7bf8c12018-02-25 22:55:05 -05002From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 8 Jun 2017 23:12:36 -0700
Brad Bishop316dfdd2018-06-25 12:45:53 -04004Subject: [PATCH] Use -I=<path> in configure
Brad Bishopd7bf8c12018-02-25 22:55:05 -05005
6This helps to use proper sysroot in
7cross build environment
8
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
Brad Bishop316dfdd2018-06-25 12:45:53 -040010
Brad Bishopd7bf8c12018-02-25 22:55:05 -050011---
12 configure.ac | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15diff --git a/configure.ac b/configure.ac
16index 5645dce..d374cda 100644
17--- a/configure.ac
18+++ b/configure.ac
19@@ -208,7 +208,7 @@ if test "x$enable_local_sound" = "xyes"; then
20 AC_CHECK_HEADERS(CoreAudio/CoreAudio.h)
21 # mme_api.h directly includes other files from the mme subdir
22 xCPPFLAGS="$CPPFLAGS"
23- CPPFLAGS="$CPPFLAGS -I/usr/include/mme"
24+ CPPFLAGS="$CPPFLAGS -I=/usr/include/mme"
25 AC_CHECK_HEADERS(mme/mme_api.h)
26 CPPFLAGS="$xCPPFLAGS"
27 AM_PATH_ARTS(, HAVE_ARTS=yes, HAVE_ARTS=no)
28@@ -269,7 +269,7 @@ if test "x$enable_local_sound" = "xyes"; then
29 osf*)
30 found_sound=yes
31 AC_DEFINE(DRIVER_OSF, 1, [Defined if OSF backend is enabled])
32- CPPFLAGS="$CPPFLAGS -I/usr/include/mme"
33+ CPPFLAGS="$CPPFLAGS -I=/usr/include/mme"
34 SOUND_LIBS=-lmme
35 esac
36 fi