summaryrefslogtreecommitdiffstats
path: root/main/asterisk/101-caps-uclibc.patch
blob: 1acf87f34feb8a516dcae069af1c016b4d98df5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- asterisk-1.6.0-beta7.1/configure.ac.orig	2008-04-04 07:31:06 +0000
+++ asterisk-1.6.0-beta7.1/configure.ac	2008-04-04 07:36:14 +0000
@@ -522,9 +522,11 @@
 
 AST_EXT_LIB_CHECK([CURSES], [curses], [initscr], [curses.h])
 
-if test "x${host_os}" = "xlinux-gnu" ; then
-  AST_EXT_LIB_CHECK([CAP], [cap], [cap_from_text], [sys/capability.h])
-fi
+case "${host_os}" in
+    linux*)
+    AST_EXT_LIB_CHECK([CAP], [cap], [cap_from_text], [sys/capability.h])
+    ;;
+esac
 
 # BSD might not have exp2, and/or log2
 AST_EXT_LIB_CHECK([EXP2L], [m], [exp2l])