]> granicus.if.org Git - graphviz/commitdiff
Modify configure.ac to support UWIN builds.
authorerg <devnull@localhost>
Thu, 8 Mar 2007 15:23:42 +0000 (15:23 +0000)
committererg <devnull@localhost>
Thu, 8 Mar 2007 15:23:42 +0000 (15:23 +0000)
configure.ac

index f08b09b7c98a4bc241c8901b198c161b0e2c2a00..68c0b2dd63db5467f9365c0ccb3a2a79e7ea1ee2 100644 (file)
@@ -6,7 +6,7 @@ AC_PREREQ(2.54)
 dnl ===========================================================================
 
 # Package name and version number, (as distinct from shared library version)
-AC_INIT(graphviz, 2.13)
+AC_INIT(graphviz, 2.13.20070303.0540)
 
 # libtool shared library version
 
@@ -58,10 +58,16 @@ case "${host_os}" in
     ;;
 esac
 
+UWIN=no
 CYGWIN=no
 MINGW32=no
 DARWIN=no
 case "${host_os}" in
+  *uwin* )
+       UWIN=yes
+       DEFAULT_FONTPATH="C:/WINDOWS/FONTS;C:/WINNT/Fonts;C:/winnt/fonts"
+       PATHSEPARATOR=";"
+       ;;
   *cygwin* )
        CYGWIN=yes
        DEFAULT_FONTPATH="C:/WINDOWS/FONTS;C:/WINNT/Fonts;C:/winnt/fonts"
@@ -206,6 +212,9 @@ else
                 *alpha*-*-linux* )
                     CFLAGS="${CFLAGS} -mieee -Wall"
                     ;;
+               *uwin* )
+                   CFLAGS="${CFLAGS} -DWIN32 -DMSWIN32"
+                   ;;
                *-apple-darwin* )
                    CFLAGS="${CFLAGS} -fno-common -Wall"
                    ;;