diff --git a/configure b/configure index 5c90ef2fd0..68c580d31f 100755 --- a/configure +++ b/configure @@ -18302,7 +18302,7 @@ INCLUDES="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} -I\${top_srcdir}/i $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \ $FREETYPE_INCLUDE $TOOLKIT_INCLUDE" -if test $wxUSE_GTK = 1; then +if test "$wxUSE_GTK" = 1; then WXCONFIG_INCLUDE= else WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE" diff --git a/configure.in b/configure.in index 8737f5db0b..c9dd14497a 100644 --- a/configure.in +++ b/configure.in @@ -4658,7 +4658,7 @@ $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \ $FREETYPE_INCLUDE $TOOLKIT_INCLUDE" dnl wxGTK does not need TOOLKIT includes in wx-config -if test $wxUSE_GTK = 1; then +if test "$wxUSE_GTK" = 1; then WXCONFIG_INCLUDE= else WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"