CFLAGS="${CFLAGS} -DWIN32 -DMSWIN32"
CXXFLAGS="${CXXFLAGS} -DWIN32 -DMSWIN32"
PATHSEPARATOR=";"
+ NO_POSTSCRIPT_ALIAS=1
;;
*cygwin* )
CYGWIN=yes
DEFAULT_FONTPATH="C:/WINDOWS/FONTS;C:/WINNT/Fonts;C:/winnt/fonts"
PATHSEPARATOR=";"
+ NO_POSTSCRIPT_ALIAS=1
AC_DEFINE(NO_POSTSCRIPT_ALIAS,1,[Alias PostScript font names to URW type 1 fonts])
;;
*mingw32* )
MINGW32=yes
DEFAULT_FONTPATH="C:/WINDOWS/FONTS;C:/WINNT/Fonts;C:/winnt/fonts"
PATHSEPARATOR=";"
+ NO_POSTSCRIPT_ALIAS=1
;;
*darwin* )
DEFAULT_FONTPATH="~/Library/Fonts:/Library/Fonts:/Network/Library/Fonts:/System/Library/Fonts"
PATHSEPARATOR=":"
+ NO_POSTSCRIPT_ALIAS=1
AC_DEFINE_UNQUOTED(DARWIN_DYLIB,"$DARWIN_DYLIB",[Define for Darwin-style shared library names.])
;;
* ) # This sucks! Whatever happened to standards for file system layout?
DEFAULT_FONTPATH="/usr/share/fonts/default/Type1:/usr/X11R6/lib/X11/fonts/TrueType:/usr/X11R6/lib/X11/fonts/truetype:/usr/X11R6/lib/X11/fonts/TTF:/usr/share/fonts/TrueType:/usr/share/fonts/truetype:/usr/openwin/lib/X11/fonts/TrueType:/usr/X11R6/lib/X11/fonts/Type1:/usr/common/share/fonts/ttf";
PATHSEPARATOR=":"
+ NO_POSTSCRIPT_ALIAS=0
;;
esac
AC_SUBST(CYGWIN)
AC_SUBST(DARWIN)
AC_DEFINE_UNQUOTED(DEFAULT_FONTPATH,"$DEFAULT_FONTPATH",[Path to TrueType fonts.])
AC_DEFINE_UNQUOTED(PATHSEPARATOR,"$PATHSEPARATOR",[Path separator character.])
+AC_DEFINE_UNQUOTED(NO_POSTSCRIPT_ALIAS,$NO_POSTSCRIPT_ALIAS,[Postscript fontnames.])
AM_CONDITIONAL(WITH_WIN32, [test "x$UWIN" = "xyes"])
DEFAULT_DPI=96