The autoconf manual says: Use @code{AC_DEFINE} but have @command{configure} compute the literal value of @code{datadir} and others. Many people have wrapped macros to automate this task; for an example, see the macro @code{AC_DEFINE_DIR} from the @uref{http://@/www.gnu.org/@/software/@/autoconf-archive/, Autoconf Macro Archive}.
It then adds: This solution does not conform to the GNU Coding Standards. What are we doing supporting something than does not conform to the GCS? This problem has other solutions (there are two others listed in the manual). Would anyone object if I obsoleted this macro in autoconf-archive? (If so, I'll provide a patch to remove this mention from the autoconf manual; if not, then I'll provide a patch to give the correct name of the macro: it's now called AX_DEFINE_DIR.) -- http://rrt.sc3d.org