Skip to content

Commit 8b57239

Browse files
committed
Revert "Use '\\' instead of "\\""
This reverts commit ab8ecbc as it broke AppVeyor CI builds.
1 parent 034a6d5 commit 8b57239

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

configure.ac

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ else
622622
PYEPREFIX=`($PYTHON -c "import sys; sys.stdout.write(sys.exec_prefix)") 2>/dev/null`
623623
AC_MSG_RESULT($PYEPREFIX)
624624

625-
if test x"$PYOSNAME" = x"nt" -a x"$PYSEPARATOR" = x'\\'; then
625+
if test x"$PYOSNAME" = x"nt" -a x"$PYSEPARATOR" = x"\\"; then
626626
# Windows installations are quite different to posix installations (MinGW path separator is a forward slash)
627627
PYPREFIX=`echo "$PYPREFIX" | sed -e 's,\\\\,/,g'` # Forward slashes are easier to use and even work on Windows most of the time
628628
PYTHON_SO=.pyd
@@ -739,7 +739,7 @@ else
739739
PYVER=0
740740
fi
741741
if test "x$PY3BIN" = xyes; then
742-
if test x"$PYOSNAME" = x"nt" -a x"$PYSEPARATOR" = x'\\' -a $PYVER -ge 3; then
742+
if test x"$PYOSNAME" = x"nt" -a x"$PYSEPARATOR" = x"\\" -a $PYVER -ge 3; then
743743
PYTHON3="$PYTHON"
744744
else
745745
for py_ver in 3 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 ""; do
@@ -774,7 +774,7 @@ else
774774
PYSEPARATOR=`($PYTHON3 -c "import sys, os; sys.stdout.write(os.sep)") 2>/dev/null`
775775
AC_MSG_RESULT($PYSEPARATOR)
776776

777-
if test x"$PY3OSNAME" = x"nt" -a x"$PYSEPARATOR" = x'\\'; then
777+
if test x"$PY3OSNAME" = x"nt" -a x"$PYSEPARATOR" = x"\\"; then
778778
# Windows installations are quite different to posix installations
779779
# There is no python-config to use
780780
AC_MSG_CHECKING(for Python 3.x prefix)

0 commit comments

Comments
 (0)