[Monetdb-developers] [Monetdb-checkins] MonetDB configure.ag, Nov2009, 1.208.2.2, 1.208.2.3

Stefan Manegold Stefan.Manegold at cwi.nl
Thu Nov 12 10:11:13 CET 2009


On Thu, Nov 12, 2009 at 09:06:23AM +0000, Fabian wrote:
> Update of /cvsroot/monetdb/MonetDB
> In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv25980
> 
> Modified Files:
>       Tag: Nov2009
> 	configure.ag 
> Log Message:
> Yippy yay for messing with this at this stage of the development cycle...  Revert my yesterday's commit here as it not only breaks compilation on OSX 10.6 (the original problem), but also Solaris 10.  We need to facilitate people doing cross-compilation in some other way.

Might simply using AC_CHECK_FUNCS(fdatasync) be an option, here?

Stefan

> Index: configure.ag
> ===================================================================
> RCS file: /cvsroot/monetdb/MonetDB/configure.ag,v
> retrieving revision 1.208.2.2
> retrieving revision 1.208.2.3
> diff -u -d -r1.208.2.2 -r1.208.2.3
> --- configure.ag	11 Nov 2009 11:17:52 -0000	1.208.2.2
> +++ configure.ag	12 Nov 2009 09:06:21 -0000	1.208.2.3
> @@ -94,17 +94,15 @@
>  
>  # Checks for library functions.
>  
> -# OSX 10.6 (Snow Leopard) somehow makes configure believe that fdatasync
> -# exists, in reality however, it does not on this platform.
> -AC_CACHE_CHECK([for fdatasync],[ac_cv_func_fdatasync],[
> -  AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
> +# Fix for OSX 10.6 (Snow Leopard) stolen from:
> +# http://blogs.sun.com/elambert/entry/drizzle_in_the_snow_how
> +AC_RUN_IFELSE([AC_LANG_PROGRAM([[
>  #include <unistd.h>
>    ]],[[
>  fdatasync(4);
>    ]])],
>    [ac_cv_func_fdatasync=yes],
>    [ac_cv_func_fdatasync=no])
> -])
>  AS_IF([test "x${ac_cv_func_fdatasync}" = "xyes"],
>    [AC_DEFINE([HAVE_FDATASYNC],[1],[If the system has a working fdatasync])])
>  
> 
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Monetdb-checkins mailing list
> Monetdb-checkins at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/monetdb-checkins
> 
> 

-- 
| Dr. Stefan Manegold | mailto:Stefan.Manegold at cwi.nl |
| CWI,  P.O.Box 94079 | http://www.cwi.nl/~manegold/  |
| 1090 GB Amsterdam   | Tel.: +31 (20) 592-4212       |
| The Netherlands     | Fax : +31 (20) 592-4312       |




More information about the developers-list mailing list