Skip site navigation (1) Skip section navigation (2)

SVN Commit by dpage: r4467 - in trunk/pgadmin3: . src/include

From: svn(at)pgadmin(dot)org
To: pgadmin-hackers(at)postgresql(dot)org
Subject: SVN Commit by dpage: r4467 - in trunk/pgadmin3: . src/include
Date: 2005-09-26 14:31:21
Message-ID: 200509261431.j8QEVLim021884@developer.pgadmin.org (view raw or flat)
Thread:
Lists: pgadmin-hackers
Author: dpage
Date: 2005-09-26 15:31:20 +0100 (Mon, 26 Sep 2005)
New Revision: 4467

Modified:
   trunk/pgadmin3/acinclude.m4
   trunk/pgadmin3/src/include/frmGrantWizard.h
   trunk/pgadmin3/src/include/frmStatus.h
Log:
Tweaks for Solaris


Modified: trunk/pgadmin3/acinclude.m4
===================================================================
--- trunk/pgadmin3/acinclude.m4	2005-09-26 13:29:28 UTC (rev 4466)
+++ trunk/pgadmin3/acinclude.m4	2005-09-26 14:31:20 UTC (rev 4467)
@@ -132,8 +132,18 @@
 then
     PGSQL_OLD_LDFLAGS="$LDFLAGS"
     PGSQL_OLD_CPPFLAGS="$CPPFLAGS"
-    LDFLAGS="$LDFLAGS -L${LIBPQ_HOME}/lib"
 
+    # Solaris needs -lssl for this test
+    case "${host}" in
+        *solaris*)
+            LDFLAGS="$LDFLAGS -L${LIBPQ_HOME}/lib -lssl"
+            ;;
+        *)
+            LDFLAGS="$LDFLAGS -L${LIBPQ_HOME}/lib"
+            ;;
+    esac
+
+
     AC_LANG_SAVE
     AC_LANG_C
     AC_CHECK_LIB(pq, PQexec, [pgsql_cv_libpq=yes], [pgsql_cv_libpq=no])
@@ -276,8 +286,8 @@
         *-apple-darwin*)
             CPPFLAGS="$CPPFLAGS -no-cpp-precomp -fno-rtti"
             ;;
-        *-solaris*)
-            LIBS="$LIBS -lX11"
+        *solaris*)
+            LDFLAGS="$LDFLAGS -lnsl"
             ;;
         *)
             ;;

Modified: trunk/pgadmin3/src/include/frmGrantWizard.h
===================================================================
--- trunk/pgadmin3/src/include/frmGrantWizard.h	2005-09-26 13:29:28 UTC (rev 4466)
+++ trunk/pgadmin3/src/include/frmGrantWizard.h	2005-09-26 14:31:20 UTC (rev 4467)
@@ -12,6 +12,7 @@
 #ifndef FRMGRANTWIZARD_H
 #define FRMGRANTWIZARD_H
 
+#include <wx/notebook.h>
 #include "dlgClasses.h"
 #include "base/factory.h"
 

Modified: trunk/pgadmin3/src/include/frmStatus.h
===================================================================
--- trunk/pgadmin3/src/include/frmStatus.h	2005-09-26 13:29:28 UTC (rev 4466)
+++ trunk/pgadmin3/src/include/frmStatus.h	2005-09-26 14:31:20 UTC (rev 4467)
@@ -17,6 +17,7 @@
 #include <wx/image.h>
 #include <wx/listctrl.h>
 #include <wx/spinctrl.h>
+#include <wx/notebook.h>
 
 #include "dlgClasses.h"
 #include "base/factory.h"


pgadmin-hackers by date

Next:From: svnDate: 2005-09-26 14:45:06
Subject: SVN Commit by dpage: r4468 - in trunk/pgadmin3/src: dlg frm schema
Previous:From: Andreas PflugDate: 2005-09-26 13:38:02
Subject: Re: pgAdmin Translations

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group