X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=configure.ac;h=363e6716824fdf244b2bc316248b1f97502ea13e;hb=d20a6d6bcd625d0162cc7158b597e04ef3ee1379;hp=fab196c48e9c5002d1fc2eedd679757bad1b3cdc;hpb=23701e42467cbd3b371dee70b2086336c497b863;p=deb_libnfs.git diff --git a/configure.ac b/configure.ac index fab196c..363e671 100644 --- a/configure.ac +++ b/configure.ac @@ -60,6 +60,14 @@ AC_ARG_WITH([examples], ) AC_SUBST(ENABLE_EXAMPLES) +AC_ARG_WITH([ldconfig], + [ --without-ldconfig Disable call of ldconfig on make install], + [ldconfig='echo ldconfig disabled']) + +if test x"$cross_compiling" = xyes; then + ldconfig='echo crosscompiling: ldconfig disabled' +fi + AC_CONFIG_HEADER(config.h) EXTRA_OBJ=""