is enough to find out wether we're building with configure.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3030
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#ifndef __GTKSETUPH__
#define __GTKSETUPH__
#ifndef __GTKSETUPH__
#define __GTKSETUPH__
-#define USING_CONFIGURE
-
#ifdef __GNUG__
#pragma interface
#endif
#ifdef __GNUG__
#pragma interface
#endif
// When using configure, the path must be "zlib.h" I don't know
// what other ports (wxMac, wxMotif without configure) need here.
// When using configure, the path must be "zlib.h" I don't know
// what other ports (wxMac, wxMotif without configure) need here.
-
-#if defined(__WXMSW__) && !defined(USING_CONFIGURE)
+// If we are building with ./configure, we trust the zlib path is
+// given as a -I option.
+#if defined(__WXMSW__) && !defined(HAVE_CONFIG_H)
#include "..\zlib\zlib.h"
#else
#include "zlib.h"
#include "..\zlib\zlib.h"
#else
#include "zlib.h"