Next: , Previous: ax_decl_wchar_max, Up: The Macros


ax_define_dir

Synopsis

     AX_DEFINE_DIR(VARNAME, DIR [, DESCRIPTION])

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:

       AX_DEFINE_DIR([DATADIR], [datadir], [Where data are placed to.])

Source Code

Download the latest version of ax_define_dir.m4 or browse the macro's revision history.

License

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. This file is offered as-is, without any warranty.