--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-lam=PATH Set path of LAM MPI
--with-ctn=PATH Set path of CTN DICOM library
+ --with-cpu=CPU Set name of CPU for gcc -mcpu=
--with-cgibin-dir=PATH Set path of CGI binaries directory
--with-cgibin-url=PATH Set URL path of CGI binaries
--with-webdata-dir=PATH Set path of webdata
fi
fi
+
+# Check whether --with-cpu or --without-cpu was given.
+if test "${with_cpu+set}" = set; then
+ withval="$with_cpu"
+
+fi;
+
+if test "$withval" == "pentium4" -o "$withval" == "athlon-mp" ; then
+ echo "$as_me:$LINENO: checking Setting CPU to $withval" >&5
+echo $ECHO_N "checking Setting CPU to $withval... $ECHO_C" >&6
+ CFLAGS="$CFLAGS -mcpu=$withval"
+else
+ echo "$as_me:$LINENO: checking Unknown CPU $withval" >&5
+echo $ECHO_N "checking Unknown CPU $withval... $ECHO_C" >&6
+fi
+
echo "$as_me:$LINENO: checking for web access" >&5
echo $ECHO_N "checking for web access... $ECHO_C" >&6
fi
fi
+dnl Set CPU
+AC_ARG_WITH(cpu,
+[ --with-cpu[=CPU] Set name of CPU for gcc -mcpu=])
+
+if test "$withval" == "pentium4" -o "$withval" == "athlon-mp" ; then
+ AC_MSG_CHECKING([Setting CPU to $withval])
+ CFLAGS="$CFLAGS -mcpu=$withval"
+else
+ AC_MSG_CHECKING([Unknown CPU $withval])
+fi
+
AC_MSG_CHECKING([for web access])
dnl Set cgi-bin directory
AC_ARG_WITH(cgibin-dir, [ --with-cgibin-dir=PATH Set path of CGI binaries directory ],
+ctsim (4.0.2-1) unstable; urgency=low
+
+ * Remove debugging statement
+ * Add support for --with-cpu configuration option
+
+ -- Kevin M. Rosenberg <kmr@debian.org> Wed, 29 Jan 2003 19:25:11 -0700
+
ctsim (4.0.1-1) unstable; urgency=low
* Make sure to call OnUpdate as well as UpdateAllViews since the
** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: views.cpp,v 1.168 2003/01/29 07:30:49 kevin Exp $
+** $Id: views.cpp,v 1.169 2003/01/30 02:25:22 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
ImageFileView::OnDraw (wxDC* dc)
{
if (m_pBitmap && m_pBitmap->Ok()) {
- *theApp->getLog() << "Drawing bitmap";
+#ifdef DEBUG
+ *theApp->getLog() << "Drawing bitmap\n";
+#endif
dc->DrawBitmap(*m_pBitmap, 0, 0, false);
}
delete m_pBitmap;
m_pBitmap = NULL;
}
- *theApp->getLog() << "Making new bitmap bitmap";
+#ifdef DEBUG
+ *theApp->getLog() << "Making new bitmap\n";
+#endif
m_pBitmap = new wxBitmap (image);
delete imageData;
m_pCanvas->SetScrollbars(20, 20, nx/20, ny/20);