From 03af7cf370fe3166cb6f7d8fb6d89fc1532e50fc Mon Sep 17 00:00:00 2001 From: Mario Danic Date: Wed, 20 Sep 2006 12:45:54 +0000 Subject: [PATCH] Backported disabled building of static libs by default --- branches/0.2.2/configure.ac | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/branches/0.2.2/configure.ac b/branches/0.2.2/configure.ac index 749511eb..9179c866 100644 --- a/branches/0.2.2/configure.ac +++ b/branches/0.2.2/configure.ac @@ -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"