Subject: Overriding configure

Overriding configure

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 28 Nov 2008 13:40:37 -0800

There's a section in setup.h that overrides the output of configure
unilaterally sets a few macros, namely:

/*
 * Assume a few thing unless they're set by configure
 */

#if !defined(HAVE_SYS_TIME_H) && !defined(_MSC_VER) && !defined(__WATCOMC__)
#define HAVE_SYS_TIME_H
#endif

#if !defined(HAVE_UNISTD_H) && !defined(_MSC_VER)
#define HAVE_UNISTD_H 1
#endif

#if !defined(HAVE_SYS_UIO_H) && !defined(WIN32) && !defined(MSDOS)
#define HAVE_SYS_UIO_H
#endif

This doesn't make sense to me. If configure didn't find those header files,
then setting them will (and does) cause problems. It would make more sense
if these were all within the

#ifndef HAVE_CONFIG_H
...
#endif /* HAVE_CONFIG_H */

block just above since that would allow configure to do its thing on all
configure-capable platforms.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-11-28