Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: RE: LFS and explicit LIBS RE: pws-21



> 
> > May be, for items, that are empty (LFS_CFLAGS, LFS_LDFLAGS etc) we
> > should not disable LFS?
> 
> Yes, that's a possibility.
> 
> -- 

The patch below tries this. 

/andrej


--- aczsh.m4.org        Wed Jun  9 18:45:55 1999
+++ aczsh.m4    Wed Jun  9 19:00:20 1999
@@ -41,11 +41,13 @@
   CPPFLAGS) ac_lfsvar=LFS_CFLAGS ;;
   *) ac_lfsvar=LFS_$ac_shellvar ;;
   esac
-  eval test '"${'$ac_shellvar'+set}"' = set && ac_set=$ac_shellvar
   (getconf $ac_lfsvar) >/dev/null 2>&1 || { ac_result=no; break; }
   ac_getconf=`getconf $ac_lfsvar`
-  ac_getconfs=$ac_getconfs$ac_getconf
-  eval ac_test_$ac_shellvar="\$ac_getconf"
+  if test -n "$ac_getconf"; then
+    eval test '"${'$ac_shellvar'+set}"' = set && ac_set=$ac_shellvar
+    ac_getconfs=$ac_getconfs$ac_getconf
+    eval ac_test_$ac_shellvar="\$ac_getconf"
+  fi
 done
 case "$ac_result$ac_getconfs" in
 yes) ac_result=no ;;



Messages sorted by: Reverse Date, Date, Thread, Author