Permalink
Browse files

Change test "" = to test -z

  • Loading branch information...
1 parent 6a638f1 commit 621586579f5edab293b375b6eef34dc02740dfd6 Barak A. Pearlmutter committed Apr 19, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 configure.ac
View
6 configure.ac
@@ -11,12 +11,12 @@ AC_CONFIG_HEADER([src/config.h])
# we don't like default CFLAGS(-O2 -g).
AC_SUBST(CFLAGS)
-if test "" = "$CFLAGS"; then
+if test -z "$CFLAGS"; then
CFLAGS=" "
fi
AC_SUBST(CXXFLAGS)
-if test "" = "$CXXFLAGS"; then
+if test -z "$CXXFLAGS"; then
CXXFLAGS=" "
fi
@@ -78,7 +78,7 @@ LOCAL_ONIG=""
if test $have_onig = no; then
ONIGCONFIG=""
AC_PATH_PROG(ONIGCONFIG,onig-config)
- if test "" = "$ONIGCONFIG"; then
+ if test -z "$ONIGCONFIG"; then
# put some warning here..
ONIG_CFLAGS=""
ONIG_LIBS=""

0 comments on commit 6215865

Please sign in to comment.