bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnulib] dos.m4 missing Cygwin


From: Derek Robert Price
Subject: [Bug-gnulib] dos.m4 missing Cygwin
Date: Tue, 27 Apr 2004 10:11:18 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040413

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The Cygwin GNU compatibility environment for Windows defines
__CYGWIN__ but not _WIN32, __WIN32__, or __DOS__.  It also treats back
slashes and drive letter specifications in paths the same way as
Windows and DOS, so I've included a short patch to add __CYGWIN__ to
the list of defines checked by m4/dos.m4.

Thanks,

Derek

- --
                *8^)

Email: address@hidden

Get CVS support at <http://ximbiot.com>!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAjmoFLD1OTBfyMaQRAoxIAJ0R4r/Pbfx34fcN58O0DDk+OJfkTACeLBlo
I1XIyScJbMFVldpllIZKXYw=
=IFOn
-----END PGP SIGNATURE-----

Index: m4/dos.m4
===================================================================
RCS file: /cvsroot/gnulib/gnulib/m4/dos.m4,v
retrieving revision 1.9
diff -u -p -r1.9 dos.m4
--- m4/dos.m4   18 Apr 2004 18:12:50 -0000      1.9
+++ m4/dos.m4   27 Apr 2004 14:07:51 -0000
@@ -10,7 +10,7 @@ AC_DEFUN([gl_AC_DOS],
     AC_CACHE_CHECK([whether system is Windows or MSDOS], [ac_cv_win_or_dos],
       [
         AC_TRY_COMPILE([],
-        [#if !defined _WIN32 && !defined __WIN32__ && !defined __MSDOS__
+        [#if !defined _WIN32 && !defined __WIN32__ && !defined __MSDOS__ && 
!defined __CYGWIN__
 neither MSDOS nor Windows
 #endif],
         [ac_cv_win_or_dos=yes],
Index: ChangeLog
===================================================================
RCS file: /cvsroot/gnulib/gnulib/ChangeLog,v
retrieving revision 1.147
diff -u -p -r1.147 ChangeLog
--- ChangeLog   20 Apr 2004 08:52:03 -0000      1.147
+++ ChangeLog   27 Apr 2004 14:07:51 -0000
@@ -1,3 +1,8 @@
+2004-04-27  Derek Price  <address@hidden>
+
+       * m4/dos.m4: Add Cygwin to list of Windows/DOS environments that
+       accept backslashes and drive letters in paths.
+
 2004-04-20  Jim Meyering  <address@hidden>
 
        * modules/dirfd: Change UTILS_ macro name prefix to gl_.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]