101-caps-uclibc.patch 594 Bytes
Newer Older
1 2 3
--- asterisk-1.6.0.18/configure.ac.orig	Mon Oct 26 23:13:28 2009
+++ asterisk-1.6.0.18/configure.ac	Fri Nov 27 21:42:36 2009
@@ -627,9 +627,11 @@
Timo Teräs's avatar
Timo Teräs committed
4 5 6
 
 AST_EXT_LIB_CHECK([CURSES], [curses], [initscr], [curses.h])
 
7
-if test "x${OSARCH}" = "xlinux-gnu" ; then
Timo Teräs's avatar
Timo Teräs committed
8 9
-  AST_EXT_LIB_CHECK([CAP], [cap], [cap_from_text], [sys/capability.h])
-fi
10 11
+case "${OSARCH}" in
+    linux*)         
Timo Teräs's avatar
Timo Teräs committed
12
+    AST_EXT_LIB_CHECK([CAP], [cap], [cap_from_text], [sys/capability.h])
13 14 15 16
+    ;;                                                                  
+esac  
 
 AST_C_DEFINE_CHECK([DAHDI], [DAHDI_CODE], [dahdi/user.h])
Timo Teräs's avatar
Timo Teräs committed
17