Re: Using @bindir@ etc. in C headers

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

 



* Perry Hutchison:

> That being the case, what would be the use of capturing -- into a C
> header file, which is only used when building -- a variable setting
> passed to "make install"?

See the start of the thread.  Assuming one has to hard-code installation
locations (let's not get into a debate about that), one may have to
build the expansion of @bindir@ into the binary.  But that is usually
defined as ${exec_prefix}/bin, so something direct like

#define BINDIR "@bindir@"

does not work as expected.

Thanks,
Florian





[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux