Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: RE: LFS and explicit LIBS RE: pws-21
- X-seq: zsh-workers 6556
- From: "Andrej Borsenkow" <borsenkow.msk@xxxxxx>
- To: "Peter Stephenson" <pws@xxxxxxxxxxxxxxxxx>, "Zsh hackers list" <zsh-workers@xxxxxxxxxxxxxx>
- Subject: PATCH: RE: LFS and explicit LIBS RE: pws-21
- Date: Wed, 9 Jun 1999 19:12:36 +0400
- Importance: Normal
- In-reply-to: <9906080850.AA22875@xxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
>
> > 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