1 dnl Provides option to change library probes.
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.
9 dnl This macro doesn't do much but is defined separately so that other macros
10 dnl can require it with AC_REQUIRE.
12 dnl Written by Russ Allbery <rra@stanford.edu>
13 dnl Copyright 2005, 2006, 2007
14 dnl Board of Trustees, Leland Stanford Jr. University
16 dnl See LICENSE for licensing terms.
18 AC_DEFUN([RRA_ENABLE_REDUCED_DEPENDS],
19 [rra_reduced_depends=false
20 AC_ARG_ENABLE([reduced-depends],
21 [AS_HELP_STRING([--enable-reduced-depends],
22 [Try to minimize shared library dependencies])],
23 [AS_IF([test x"$enableval" = xyes], [rra_reduced_depends=true])])])