Hi, you should quote your arguments, for example: AC_CHECK_LIB(IlmImf,ImfApplyLut,,[AC_MSG_ERROR([*** openexr dev lib not found ***])],) AC_CHECK_HEADER(OpenEXR/half.h, [OPENEXR_INCLUDES="-I$prefix/include/OpenEXR"; OPENEXR_LIBS='-lIlmImf -lImath -lIex -lHalf -lz'], [AC_MSG_ERROR([*** openexr dev header half.h not found ***])]) There may be more problems, this is the first which I see. Tell us whether this helped. Stepan Kasal _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf