Update of /cvsroot/monetdb/buildtools/conf
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv5042/buildtools/conf

Modified Files:
      Tag: MonetDB_1-20
        MonetDB.m4 
Log Message:

on Darwin, readlink does apparely not support the -f option;
hence, we check not only for the availability of readlink,
but also whether it supports the -f option,
and otherwise fall-back to echo.


Index: MonetDB.m4
===================================================================
RCS file: /cvsroot/monetdb/buildtools/conf/MonetDB.m4,v
retrieving revision 1.37.2.3
retrieving revision 1.37.2.4
diff -u -d -r1.37.2.3 -r1.37.2.4
--- MonetDB.m4  3 Oct 2007 12:43:41 -0000       1.37.2.3
+++ MonetDB.m4  4 Oct 2007 07:58:05 -0000       1.37.2.4
@@ -1085,7 +1085,14 @@
 AC_CHECK_PROG(LOCKFILE,lockfile,lockfile -r 2,echo)
 AC_PATH_PROG(BASH,bash, /usr/bin/bash, $PATH)
 AC_CHECK_PROGS(RPMBUILD,rpmbuild rpm)
-AC_CHECK_PROG(READLINK,readlink,readlink -f,echo)
+READLINK='readlink -f'
+AC_MSG_CHECKING([for $READLINK])
+$READLINK /tmp >/dev/null 2>&1
+if test $? -ne 0; then
+       READLINK=echo
+fi
+AC_MSG_RESULT($READLINK)
+AC_SUBST(READLINK)
 
 SOPREF=lib
 case "$host_os" in


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to