[Xastir-dev] acinclude.m4:XASTIR_DETECT_DEVICES

Curt, WE7U archer at eskimo.com
Mon Mar 22 13:13:25 EST 2004


On Mon, 22 Mar 2004, Curt, WE7U wrote:
>
> Can someone with Cygwin test this fix to acinclude.m4?  This
> sectione is near the top of the file.  The change was made to the
> first "if" statement.  It avoids the test for "com1" that's in the
> current script:

To make it easier, here is a diff:


diff -u -w -r1.12 acinclude.m4
--- acinclude.m4        26 Jan 2004 16:09:49 -0000      1.12
+++ acinclude.m4        22 Mar 2004 18:00:43 -0000
@@ -8,7 +8,7 @@
 AC_DEFUN([XASTIR_DETECT_DEVICES],
 [
 AC_MSG_CHECKING([for devices])
-if test -c com1 ; then
+if test "$host_OS" = "cygwin"; then
 ac_tnc_port=com1
 ac_gps_port=com2
 elif test -c /dev/cuaa0 ; then




More information about the Xastir-dev mailing list