[OpenAFS-devel] aklog Makefile

Derek Atkins warlord@MIT.EDU
Wed, 21 Dec 2005 12:34:46 -0500


Quoting Derek Atkins <warlord@MIT.EDU>:

> Quoting Jim Rees <rees@umich.edu>:
>
>>  A configure option to not build asetkey?
>>
>> That would be great, but how?  Right now the top Makefile just descends into
>> each subdir and does a "make all" (or whatever).  Sorry if I'm being obtuse,
>> I'm not an expert in autoconf.  Feel free to point me to an example in a
>> neighboring subdir.
>
> in Makefile.am:

err..  this should be Makefile.in.

> PROGRAMS=aklog @ASETKEY@
>
> In configure.in:
>
> ASETKEY=
> if [ building asetkey ] ; then
>  ASETKEY=asetkey
> fi
> AC_SUBST(ASETKEY)
>
> -derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available