AC_CHECK_LIB(Xt, XtToolkitThreadInitialize, AC_DEFINE(X_THREAD_SUPPORT,1,[x thread supported]), , $X_PRE_LIBS $X_BASIC_LIBS $X_EXTRA_LIBS)
LDFLAGS="$our_saved_LDFLAGS"
-dnl Check in -lXext for double buffering extensions to X11, and check
-dnl whether appropriate header files are present. (Some systems have one
-dnl but not the other.)
-our_saved_LDFLAGS="$LDFLAGS"
-LDFLAGS="$X_LIBS $LDFLAGS"
-AC_CHECK_LIB(Xext, XdbeQueryExtension, AC_DEFINE(HAVE_DBE_SUPPORT,1,[x dbe support]), , -lX11 "$X_EXTRA_LIBS")
-AC_CHECK_LIB(Xext, XmbufQueryExtension, AC_DEFINE(HAVE_MBX_SUPPORT,1,[x mbx support]), , -lX11 "$X_EXTRA_LIBS")
-LDFLAGS="$our_saved_LDFLAGS"
-our_saved_CPPFLAGS="$CPPFLAGS"
-CPPFLAGS="$X_CFLAGS $CPPFLAGS"
-AC_CHECK_HEADERS(X11/extensions/Xdbe.h X11/extensions/multibuf.h)
-CPPFLAGS="$our_saved_CPPFLAGS"
-
dnl Our Makefile.am files test the automake variable NO_X to determine
dnl whether X should be supported.
AM_CONDITIONAL(NO_X, test "x$no_x" = "xyes")
noinst_LIBRARIES = libctsim.a
-libctsim_a_SOURCES = filter.cpp scanner.cpp projections.cpp phantom.cpp imagefile.cpp backprojectors.cpp array2dfile.cpp trace.cpp procsignal.cpp reconstruct.cpp fourier.cpp globalvars.cpp ctndicom.cpp
+libctsim_a_SOURCES = filter.cpp scanner.cpp projections.cpp phantom.cpp imagefile.cpp backprojectors.cpp array2dfile.cpp trace.cpp procsignal.cpp reconstruct.cpp fourier.cpp ctndicom.cpp
INCLUDES=@my_includes@
wxlibs = @wxlibs@
noinst_LIBRARIES = libctsim.a
-libctsim_a_SOURCES = filter.cpp scanner.cpp projections.cpp phantom.cpp imagefile.cpp backprojectors.cpp array2dfile.cpp trace.cpp procsignal.cpp reconstruct.cpp fourier.cpp globalvars.cpp ctndicom.cpp
+libctsim_a_SOURCES = filter.cpp scanner.cpp projections.cpp phantom.cpp imagefile.cpp backprojectors.cpp array2dfile.cpp trace.cpp procsignal.cpp reconstruct.cpp fourier.cpp ctndicom.cpp
INCLUDES = @my_includes@
EXTRA_DIST = Makefile.nt
libctsim_a_LIBADD =
libctsim_a_OBJECTS = filter.o scanner.o projections.o phantom.o \
imagefile.o backprojectors.o array2dfile.o trace.o procsignal.o \
-reconstruct.o fourier.o globalvars.o ctndicom.o
+reconstruct.o fourier.o ctndicom.o
AR = ar
CXXFLAGS = @CXXFLAGS@
CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
TAR = tar
GZIP_ENV = --best
DEP_FILES = .deps/array2dfile.P .deps/backprojectors.P .deps/ctndicom.P \
-.deps/filter.P .deps/fourier.P .deps/globalvars.P .deps/imagefile.P \
-.deps/phantom.P .deps/procsignal.P .deps/projections.P \
-.deps/reconstruct.P .deps/scanner.P .deps/trace.P
+.deps/filter.P .deps/fourier.P .deps/imagefile.P .deps/phantom.P \
+.deps/procsignal.P .deps/projections.P .deps/reconstruct.P \
+.deps/scanner.P .deps/trace.P
SOURCES = $(libctsim_a_SOURCES)
OBJECTS = $(libctsim_a_OBJECTS)
+++ /dev/null
-/*****************************************************************************
-** FILE IDENTIFICATION
-**
-** Name: globalvars.cpp
-** Purpose: Global variables
-** Programmer: Kevin Rosenberg
-** Date Started: Jan 2001
-**
-** This is part of the CTSim program
-** Copyright (c) 1983-2001 Kevin Rosenberg
-**
-** $Id: globalvars.cpp,v 1.2 2001/01/28 19:10:18 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
-** published by the Free Software Foundation.
-**
-** This program is distributed in the hope that it will be useful,
-** but WITHOUT ANY WARRANTY; without even the implied warranty of
-** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-** GNU General Public License for more details.
-**
-** You should have received a copy of the GNU General Public License
-** along with this program; if not, write to the Free Software
-** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-******************************************************************************/
-
-#include "ct.h"
-
-#ifdef HAVE_WXWINDOWS
-
-#include "../src/ctsim.h"
-
-bool g_bRunningWXWindows = false;
-class CTSimApp* theApp = NULL;
-
-#endif
-
noinst_LIBRARIES = libctsupport.a
INCLUDES=@my_includes@
-libctsupport_a_SOURCES= strfuncs.cpp syserror.cpp fnetorderstream.cpp consoleio.cpp mathfuncs.cpp xform.cpp clip.cpp plotfile.cpp hashtable.cpp interpolator.cpp
+libctsupport_a_SOURCES= strfuncs.cpp syserror.cpp fnetorderstream.cpp consoleio.cpp mathfuncs.cpp xform.cpp clip.cpp plotfile.cpp hashtable.cpp interpolator.cpp globalvars.cpp
EXTRA_DIST=Makefile.nt
noinst_LIBRARIES = libctsupport.a
INCLUDES = @my_includes@
-libctsupport_a_SOURCES = strfuncs.cpp syserror.cpp fnetorderstream.cpp consoleio.cpp mathfuncs.cpp xform.cpp clip.cpp plotfile.cpp hashtable.cpp interpolator.cpp
+libctsupport_a_SOURCES = strfuncs.cpp syserror.cpp fnetorderstream.cpp consoleio.cpp mathfuncs.cpp xform.cpp clip.cpp plotfile.cpp hashtable.cpp interpolator.cpp globalvars.cpp
EXTRA_DIST = Makefile.nt
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ../config.h
libctsupport_a_LIBADD =
libctsupport_a_OBJECTS = strfuncs.o syserror.o fnetorderstream.o \
consoleio.o mathfuncs.o xform.o clip.o plotfile.o hashtable.o \
-interpolator.o
+interpolator.o globalvars.o
AR = ar
CXXFLAGS = @CXXFLAGS@
CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
TAR = tar
GZIP_ENV = --best
DEP_FILES = .deps/clip.P .deps/consoleio.P .deps/fnetorderstream.P \
-.deps/hashtable.P .deps/interpolator.P .deps/mathfuncs.P \
-.deps/plotfile.P .deps/strfuncs.P .deps/syserror.P .deps/xform.P
+.deps/globalvars.P .deps/hashtable.P .deps/interpolator.P \
+.deps/mathfuncs.P .deps/plotfile.P .deps/strfuncs.P .deps/syserror.P \
+.deps/xform.P
SOURCES = $(libctsupport_a_SOURCES)
OBJECTS = $(libctsupport_a_OBJECTS)
--- /dev/null
+/*****************************************************************************
+** FILE IDENTIFICATION
+**
+** Name: globalvars.cpp
+** Purpose: Global variables
+** Programmer: Kevin Rosenberg
+** Date Started: Jan 2001
+**
+** This is part of the CTSim program
+** Copyright (c) 1983-2001 Kevin Rosenberg
+**
+** $Id: globalvars.cpp,v 1.1 2002/05/05 10:13:13 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
+** published by the Free Software Foundation.
+**
+** This program is distributed in the hope that it will be useful,
+** but WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+** GNU General Public License for more details.
+**
+** You should have received a copy of the GNU General Public License
+** along with this program; if not, write to the Free Software
+** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+******************************************************************************/
+
+#include "ct.h"
+
+#ifdef HAVE_WXWINDOWS
+
+#include "../src/ctsim.h"
+
+bool g_bRunningWXWindows = false;
+class CTSimApp* theApp = NULL;
+
+#endif
+