Macros by Category | Revision History |
AC_DEFINE_DIR(VARNAME, DIR [, DESCRIPTION])
This macro sets VARNAME to the expansion of the DIR variable, taking care of fixing up ${prefix} and such.
VARNAME is then offered as both an output variable and a C preprocessor symbol.
Example:
AC_DEFINE_DIR([DATADIR], [datadir], [Where data are placed to.])
http://autoconf-archive.cryp.to/ac_define_dir.m4
Copyright © 2008 Stepan Kasal <kasal@ucw.cz>
Copyright © 2008 Andreas Schwab <schwab@suse.de>
Copyright © 2008 Guido U. Draheim <guidod@gmx.de>
Copyright © 2008 Alexandre Oliva
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.