diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2018-10-05 22:05:08 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2018-10-05 22:05:08 +0200 |
commit | c9b817f5bb8ef2060aa36ebb5b089cf249c5170b (patch) | |
tree | e91584eca979d0acf9c9b3522c76f647841ff454 /configure.ac | |
parent | 9143b16ded26eb956ffcc081576841f7dd38e944 (diff) |
add --disable-xembed configure option
Add option to disable XEmbed support.
This can be useful to avoid compilation issues on non-X11 systems.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 09b5bf5d..b436a9a6 100644 --- a/configure.ac +++ b/configure.ac @@ -40,6 +40,8 @@ AC_ARG_ENABLE(gif, [ --disable-gif Disable support for GIF images] AC_ARG_ENABLE(threaded-dns,[ --disable-threaded-dns Disable the advantage of a reentrant resolver library], enable_threaded_dns=$enableval, enable_threaded_dns=yes) AC_ARG_ENABLE(rtfl, [ --enable-rtfl Build with rtfl messages (for debugging rendering)]) +AC_ARG_ENABLE(xembed,[ --disable-xembed Don't compile with X11 XEmbed support], + , enable_xembed=yes) AC_PROG_CC AC_PROG_CXX AC_PROG_RANLIB @@ -459,6 +461,9 @@ fi if test "x$enable_rtfl" = "xyes" ; then CXXFLAGS="$CXXFLAGS -DDBG_RTFL" fi +if test "x$enable_xembed" = "xno" ; then + CXXFLAGS="$CFLAGS -DDISABLE_XEMBED" +fi dnl ----------------------- dnl Checks for header files |