[Xastir-dev] acinclude.m4:XASTIR_DETECT_DEVICES
Jack Twilley
jmt at twilley.org
Tue Mar 23 16:58:06 EST 2004
WARNING: Unsanitized content follows.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>>>>> "Curt" == Curt Mills <archer at eskimo.com> writes:
Jack> That's the page I was using to check, and it doesn't say
Jack> /dev/ttyS0 but does say /dev/tty* and /dev/comX. If this is the
Jack> case, however, that that's how it's been for the past four
Jack> years, I'd like to remove any references to com1 from the
Jack> acinclude.m4 file and just go with /dev/ttyS0.
Curt> I would too. Perhaps we can set the defaults, then check for
Curt> the operating systems that deviate from that only, making the
Curt> code a bit simpler.
No, that's a bad idea. It goes against the grain of autoconf and good
software practices. The code is very simple as it is: Test for the
presence of /dev/ttyS0 and use it if it's there. Test for the
presence of another popular serial file name and use *that* if it's
there. I don't see any gain in changing it in any way other than
adding in future popular serial file names.
Jack.
(and not just because I wrote it...)
- --
Jack Twilley
jmt at twilley dot org
http colon slash slash www dot twilley dot org slash tilde jmt slash
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQFAYLLzGPFSfAB/ezgRAg1QAJ42ApjfLLWxLHKrY64rY/b9WrCTBwCfQJQH
zxXUkMY+IlIVwp6DcITlmAA=
=lr5Q
-----END PGP SIGNATURE-----
More information about the Xastir-dev
mailing list