summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-02-02 18:48:13 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-02-02 18:48:24 +0100
commit6276822e9e8f505756b386637df9e14dd5a8e2fb (patch)
tree9294dc6114e2d92ea4eef6041a6809e2e4c44a27 /configure.ac
parent4e75549e7bd8b0ea032cf279066d0fac09577067 (diff)
Allow cmake -DOPTION_APPLE_X11=On without -U__APPLE__
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 410aebd99..16d5e2611 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,7 +3,7 @@ dnl the "configure" script is made from this by running GNU "autoconf"
dnl
dnl Configuration script for the Fast Light Tool Kit (FLTK).
dnl
-dnl Copyright 1998-2022 by Bill Spitzak and others.
+dnl Copyright 1998-2023 by Bill Spitzak and others.
dnl
dnl This library is free software. Distribution and use rights are outlined in
dnl the file "COPYING" which should have been included with this file. If this
@@ -185,7 +185,6 @@ AS_CASE([$host_os], [cygwin*], [
], [darwin*], [
AS_IF([test x$enable_x11 = xyes], [
host_os_gui="X11"
- OPTIM="-U__APPLE__ $OPTIM"
macosversion=$(sw_vers -productVersion | cut -d. -f2)
macosversion_maj=$(sw_vers -productVersion | cut -d. -f1)
AS_IF([test $macosversion_maj -ge 11 -o $macosversion -ge 13], [