Ignore:
Timestamp:
Apr 19, 2008, 9:25:37 PM (12 years ago)
Author:
Sam Hocevar
Message:
  • Cosmetic fix for ./configure output when a pkg-module is not found.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/configure.ac

    r2301 r2302  
    410410# Use Imlib2?
    411411if test "${enable_imlib2}" != "no"; then
    412   IMLIB2="no"
    413   PKG_CHECK_MODULES(IMLIB2, imlib2, [IMLIB2="yes"], [AC_MSG_RESULT(no)])
    414   if test "${IMLIB2}" != "no"; then
     412  PKG_CHECK_MODULES(IMLIB2, imlib2, [IMLIB2="yes"], [IMLIB2="no"])
     413  if test "${IMLIB2}" = "yes"; then
    415414    AC_DEFINE(USE_IMLIB2, 1, Define to 1 to use Imlib2)
    416415  fi
     
    418417
    419418# Build development tools?
    420 PANGOFT2="no"
    421 PKG_CHECK_MODULES(PANGOFT2, pangoft2, [PANGOFT2="yes"], [AC_MSG_RESULT(no)])
    422 AM_CONDITIONAL(USE_PANGO, test "${PANGOFT2}" != "no")
     419PKG_CHECK_MODULES(PANGOFT2, pangoft2, [PANGOFT2="yes"], [PANGOFT2="no"])
     420AM_CONDITIONAL(USE_PANGO, test "${PANGOFT2}" = "yes")
    423421
    424422# Build documentation?
     
    455453
    456454# Use cppunit for unit tests?
    457 CPPUNIT="no"
    458 PKG_CHECK_MODULES(CPPUNIT, cppunit, [CPPUNIT="yes"], [AC_MSG_RESULT(no)])
    459 AM_CONDITIONAL(USE_CPPUNIT, test "$CPPUNIT" != "no")
     455PKG_CHECK_MODULES(CPPUNIT, cppunit, [CPPUNIT="yes"], [CPPUNIT="no"])
     456AM_CONDITIONAL(USE_CPPUNIT, test "$CPPUNIT" = "yes")
    460457
    461458# Use zzuf for fuzzing tests?
Note: See TracChangeset for help on using the changeset viewer.