Skip to contentSkip to conversation

configure.ac: Respect CPPFLAGS from environment

PATCH In review Andreas Bombe 2 participants 2 messages Feb 18, 2013 – Mar 25, 2013 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configure.ac: Respect CPPFLAGS from environment

---
 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure.ac +1 -1
index 98459d4..a749794 100644
@@ -48,7 +48,7 @@ AC_ARG_WITH(kernel-headers,
      esac],
     [KERNEL_HEADERS_DIR="/usr/src/kernel-headers"])
 
-CPPFLAGS="-I$KERNEL_HEADERS_DIR/include"
+CPPFLAGS="$CPPFLAGS -I$KERNEL_HEADERS_DIR/include"
 
 # Checks for header files.
 AC_CHECK_HEADERS([linux/media.h \
Signature · 5 lines
1.7.10.4


-- 
Andreas Bombe
Acked-by on v1 1/1
#1 lore raw

Hi Andreas,

Thanks for the patch, and sorry for the late reply.

Quoted 1 line · On Monday 18 February 2013 01:10:02 Andreas Bombe wrote:

and pushed to the repository.

Quoted 17 lines
---
 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure.ac +1 -1
index 98459d4..a749794 100644
@@ -48,7 +48,7 @@ AC_ARG_WITH(kernel-headers,
      esac],
     [KERNEL_HEADERS_DIR="/usr/src/kernel-headers"])
 
-CPPFLAGS="-I$KERNEL_HEADERS_DIR/include"
+CPPFLAGS="$CPPFLAGS -I$KERNEL_HEADERS_DIR/include"
 
 # Checks for header files.
 AC_CHECK_HEADERS([linux/media.h \
Signature · 3 lines
Regards,

Laurent Pinchart