Autoconf Archive Macros by Category
Search:

smr_with_build_path

Obsolete Macro

Renamed to AX_WITH_BUILD_PATH

SYNOPSIS

smr_WITH_BUILD_PATH

DESCRIPTION

This macro adds a "--with-build-path" option to the configure script. This configure option provides a convenient way to add "-I" options to CPPFLAGS and "-L" options to LDFLAGS, at configure time.

Invoking "./configure --with-build-path=DIR" results in "-I DIR/include" being added to CPPFLAGS if DIR/include exists, and "-L DIR/lib" being added to LDFLAGS if DIR/lib exists.

Separate multiple directories using colons; e.g. "--with-build-path=DIR1:DIR2:DIR3".

SOURCE CODE

Download smr_with_build_path.m4 or browse the revision history.

LICENSE

Copyright © 2008 Steve M. Robbins <smr@debian.org>

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.