about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2006-03-01 10:19:21 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2006-03-01 10:19:21 +0000
commit5994021cbc897e581537a3a45636c0af826abcd6 (patch)
tree09d6ea9c5ee2f0b32277f28d6e552dd8e963d451
parentb369e9ba0395eaef799f0aafb8e7af6d0ba9d7b0 (diff)
downloadzsh-5994021cbc897e581537a3a45636c0af826abcd6.tar.gz
zsh-5994021cbc897e581537a3a45636c0af826abcd6.tar.xz
zsh-5994021cbc897e581537a3a45636c0af826abcd6.zip
22036: fix warning from test
-rw-r--r--ChangeLog3
-rw-r--r--configure.ac2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c21a7756c..d3b83ee7e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,9 @@
 
 2006-02-28  Peter Stephenson  <pws@csr.com>
 
+	* 22306: configure.ac: fix warning with unset variable
+	in test.
+
 	* unposted: zsh-4.3.1, finally.
 
 	* unposted: Completion/Unix/Command/.distfiles: a couple
diff --git a/configure.ac b/configure.ac
index be17361a3..1520fb5e7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2112,7 +2112,7 @@ AC_ARG_ENABLE(dynamic-nss,
 AH_TEMPLATE([DISABLE_DYNAMIC_NSS],
 [Define to 1 if you want to avoid calling functions that will require
  dynamic NSS modules.])
-if test $zsh_cv_c_dynamic_nss = no; then
+if test x$zsh_cv_c_dynamic_nss = xno; then
   AC_DEFINE(DISABLE_DYNAMIC_NSS)
 fi