]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
(enable_assembler): Explicitly set
authorNiels Möller <nisse@lysator.liu.se>
Tue, 17 Feb 2004 15:45:55 +0000 (16:45 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Tue, 17 Feb 2004 15:45:55 +0000 (16:45 +0100)
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

index e5ebd5dc9a9569db365375ba2a43c03eef18a3b9..a8f31c63e0b8d1188350ebedfc1c72585d549ea7 100644 (file)
@@ -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)