Skip to content
Browse files

quote macro expansions.

  • Loading branch information...
1 parent 1d24386 commit 514059f03be66d83e3f491fcd36f5c6d9fd2fa39 @nobu committed
Showing with 8 additions and 8 deletions.
  1. +4 −4 configure
  2. +4 −4 configure.in
View
8 configure
@@ -2916,7 +2916,7 @@ if test "${enable_combination_explosion_check+set}" = set; then :
enableval=$enable_combination_explosion_check; comb_expl_check=$enableval
fi
-if test $comb_expl_check = yes; then
+if test x"$comb_expl_check" = xyes; then
$as_echo "#define USE_COMBINATION_EXPLOSION_CHECK 1" >>confdefs.h
@@ -2927,7 +2927,7 @@ if test "${enable_crnl_as_line_terminator+set}" = set; then :
enableval=$enable_crnl_as_line_terminator; crnl_as_line_terminator=$enableval
fi
-if test $crnl_as_line_terminator = yes; then
+if test x"$crnl_as_line_terminator" = xyes; then
$as_echo "#define USE_CRNL_AS_LINE_TERMINATOR 1" >>confdefs.h
@@ -12229,7 +12229,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_have_prototypes" >&5
$as_echo "$_cv_have_prototypes" >&6; }
-if test "$_cv_have_prototypes" = yes; then
+if test x"$_cv_have_prototypes" = xyes; then
$as_echo "#define HAVE_PROTOTYPES 1" >>confdefs.h
@@ -12270,7 +12270,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_stdarg" >&5
$as_echo "$_cv_stdarg" >&6; }
-if test "$_cv_stdarg" = yes; then
+if test x"$_cv_stdarg" = xyes; then
$as_echo "#define HAVE_STDARG_PROTOTYPES 1" >>confdefs.h
View
8 configure.in
@@ -23,7 +23,7 @@ dnl check for COMBINATION_EXPLOSION
AC_ARG_ENABLE(combination-explosion-check,
[ --enable-combination-explosion-check enable combination explosion check],
[comb_expl_check=$enableval])
-if test $comb_expl_check = yes; then
+if test x"$comb_expl_check" = xyes; then
AC_DEFINE(USE_COMBINATION_EXPLOSION_CHECK,1,[Define if combination explosion check])
fi
@@ -31,7 +31,7 @@ dnl check for CRNL_AS_LINE_TERMINATOR
AC_ARG_ENABLE(crnl-as-line-terminator,
[ --enable-crnl-as-line-terminator enable CR+NL as line terminator],
[crnl_as_line_terminator=$enableval])
-if test $crnl_as_line_terminator = yes; then
+if test x"$crnl_as_line_terminator" = xyes; then
AC_DEFINE(USE_CRNL_AS_LINE_TERMINATOR,1,[Define if enable CR+NL as line terminator])
fi
@@ -67,7 +67,7 @@ AC_CACHE_CHECK(for prototypes, _cv_have_prototypes,
[AC_TRY_COMPILE([int foo(int x) { return 0; }], [return foo(10);],
_cv_have_prototypes=yes,
_cv_have_prototypes=no)])
-if test "$_cv_have_prototypes" = yes; then
+if test x"$_cv_have_prototypes" = xyes; then
AC_DEFINE(HAVE_PROTOTYPES,1,[Define if compilerr supports prototypes])
fi
@@ -85,7 +85,7 @@ int foo(int x, ...) {
], [return foo(10, "", 3.14);],
_cv_stdarg=yes,
_cv_stdarg=no)])
-if test "$_cv_stdarg" = yes; then
+if test x"$_cv_stdarg" = xyes; then
AC_DEFINE(HAVE_STDARG_PROTOTYPES,1,[Define if compiler supports stdarg prototypes])
fi

0 comments on commit 514059f

Please sign in to comment.
Something went wrong with that request. Please try again.