aboutsummaryrefslogtreecommitdiffstats
path: root/testing/asterisk/101-caps-uclibc.patch
blob: bb32d1ece14454af7922acbedee796ba248d9461 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- 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 @@
 
 AST_EXT_LIB_CHECK([CURSES], [curses], [initscr], [curses.h])
 
-if test "x${OSARCH}" = "xlinux-gnu" ; then
-  AST_EXT_LIB_CHECK([CAP], [cap], [cap_from_text], [sys/capability.h])
-fi
+case "${OSARCH}" in
+    linux*)         
+    AST_EXT_LIB_CHECK([CAP], [cap], [cap_from_text], [sys/capability.h])
+    ;;                                                                  
+esac  
 
 AST_C_DEFINE_CHECK([DAHDI], [DAHDI_CODE], [dahdi/user.h])