Fix configure script on FreeBSD

* x86-64 architectures are reported as amd64 by uname -r
* FreeBSD platform don't need -ldl for linking
This commit is contained in:
Thomas Preud'homme 2013-03-14 18:15:32 +01:00
parent c219a53402
commit d9dfd9cded

3
configure vendored
View File

@ -54,6 +54,7 @@ case $targetos in
MINGW32*) mingw32=yes;;
DragonFly) noldl=yes;;
OpenBSD) noldl=yes;;
FreeBSD) noldl=yes;;
*) ;;
esac
@ -72,7 +73,7 @@ case "$cpu" in
i386|i486|i586|i686|i86pc|BePC|i686-AT386)
cpu="x86"
;;
x86_64)
x86_64|amd64)
cpu="x86-64"
;;
arm*)