diff mbox

[media-ctl] configure.ac: Respect CPPFLAGS from environment

Message ID 20130218001002.GA7885@amos.fritz.box (mailing list archive)
State New, archived
Headers show

Commit Message

Andreas Bombe Feb. 18, 2013, 12:10 a.m. UTC
Signed-off-by: Andreas Bombe <aeb@debian.org>
---
 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Laurent Pinchart March 25, 2013, 10:04 p.m. UTC | #1
Hi Andreas,

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

On Monday 18 February 2013 01:10:02 Andreas Bombe wrote:
> Signed-off-by: Andreas Bombe <aeb@debian.org>

Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

and pushed to the repository.

> ---
>  configure.ac |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configure.ac b/configure.ac
> index 98459d4..a749794 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -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 \
diff mbox

Patch

diff --git a/configure.ac b/configure.ac
index 98459d4..a749794 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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 \