Disabled building static libs by default

This commit is contained in:
Mario Danic 2006-09-20 12:45:12 +00:00
parent 496e027f89
commit c4e6974c21
1 changed files with 9 additions and 0 deletions

View File

@ -61,6 +61,15 @@ if test ! $ac_cv_func_fseeko; then
AC_ERROR([Libburn requires largefile support.])
fi
AC_ARG_ENABLE(static, enable_static=yes)
if test x$enable_static != xyes; then
AC_MSG_RESULT([no])
AM_DISABLE_STATIC=no
else
AC_MSG_RESULT([yes])
AM_DISABLE_STATIC=yes
fi
AC_PROG_LIBTOOL
AC_SUBST(LIBTOOL_DEPS)
LIBTOOL="$LIBTOOL --silent"