On Linux: Run ldconfig during make install,if not --disable-ldconfig-at-install

This commit is contained in:
2010-09-22 12:55:13 +02:00
parent 7386596bfa
commit 59ab73c57f
5 changed files with 39 additions and 19 deletions

View File

@@ -225,6 +225,17 @@ else
echo "disabled strict symbol encapsulation"
fi
AC_ARG_ENABLE(ldconfig-at-install,
[ --enable-ldconfig-at-install On GNU/Linux run ldconfig, default=yes],
, ldconfig_at_install=yes)
if test x$ldconfig_at_install = xyes; then
dummy=dummy
else
LIBBURNIA_LDCONFIG_CMD="echo 'NOTE: ldconfig is disabled. If needed, configure manually for:'"
echo "disabled run of ldconfig during installation on GNU/Linux"
fi
AC_SUBST(LIBBURNIA_LDCONFIG_CMD)
AC_CONFIG_FILES([
Makefile
doc/doxygen.conf