From 0780589ef8dbef97e9ea1db2cb3953a65aeda07b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Tue, 17 Feb 2004 16:45:55 +0100
Subject: [PATCH] (enable_assembler): Explicitly set enable_assembler=no, on
 architectures where we have no assembler files. (ENABLE_ASSEMBLER,
 ENABLE_SHARED): New automake conditionals.

Rev: src/nettle/configure.ac:1.34
---
 configure.ac | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/configure.ac b/configure.ac
index e5ebd5dc..a8f31c63 100644
--- a/configure.ac
+++ b/configure.ac
@@ -66,6 +66,9 @@ case "$host" in
   *sparc*-*-*)
     asm_path=sparc
     ;;
+  *)
+    enable_assembler=no
+    ;;
 esac
 
 # echo "enable_assembler: $enable_assembler, asm_path: $asm_path"
@@ -106,6 +109,9 @@ else
   SHLIBINSTALL=''
 fi
 
+AM_CONDITIONAL([ENABLE_ASSEMBLER], [test x$enable_assembler = xyes])
+AM_CONDITIONAL([ENABLE_SHARED],  [test x$enable_shared = xyes])
+
 AC_SUBST(SHLIBCFLAGS)
 AC_SUBST(SHLIBMAJOR)
 AC_SUBST(SHLIBMINOR)
-- 
GitLab