diff --git a/configure b/configure index e60b067aeb..d32178e922 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.ac Revision: 217077 . +# From configure.ac Revision: 217647 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61 for asterisk 1.6. # @@ -4192,6 +4192,9 @@ case "${host_os}" in OSARCH=cygwin PBX_WINARCH=1 ;; + linux-gnueabi) + OSARCH=linux-gnu + ;; *) OSARCH=${host_os} ;; @@ -20763,7 +20766,7 @@ _ACEOF fi -if test "x${host_os}" = "xlinux-gnu" ; then +if test "x${OSARCH}" = "xlinux-gnu" ; then if test "x${PBX_CAP}" != "x1" -a "${USE_CAP}" != "no"; then pbxlibdir="" diff --git a/configure.ac b/configure.ac index 38f4c6c2ce..49ec5c4337 100644 --- a/configure.ac +++ b/configure.ac @@ -121,6 +121,9 @@ case "${host_os}" in OSARCH=cygwin PBX_WINARCH=1 ;; + linux-gnueabi) + OSARCH=linux-gnu + ;; *) OSARCH=${host_os} ;; @@ -656,7 +659,7 @@ AST_EXT_LIB_CHECK([ALSA], [asound], [snd_spcm_init], [alsa/asoundlib.h], [-lm -l AST_EXT_LIB_CHECK([CURSES], [curses], [initscr], [curses.h]) -if test "x${host_os}" = "xlinux-gnu" ; then +if test "x${OSARCH}" = "xlinux-gnu" ; then AST_EXT_LIB_CHECK([CAP], [cap], [cap_from_text], [sys/capability.h]) fi