From: Alan W. I. <ai...@us...> - 2005-06-19 20:37:41
|
Update of /cvsroot/plplot/plplot/cf In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17948/cf Modified Files: drivers-init.ac Added Files: wxwidgets.ac Log Message: Initial commit of the wxwidgets device driver that has been donated under the LGPL to the PLplot project by Werner Smekal. Index: drivers-init.ac =================================================================== RCS file: /cvsroot/plplot/plplot/cf/drivers-init.ac,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- drivers-init.ac 6 May 2005 20:02:21 -0000 1.10 +++ drivers-init.ac 19 Jun 2005 20:37:27 -0000 1.11 @@ -84,6 +84,7 @@ tk:tk:yes, tkwin:tkwin:yes, wingcc:wingcc:yes, + wxwidgets:wxwidgets:no, xfig:xfig:yes, xwin:xwin:yes]) --- NEW FILE: wxwidgets.ac --- dnl cf/wxwidgets.ac for PLplot -*- autoconf -*- dnl dnl ------------------------------------------------------------------------- dnl Find wxwidgets libraries and headers dnl Written by Werner Smekal following what is done for X. dnl ------------------------------------------------------------------------- dnl dnl Copyright (C) 1994, 2004 Maurice LeBrun dnl Copyright (C) 2002, 2003, 2004 Rafael Laboissiere dnl Copyright (C) 2002, 2003, 2004 Alan W. Irwin dnl Copyright (C) 2003, 2004 Joao Cardoso dnl Copyright (C) 2004 Andrew Roach dnl Copyright (C) 2005 Werner Smekal dnl dnl This file is part of PLplot. dnl dnl PLplot is free software; you can redistribute it and/or modify dnl it under the terms of the GNU Library General Public License as published dnl by the Free Software Foundation; version 2 of the License. dnl dnl PLplot is distributed in the hope that it will be useful, dnl but WITHOUT ANY WARRANTY; without even the implied warranty of dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the dnl GNU Library General Public License for more details. dnl dnl You should have received a copy of the GNU Library General Public License dnl along with the file PLplot; if not, write to the Free Software dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA PL_ARG_WITH(wxwidgets-bindir, [User-specified path to the wxwidgets config tool], []) if test "$enable_wxwidgets" = "yes"; then if test -z "$with_wxwidgets_bindir"; then AC_MSG_CHECKING(for wxwidgets config tool) bindirs="\ /usr/bin \ /opt/local/bin \ /usr/local/bin" for dir in $bindirs; do if test -r "$dir/wx-config"; then with_wxwidgets_bindir="$dir" break fi done if test -z "$with_wxwidgets_bindir"; then AC_MSG_RESULT(not found) AC_MSG_WARN([wxwidgets config tool not found, setting enable_wxwidgets=no]) with_wxwidgets_bindir=default enable_wxwidgets=no else AC_MSG_RESULT([found in $with_wxwidgets_bindir]) fi else AC_MSG_NOTICE("User-specified path to the wxwidgets config file is $with_wxwidgets_bindir") fi fi if test "$enable_wxwidgets" = "yes"; then WXWIDGETSINCCMD=`$with_wxwidgets_bindir/wx-config --cxxflags` WXWIDGETSINCPATH="" PL_ADD_TO_INCS("", WXWIDGETSINCCMD, WXWIDGETSINCPATH) WXWIDGETSLIBSTR="" WXWIDGETSLIBCMD=`$with_wxwidgets_bindir/wx-config --libs` WXWIDGETSLIBPATH="" PL_ADD_TO_LIBS("", $WXWIDGETSLIBSTR, WXWIDGETSLIBCMD, WXWIDGETSLIBPATH) fi AC_SUBST(WXWIDGETSINCCMD) AC_SUBST(WXWIDGETSLIBCMD) |