This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Minor DOS path handling fix.


It should accept paths with backslashes as well as with slashes.

2001-01-02  Laurynas Biveinis  <lauras@softhome.net>

	* aclocal.m4: recognize absolute DOS paths with backslashes

Index: aclocal.m4
===================================================================
RCS file: /cvs/gcc/egcs/gcc/aclocal.m4,v
retrieving revision 1.37
diff -u -r1.37 aclocal.m4
--- aclocal.m4	2000/10/09 08:36:36	1.37
+++ aclocal.m4	2001/01/02 22:17:53
@@ -297,7 +297,7 @@
   /*)
   gcc_cv_path_$1="[$]$1" # Let the user override the test with a path.
   ;;
-  ?:/*)			 
+  ?:[/\\]*)			 
   gcc_cv_path_$1="[$]$1" # Let the user override the test with a dos path.
   ;;
   *)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]