Unix Technical Forum

SVN Commit by dpage: r4566 - trunk/pgadmin3

This is a discussion on SVN Commit by dpage: r4566 - trunk/pgadmin3 within the pgsql Interfaces Pgadmin Hackers forums, part of the PostgreSQL category; --> Author: dpage Date: 2005-10-18 20:59:58 +0100 (Tue, 18 Oct 2005) New Revision: 4566 Modified: trunk/pgadmin3/acinclude.m4 Log: Ensure we will ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces Pgadmin Hackers

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 05:36 PM
svn@pgadmin.org
 
Posts: n/a
Default SVN Commit by dpage: r4566 - trunk/pgadmin3

Author: dpage
Date: 2005-10-18 20:59:58 +0100 (Tue, 18 Oct 2005)
New Revision: 4566

Modified:
trunk/pgadmin3/acinclude.m4
Log:
Ensure we will only configure against a Unicode enabled wxWidgets.


Modified: trunk/pgadmin3/acinclude.m4
================================================== =================
--- trunk/pgadmin3/acinclude.m4 2005-10-18 19:24:03 UTC (rev 4565)
+++ trunk/pgadmin3/acinclude.m4 2005-10-18 19:59:58 UTC (rev 4566)
@@ -86,7 +86,7 @@
############################
AC_DEFUN([ENABLE_APPBUNDLE],
[AC_ARG_ENABLE(appbundle,
-[ --enable-appbundle Build Mac OS X appbundle],
+[ --enable-appbundle Build a Mac OS X appbundle],
[
if test "$enableval" = yes
then
@@ -295,28 +295,28 @@
WX_OLD_LDFLAGS="$LDFLAGS"
WX_OLD_CPPFLAGS="$CPPFLAGS"

- if test "$pg_debug_build" == yes
- then
- WX_NEW_CPPFLAGS=`${WX_CONFIG} --cppflags --debug=yes`
+ if test "$pg_debug_build" == yes
+ then
+ WX_NEW_CPPFLAGS=`${WX_CONFIG} --cppflags --unicode=yes --debug=yes`
CPPFLAGS="$CPPFLAGS $WX_NEW_CPPFLAGS -g -O0"

- WX_NEW_LIBS=`${WX_CONFIG} ${WX_STATIC} --libs --debug=yes`
- WX_NEW_CONTRIB_LIBS=`${WX_CONFIG} ${WX_STATIC} --libs stc,ogl --debug=yes`
+ WX_NEW_LIBS=`${WX_CONFIG} ${WX_STATIC} --libs --unicode=yes --debug=yes`
+ WX_NEW_CONTRIB_LIBS=`${WX_CONFIG} ${WX_STATIC} --libs stc,ogl --unicode=yes --debug=yes`
LIBS="$LIBS $WX_NEW_LIBS $WX_NEW_CONTRIB_LIBS"
- else
- WX_NEW_CPPFLAGS=`${WX_CONFIG} --cppflags --debug=no`
+ else
+ WX_NEW_CPPFLAGS=`${WX_CONFIG} --cppflags --unicode=yes --debug=no`
CPPFLAGS="$CPPFLAGS $WX_NEW_CPPFLAGS -O2"

- WX_NEW_LIBS=`${WX_CONFIG} ${WX_STATIC} --libs --debug=no`
- WX_NEW_CONTRIB_LIBS=`${WX_CONFIG} ${WX_STATIC} --libs stc,ogl --debug=no`
+ WX_NEW_LIBS=`${WX_CONFIG} ${WX_STATIC} --libs --unicode=yes --debug=no`
+ WX_NEW_CONTRIB_LIBS=`${WX_CONFIG} ${WX_STATIC} --libs stc,ogl --unicode=yes --debug=no`
LIBS="$LIBS $WX_NEW_LIBS $WX_NEW_CONTRIB_LIBS"
- fi
-
- if test "$WX_NEW_CPPFLAGS" = "" -o "$WX_NEW_LIBS" = "" -o "$WX_NEW_CONTRIB_LIBS" = ""
- then
- AC_MSG_ERROR([the combination of static/shared and debug/non-debug options selected can not be supported by your wxWidgets installation.])
- fi
+ fi

+ if test "$WX_NEW_CPPFLAGS" = "" -o "$WX_NEW_LIBS" = "" -o "$WX_NEW_CONTRIB_LIBS" = ""
+ then
+ AC_MSG_ERROR([Your wxWidgets installation cannot support pgAdmin in the selected configuration. This may be because it was configured without the --enable-unicode option, or the combination of dynamic/static linking and debug/non-debug libraries selected did not match any installed wxWidgets libraries.])
+ fi
+
case "${host}" in
*-apple-darwin*)
CPPFLAGS="$CPPFLAGS -no-cpp-precomp -fno-rtti"


---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:39 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com