Permalink
Browse files

Improve error message when AC_CHECK_LIB for InitializeMagick fails.

  • Loading branch information...
1 parent a805db7 commit 0e0d89c24f61b5b79dcb5dbd263c8d355f4f17df rmagick committed May 11, 2005
Showing with 2 additions and 1 deletion.
  1. +2 −1 configure.ac
View
@@ -62,7 +62,8 @@ AC_SUBST(CPPFLAGS, ${CPPFLAGS})
AC_SUBST(LOCAL_LIBS, `${MAGICKCONFIG} --libs`)
AC_CHECK_LIB($MAGICKLIB, InitializeMagick, [],
- [AC_MSG_ERROR([Can't install RMagick. Can't find lib${MAGICKLIB}])],
+ [AC_MSG_ERROR([Can't install RMagick. Can't find lib${MAGICKLIB} or one of the dependent libraries.
+ Check the config.log file for more detailed information.])],
[`${MAGICKCONFIG} --libs`])

0 comments on commit 0e0d89c

Please sign in to comment.