From cc74708a796d38f11993df8061d833dfe052489e Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 27 Dec 2013 11:08:41 +0000 Subject: Fix some typoes, quote $CFLAGS and $LDFLAGS when using them in assignments (not sure that's necessary, but...). svn path=/trunk/; revision=54474 --- configure.ac | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 2505ac1a27..5808cded2b 100644 --- a/configure.ac +++ b/configure.ac @@ -917,9 +917,9 @@ esac # AC_WIRESHARK_COMPILER_FLAGS_CHECK(-fexcess-precision=fast) -CFLAGS_before_fvhidden=$CFLAGS +CFLAGS_before_fvhidden="$CFLAGS" AC_WIRESHARK_COMPILER_FLAGS_CHECK(-fvisibility=hidden) -if test "x$CLFAGS" = "x$CFLAGS_before_fvhidden" +if test "x$CFLAGS" = "x$CFLAGS_before_fvhidden" then # TODO add other ways of hiding symbols AC_MSG_WARN(Compiler will export all symbols from shared libraries) @@ -938,14 +938,14 @@ AC_WIRESHARK_LDFLAGS_CHECK([-Wl,--as-needed]) # privileges, and using PIE means the OS can run it at random locations # in the address space to make attacks more difficult. # -CFLAGS_before_pie=$CFLAGS +CFLAGS_before_pie="$CFLAGS" AC_WIRESHARK_COMPILER_FLAGS_CHECK(-fPIE) -if test "x$CLFAGS" != "x$CFLAGS_before_pie" +if test "x$CFLAGS" != "x$CFLAGS_before_pie" then # Restore CFLAGS - CFLAGS=$CFLAGS_before_pie + CFLAGS="$CFLAGS_before_pie" - LDFLAGS_before_pie=$LDFLAGS + LDFLAGS_before_pie="$LDFLAGS" AC_WIRESHARK_LDFLAGS_CHECK([-fPIE -pie]) if test "x$LDFLAGS" != "x$LDFLAGS_before_pie" then @@ -954,7 +954,7 @@ then PIE_LDFLAGS="-pie" # Restore LDFLAGS - LDFLAGS=$LDFLAGS_before_pie + LDFLAGS="$LDFLAGS_before_pie" fi fi -- cgit v1.2.3