diff options
-rw-r--r-- | configure.in | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/configure.in b/configure.in index 87c299e..f7c561b 100644 --- a/configure.in +++ b/configure.in | |||
@@ -1,7 +1,7 @@ | |||
1 | dnl configure.in for Fluxbox - created from configure.in Blackbox 0.61.1 | 1 | 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 | AM_INIT_AUTOMAKE(fluxbox,0.1.8,no-define) | 4 | AM_INIT_AUTOMAKE(fluxbox,cvs,no-define) |
5 | 5 | ||
6 | dnl Determine default prefix | 6 | dnl Determine default prefix |
7 | test x$prefix = "xNONE" && prefix="$ac_default_prefix" | 7 | test x$prefix = "xNONE" && prefix="$ac_default_prefix" |
@@ -84,7 +84,7 @@ else | |||
84 | AC_MSG_RESULT([no]) | 84 | AC_MSG_RESULT([no]) |
85 | fi | 85 | fi |
86 | AC_SUBST(SHAPE) | 86 | AC_SUBST(SHAPE) |
87 | 87 | CXXFLAGS="$CXXFLAGS $SHAPE" | |
88 | LIBS="$LIBS $Xext_lib" | 88 | LIBS="$LIBS $Xext_lib" |
89 | 89 | ||
90 | dnl Check for the Slit | 90 | dnl Check for the Slit |
@@ -102,6 +102,7 @@ AC_ARG_ENABLE( | |||
102 | SLIT="-DSLIT" | 102 | SLIT="-DSLIT" |
103 | ) | 103 | ) |
104 | AC_SUBST(SLIT) | 104 | AC_SUBST(SLIT) |
105 | CXXFLAGS="$CXXFLAGS $SLIT" | ||
105 | 106 | ||
106 | dnl Check for the new WM Spec | 107 | dnl Check for the new WM Spec |
107 | NEWWMSPEC="" | 108 | NEWWMSPEC="" |
@@ -119,7 +120,7 @@ AC_ARG_ENABLE( | |||
119 | AC_MSG_RESULT([no]) | 120 | AC_MSG_RESULT([no]) |
120 | ) | 121 | ) |
121 | AC_SUBST(NEWWMSPEC) | 122 | AC_SUBST(NEWWMSPEC) |
122 | 123 | CXXFLAGS="$CXXFLAGS $NEWWMSPEC" | |
123 | 124 | ||
124 | dnl Check for Interlacing | 125 | dnl Check for Interlacing |
125 | INTERLACE="" | 126 | INTERLACE="" |
@@ -136,6 +137,7 @@ AC_ARG_ENABLE( | |||
136 | INTERLACE="-DINTERLACE" | 137 | INTERLACE="-DINTERLACE" |
137 | ) | 138 | ) |
138 | AC_SUBST(INTERLACE) | 139 | AC_SUBST(INTERLACE) |
140 | CXXFLAGS="$CXXFLAGS $INTERLACE" | ||
139 | 141 | ||
140 | dnl Check for ordered 8bpp dithering | 142 | dnl Check for ordered 8bpp dithering |
141 | ORDEREDPSEUDO="" | 143 | ORDEREDPSEUDO="" |
@@ -152,6 +154,7 @@ AC_ARG_ENABLE(ordered-pseudo, | |||
152 | AC_MSG_RESULT([no]) | 154 | AC_MSG_RESULT([no]) |
153 | ) | 155 | ) |
154 | AC_SUBST(ORDEREDPSEUDO) | 156 | AC_SUBST(ORDEREDPSEUDO) |
157 | CXXFLAGS="$CXXFLAGS $ORDEREDPSEUDO" | ||
155 | 158 | ||
156 | dnl Check whether to include debugging code | 159 | dnl Check whether to include debugging code |
157 | DEBUG="" | 160 | DEBUG="" |
@@ -167,6 +170,7 @@ AC_ARG_ENABLE(debug, | |||
167 | AC_MSG_RESULT([no]) | 170 | AC_MSG_RESULT([no]) |
168 | ) | 171 | ) |
169 | AC_SUBST(DEBUG) | 172 | AC_SUBST(DEBUG) |
173 | CXXFLAGS="$CXXFLAGS $DEBUG" | ||
170 | 174 | ||
171 | dnl Check whether to include natural language support (i18n) | 175 | dnl Check whether to include natural language support (i18n) |
172 | NLS="" | 176 | NLS="" |
@@ -208,6 +212,7 @@ AC_ARG_ENABLE( | |||
208 | TIMEDCACHE="-DTIMEDCACHE" | 212 | TIMEDCACHE="-DTIMEDCACHE" |
209 | ) | 213 | ) |
210 | AC_SUBST(TIMEDCACHE) | 214 | AC_SUBST(TIMEDCACHE) |
215 | CXXFLAGS="$CXXFLAGS $TIMEDCACHE" | ||
211 | 216 | ||
212 | dnl Check KDE | 217 | dnl Check KDE |
213 | KDE="" | 218 | KDE="" |
@@ -224,6 +229,7 @@ AC_ARG_ENABLE( | |||
224 | AC_MSG_RESULT([no]) | 229 | AC_MSG_RESULT([no]) |
225 | ) | 230 | ) |
226 | AC_SUBST(KDE) | 231 | AC_SUBST(KDE) |
232 | CXXFLAGS="$CXXFLAGS $KDE" | ||
227 | 233 | ||
228 | dnl Check GNOME | 234 | dnl Check GNOME |
229 | GNOME="" | 235 | GNOME="" |
@@ -240,6 +246,7 @@ AC_ARG_ENABLE( | |||
240 | AC_MSG_RESULT([no]) | 246 | AC_MSG_RESULT([no]) |
241 | ) | 247 | ) |
242 | AC_SUBST(GNOME) | 248 | AC_SUBST(GNOME) |
249 | CXXFLAGS="$CXXFLAGS $GNOME" | ||
243 | 250 | ||
244 | dnl Check for Xinerama support | 251 | dnl Check for Xinerama support |
245 | XINERAMA="" | 252 | XINERAMA="" |
@@ -255,6 +262,7 @@ else | |||
255 | AC_MSG_RESULT([no]) | 262 | AC_MSG_RESULT([no]) |
256 | fi | 263 | fi |
257 | AC_SUBST(XINERAMA) | 264 | AC_SUBST(XINERAMA) |
265 | CXXFLAGS="$CXXFLAGS $XINERAMA" | ||
258 | 266 | ||
259 | LIBS="$LIBS $Xinerama_libs" | 267 | LIBS="$LIBS $Xinerama_libs" |
260 | 268 | ||