<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY>
On Wed, 2010-12-29 at 20:28 -0500, Trevor Woerner wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
<TT><FONT COLOR="#1a1a1a"> # Choose which make program to use</FONT></TT><BR>
<TT><FONT COLOR="#1a1a1a">@@ -366,6 +368,7 @@ process() {</FONT></TT><BR>
<TT><FONT COLOR="#1a1a1a"> sh ${DIR_CONFIG}/${CONFCMD} \</FONT></TT><BR>
<TT><FONT COLOR="#1a1a1a"> --prefix=${PREFIX} \</FONT></TT><BR>
<TT><FONT COLOR="#1a1a1a"> ${EPREFIX_SET:+--exec-prefix="$EPREFIX"} \</FONT></TT><BR>
<TT><FONT COLOR="#1a1a1a">+ ${BINDIR+--bindir="$BINDIR"}</FONT></TT><BR>
<TT><FONT COLOR="#1a1a1a"> ${LIB_FLAGS} \</FONT></TT><BR>
<TT><FONT COLOR="#1a1a1a"> ${QUIET:+--quiet} \</FONT></TT><BR>
<TT><FONT COLOR="#1a1a1a"> ${CONFFLAGS} \</FONT></TT><BR>
<BR>
</BLOCKQUOTE>
It is not spelled clearly, but if you meant to use the distinction between BINDIR being<BR>
"set" vs BINDIR being "empty" or "null", this would work, although very obscure,<BR>
for BINDIR but not for PREFIX as it can be set through the command line, not only<BR>
through an env variable. I did not know the shell could make that distinction.<BR>
This can be demonstrated by:<BR>
<BR>
export PREFIX=""<BR>
env | grep PREFIX<BR>
PREFIX=
</BODY>
</HTML>