[libdispatch-changes] [21] trunk/configure.ac

source_changes at macosforge.org source_changes at macosforge.org
Mon Sep 14 04:02:26 PDT 2009


Revision: 21
          http://trac.macosforge.org/projects/libdispatch/changeset/21
Author:   robert at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/libdispatch-changes/attachments/20090914/2ea7a9ad/attachment.html>


More information about the libdispatch-changes mailing list