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
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=