ueno/ibus-skk — Issue #41: configure.ac message "Checking for IBUS_SKK" is confusing
Author: tamo
Created: 2011-12-21 05:15:21+00:00
State: open

the configure script says "Checking for IBUS_SKK"
which is surprising because ibus-skk doesn't require itself.
(the chicken or the egg?)

so

PKG_CHECK_MODULES(IBUS_SKK, [ibus-1.0 >= 1.4.0 libskk], , AC_MSG_ERROR([can't find libskk]))

should be like this:

PKG_CHECK_MODULES(LIBSKK, [ibus-1.0 >= 1.4.0 libskk], , AC_MSG_ERROR([can't find libskk]))

or more accurately

PKG_CHECK_MODULES(LIBSKK, [libskk], , AC_MSG_ERROR([can't find libskk]))
PKG_CHECK_MODULES(IBUS, [ibus-1.0 >= 1.4.0], , AC_MSG_ERROR([can't find ibus >= 1.4]))

or, you can skip your own error messages:

PKG_CHECK_MODULES(LIBSKK, [libskk])
PKG_CHECK_MODULES(IBUS, [ibus-1.0 >= 1.4.0])