bug-autoconf
[Top][All Lists]
Advanced

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

AC_DEFINE_UNQUOTED does not expand $libexecdir


From: Richard B. Kreckel
Subject: AC_DEFINE_UNQUOTED does not expand $libexecdir
Date: Sun, 3 Apr 2016 16:35:09 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.7.0

Instead, it leaves it unexpeded as ${exec_prefix}/libexec, which is
unusable within C code. This has been explained very well here:
http://stackoverflow.com/questions/8264827/pass-directory-to-c-application-from-compiler

The workaround is cumbersome: it requires us to fiddle with CPPFLAGS in
the Makefile. Seriously, this can't be a feature.



reply via email to

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