|
From: | Vincent Torri |
Subject: | Re: msys : convert datadir to windows directory syntax |
Date: | Tue, 4 Sep 2007 09:17:44 +0200 (CEST) |
Hey, On Mon, 3 Sep 2007, Keith Marshall wrote:
On Monday 03 September 2007 18:31, Vincent Torri wrote:With msys, it is defined as /usr/local/share. But I use that macro with fopen, which returns an error (file not found) I would like it to be c:/***/***/local/share Is it possible ?Yes. You can use the MSYS_AC_CANONICAL_PATH macro, published some time ago on the MinGW/MSYS lists: http://article.gmane.org/gmane.comp.gnu.mingw.msys/2785
I have a problem with that macro. First note, that I am using autoconf 2.61.
Here is how I use that macro: in configure.ac: efreet_datadir=$datadir case "$host_os" in mingw|mingw32) MSYS_AC_CANONICAL_PATH([efreet_datadir], [$datadir]) ;; esac AC_SUBST(efreet_datadir) But in the created Makefile, the value of efreet_datadir is:efreet_datadir = D:/msys/1.0/home/vincent/tmp/e17/libs/efreet/${datarootdir}
do you know why ? thank you Vincent Torri
[Prev in Thread] | Current Thread | [Next in Thread] |