1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

Fix from bernd@arresum.inka.de for broken krb configure.

Jeremy.
(This used to be commit 956e2a4e37)
This commit is contained in:
Jeremy Allison 2001-07-16 22:58:47 +00:00
parent 11837682c7
commit edfd138e87
3 changed files with 788 additions and 799 deletions

1563
source3/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -1512,12 +1512,19 @@ AC_MSG_CHECKING(whether to use Kerberos IV)
AC_ARG_WITH(krb4,
[ --with-krb4=base-dir Include Kerberos IV support
--without-krb4 Don't include Kerberos IV support (default)],
[ AC_MSG_RESULT(yes)
[ case "$withval" in
yes)
AC_MSG_RESULT(yes)
AC_DEFINE(KRB4_AUTH)
AC_CHECK_LIB(resolv, dn_expand)
LIBS="$LIBS -lkrb -ldes"
CFLAGS="$CFLAGS -I$withval/include"
LDFLAGS="$LDFLAGS -L$withval/lib"],
LDFLAGS="$LDFLAGS -L$withval/lib"
;;
*)
AC_MSG_RESULT(no)
;;
esac ],
AC_MSG_RESULT(no)
)
@ -1527,11 +1534,18 @@ AC_MSG_CHECKING(whether to use Kerberos 5)
AC_ARG_WITH(krb5,
[ --with-krb5=base-dir Include Kerberos 5 support
--without-krb5 Don't include Kerberos 5 support (default)],
[ AC_MSG_RESULT(yes)
[ case "$withval" in
yes)
AC_MSG_RESULT(yes)
AC_DEFINE(KRB5_AUTH)
LIBS="$LIBS -ldes425 -lkrb5 -lcrypto -lcom_err"
CFLAGS="$CFLAGS -I$withval/include"
LDFLAGS="$LDFLAGS -L$withval/lib"],
LDFLAGS="$LDFLAGS -L$withval/lib"
;;
*)
AC_MSG_RESULT(no)
;;
esac ],
AC_MSG_RESULT(no)
)

View File

@ -1,4 +1,4 @@
/* include/config.h.in. Generated automatically from configure.in by autoheader 2.13. */
/* include/config.h.in. Generated automatically from configure.in by autoheader. */
/* Define if on AIX 3.
System headers sometimes define this.