[Xastir-dev] Cygwin/convert.exe/acinclude.m4 problem
David Flood
davidf4 at mindspring.com
Sat Nov 20 11:45:48 EST 2004
Brute force method
--- acinclude.m4 2004-11-20 08:41:20.000000000 -0800
+++ acinclude.fixed.m4 2004-11-20 08:36:18.000000000 -0800
@@ -146,9 +146,13 @@
fi
AC_PATH_PROG(convert, [convert --version], no, $BINPATH)
+AC_CHECK_FILE(/usr/bin/convert.exe, cygwinconvert="yes")
+if test "$cygwinconvert" = "yes"; then
+ convert="/usr/bin/convert"
+fi
if test "$convert" != "no"; then
- AC_DEFINE_UNQUOTED(HAVE_CONVERT, 1, [Define if you have convert])
- AC_DEFINE_UNQUOTED(CONVERT_PATH, "${convert}", [Path to convert])
+ AC_DEFINE_UNQUOTED(HAVE_CONVERT, 1, [Define if you have convert])
+ AC_DEFINE_UNQUOTED(CONVERT_PATH, "${convert}", [Path to convert])
fi
AC_PATH_PROG(lpr, [lpr /dev/null], no, $BINPATH)
-----Original Message-----
From: xastir-dev-bounces at xastir.org [mailto:xastir-dev-bounces at xastir.org]
On Behalf Of Curt Mills
Sent: Friday, November 19, 2004 9:57 PM
To: Xastir-Dev at xastir.org
Subject: Re: [Xastir-dev] Cygwin/convert.exe/acinclude.m4 problem
On Wed, 17 Nov 2004, Curt, WE7U wrote:
>
> On some systems "convert.exe" is a FAT->NTFS filesystem converter.
> ImageMagick uses the same name for a binary.
>
> In our acinclude.m4 script we set CONVERT_PATH, which is the path to
> the executable. It's been reported by at least one use that the wrong
> convert was being called.
>
> Can someone with access to a Cygwin box and knowledge of M4 scripts
> perhaps fix up acinclude.m4 to avoid this problem?
>
> It's on the bug-list.
No interest in this? Anyone?
--
Curt, WE7U. archer at eskimo dot com
http://www.eskimo.com/~archer
Lotto: A tax on people who are bad at math. - unknown
Windows: Microsoft's tax on computer illiterates. - WE7U.
The world DOES revolve around me: I picked the coordinate system!"
_______________________________________________
Xastir-dev mailing list
Xastir-dev at xastir.org https://lists.xastir.org/mailman/listinfo/xastir-dev
More information about the Xastir-dev
mailing list