[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: [ldap] Re: OpenLDAP 1.0 and Make-common



On Thu, 27 Aug 1998, OpenLDAP wrote:

> 
> At 04:46 PM 8/27/98 +0200, Michael Stroeder wrote:
> >In the file Make-common all variables are followed by a question
> >mark, e.g.:
> >
> >LDAP_PREFIX?= /usr/local/ldap
> >LDAP_INSTROOT?= $(LDAP_PREFIX)
> >
> >I don't understand this. What's the question mark for?
> 
> FOO?= bar
> 	if FOO is not set, set it to bar
> 
This does not work with my system (Solaris 2.6 Sparc , Gnu Make 3.76.1)
Wouldn't it be better to use 
ifndef LDAP_PREFIX
LDAP_PREFIX = /usr/local/ldap
endif

Which works at least with Gnu Make.

While we're on the subject of make problems, libexec and sbin are not
properly created in a clean install.  

I would be willing to submit patches for both problems. 
-Mike
-- 
Michael Cope: Harvey Mudd College '00; Armand Hammer UWC '96
E-mail: Michael_Cope@hmc.edu