diff options
author | mathias <mathias> | 2005-08-23 06:39:48 (GMT) |
---|---|---|
committer | mathias <mathias> | 2005-08-23 06:39:48 (GMT) |
commit | da8d245704832c6473eb8b9a7e4d59b16d96daad (patch) | |
tree | 85b0297b94e6b2f11d76264d9ca8a9f637e5b01b | |
parent | 8c3cfbef7d3054a90258d59bac3385f98f96a12b (diff) | |
download | fluxbox-da8d245704832c6473eb8b9a7e4d59b16d96daad.zip fluxbox-da8d245704832c6473eb8b9a7e4d59b16d96daad.tar.bz2 |
--disable-regexp switches from <regexp.h> to <string> in
Regexp.cc .. but it still needs to be compiled. hence the
little fix in src/Makefile.am
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/Makefile.am | 8 | ||||
-rw-r--r-- | src/RegExp.cc | 2 |
3 files changed, 8 insertions, 7 deletions
@@ -1,6 +1,9 @@ | |||
1 | (Format: Year/Month/Day) | 1 | (Format: Year/Month/Day) |
2 | Changes for 0.9.14: | 2 | Changes for 0.9.14: |
3 | *05/08/17 | 3 | *05/08/23: |
4 | * Fixed unresolved symbols when configure --disable-regexp (Mathias) | ||
5 | src/Makefile.am | ||
6 | *05/08/17: | ||
4 | * Added the 'Education' submenu to fbgm (thanx Lam) | 7 | * Added the 'Education' submenu to fbgm (thanx Lam) |
5 | fluxbox-generate_menu.in | 8 | fluxbox-generate_menu.in |
6 | *05/08/15 | 9 | *05/08/15 |
diff --git a/src/Makefile.am b/src/Makefile.am index 9e15d8b..3ccf687 100644 --- a/src/Makefile.am +++ b/src/Makefile.am | |||
@@ -65,11 +65,9 @@ if GNOME | |||
65 | gnome_SOURCE= Gnome.hh Gnome.cc | 65 | gnome_SOURCE= Gnome.hh Gnome.cc |
66 | endif | 66 | endif |
67 | if REMEMBER_SRC | 67 | if REMEMBER_SRC |
68 | REMEMBER_SOURCE= Remember.hh Remember.cc | ||
69 | # For now we only want regexp if we have remember | 68 | # For now we only want regexp if we have remember |
70 | if REGEXP_SRC | 69 | REMEMBER_SOURCE= Remember.hh Remember.cc \ |
71 | REGEXP_SOURCE = RegExp.hh RegExp.cc ClientPattern.hh ClientPattern.cc | 70 | RegExp.hh RegExp.cc ClientPattern.hh ClientPattern.cc |
72 | endif | ||
73 | endif | 71 | endif |
74 | if TOOLBAR_SRC | 72 | if TOOLBAR_SRC |
75 | TOOLBAR_SOURCE = Toolbar.hh Toolbar.cc \ | 73 | TOOLBAR_SOURCE = Toolbar.hh Toolbar.cc \ |
@@ -130,7 +128,7 @@ fluxbox_SOURCES = AtomHandler.hh ArrowButton.hh ArrowButton.cc \ | |||
130 | Resources.cc \ | 128 | Resources.cc \ |
131 | WindowCmd.hh WindowCmd.cc \ | 129 | WindowCmd.hh WindowCmd.cc \ |
132 | ${newwmspec_SOURCE} ${gnome_SOURCE} \ | 130 | ${newwmspec_SOURCE} ${gnome_SOURCE} \ |
133 | ${REMEMBER_SOURCE} ${REGEXP_SOURCE} ${TOOLBAR_SOURCE} | 131 | ${REMEMBER_SOURCE} ${TOOLBAR_SOURCE} |
134 | 132 | ||
135 | 133 | ||
136 | LDADD=FbTk/libFbTk.a defaults.$(OBJEXT) | 134 | LDADD=FbTk/libFbTk.a defaults.$(OBJEXT) |
diff --git a/src/RegExp.cc b/src/RegExp.cc index 96f3ce4..50748c5 100644 --- a/src/RegExp.cc +++ b/src/RegExp.cc | |||
@@ -99,6 +99,6 @@ bool RegExp::error() const { | |||
99 | #ifdef USE_REGEXP | 99 | #ifdef USE_REGEXP |
100 | return m_regex == 0; | 100 | return m_regex == 0; |
101 | #else | 101 | #else |
102 | return return m_str == ""; | 102 | return m_str == ""; |
103 | #endif // USE_REGEXP | 103 | #endif // USE_REGEXP |
104 | } | 104 | } |