summary refs log tree commit diff
path: root/aczsh.m4
diff options
context:
space:
mode:
Diffstat (limited to 'aczsh.m4')
-rw-r--r--aczsh.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/aczsh.m4 b/aczsh.m4
index f1dc6a1ef..bdce49022 100644
--- a/aczsh.m4
+++ b/aczsh.m4
@@ -43,7 +43,7 @@ for ac_shellvar in $ac_shellvars; do
   esac
   (getconf $ac_lfsvar) >/dev/null 2>&1 || { ac_result=no; break; }
   ac_getconf=`getconf $ac_lfsvar`
-  if test -n "$ac_getconf"; then
+  if test -n "$ac_getconf" && test "$ac_getconf" != "undefined"; then
     eval test '"${'$ac_shellvar'+set}"' = set && ac_set=$ac_shellvar
     ac_getconfs=$ac_getconfs$ac_getconf
     eval ac_test_$ac_shellvar="\$ac_getconf"