[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
checking an environment variable
From: |
Lorenzo Bettini |
Subject: |
checking an environment variable |
Date: |
Mon, 15 Sep 2008 17:50:36 +0200 |
User-agent: |
Thunderbird 2.0.0.16 (X11/20080724) |
Hi
in configure.ac I wrote this check
if test -z "${BASH_COMPLETION_DIR}"; then
echo "you're not using bash_completion."
else
echo "Good: you're using bash_completion! dir: $BASH_COMPLETION_DIR"
fi
although this environment variable is set to a path, the configure
script never detects it and test -z always returns true... am I doing
something wrong?
thanks in advance
Lorenzo
--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
- checking an environment variable,
Lorenzo Bettini <=