|
Lines 188-207
Link Here
|
| 188 |
yes) geoip=true ;; |
188 |
yes) geoip=true ;; |
| 189 |
no) geoip=false ;; |
189 |
no) geoip=false ;; |
| 190 |
*) AC_MSG_ERROR(bad value ${enableval} for --enable-geoip) ;; |
190 |
*) AC_MSG_ERROR(bad value ${enableval} for --enable-geoip) ;; |
| 191 |
esac],[geoip=true]) |
191 |
esac],[geoip=false]) |
| 192 |
|
192 |
|
| 193 |
AC_ARG_ENABLE(system-geoip, |
193 |
AC_ARG_ENABLE(system-geoip, |
| 194 |
[AS_HELP_STRING(--enable-system-geoip,[Enables use of system-wide GeoIP database (implies --disable-geoip) (no by default)])], |
194 |
[AS_HELP_STRING(--enable-system-geoip,[Enables use of system-wide GeoIP database (implies --disable-geoip) (yes by default)])], |
| 195 |
[case "${enableval}" in |
195 |
[case "${enableval}" in |
| 196 |
yes) if test "$have_system_geoip" = yes; then |
196 |
yes) system_geoip=true ;; |
| 197 |
system_geoip=true |
197 |
no) system_geoip=false ;; |
| 198 |
geoip=false |
|
|
| 199 |
else |
| 200 |
AC_MSG_ERROR(cannot enable system geoip. GeoIP library headers were not found on your system) |
| 201 |
fi ;; |
| 202 |
no) system_geoip=true ;; |
| 203 |
*) AC_MSG_ERROR(bad value ${enableval} for --enable-system-geoip) ;; |
198 |
*) AC_MSG_ERROR(bad value ${enableval} for --enable-system-geoip) ;; |
| 204 |
esac],[system_geoip=false]) |
199 |
esac],[system_geoip=true]) |
|
|
200 |
|
| 201 |
if test x$system_geoip = xtrue; then |
| 202 |
if test "$have_system_geoip" = yes; then |
| 203 |
geoip=false |
| 204 |
else |
| 205 |
AC_MSG_ERROR(cannot enable system geoip. GeoIP library headers were not found on your system) |
| 206 |
fi |
| 207 |
fi |
| 205 |
|
208 |
|
| 206 |
AM_CONDITIONAL(ENABLE_GEOIP, test x$geoip = xtrue) |
209 |
AM_CONDITIONAL(ENABLE_GEOIP, test x$geoip = xtrue) |
| 207 |
AM_CONDITIONAL(USE_SYSTEM_GEOIP, test x$system_geoip = xtrue) |
210 |
AM_CONDITIONAL(USE_SYSTEM_GEOIP, test x$system_geoip = xtrue) |
|
Lines 212-223
Link Here
|
| 212 |
|
215 |
|
| 213 |
|
216 |
|
| 214 |
AC_ARG_ENABLE(builtin-country-flags, |
217 |
AC_ARG_ENABLE(builtin-country-flags, |
| 215 |
[AS_HELP_STRING(--enable-builtin-country-flags,[Install and prefer builtin country flags to the ones provided by KDE (yes by default)])], |
218 |
[AS_HELP_STRING(--enable-builtin-country-flags,[Install and prefer builtin country flags to the ones provided by KDE (no by default)])], |
| 216 |
[case "${enableval}" in |
219 |
[case "${enableval}" in |
| 217 |
yes) builtin_country_flags=true ;; |
220 |
yes) builtin_country_flags=true ;; |
| 218 |
no) builtin_country_flags=false ;; |
221 |
no) builtin_country_flags=false ;; |
| 219 |
*) AC_MSG_ERROR(bad value ${enableval} for --enable-builtin-country-flags) ;; |
222 |
*) AC_MSG_ERROR(bad value ${enableval} for --enable-builtin-country-flags) ;; |
| 220 |
esac],[builtin_country_flags=true]) |
223 |
esac],[builtin_country_flags=false]) |
| 221 |
|
224 |
|
| 222 |
AM_CONDITIONAL(ENABLE_BUILTIN_COUNTRY_FLAGS, test x$builtin_country_flags = xtrue) |
225 |
AM_CONDITIONAL(ENABLE_BUILTIN_COUNTRY_FLAGS, test x$builtin_country_flags = xtrue) |
| 223 |
|
226 |
|