PACKAGE=ctsim
-VERSION=3.7.0
+VERSION=4.0.0
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
echo "$as_me:$LINENO: result: $ac_cv_lib_wx_mac_2_4_main" >&5
echo "${ECHO_T}$ac_cv_lib_wx_mac_2_4_main" >&6
if test $ac_cv_lib_wx_mac_2_4_main = yes; then
- wxwin=true; wx_gtk=true;
+ wxwin=true; wx_mac=true;
cat >>confdefs.h <<\_ACEOF
#define HAVE_WXWINDOWS 1
_ACEOF
echo "${ECHO_T}yes" >&6
ctlib_graphics="$ctlib_graphics $X_BASIC_LIBS $X_TOOLKIT_LIBS"
if test "$libgl" = "true" ; then
- ctlib_graphics="$ctlib_graphics -lglut -lGL -lGLU"
+ # Removed "-lglut" for Mac OS X compilation
+ ctlib_graphics="$ctlib_graphics -lGL -lGLU"
if test "$wxwin" = "true" ; then
- ctlib_graphics="$ctlib_graphics -lwx_gtk_gl-2.4"
+ if "$wx_gtk" ; then
+ ctlib_graphics="$ctlib_graphics -lwx_gtk_gl-2.4"
+ elif "$wx_mac" ; then
+ ctlib_graphics="$ctlib_graphics -lwx_mac_gl-2.4"
+ fi
fi
fi
if test "$wxwin" = "true" ; then
fi
if test "$wxwin" = "true" ; then
- if test "$wx_gtk" = "true" ; then
+ if "$wx_gtk" = "true" || "$wx_mac" == "true" ; then
wxcflags=`$wxconfig --cflags`
wxlibs=`$wxconfig --libs`
else
wxcflags="-D__WXMSW__ -D__WIN32__ -D__GNUWIN32__"
- wxlibs="-lwx -lglui -ljpeg -lxpm -lzlib -ltiff"
+ wxlibs="-lwx -lglui -ljpeg -lxpm -lzlib -ltiff"
fi
CFLAGS="$CFLAGS -I../include $wxcflags"
ctlib_graphics="$ctlib_graphics $wxlibs"
** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: nographics.h,v 1.3 2001/03/30 19:32:53 kevin Exp $
+** $Id: nographics.h,v 1.4 2003/01/23 23:35:58 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
#include <cstdio>
-#ifdef __GNUG__
-#pragma interface "nographics.h"
-#endif
-
#ifdef HAVE_WXWINDOWS
class EZPlot;
class wxWindow;
** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: dialogs.cpp,v 1.57 2002/05/03 09:57:41 kevin Exp $
+** $Id: dialogs.cpp,v 1.58 2003/01/23 23:35:58 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
******************************************************************************/
-#ifdef __GNUG__
-// #pragma implementation
-#endif
-
#include "wx/wxprec.h"
#ifndef WX_PRECOMP
** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: dlgezplot.cpp,v 1.4 2001/03/29 21:25:50 kevin Exp $
+** $Id: dlgezplot.cpp,v 1.5 2003/01/23 23:35:58 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
#ifdef HAVE_WXWINDOWS
-#ifdef __GNUG__
-#pragma implementation "dlgezplot.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
-#ifdef __BORLANDC__
-#pragma hdrstop
-#endif
-
#ifndef WX_PRECOMP
#include "wx/utils.h"
#include "wx/frame.h"
** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: dlgezplot.h,v 1.4 2001/03/29 21:25:50 kevin Exp $
+** $Id: dlgezplot.h,v 1.5 2003/01/23 23:35:58 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
#ifndef __DLGEZPLOT_H_
#define __DLGEZPLOT_H_
-#ifdef __GNUG__
-#pragma interface "dlgezplot.h"
-#endif
-
#include "wx/setup.h"
#include "wx/dialog.h"
#include "wx/dcmemory.h"
** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
- ** $Id: dlgprojections.cpp,v 1.26 2002/05/30 06:27:46 kevin Exp $
+ ** $Id: dlgprojections.cpp,v 1.27 2003/01/23 23:35:58 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
******************************************************************************/
-#ifdef __GNUG__
-#pragma implementation "dlgprojections.h"
-#endif
-
#include "wx/wxprec.h"
#ifndef WX_PRECOMP
** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: dlgprojections.h,v 1.7 2001/01/28 19:10:18 kevin Exp $
+** $Id: dlgprojections.h,v 1.8 2003/01/23 23:35:58 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
#ifndef __DLGPROJECTIONS_H_
#define __DLGPROJECTIONS_H_
-#ifdef __GNUG__
-#pragma interface "dlgprojections.h"
-#endif
-
#include "wx/setup.h"
#include "wx/dialog.h"
#include "wx/dcmemory.h"
** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: dlgreconstruct.cpp,v 1.19 2002/05/30 06:27:46 kevin Exp $
+** $Id: dlgreconstruct.cpp,v 1.20 2003/01/23 23:35:58 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
******************************************************************************/
-#ifdef __GNUG__
-#pragma implementation "dlgreconstruct.h"
-#endif
-
#include "wx/wxprec.h"
#include "wx/utils.h"
** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: dlgreconstruct.h,v 1.8 2001/01/28 19:10:18 kevin Exp $
+** $Id: dlgreconstruct.h,v 1.9 2003/01/23 23:35:58 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
#ifndef __DLGRECONSTRUCT_H_
#define __DLGRECONSTRUCT_H_
-#ifdef __GNUG__
-#pragma interface "dlgreconstruct.h"
-#endif
-
#include "wx/setup.h"
#include "wx/dialog.h"
#include "wx/dcmemory.h"
** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: docs.cpp,v 1.44 2003/01/23 08:03:42 kevin Exp $
+** $Id: docs.cpp,v 1.45 2003/01/23 23:35:58 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
******************************************************************************/
-#ifdef __GNUG__
-// #pragma implementation
-#endif
-
#include "wx/wxprec.h"
#ifndef WX_PRECOMP
** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: docs.h,v 1.33 2002/06/06 22:50:24 kevin Exp $
+** $Id: docs.h,v 1.34 2003/01/23 23:35:58 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
******************************************************************************/
-#ifdef __GNUG__
-// #pragma interface
-#endif
-
#ifndef __DOCSH__
#define __DOCSH__
** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: graph3dview.cpp,v 1.31 2002/10/24 21:05:28 kevin Exp $
+** $Id: graph3dview.cpp,v 1.32 2003/01/23 23:35:58 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
******************************************************************************/
-#ifdef __GNUG__
-#pragma implementation
-#pragma interface
-#endif
-
#include "wx/wxprec.h"
#ifndef WX_PRECOMP
** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: views.h,v 1.58 2002/06/06 22:50:24 kevin Exp $
+** $Id: views.h,v 1.59 2003/01/23 23:35:58 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
******************************************************************************/
-#ifdef __GNUG__
-// #pragma interface
-#endif
-
#ifndef __VIEWSH__
#define __VIEWSH__
** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: nographics.cpp,v 1.2 2001/03/30 19:32:53 kevin Exp $
+** $Id: nographics.cpp,v 1.3 2003/01/23 23:35:58 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
#include "config.h"
#endif
-
-#ifdef __GNUG__
-#pragma implementation "nographics.h"
-#endif
-
#include "nographics.h"