]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5819: configure fix for new clang detection and adjust cflags for building with...
authorMichael Jerris <mike@jerris.com>
Tue, 15 Oct 2013 16:34:15 +0000 (09:34 -0700)
committerMichael Jerris <mike@jerris.com>
Tue, 15 Oct 2013 16:34:15 +0000 (09:34 -0700)
libs/openzap/configure.ac

index d2c23c1091818c1586601e5f5f037e76350f2faa..9b41d2695358a6b0d17f9af31dd5e736e357be15 100644 (file)
@@ -80,6 +80,15 @@ esac
 #set SOLINK variable based on compiler and host
 if test "x${ax_cv_c_compiler_vendor}"  =  "xsun" ; then
     SOLINK="-Bdynamic -dy -G"
+elif test "x${ax_cv_c_compiler_vendor}" = "xclang" ; then
+    case "$host" in
+        *darwin*)
+            SOLINK="-dynamic -bundle -force-flat-namespace"
+        ;;
+        *)
+            AC_ERROR([Please update configure.in with SOLINK values for your compiler])
+        ;;
+    esac
 elif test "x${ax_cv_c_compiler_vendor}" = "xgnu" ; then
     case "$host" in
         *darwin*)