summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorFabien Costantini <fabien@onepost.net>2008-10-13 23:10:43 +0000
committerFabien Costantini <fabien@onepost.net>2008-10-13 23:10:43 +0000
commit92051890f1127429142cc0b60e3e9a1e567bf01d (patch)
tree4c0e7f28192914b24202d08aa3eaa72a7bf5f7e4 /configure.in
parent8e9c1d1ab030dc7beed522f368c467dd94e1f8bb (diff)
Quickdraw removal: option removed from configure, all Qd code removed from sources. Also took this opportunity to sort the ifdef clauses so that USE_X11 shows first. Also added error pragma to enforce proper target checking, thus make even less assumptions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6423 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in20
1 files changed, 4 insertions, 16 deletions
diff --git a/configure.in b/configure.in
index 3bfd46b56..6b63bc6f6 100644
--- a/configure.in
+++ b/configure.in
@@ -258,17 +258,9 @@ AC_ARG_WITH(archflags, [ --with-archflags="flags"
use custom architecture flags],
ARCHFLAGS="$withval")
-case $uname in
- Darwin*)
- AC_ARG_ENABLE(quartz, [ --enable-quartz use Quartz instead of Quickdraw (default=yes)])
- if test "x$enable_quartz" != "xno"; then
- AC_DEFINE(USE_QUARTZ, 1)
- AC_DEFINE(__APPLE_QUARTZ__)
- else
- AC_DEFINE(__APPLE_QD__)
- fi
- ;;
-esac
+# QD is not supported anymore since 1.3
+AC_DEFINE(USE_QUARTZ, 1)
+AC_DEFINE(__APPLE_QUARTZ__)
dnl Find commands...
AC_PROG_CC
@@ -1092,11 +1084,7 @@ case $uname in
graphics="GDI"
;;
Darwin*)
- if test x$enable_quartz != xno; then
- graphics="Quartz"
- else
- graphics="Quickdraw"
- fi
+ graphics="Quartz"
;;
*)
graphics="X11"