s3:build: tell linker to use corefoundation on all darwin releases
authorBjörn Jacke <bj@sernet.de>
Fri, 29 Jun 2012 10:49:21 +0000 (12:49 +0200)
committerBjoern Jacke <bj@sernet.de>
Fri, 29 Jun 2012 12:43:39 +0000 (14:43 +0200)
Autobuild-User(master): Björn Jacke <bj@sernet.de>
Autobuild-Date(master): Fri Jun 29 14:43:39 CEST 2012 on sn-devel-104

source3/configure.in

index ba376f08a99bbb32c57385266509ce2c83852aa3..e08ac165278032913a51dee985b830e1a9a41806 100644 (file)
@@ -635,9 +635,9 @@ AC_CHECK_HEADERS([CoreFoundation/CFStringEncodingConverter.h], [], [AC_CHECK_HEA
 CPPFLAGS="$old_CPPFLAGS"
 
 # To link lib/util/charset/charset_macosxfs.c, we need to tell the linker
-# about CoreFoundation, at least on os X 10.6 and 10.7
+# about CoreFoundation, at least on os X 10.4..10.7 resp. darwin8..12
 case "$host_os" in
-    *darwin11*|*darwin10*)
+    *darwin*)
                LDFLAGS="$LDFLAGS -framework CoreFoundation"
        ;;
 esac