DocBook catalog: Only prefix hardtop if we end up using a glafp-utils/docbook CATALOG
if test -z "$Catalog"; then
AC_MSG_RESULT([Warning: You will not be able to build the documentation.])
fi
if test -z "$Catalog"; then
AC_MSG_RESULT([Warning: You will not be able to build the documentation.])
fi
-case $HostOS_CPP in
- mingw32)
- Catalog=`cygpath -w $hardtop/$Catalog`
- ;;
- *)
- Catalog=$hardtop/$Catalog
- ;;
+case $Catalog in
+ glafp*)
+ case $HostOS_CPP in
+ mingw32)
+ Catalog=`cygpath -w $hardtop/$Catalog`
+ ;;
+ *) Catalog=$hardtop/$Catalog
+ ;;
+ esac
+ ;;