diff options
author | fluxgen <fluxgen> | 2003-06-25 13:07:34 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-06-25 13:07:34 (GMT) |
commit | 2a08e33735bea68dd0232d0f00775768069bbf12 (patch) | |
tree | a283b00d84f1206fdb4bb65d80c4a0cf9d9fff5d /configure.in | |
parent | 2cc98fe16dff976b8e2cd2e517787fada8cdc817 (diff) | |
download | fluxbox_lack-2a08e33735bea68dd0232d0f00775768069bbf12.zip fluxbox_lack-2a08e33735bea68dd0232d0f00775768069bbf12.tar.bz2 |
compile time option for toolbar
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 22 |
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 | |||
2 | dnl Initialize autoconf and automake | 2 | dnl Initialize autoconf and automake |
3 | AC_INIT(src/main.cc) | 3 | AC_INIT(src/main.cc) |
4 | AC_PREREQ(2.52) | 4 | AC_PREREQ(2.52) |
5 | AM_INIT_AUTOMAKE(fluxbox,0.9.3,no-define) | 5 | AM_INIT_AUTOMAKE(fluxbox,cvs-2003-06-25,no-define) |
6 | 6 | ||
7 | dnl Determine default prefix | 7 | dnl Determine default prefix |
8 | test x$prefix = "xNONE" && prefix="$ac_default_prefix" | 8 | test x$prefix = "xNONE" && prefix="$ac_default_prefix" |
@@ -142,10 +142,28 @@ AC_ARG_ENABLE( | |||
142 | ) | 142 | ) |
143 | AM_CONDITIONAL(REMEMBER_SRC, test x$REMEMBER_SRC = xtrue) | 143 | AM_CONDITIONAL(REMEMBER_SRC, test x$REMEMBER_SRC = xtrue) |
144 | 144 | ||
145 | dnl Check for Toolbar options | ||
146 | AC_MSG_CHECKING([whether to include Toolbar]) | ||
147 | AC_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 | ) | ||
161 | AM_CONDITIONAL(TOOLBAR_SRC, test x$TOOLBAR_SRC = xtrue) | ||
162 | |||
145 | AC_MSG_CHECKING([whether to have (POSIX) regular expression support]) | 163 | AC_MSG_CHECKING([whether to have (POSIX) regular expression support]) |
146 | AC_ARG_ENABLE( | 164 | AC_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") |