Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / src / external / rra-c-util / m4 / lib-depends.m4
1 dnl Provides option to change library probes.
2 dnl
3 dnl This file provides RRA_ENABLE_REDUCED_DEPENDS, which adds the configure
4 dnl option --enable-reduced-depends to request that library probes assume
5 dnl shared libraries are in use and dependencies of libraries should not be
6 dnl probed. If this option is given, the shell variable rra_reduced_depends
7 dnl is set to true; otherwise, it is set to false.
8 dnl
9 dnl This macro doesn't do much but is defined separately so that other macros
10 dnl can require it with AC_REQUIRE.
11 dnl
12 dnl The canonical version of this file is maintained in the rra-c-util
13 dnl package, available at <http://www.eyrie.org/~eagle/software/rra-c-util/>.
14 dnl
15 dnl Written by Russ Allbery <rra@stanford.edu>
16 dnl Copyright 2005, 2006, 2007
17 dnl The Board of Trustees of the Leland Stanford Junior University
18 dnl
19 dnl This file is free software; the authors give unlimited permission to copy
20 dnl and/or distribute it, with or without modifications, as long as this
21 dnl notice is preserved.
22
23 AC_DEFUN([RRA_ENABLE_REDUCED_DEPENDS],
24 [rra_reduced_depends=false
25 AC_ARG_ENABLE([reduced-depends],
26 [AS_HELP_STRING([--enable-reduced-depends],
27 [Try to minimize shared library dependencies])],
28 [AS_IF([test x"$enableval" = xyes], [rra_reduced_depends=true])])])