summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2002-12-01 20:48:10 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-12-01 20:48:10 +0000
commit214bcceaea63ce12c9e991fe60aa1bfa007a06ed (patch)
tree3deff197bc911bee32b20e32fd4cf5987a062b5d /configure.in
parent5e1439f89e7acd7d57c4027eea2160953fb323f1 (diff)
downloadmetacity-214bcceaea63ce12c9e991fe60aa1bfa007a06ed.tar.gz
metacity-214bcceaea63ce12c9e991fe60aa1bfa007a06ed.tar.bz2
conditionalize building the config dialog
2002-12-01 Havoc Pennington <hp@pobox.com> * src/tools/Makefile.am: conditionalize building the config dialog * configure.in (BUILD_CONFIG_DIALOG): add --enable-config-dialog option to turn on the "window focus" dialog. This is part of deprecating this dialog.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in30
1 files changed, 18 insertions, 12 deletions
diff --git a/configure.in b/configure.in
index b305f18..b361af5 100644
--- a/configure.in
+++ b/configure.in
@@ -83,6 +83,12 @@ if test "x$GCC" = "xyes"; then
fi
changequote([,])dnl
+AC_ARG_ENABLE(config-dialog, [ --enable-config-dialog enable the config dialog that you need with GNOME 2.0 (obsolete with GNOME 2.2)],enable_config_dialog=yes,enable_config_dialog=no)
+
+AM_CONDITIONAL(BUILD_CONFIG_DIALOG, test x$enable_config_dialog = xyes)
+if test x$enable_config_dialog = xyes; then
+ AC_DEFINE(BUILD_CONFIG_DIALOG,1,[Build configuration dialog])
+fi
## try definining HAVE_BACKTRACE
AC_CHECK_HEADERS(execinfo.h, [AC_CHECK_FUNCS(backtrace)])
@@ -254,16 +260,16 @@ dnl ==========================================================================
echo "
metacity-$VERSION:
- prefix: ${prefix}
- source code location: ${srcdir}
- compiler: ${CC}
-
- XFree86 Xinerama: ${use_xfree_xinerama}
- Solaris Xinerama: ${use_solaris_xinerama}
- Multihead: ${with_multihead}
- Startup notification: ${with_startup_notification}
- Session management: ${found_sm}
- Shape extension: ${found_shape}
- Resize-and-rotate: ${found_randr}
-
+ prefix: ${prefix}
+ source code location: ${srcdir}
+ compiler: ${CC}
+
+ XFree86 Xinerama: ${use_xfree_xinerama}
+ Solaris Xinerama: ${use_solaris_xinerama}
+ Multihead: ${with_multihead}
+ Startup notification: ${with_startup_notification}
+ Session management: ${found_sm}
+ Shape extension: ${found_shape}
+ Resize-and-rotate: ${found_randr}
+ Deprecated config dialog: ${enable_config_dialog}
"