From 0824091315296ab3da27856b76e7422348d3850d Mon Sep 17 00:00:00 2001 From: Abdoulaye Walsimou Gaye Date: Sun, 12 May 2013 12:11:00 +0200 Subject: [Embtk] autoconf: fix build error when no hash-style configured Signed-off-by: Abdoulaye Walsimou Gaye --- autoconf/configure.ac | 4 ++-- configure | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/autoconf/configure.ac b/autoconf/configure.ac index a5276a59e3..9792ae407d 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -481,9 +481,9 @@ if test "x$with_default_hash_style" != "x" ; then *) AC_MSG_ERROR([Invalid --with-default-hash-style. Use "sysv", "gnu" or "both"]);; esac - AC_DEFINE_UNQUOTED([LLVM_DEFAULT_TARGET_HASHSTYLE],"$with_default_hash_style", - [Default hash-style to use to all linker invocations.]) fi +AC_DEFINE_UNQUOTED([LLVM_DEFAULT_TARGET_HASHSTYLE],"$with_default_hash_style", + [Default hash-style to use to all linker invocations.]) dnl Default cpu (-mabi=abi) to use to all compiler invocations AC_ARG_WITH(default-abi, diff --git a/configure b/configure index 8b4ed65855..878f81886b 100755 --- a/configure +++ b/configure @@ -4143,12 +4143,12 @@ if test "x$with_default_hash_style" != "x" ; then echo "$as_me: error: Invalid --with-default-hash-style. Use \"sysv\", \"gnu\" or \"both\"" >&2;} { (exit 1); exit 1; }; };; esac +fi cat >>confdefs.h <<_ACEOF #define LLVM_DEFAULT_TARGET_HASHSTYLE "$with_default_hash_style" _ACEOF -fi # Check whether --with-default-abi was given. -- cgit v1.2.3