ACLOCAL_AMFLAGS = -I macros
AUTOMAKE_OPTIONS = foreign
+if RUN_LDCONFIG
+install-exec-hook:
+ @printf "Running ldconfig to ensure libraries installed in system library directories are added to the dynamic linker cache ... "
+ @-@NETA_LDCONFIG@
+ @printf "done\n"
+endif
AC_SUBST(KLDFLAGS)
fi
+dnl Whether to run ldconfig after installing libraries
+AC_PATH_PROG(NETA_LDCONFIG, ldconfig, , [$PATH$PATH_SEPARATOR/sbin$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/sbin$PATH_SEPARATOR/usr/bin])
+echo NETA_LDCONFIG = $NETA_LDCONFIG
+AM_CONDITIONAL(RUN_LDCONFIG, test x"$this_os" = x"linux" -a x"$NETA_LDCONFIG" != x"")
])
dnl Check for building PGP UAM module