Commit 9dd53f2c by Pascal Obry Committed by DJ Delorie

configure.in: Quote $enable_win32_registry in case the value has spaces in it.

* configure.in: Quote $enable_win32_registry in case the value has
spaces in it.
* configure: Ditto.

From-SVN: r42920
parent d558416e
2001-06-05 Pascal Obry <obry@act-europe.fr>
* configure.in: Quote $enable_win32_registry in case the value has
spaces in it.
* configure: Ditto.
2001-06-05 Mark Mitchell <mark@codesourcery.com> 2001-06-05 Mark Mitchell <mark@codesourcery.com>
* print-rtl.c (xspaces): Remove. * print-rtl.c (xspaces): Remove.
......
...@@ -6398,7 +6398,7 @@ case $host_os in ...@@ -6398,7 +6398,7 @@ case $host_os in
win32 | pe | cygwin* | mingw32* | uwin*) win32 | pe | cygwin* | mingw32* | uwin*)
echo $ac_n "checking whether windows registry support is requested""... $ac_c" 1>&6 echo $ac_n "checking whether windows registry support is requested""... $ac_c" 1>&6
echo "configure:6401: checking whether windows registry support is requested" >&5 echo "configure:6401: checking whether windows registry support is requested" >&5
if test x$enable_win32_registry != xno; then if test "x$enable_win32_registry" != xno; then
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define ENABLE_WIN32_REGISTRY 1 #define ENABLE_WIN32_REGISTRY 1
EOF EOF
...@@ -6471,7 +6471,7 @@ else ...@@ -6471,7 +6471,7 @@ else
fi fi
# Check if user specified a different registry key. # Check if user specified a different registry key.
case x${enable_win32_registry} in case "x${enable_win32_registry}" in
x | xyes) x | xyes)
# default. # default.
gcc_cv_win32_registry_key="$VERSION" gcc_cv_win32_registry_key="$VERSION"
...@@ -6486,7 +6486,7 @@ xno) ...@@ -6486,7 +6486,7 @@ xno)
;; ;;
esac esac
if test x$enable_win32_registry != xno; then if test "x$enable_win32_registry" != xno; then
echo $ac_n "checking registry key on windows hosts""... $ac_c" 1>&6 echo $ac_n "checking registry key on windows hosts""... $ac_c" 1>&6
echo "configure:6492: checking registry key on windows hosts" >&5 echo "configure:6492: checking registry key on windows hosts" >&5
cat >> confdefs.h <<EOF cat >> confdefs.h <<EOF
......
...@@ -939,7 +939,7 @@ AC_ARG_ENABLE(win32-registry, ...@@ -939,7 +939,7 @@ AC_ARG_ENABLE(win32-registry,
case $host_os in case $host_os in
win32 | pe | cygwin* | mingw32* | uwin*) win32 | pe | cygwin* | mingw32* | uwin*)
AC_MSG_CHECKING(whether windows registry support is requested) AC_MSG_CHECKING(whether windows registry support is requested)
if test x$enable_win32_registry != xno; then if test "x$enable_win32_registry" != xno; then
AC_DEFINE(ENABLE_WIN32_REGISTRY, 1, AC_DEFINE(ENABLE_WIN32_REGISTRY, 1,
[Define to 1 if installation paths should be looked up in Windows32 [Define to 1 if installation paths should be looked up in Windows32
Registry. Ignored on non windows32 hosts.]) Registry. Ignored on non windows32 hosts.])
...@@ -950,7 +950,7 @@ else ...@@ -950,7 +950,7 @@ else
fi fi
# Check if user specified a different registry key. # Check if user specified a different registry key.
case x${enable_win32_registry} in case "x${enable_win32_registry}" in
x | xyes) x | xyes)
# default. # default.
gcc_cv_win32_registry_key="$VERSION" gcc_cv_win32_registry_key="$VERSION"
...@@ -965,7 +965,7 @@ xno) ...@@ -965,7 +965,7 @@ xno)
;; ;;
esac esac
if test x$enable_win32_registry != xno; then if test "x$enable_win32_registry" != xno; then
AC_MSG_CHECKING(registry key on windows hosts) AC_MSG_CHECKING(registry key on windows hosts)
AC_DEFINE_UNQUOTED(WIN32_REGISTRY_KEY, "$gcc_cv_win32_registry_key", AC_DEFINE_UNQUOTED(WIN32_REGISTRY_KEY, "$gcc_cv_win32_registry_key",
[Define to be the last portion of registry key on windows hosts.]) [Define to be the last portion of registry key on windows hosts.])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment