From: Fridrich S. <str...@us...> - 2008-11-26 09:34:13
|
Update of /cvsroot/libwpd/libwpd2-bindings In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv23207 Modified Files: configure.in Log Message: some more checks and trying to make the things as flawless as possible Index: configure.in =================================================================== RCS file: /cvsroot/libwpd/libwpd2-bindings/configure.in,v retrieving revision 1.21 retrieving revision 1.22 diff -u -d -r1.21 -r1.22 --- configure.in 25 Nov 2008 21:02:19 -0000 1.21 +++ configure.in 26 Nov 2008 09:34:08 -0000 1.22 @@ -76,22 +76,22 @@ AC_PROG_JAVA AC_PROG_JAR -test x$GMCS = x && AC_PATH_PROG(GMCS, gmcs, no) -if test x$GMCS = xno; then +test x$GMCS = x && AC_PATH_PROG(GMCS, gmcs) +if test x$GMCS = x; then AC_MSG_ERROR([*** Could not find C-sharp compiler that supports generics.]) fi # The gacutil and mono can be besides gmcs PATH="$PATH:`dirname $GMCS`" -test x$GACUTIL = x && AC_PATH_PROG(GACUTIL, gacutil, no) -if test x$GACUTIL = xno; then +test x$GACUTIL = x && AC_PATH_PROG(GACUTIL, gacutil) +if test x$GACUTIL = x; then AC_MSG_WARN([Could not find gacutil. The resulting assemblies ]) AC_MSG_WARN([will not be installed in Global Assembly Cache.]) fi -test x$MONO = x && AC_PATH_PROG(MONO, mono, no) -if test x$MONO = xno; then +test x$MONO = x && AC_PATH_PROG(MONO, mono) +if test x$MONO = x; then AC_MSG_WARN([Could not find mono. The tests will possibly not run.]) fi @@ -134,8 +134,12 @@ if test x$WPD2RAW = x ; then AC_MSG_WARN([*** Could not find wpd2raw in your PATH.]) AC_MSG_WARN([*** The tests will not be built and run.]) + WPD2RAW_PATH= +else + WPD2RAW_PATH=":`dirname $WPD2RAW`" fi AC_SUBST(WPD2RAW) +AC_SUBST(WPD2RAW_PATH) AC_MSG_CHECKING([for Win32 platform in general]) case "$host" in |