]> granicus.if.org Git - graphviz/commitdiff
autotools: add WITH_CYGWIN to AM_CONDITIONAL
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Mon, 13 Sep 2021 15:10:31 +0000 (17:10 +0200)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Tue, 28 Sep 2021 16:17:16 +0000 (18:17 +0200)
This will allow an upcoming commit in this series to introduce
Cygwin-specific functionality in the autotools build system.

configure.ac

index fe3f2be9f50514ccb835a6c2275d5f4a427df4f9..2b555ca593287b9dd95d2b17d8862bedb17712d2 100644 (file)
@@ -204,6 +204,7 @@ AC_DEFINE_UNQUOTED(DEFAULT_FONTPATH,"$DEFAULT_FONTPATH",[Path to TrueType fonts.
 AC_DEFINE_UNQUOTED(PATHSEPARATOR,"$PATHSEPARATOR",[Path separator character.])
 AM_CONDITIONAL(WITH_WIN32, [test "x$UWIN" = "xyes" -o "x$CYGWIN" = "xyes" -o "x$MINGW32" = "xyes"])
 AM_CONDITIONAL(WITH_DARWIN9, [test "x$DARWIN9" = "xyes"])
+AM_CONDITIONAL(WITH_CYGWIN, [test "x$CYGWIN" = "xyes"])
 
 DEFAULT_DPI=96
 AC_DEFINE_UNQUOTED(DEFAULT_DPI,$DEFAULT_DPI,Default DPI.)