aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorBernd Kuhls <berndkuhls@hotmail.com>2013-12-29 09:55:55 +0100
committerBernd Kuhls <berndkuhls@hotmail.com>2014-01-04 22:06:00 +0100
commitb84e69b6e0d4c97398501f14ada51eced18b6063 (patch)
treebc85a60941ff4a8960f9306217eb73bbe9d52244 /configure.in
parent6f5fac8b07ac5c1dba5e0463a0d1969804f92b6e (diff)
Support uClibc compilation
partly based on aports from Alpine Linux: http://code.ohloh.net/file?fid=Up3lAbVglPtyupfNPazFHQYMKM8&cid=Sr-nRbkkE8E&s=&fp=302485&mp=&projSelected=true#L0
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.in b/configure.in
index 2fe5f93045..df802b93bb 100644
--- a/configure.in
+++ b/configure.in
@@ -629,14 +629,14 @@ case $host in
use_x11=no
build_shared_lib=yes
;;
- i*86*-linux-gnu*)
+ i*86*-linux-gnu*|i*86*-*-linux-uclibc*)
ARCH="i486-linux"
if test "$use_cpu" = "no" -a "$cross_compiling" = "yes"; then
use_arch="x86"
use_cpu="i686"
fi
;;
- x86_64-*-linux-gnu*)
+ x86_64-*-linux-gnu*|x86_64-*-linux-uclibc*)
ARCH="x86_64-linux"
if test "$use_cpu" = "no" -a "$cross_compiling" = "yes"; then
use_arch="x86_64"
@@ -681,10 +681,10 @@ case $host in
ARCH="powerpc-osx"
use_arch="ppc"
;;
- powerpc-*-linux-gnu*)
+ powerpc-*-linux-gnu*|powerpc-*-linux-uclibc*)
ARCH="powerpc-linux"
;;
- powerpc64-*-linux-gnu*)
+ powerpc64-*-linux-gnu*|powerpc64-*-linux-uclibc*)
ARCH="powerpc64-linux"
;;
arm*-*-linux-gnu*)