Raphaël Enrici wrote:
> Adam,
> thank you for this fast released patch. I haven't tried it for now but
> AFAICS it does not seem to handle the fact that WX_HOME is undef after
> configure on my system. I think that the real problem comes from this.
> In fact, SSL was correctly detected but was ignored due to the fact
> that WX_HOME was empty which gave the '-I -DSSL'. Do you have any idea
> concerning this ? I'll try your patch tonight or tomorrow.
>
I've been looking at this -I$(WX_HOME) code for some time now, and I
can't figure out why it's there, or what it is supposed to do (I mean I
know ostensibly what it's supposed to do, but that's obviously not what
it's doing), so I've removed it. The following patch gets rid of the
offender. If anyone experiences any problems, please let me know.
ahp
--- pgadmin3/src/Makefile.am 2003-10-06 05:49:40.000000000 -0400
+++ pgadmin3.new/src/Makefile.am 2003-10-16 09:54:11.000000000 -0400
@@ -162,5 +162,5 @@
ui/tr_TR/wxstd.mo \
ui/zh_CN/wxstd.mo
-AM_CXXFLAGS = -DDATA_DIR=\"$(pkgdatadir)/\" -Wall -g -I$(top_srcdir)/src/include -I$(top_srcdir)/src/agent/include
-I$(WX_HOME)
-AM_CPPFLAGS = -DDATA_DIR=\"$(pkgdatadir)/\" -Wall -g -I$(top_srcdir)/src/include -I$(top_srcdir)/src/agent/include
-I$(WX_HOME)
+AM_CXXFLAGS = -DDATA_DIR=\"$(pkgdatadir)/\" -Wall -g -I$(top_srcdir)/src/include -I$(top_srcdir)/src/agent/include
+AM_CPPFLAGS = -DDATA_DIR=\"$(pkgdatadir)/\" -Wall -g -I$(top_srcdir)/src/include -I$(top_srcdir)/src/agent/include