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