mirror of
https://github.com/fltk/fltk.git
synced 2026-06-05 08:06:35 +08:00
Add configure and CMake checks for X11/Xregion.h.
Configure and CMake now both check if X11/Xregion.h exists on the build system and set HAVE_X11_XREGION_H in config.h accordingly. src/Fl_Pixmap.cxx: modified to use the configure test as proposed by Manolo in fltk.coredev on Dec 13 2015 in thread "Using X11 backend on OS X". git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10983 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
+9
-1
@@ -4,7 +4,7 @@
|
||||
* Configuration file for the Fast Light Tool Kit (FLTK).
|
||||
* @configure_input@
|
||||
*
|
||||
* Copyright 1998-2010 by Bill Spitzak and others.
|
||||
* Copyright 1998-2015 by Bill Spitzak and others.
|
||||
*
|
||||
* This library is free software. Distribution and use rights are outlined in
|
||||
* the file "COPYING" which should have been included with this file. If this
|
||||
@@ -123,6 +123,14 @@
|
||||
|
||||
#cmakedefine01 HAVE_XCURSOR
|
||||
|
||||
/*
|
||||
* HAVE_X11_XREGION_H:
|
||||
*
|
||||
* Do we have the X11 Xregion.h header file ?
|
||||
*/
|
||||
|
||||
#cmakedefine01 HAVE_X11_XREGION_H
|
||||
|
||||
/*
|
||||
* __APPLE_QUARTZ__:
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user