aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-06-25 13:07:34 (GMT)
committerfluxgen <fluxgen>2003-06-25 13:07:34 (GMT)
commit2a08e33735bea68dd0232d0f00775768069bbf12 (patch)
treea283b00d84f1206fdb4bb65d80c4a0cf9d9fff5d /configure.in
parent2cc98fe16dff976b8e2cd2e517787fada8cdc817 (diff)
downloadfluxbox-2a08e33735bea68dd0232d0f00775768069bbf12.zip
fluxbox-2a08e33735bea68dd0232d0f00775768069bbf12.tar.bz2
compile time option for toolbar
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in22
1 files changed, 20 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index df9e325..49a0d6e 100644
--- a/configure.in
+++ b/configure.in
@@ -2,7 +2,7 @@ dnl configure.in for Fluxbox - created from configure.in Blackbox 0.61.1
2dnl Initialize autoconf and automake 2dnl Initialize autoconf and automake
3AC_INIT(src/main.cc) 3AC_INIT(src/main.cc)
4AC_PREREQ(2.52) 4AC_PREREQ(2.52)
5AM_INIT_AUTOMAKE(fluxbox,0.9.3,no-define) 5AM_INIT_AUTOMAKE(fluxbox,cvs-2003-06-25,no-define)
6 6
7dnl Determine default prefix 7dnl Determine default prefix
8test x$prefix = "xNONE" && prefix="$ac_default_prefix" 8test x$prefix = "xNONE" && prefix="$ac_default_prefix"
@@ -142,10 +142,28 @@ AC_ARG_ENABLE(
142) 142)
143AM_CONDITIONAL(REMEMBER_SRC, test x$REMEMBER_SRC = xtrue) 143AM_CONDITIONAL(REMEMBER_SRC, test x$REMEMBER_SRC = xtrue)
144 144
145dnl Check for Toolbar options
146AC_MSG_CHECKING([whether to include Toolbar])
147AC_ARG_ENABLE(
148 toolbar, [ --enable-toolbar include code for Toolbar [default=yes]],
149 if test x$enableval = "xyes"; then
150 AC_MSG_RESULT([yes])
151 AC_DEFINE(USE_TOOLBAR, 1, " compile with toolbar")
152 TOOLBAR_SRC=true
153 else
154 AC_MSG_RESULT([no])
155 TOOLBAR_SRC=false
156 fi,
157 AC_MSG_RESULT([yes])
158 AC_DEFINE(USE_TOOLBAR, 1, " compile with toolbar")
159 TOOLBAR_SRC=true
160)
161AM_CONDITIONAL(TOOLBAR_SRC, test x$TOOLBAR_SRC = xtrue)
162
145AC_MSG_CHECKING([whether to have (POSIX) regular expression support]) 163AC_MSG_CHECKING([whether to have (POSIX) regular expression support])
146AC_ARG_ENABLE( 164AC_ARG_ENABLE(
147 regexp, 165 regexp,
148[ --enable-regexp regular expression support [default=yes]], 166[ --enable-regexp regular expression support [default=yes]],
149 if test x$enableval = "xyes"; then 167 if test x$enableval = "xyes"; then
150 AC_EGREP_HEADER([regex_t],regex.h, 168 AC_EGREP_HEADER([regex_t],regex.h,
151 AC_DEFINE(USE_REGEXP, 1, "Regular Expression support") 169 AC_DEFINE(USE_REGEXP, 1, "Regular Expression support")