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

Modified Files:
        MonetDB.m4 
Log Message:
propagated changes of Wednesday Sep 26 2007 - Wednesday Oct 03 2007
from the MonetDB_1-20 branch to the development trunk


Index: MonetDB.m4
===================================================================
RCS file: /cvsroot/monetdb/buildtools/conf/MonetDB.m4,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- MonetDB.m4  24 Sep 2007 08:13:17 -0000      1.39
+++ MonetDB.m4  3 Oct 2007 13:44:13 -0000       1.40
@@ -1085,6 +1085,7 @@
 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)
 
 SOPREF=lib
 case "$host_os" in
@@ -1473,22 +1474,24 @@
 
 AC_DEFUN([AM_MONETDB_OPTIONS],
 [
-dnl --with-translatepath
 translatepath=echo
+anttranslatepath=$READLINK
+
+dnl --with-translatepath
 AC_ARG_WITH(translatepath,
        AC_HELP_STRING([--with-translatepath=PROG],
                [program to translate paths from configure-time format to 
execute-time format.  Take care that this program can be given paths like 
${prefix}/etc which should be translated carefully.]),
-       translatepath="$withval",
+       [translatepath="$withval"
+        anttranslatepath="$withval"],
        [if test $cross_compiling = yes; then
                AC_MSG_WARN([Cross compiling, but no --with-translatepath 
option given])
        fi])
 AC_SUBST(translatepath)
 
 dnl --with-anttranslatepath
-anttranslatepath="$translatepath"
 AC_ARG_WITH(anttranslatepath,
        AC_HELP_STRING([--with-anttranslatepath=PROG],
-               [program to translate paths from configure-time format to a 
format that can be given to the ant program [default: value for 
--with-translatepath]]),
+               [program to translate paths from configure-time format to a 
format that can be given to the ant program [default: 'readlink -f' or value 
for --with-translatepath]]),
        anttranslatepath="$withval")
 AC_SUBST(anttranslatepath)
 


-------------------------------------------------------------------------
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