Mercurial > pidgin.yaz
comparison configure.ac @ 14671:d347b09626ee
[gaim-migrate @ 17417]
Tidy the configure output if suitable sqlite3 is not found, and
ensure cap is not built when not building gtk gaim
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sun, 01 Oct 2006 15:16:21 +0000 |
parents | 1e1bcb4a6d82 |
children | 34083fe39891 |
comparison
equal
deleted
inserted
replaced
14670:11fd4148f9da | 14671:d347b09626ee |
---|---|
342 | 342 |
343 dnl ####################################################################### | 343 dnl ####################################################################### |
344 dnl # Check for libsqlite3 (for the Contact Availability Prediction plugin) | 344 dnl # Check for libsqlite3 (for the Contact Availability Prediction plugin) |
345 dnl ####################################################################### | 345 dnl ####################################################################### |
346 if test "x$enable_cap" = "xyes"; then | 346 if test "x$enable_cap" = "xyes"; then |
347 PKG_CHECK_MODULES(SQLITE3, sqlite3 >= 3.3, , enable_cap="no") | 347 PKG_CHECK_MODULES(SQLITE3, sqlite3 >= 3.3,,[ |
348 AC_MSG_RESULT(no) | |
349 enable_cap="no" | |
350 ]) | |
348 fi | 351 fi |
349 | 352 |
350 else # GTK | 353 else # GTK |
354 enable_cap=no | |
355 enable_gevolution=no | |
356 enable_gtkspell=no | |
351 enable_screensaver=no | 357 enable_screensaver=no |
352 enable_sm=no | 358 enable_sm=no |
353 enable_startup_notification=no | 359 enable_startup_notification=no |
354 enable_gtkspell=no | |
355 enable_gevolution=no | |
356 fi # GTK | 360 fi # GTK |
357 | 361 |
358 AM_CONDITIONAL(ENABLE_GTK, test "x$enable_gtkui" = "xyes") | 362 AM_CONDITIONAL(ENABLE_GTK, test "x$enable_gtkui" = "xyes") |
359 AM_CONDITIONAL(BUILD_GEVOLUTION, test "x$enable_gevolution" = "xyes") | 363 AM_CONDITIONAL(BUILD_GEVOLUTION, test "x$enable_gevolution" = "xyes") |
360 AM_CONDITIONAL(ENABLE_CAP, test "x$enable_cap" = "xyes") | 364 AM_CONDITIONAL(ENABLE_CAP, test "x$enable_cap" = "xyes") |