From 2567888a585069f31c0666325d9ba16dea3cb1e1 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Fri, 21 Jul 2006 17:41:43 +0000 Subject: [PATCH] reject configure option for static libraries We shouldn't accept --enable-static at configure time when we know it's not going to work at build time. * aclocal.m4 (KRB5_LIB_AUX): Error out if --enable-static. ticket: new target_version: 1.5.1 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18348 dc483132-0cff-0310-8789-dd5450dbe970 --- src/aclocal.m4 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 79ea8de46..17e3cf84d 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -1225,6 +1225,10 @@ AC_HELP_STRING([--enable-static],[build static libraries @<:@disabled for most p AC_HELP_STRING([--disable-static],[don't build static libraries]), , [enable_static=$default_static]) +if test "$enable_static" = yes; then + AC_MSG_ERROR([Sorry, static libraries do not work in this release.]) +fi + if test "$enable_static" = no && test "$krb5_force_static" != yes; then AC_MSG_NOTICE([disabling static libraries]) LIBLINKS= -- 2.26.2