diff mbox

configure: remove duplicated cunit lib paths

Message ID 1415646386-26242-1-git-send-email-anders.roxell@linaro.org
State Accepted
Commit 6f8c2977b51da0b53a2bb587b5c9e87b9ea94abc
Headers show

Commit Message

Anders Roxell Nov. 10, 2014, 7:06 p.m. UTC
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
 configure.ac | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

Comments

Mike Holmes Nov. 10, 2014, 8:06 p.m. UTC | #1
On 10 November 2014 14:06, Anders Roxell <anders.roxell@linaro.org> wrote:

> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
>
Reviewed-and-Tested-by: Mike Holmes <mike.holmes@linaro.org>

> ---
>  configure.ac | 6 +-----
>  1 file changed, 1 insertion(+), 5 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 1c061e9..fcd7279 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -73,11 +73,7 @@ AC_ARG_ENABLE([cunit],
>  AC_ARG_WITH([cunit-path],
>  AC_HELP_STRING([--with-cunit-path=DIR Path to Cunit libs and headers],
>                 [(or in the default path if not specified).]),
> -[CUNIT_PATH=$withval cunit_support=yes
> -AM_CFLAGS="$AM_CFLAGS -I$CUNIT_PATH"
> -AM_LDFLAGS="$AM_LDFLAGS -L$CUNIT_PATH/lib"
> -
> - ],
> +[CUNIT_PATH=$withval cunit_support=yes],
>  [
>      AS_IF([test x$cunit_support = xyes ], [
>          AC_CHECK_HEADERS([CUnit/Basic.h], [],
> --
> 2.1.0
>
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
>
Maxim Uvarov Nov. 10, 2014, 10:04 p.m. UTC | #2
Merged this patche and second in this thread.

Maxim.

On 11/10/2014 10:06 PM, Anders Roxell wrote:
> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
> ---
>   configure.ac | 6 +-----
>   1 file changed, 1 insertion(+), 5 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 1c061e9..fcd7279 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -73,11 +73,7 @@ AC_ARG_ENABLE([cunit],
>   AC_ARG_WITH([cunit-path],
>   AC_HELP_STRING([--with-cunit-path=DIR Path to Cunit libs and headers],
>                  [(or in the default path if not specified).]),
> -[CUNIT_PATH=$withval cunit_support=yes
> -AM_CFLAGS="$AM_CFLAGS -I$CUNIT_PATH"
> -AM_LDFLAGS="$AM_LDFLAGS -L$CUNIT_PATH/lib"
> -
> - ],
> +[CUNIT_PATH=$withval cunit_support=yes],
>   [
>       AS_IF([test x$cunit_support = xyes ], [
>           AC_CHECK_HEADERS([CUnit/Basic.h], [],
diff mbox

Patch

diff --git a/configure.ac b/configure.ac
index 1c061e9..fcd7279 100644
--- a/configure.ac
+++ b/configure.ac
@@ -73,11 +73,7 @@  AC_ARG_ENABLE([cunit],
 AC_ARG_WITH([cunit-path],
 AC_HELP_STRING([--with-cunit-path=DIR Path to Cunit libs and headers],
                [(or in the default path if not specified).]),
-[CUNIT_PATH=$withval cunit_support=yes
-AM_CFLAGS="$AM_CFLAGS -I$CUNIT_PATH"
-AM_LDFLAGS="$AM_LDFLAGS -L$CUNIT_PATH/lib"
-
- ],
+[CUNIT_PATH=$withval cunit_support=yes],
 [
     AS_IF([test x$cunit_support = xyes ], [
         AC_CHECK_HEADERS([CUnit/Basic.h], [],