diff mbox

[2/2] configure: remove dead code

Message ID 1458933927-77722-2-git-send-email-brian.brooks@linaro.org
State New
Headers show

Commit Message

Brian Brooks March 25, 2016, 7:25 p.m. UTC
Remove dead code which potentially acted as a workaround for making
AC_CHECK_LIB to work with --with-cunit-path.

Signed-off-by: Brian Brooks <brian.brooks@linaro.org>
---
 configure.ac | 14 --------------
 1 file changed, 14 deletions(-)

Comments

Maxim Uvarov April 7, 2016, 12:46 p.m. UTC | #1
Matias, if you tested that can you please send Teted-by: ?

Maxim.

On 03/25/16 22:25, Brian Brooks wrote:
> Remove dead code which potentially acted as a workaround for making
> AC_CHECK_LIB to work with --with-cunit-path.
>
> Signed-off-by: Brian Brooks <brian.brooks@linaro.org>
> ---
>   configure.ac | 14 --------------
>   1 file changed, 14 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 4d86817..6c712b9 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -172,20 +172,6 @@ AC_ARG_ENABLE([debug],
>   ODP_CFLAGS="$ODP_CFLAGS -DODP_DEBUG=$ODP_DEBUG"
>   
>   ##########################################################################
> -# Save and set temporary compilation flags
> -##########################################################################
> -OLD_LDFLAGS=$LDFLAGS
> -OLD_CPPFLAGS=$CPPFLAGS
> -LDFLAGS="$AM_LDFLAGS $LDFLAGS"
> -CPPFLAGS="$AM_CPPFLAGS $CPPFLAGS"
> -
> -##########################################################################
> -# Restore old saved variables
> -##########################################################################
> -LDFLAGS=$OLD_LDFLAGS
> -CPPFLAGS=$OLD_CPPFLAGS
> -
> -##########################################################################
>   # Default warning setup
>   ##########################################################################
>   ODP_CFLAGS="$ODP_CFLAGS -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes"
diff mbox

Patch

diff --git a/configure.ac b/configure.ac
index 4d86817..6c712b9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -172,20 +172,6 @@  AC_ARG_ENABLE([debug],
 ODP_CFLAGS="$ODP_CFLAGS -DODP_DEBUG=$ODP_DEBUG"
 
 ##########################################################################
-# Save and set temporary compilation flags
-##########################################################################
-OLD_LDFLAGS=$LDFLAGS
-OLD_CPPFLAGS=$CPPFLAGS
-LDFLAGS="$AM_LDFLAGS $LDFLAGS"
-CPPFLAGS="$AM_CPPFLAGS $CPPFLAGS"
-
-##########################################################################
-# Restore old saved variables
-##########################################################################
-LDFLAGS=$OLD_LDFLAGS
-CPPFLAGS=$OLD_CPPFLAGS
-
-##########################################################################
 # Default warning setup
 ##########################################################################
 ODP_CFLAGS="$ODP_CFLAGS -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes"