From: Tom Yu Date: Wed, 2 Aug 2006 16:41:08 +0000 (+0000) Subject: pull up r18348 from trunk X-Git-Tag: krb5-1.5.1-beta1~13 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8ed4a3cb5d8849bab7dcafe31e4c9b63831609ed;p=krb5.git pull up r18348 from trunk r18348@cathode-dark-space: raeburn | 2006-07-21 13:41:43 -0400 ticket: new subject: reject configure option for static libraries target_version: 1.5.1 tags: pullup 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: 4036 version_fixed: 1.5.1 git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-5@18401 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 8fd2f8d34..77598867b 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -1216,6 +1216,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=