From b3e603c5a2801dd3c6716ef13a4f8535eb81110b Mon Sep 17 00:00:00 2001 From: erg Date: Thu, 8 Mar 2007 15:23:42 +0000 Subject: [PATCH] Modify configure.ac to support UWIN builds. --- configure.ac | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index f08b09b7c..68c0b2dd6 100644 --- a/configure.ac +++ b/configure.ac @@ -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" ;; -- 2.40.0