* Bob Rossi wrote on Sun, Jan 21, 2007 at 11:44:24PM CET:
> 
> Sure, I need to know what path separator to use in my application. 
> I also need to know what separator to use in environment variables. Do
> you have any better ideas than testing for mingw or cygwin?

Definitely.  $PATH_SEPARATOR is documented in
<http://www.gnu.org/software/autoconf/manual/html_node/File-System-Conventions.html>
and it's currently set using a feature-based test, see the macro
_AS_PATH_SEPARATOR_PREPARE in
<http://cvs.savannah.gnu.org/viewcvs/autoconf/lib/m4sugar/m4sh.m4?root=autoconf&view=markup>
So there's no need to roll your own.

Cheers,
Ralf


_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to