shana / bindinator

A C# binding generator for Gnome libraries
MIT License
15 stars 17 forks source link

No error in configure if gapi3-parser (and friends) are missing #8

Closed xclaesse closed 10 years ago

xclaesse commented 11 years ago

In this code block: AC_PATH_PROG(GAPI_PARSER, gapi3-parser, no) if test "x$GAPI_PARSER" = "xno"; then AC_MSG_CHECKING(for gapi3-parser.exe) GAPI_PARSER=which gapi3-parser.exe 2> /dev/null if test "x$GAPI_PARSER" = "xno" ; then AC_MSG_ERROR(['gapi3_parser'/'gapi3-parser.exe' not found.]) fi AC_MSG_RESULT($GAPI_PARSER) GAPI_PARSER="$MONO $GAPI_PARSER" fi AC_SUBST(GAPI_PARSER)

If gapi3-parser is missing it will look for gapi3-parser.exe but then the check is wrong because if it's missing $GAPI_PARSER won't be "no" but empty string.