[svn-commits] trunk r11505 - /trunk/funcs/Makefile

svn-commits at lists.digium.com svn-commits at lists.digium.com
Wed Mar 1 10:57:44 MST 2006


Author: tilghman
Date: Wed Mar  1 11:57:43 2006
New Revision: 11505

URL: http://svn.digium.com/view/asterisk?rev=11505&view=rev
Log:
Sun's shell: just different enough to cause problems

Modified:
    trunk/funcs/Makefile

Modified: trunk/funcs/Makefile
URL: http://svn.digium.com/view/asterisk/trunk/funcs/Makefile?rev=11505&r1=11504&r2=11505&view=diff
==============================================================================
--- trunk/funcs/Makefile (original)
+++ trunk/funcs/Makefile Wed Mar  1 11:57:43 2006
@@ -17,8 +17,14 @@
   MODS:=$(filter-out func_odbc.so,$(MODS))
 endif
 
+ifeq ($(OSARCH),SunOS)
 ifneq ($(shell if [ 0x`$(CROSS_COMPILE_BIN)curl-config --vernum` -ge 0x70907 ]; then echo "OK" ; fi),)
   CURLLIBS:=$(shell $(CROSS_COMPILE_BIN)curl-config --libs)
+endif
+else
+ifneq ($(shell if [[ 0x`$(CROSS_COMPILE_BIN)curl-config --vernum` -ge 0x70907 ]]; then echo "OK" ; fi),)
+  CURLLIBS:=$(shell $(CROSS_COMPILE_BIN)curl-config --libs)
+endif
 endif
 
 ifeq (${CURLLIBS},)



More information about the svn-commits mailing list