Why no AC_MSG_RESULT in pkg.m4:PKG_CHECK_MODULES when package
not found?
Tollef Fog Heen
tfheen at err.no
Wed Jun 7 05:03:47 PDT 2006
Peter Kjellerstedt skrev:
> Somehow I feel that there is something I am missing here,
> but otherwise I have attached a patch to add AC_MSG_RESULT
> macro calls as appropriate.
I see what you mean, but your patch is wrong, it should only call
AC_MSG_RESULT if $4 is set, else it'll do the AC_MSG_ERROR and complain
that way. (In addition, in this case, it'd be more useful to use
PKG_CHECK_EXISTS rather than PKG_CHECK_MODULES.)
I have a bunch of patches I should commit and get 0.21 released soon, I
think.
- tfheen
More information about the pkg-config
mailing list