Revision: 21 http://trac.macosforge.org/projects/libdispatch/changeset/21 Author: robert@fledge.watson.org Date: 2009-09-14 04:02:23 -0700 (Mon, 14 Sep 2009) Log Message: ----------- Different /bin/sh have varying tolerance for empty clauses in configure; modify configure.ac to prevent empty clauses from being generated. Reported by: Peter O'Gorman Modified Paths: -------------- trunk/configure.ac Modified: trunk/configure.ac =================================================================== --- trunk/configure.ac 2009-09-13 17:08:49 UTC (rev 20) +++ trunk/configure.ac 2009-09-14 11:02:23 UTC (rev 21) @@ -18,8 +18,7 @@ ],[],[ use_legacy_api=false AC_DEFINE(DISPATCH_NO_LEGACY,,Define to compile out legacy API) - ] -) + ]) AM_CONDITIONAL(USE_LEGACY_API, $use_legacy_api) # @@ -32,8 +31,7 @@ [Don't tag libdispatch_init as a constructor]) ],[],[ AC_DEFINE(USE_LIBDISPATCH_INIT_CONSTRUCTOR,,Define to tag libdispatch_init as a constructor) - ] -) + ]) # # libdispatch has micro-optimized and deeply personal knowledge of the Mac OS @@ -46,16 +44,14 @@ [Use less portable pthread TSD optimizations for Mac OS X.]) ],[ AC_DEFINE(USE_APPLE_TSD_OPTIMIZATIONS,,Define to compile in tsd optimizations) - ],[] -) + ],[]) AC_ARG_WITH([apple-semaphore-optimizations], [AS_HELP_STRING([--with-apple-semaphore-optimizations], [Use less portable semaphore optimizations for Mac OS X.]) ],[ AC_DEFINE(USE_APPLE_SEMAPHORE_OPTIMIZATIONS,,Define to compile in semaphore optimizations) - ],[] -) + ],[]) AC_PROG_CC AC_PROG_INSTALL