[project @ 2001-11-08 18:51:03 by sof]
authorsof <unknown>
Thu, 8 Nov 2001 18:51:03 +0000 (18:51 +0000)
committersof <unknown>
Thu, 8 Nov 2001 18:51:03 +0000 (18:51 +0000)
hardtop_plat: escape those backslashes (exponentially so).

configure.in

index 0eda0d3..6aadb65 100644 (file)
@@ -339,13 +339,10 @@ AC_SUBST(exeext)
 
 #
 # The native format for 'hardtop' (i.e., right kind of slashes on a Win32 box).
-#
+# (but with b-slashes being escaped).
 case $HostPlatform in
-  i386-unknown-mingw32)
-       hardtop_plat=`cygpath -w ${hardtop}`
-       ;;
-  i386-unknown-cygwin32)
-       hardtop_plat=`cygpath -w ${hardtop}`
+  i386-unknown-mingw32 | i386-unknown-cygwin32)
+       hardtop_plat=`cygpath -w ${hardtop} | sed -e 's@\\\\@\\\\\\\\@g' `
        ;;
   *)
        hardtop_plat=${hardtop}