diff options
| author | Manolo Gouy <Manolo> | 2016-12-01 17:31:29 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-12-01 17:31:29 +0000 |
| commit | 21781c3fe922592a34371abdc09dcd13d75b2340 (patch) | |
| tree | 5e77379785c7ef741cdf77578519c5d5515a7047 /configure.ac | |
| parent | 7f3f3f3e08f5e1692449c2f82b9e3802f96bb68b (diff) | |
Add --enable-print option to configure to allow building without print support on X11 platforms.
Also, the NO_PRINT_SUPPORT preprocessor variable is renamed FL_NO_PRINT_SUPPORT.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12131 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 417e91a0f..2b592920d 100644 --- a/configure.ac +++ b/configure.ac @@ -992,6 +992,12 @@ case $host_os_gui in GLDEMOS="" fi + dnl Check whether print support was disabled... + AC_ARG_ENABLE(print, [ --enable-print turn on print support (X11 platform) [[default=yes]]]) + if test x$enable_print != xyes; then + AC_DEFINE(FL_NO_PRINT_SUPPORT) + fi + dnl Check for Xinerama support unless disabled... AC_ARG_ENABLE(xinerama, [ --enable-xinerama turn on Xinerama support [[default=yes]]]) |
