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