[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiling octave with MSVC
From: |
John W. Eaton |
Subject: |
Re: Compiling octave with MSVC |
Date: |
Thu, 12 Oct 2006 17:02:29 -0400 |
On 12-Oct-2006, Michael Goffioul wrote:
| Note that I detected a problem in config.h generation. The template
| config.h.in contains
| the lines:
|
| #define OCTAVE_HAVE_POSIX_FILESYSTEM 1
|
| #if defined (__WIN32__) && ! defined (__CYGWIN__)
| #define OCTAVE_HAVE_WINDOWS_FILESYSTEM 1
| #undef OCTAVE_HAVE_POSIX_FILESYSTEM
| #endif
|
| When config.h is generated the #undef line gets commented (which is
| normal autoconf
| behavior, I guess). However, I really want to undefine
| OCTAVE_HAVE_POSIX_FILESYSTEM
| to get correct behavior in file-ops.cc.
OK, that part of the config.h.in file is copied directly from the
argument to the AH_BOTTOM macro in configure.in. I didn't realize
that autoconf would do any processing of that text. Would it work for
you if we rewrote that section as
#if defined (__WIN32__) && ! defined (__CYGWIN__)
#define OCTAVE_HAVE_WINDOWS_FILESYSTEM 1
#elif defined (__CYGWIN__)
#define OCTAVE_HAVE_WINDOWS_FILESYSTEM 1
#define OCTAVE_HAVE_POSIX_FILESYSTEM 1
#else
#define OCTAVE_HAVE_POSIX_FILESYSTEM 1
#endif
?
jwe
- Re: Compiling octave with MSVC, (continued)
- RE: Re: Compiling octave with MSVC, michael . goffioul, 2006/10/10
- RE: Re: Compiling octave with MSVC, michael . goffioul, 2006/10/10
- RE: Compiling octave with MSVC, michael . goffioul, 2006/10/10
- RE: Compiling octave with MSVC, John W. Eaton, 2006/10/10
- Re: Compiling octave with MSVC, Michael Goffioul, 2006/10/10
- Re: Compiling octave with MSVC, John W. Eaton, 2006/10/10
- Re: Compiling octave with MSVC, Michael Goffioul, 2006/10/11
- Re: Compiling octave with MSVC, Michael Goffioul, 2006/10/12
- Re: Compiling octave with MSVC,
John W. Eaton <=
- Re: Compiling octave with MSVC, Michael Goffioul, 2006/10/13
- Re: Compiling octave with MSVC, John W. Eaton, 2006/10/13
- Re: Compiling octave with MSVC, John W. Eaton, 2006/10/12
- Re: Compiling octave with MSVC, Michael Goffioul, 2006/10/13
- Re: Compiling octave with MSVC, John W. Eaton, 2006/10/13
- Re: Compiling octave with MSVC, Michael Goffioul, 2006/10/13
- Re: Compiling octave with MSVC, John W. Eaton, 2006/10/13
- Re: Compiling octave with MSVC, Michael Goffioul, 2006/10/14
- Re: Compiling octave with MSVC, John Swensen, 2006/10/14
- Re: Compiling octave with MSVC, David Bateman, 2006/10/14