From 32b3d7a7a4bc2ac156454b5e275ed2ecf5657646 Mon Sep 17 00:00:00 2001 From: pcpa Date: Mon, 26 Aug 2013 12:40:20 -0300 Subject: [PATCH] Correct build on FreeBSD/amd64 --- THANKS | 1 + configure.ac | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/THANKS b/THANKS index 94c191b42..80e9e8a5d 100644 --- a/THANKS +++ b/THANKS @@ -13,3 +13,4 @@ Sam Steingold Jens Troeger Tom Tromey Trent Nelson +Vitaly Magerya diff --git a/configure.ac b/configure.ac index 02012b60f..4a10b6b7a 100644 --- a/configure.ac +++ b/configure.ac @@ -87,6 +87,7 @@ else fi case "$host_os" in + *freebsd*) SHLIB="" ;; *hpux*) SHLIB="-ldld" ;; *) SHLIB="-ldl" ;; esac @@ -94,7 +95,7 @@ AC_SUBST(SHLIB) cpu= case "$target_cpu" in - i?86|x86_64) cpu=x86 ;; + i?86|x86_64|amd64) cpu=x86 ;; *arm*) cpu=arm ;; *mips*) cpu=mips ;; *powerpc*) cpu=ppc ;;