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