Changeset 806f769 for configure.ac
- Timestamp:
- Sep 15, 2009, 4:21:07 PM (15 years ago)
- Branches:
- master, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- cc1eeac
- Parents:
- fea5ddf
- git-author:
- Nelson Elhage <nelhage@mit.edu> (09/14/09 23:34:33)
- git-committer:
- Nelson Elhage <nelhage@mit.edu> (09/15/09 16:21:07)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
r79245bc r806f769 7 7 8 8 AC_PROG_CC 9 10 dnl Check for Athena11 AC_MSG_CHECKING(for /usr/athena/include)12 if test -d /usr/athena/include; then13 CFLAGS=${CFLAGS}\ -I/usr/athena/include14 CPPFLAGS=${CPPFLAGS}\ -I/usr/athena/include15 AC_MSG_RESULT(yes)16 else17 AC_MSG_RESULT(no)18 fi19 AC_MSG_CHECKING(for /usr/athena/lib)20 if test -d /usr/athena/lib; then21 LDFLAGS=${LDFLAGS}\ -L/usr/athena/lib22 AC_MSG_RESULT(yes)23 else24 AC_MSG_RESULT(no)25 fi26 27 dnl Check for kerberosIV include28 AC_MSG_CHECKING(for kerberosIV)29 if test -d /usr/include/kerberosIV; then30 CFLAGS=${CFLAGS}\ -I/usr/include/kerberosIV31 CPPFLAGS=${CPPFLAGS}\ -I/usr/include/kerberosIV32 AC_MSG_RESULT(yes)33 elif test -d /usr/local/include/kerberosIV; then34 CFLAGS=${CFLAGS}\ -I/usr/local/include/kerberosIV35 CPPFLAGS=${CPPFLAGS}\ -I/usr/local/include/kerberosIV36 AC_MSG_RESULT(yes)37 elif test -d /usr/include/openssl; then38 CFLAGS=${CFLAGS}\ -I/usr/include/openssl39 CPPFLAGS=${CPPFLAGS}\ -I/usr/include/openssl40 AC_MSG_RESULT(OpenSSL DES found instead)41 else42 AC_MSG_RESULT(no)43 fi44 9 45 10 AC_ARG_WITH([stack-protector], … … 61 26 AC_CHECK_LIB(nsl, gethostbyname) 62 27 AC_CHECK_LIB(socket, socket) 63 dnl AC_CHECK_LIB(des425, req_act_vno)64 AC_CHECK_LIB(des425, des_cbc_encrypt,,AC_CHECK_LIB(crypto,DES_cbc_encrypt))65 28 AC_CHECK_LIB(resolv, res_search) 66 29 … … 72 35 73 36 AS_IF([test "x$with_zephyr" != xno], 74 [AC_CHECK_LIB([zephyr], [ZGetSender], 37 [AC_MSG_CHECKING([for Kerberos IV]) 38 AS_IF([krb5-config krb4 --libs >/dev/null 2>&1], 39 [AC_MSG_RESULT([yes]) 40 AC_DEFINE([HAVE_KERBEROS_IV], [1], [Define if you have kerberos IV]) 41 CFLAGS="${CFLAGS} `krb5-config krb4 --cflags`" 42 LIBS="${LIBS} `krb5-config krb4 --libs`" 43 ], 44 [AC_MSG_RESULT([no]) 45 PKG_CHECK_MODULES([LIBCRYPTO], [libcrypto]) 46 CFLAGS="${CFLAGS} ${LIBCRYPTO_CFLAGS}" 47 LIBS="${LIBS} ${LIBCRYPTO_LIBS}" 48 ]) 49 AC_CHECK_LIB([zephyr], [ZGetSender], 75 50 [LIBS="$LIBS -lzephyr" 76 51 AC_DEFINE([HAVE_LIBZEPHYR], [1],
Note: See TracChangeset
for help on using the changeset viewer.