diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2013-01-30 18:23:18 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2013-01-30 18:23:18 +0100 |
commit | 6a378649873ae2b950017bed5a811ed1dff7634d (patch) | |
tree | 9af5f4bd9f25cc9893953517b53f9eee1e41f8b2 | |
parent | 9d23e579e35ac85828dc2568134cd37de19ad94d (diff) | |
download | librcc-6a378649873ae2b950017bed5a811ed1dff7634d.tar.gz librcc-6a378649873ae2b950017bed5a811ed1dff7634d.tar.bz2 librcc-6a378649873ae2b950017bed5a811ed1dff7634d.tar.xz librcc-6a378649873ae2b950017bed5a811ed1dff7634d.zip |
Allow disabling of GTK1 UI support
-rw-r--r-- | configure.in | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 17f504b..1a71607 100644 --- a/configure.in +++ b/configure.in @@ -84,7 +84,16 @@ AC_SUBST(XML_INCLUDES) dnl *** dnl *** GTK1 (Optional) dnl *** -AC_PATH_PROG(GTK_CONFIG, gtk-config, no) +AC_ARG_ENABLE(gtk1, + [ --disable-gtk1 disable gtk1 [default=enabled]],, + enable_gtk1="yes") + +if test "x$enable_gtk1" = "xyes"; then + AC_PATH_PROG(GTK_CONFIG, gtk-config, no) +else + GTK_CONFIG="no" +fi + if test $GTK_CONFIG = no; then HAVE_GTK=no else |