[Xastir-dev] acinclude.m4:XASTIR_DETECT_DEVICES
Curt, WE7U
archer at eskimo.com
Mon Mar 22 17:26:02 EST 2004
On Mon, 22 Mar 2004, Curt, WE7U wrote:
> 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
I changed it a bit 'cuz that one didn't seem to work either. I
committed a new fix that uses "if test -d /proc/registry". If
found it compiles in "/dev/com1" and "/dev/com2" as the defaults.
Those names are what are specified on the Cygwin web pages as the
proper names to use, but they don't show up in the "/dev" directory.
Major pain.
--
Curt, WE7U archer at eskimo dot com
Arlington, WA, USA 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!"
More information about the Xastir-dev
mailing list