[project @ 2001-07-10 11:21:05 by rrt]
authorrrt <unknown>
Tue, 10 Jul 2001 11:21:05 +0000 (11:21 +0000)
committerrrt <unknown>
Tue, 10 Jul 2001 11:21:05 +0000 (11:21 +0000)
Fix jade detection on Windows for jades that don't understand Unix paths

configure.in

index 2e7f1ef..3c945a4 100644 (file)
@@ -569,7 +569,14 @@ FPTOOLS_DOCBOOK_CATALOG(Catalog, $JadeCmd, docs/fptools-both.dsl,
 if test -z "$Catalog"; then
   AC_MSG_RESULT([Warning: You will not be able to build the documentation.])
 fi
-Catalog=$hardtop/$Catalog
+case $HostOS_CPP in
+   mingw32)
+      Catalog=`cygpath -w $hardtop/$Catalog`
+      ;;
+   *)
+      Catalog=$hardtop/$Catalog
+      ;;
+esac   
 AC_SUBST(Catalog)
 
 compress_nm=`basename $CompressCmd`