autoconf: make autoconf build work on OS X 10.6
authorMatthieu Patou <mat@matws.net>
Tue, 13 Mar 2012 05:49:32 +0000 (22:49 -0700)
committerMatthieu Patou <mat@samba.org>
Wed, 14 Mar 2012 07:31:19 +0000 (08:31 +0100)
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Wed Mar 14 08:31:19 CET 2012 on sn-devel-104

source3/configure.in

index e0fe79c9d0e681892526746c6a0316885d3eb836..611e1d8fb619ca7e1bfe35afaf7f067f8951a479 100644 (file)
@@ -774,9 +774,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
+# about CoreFoundation, at least on os X 10.6 and 10.7
 case "$host_os" in
-    *darwin11*)
+    *darwin11*|*darwin10*)
                LDFLAGS="$LDFLAGS -framework CoreFoundation"
        ;;
 esac