]> granicus.if.org Git - graphviz/commitdiff
add "#define NO_POSTSCRIPT_ALIAS 1"
authorellson <devnull@localhost>
Fri, 31 Aug 2007 22:08:30 +0000 (22:08 +0000)
committerellson <devnull@localhost>
Fri, 31 Aug 2007 22:08:30 +0000 (22:08 +0000)
for uwin, cygwin, mingw32, darwin
and "#define NO_POSTSCRIPT_ALIAS 0"
for everyone else

configure.ac

index a1584dac265b34da0f3e5a47f5b4ae61ed94ac60..95a2d5637d874a90488af5524991ba9cf4415c2c 100644 (file)
@@ -69,26 +69,31 @@ case "${host_os}" in
        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)
@@ -96,6 +101,7 @@ AC_SUBST(MINGW32)
 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