On 26/01/14 14:04, Tom Christensen wrote:
During configure I get this error: ./configure[10160]: ==: unknown test operator This is a typo in configure.ac, in the pie test.
Patch attached. -tgc
>From 1d1c753d4418fb0b02909bedb313e22861625505 Mon Sep 17 00:00:00 2001 From: Tom G. Christensen <tgc@xxxxxxxxxxxxxxx> Date: Tue, 28 Jan 2014 20:43:08 +0100 Subject: [PATCH 1/2] [configure.ac] use "=" for shell test and not "==". --- configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index 62229b6..669e169 100644 --- a/configure.ac +++ b/configure.ac @@ -1593,7 +1593,7 @@ if test "x$use_toolchain_hardening" != "x1" && test "x$use_pie" = "xauto"; then # Turn off automatic PIE when toolchain hardening is off. use_pie=no fi -if test "x$use_pie" == "xauto"; then +if test "x$use_pie" = "xauto"; then # Automatic PIE requires gcc >= 4.x AC_MSG_CHECKING([for gcc >= 4.x]) AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ -- 1.7.1
_______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev