changeset 313:b570254e70a0

* Don't use 10.4 SDK any more... it's too troublesome on 10.6 * Add a note indicating you can still build even if you don't have libsndfile
author Chris Cannam
date Mon, 07 Mar 2011 13:59:27 +0000
parents 2ad57dd004ba
children a1be2e4a5d22
files build/Makefile.osx configure.ac
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/build/Makefile.osx	Wed Feb 09 09:28:34 2011 +0000
+++ b/build/Makefile.osx	Mon Mar 07 13:59:27 2011 +0000
@@ -63,7 +63,7 @@
 # default.
 #
 # By default, we try to find the oldest available SDK that is newer
-# than 10.3.
+# than 10.4.
 # 
 # If you want to override this to select a particular SDK, change
 # PREFERRED_SDK to the SDK name (e.g. "10.4u") and PREFERRED_MINVERSION
@@ -72,7 +72,7 @@
 SDKPREFIX	:= /Developer/SDKs/MacOSX
 SDKS		:= $(wildcard $(SDKPREFIX)*.sdk)
 SDKVERSIONS	:= $(patsubst $(SDKPREFIX)%.sdk,%,$(SDKS))
-GOOD_SDKS	:= $(filter-out 10.1%,$(filter-out 10.2%,$(filter-out 10.3%,$(SDKVERSIONS))))
+GOOD_SDKS	:= $(filter-out 10.1%,$(filter-out 10.2%,$(filter-out 10.3%,$(filter-out 10.4%,$(SDKVERSIONS)))))
 #
 PREFERRED_SDK	:= $(word 1, $(sort $(GOOD_SDKS)))
 PREFERRED_MINVERSION  := $(patsubst %u,%,$(PREFERRED_SDK))
--- a/configure.ac	Wed Feb 09 09:28:34 2011 +0000
+++ b/configure.ac	Mon Mar 07 13:59:27 2011 +0000
@@ -28,7 +28,8 @@
 		TARGETS="sdk plugins host rdfgen test"
 	else
 		dnl no libsndfile - can't build host!
-		AC_MSG_ERROR([libsndfile not found - cannot build example Vamp host!])
+		AC_MSG_ERROR([libsndfile not found - cannot build example Vamp host!
+If you don't want to build the host, configure with --disable-programs.])
 	fi
 else
 	dnl user didn't want programs - so we won't build them