[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using $bindir in

From: Magnus Therning
Subject: Re: Using $bindir in
Date: Sat, 8 Jan 2005 11:43:25 +0100
User-agent: Mutt/1.5.6+20040907i

On Fri, Jan 07, 2005 at 09:43:48AM -0600, Bob Friesenhahn wrote:
>On Fri, 7 Jan 2005, Magnus Therning wrote:
>>You are right, $bindir is the directory is going to be installed in.
>>However strange, I do have a reason for wanting to use it in my
>>We have a set of related projects, they should all be installed in the
>>same locations. The executable I need AC_PATH_PROGRAM to find is
>>installed by one of the projects, and needed in building several of the
>>other projects. I thought it would be nice to not force the user to
>>modify $PATH before building by adding $bindir to the path that's
>>searched by AC_PATH_PROGRAM.
># Evaluate shell variable equivalents to Makefile directory variables
>if test "x$prefix" = xNONE
>  prefix=$ac_default_prefix
># Let make expand exec_prefix.
>if test "x$exec_prefix" = xNONE
>  exec_prefix='${prefix}'
>eval "eval PREFIX_DIR=${prefix}"
>eval "eval EXEC_PREFIX_DIR=${exec_prefix}"
>eval "eval BIN_DIR=$bindir"
>eval "eval SBIN_DIR=$sbindir"
>eval "eval LIBEXEC_DIR=$libexecdir"
>eval "eval DATA_DIR=$datadir"
>eval "eval SYSCONF_DIR=$sysconfdir"
>eval "eval SHAREDSTATE_DIR=$sharedstatedir"
>eval "eval LOCALSTATE_DIR=$localstatedir"
>eval "eval LIB_DIR=$libdir"
>eval "eval INCLUDE_DIR=$includedir"
>eval "eval OLDINCLUDE_DIR=$oldincludedir"
>eval "eval INFO_DIR=$infodir"
>eval "eval MAN_DIR=$mandir"


Seeing this made me remember the autoconf macro archive, and I found the
following there:


Magnus Therning  Philips Research  +31-40-2745179
WDC2.52, Prof. Holstlaan 4, 5656AA Eindhoven, The Netherlands
mailto:address@hidden  OpenPGP:0x4FBB2C40

     -- Unknown

Attachment: signature.asc
Description: Digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]