--- ImageMagick-6.1.7/configure.ac~ 2005-01-06 17:18:10.184532260 +0100 +++ ImageMagick-6.1.7/configure.ac 2005-01-06 17:18:10.185532595 +0100 @@ -2145,24 +2145,6 @@ # type_include_files='' -# Windows -windows_font_dir='' -if test "$with_windows_font_dir" != "yes" && test -n "$with_windows_font_dir" -then - windows_font_dir="${with_windows_font_dir}/" -fi -if test -n "$windows_font_dir" -then - if test -f '/usr/X11R6/lib/X11/fonts/truetype/arial.ttf' - then - windows_font_dir='/usr/X11R6/lib/X11/fonts/truetype/' - fi -fi -if test -n "$windows_font_dir" -then - type_include_files="$type_include_files "'<include file="type-windows.xml" />' -fi -AC_SUBST(windows_font_dir) # Adobe Postscript fonts on various systems case $host_os in @@ -2221,6 +2203,25 @@ AC_SUBST(type_include_files) +# Windows +windows_font_dir='' +if test "$with_windows_font_dir" != "yes" && test -n "$with_windows_font_dir" +then + windows_font_dir="${with_windows_font_dir}/" +fi +if test -n "$windows_font_dir" +then + if test -f '/usr/X11R6/lib/X11/fonts/truetype/arial.ttf' + then + windows_font_dir='/usr/X11R6/lib/X11/fonts/truetype/' + fi +fi +if test -n "$windows_font_dir" +then + type_include_files="$type_include_files "'<include file="type-windows.xml" />' +fi +AC_SUBST(windows_font_dir) + # # Handle case where user doesn't want frozen paths #