./configure --without-windows-font-dir doesn't work as expected

Daniel Drake <[email protected]>
Newsgroups gmane.comp.video.image-magick.devel
Message-ID <[email protected]>
Looks like the attachment didn't make it to the list. Here it is inline:

---

From: Daniel Drake <[email protected]>

Handle --without-windows-font-dir as equivalent to --with-windows-font-dir=

Index: ImageMagick-6.3.0/configure.ac
===================================================================
--- ImageMagick-6.3.0.orig/configure.ac
+++ ImageMagick-6.3.0/configure.ac
@@ -674,6 +674,9 @@ AC_ARG_WITH(windows-font-dir,
                           directory containing MS-Windows fonts],
         [with_windows_font_dir=$withval],
         [with_windows_font_dir=''])
+if test "x$with_windows_font_dir" = "xno"; then
+	with_windows_font_dir=
+fi
 if test "$with_windows_font_dir" != '' ; then
   DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-windows-font-dir==$with_windows_font_dir "
 fi
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.