~ubuntu-branches/ubuntu/karmic/cyrus-imapd-2.2/karmic

« back to all changes in this revision

Viewing changes to cmulocal/libssl.m4

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2006-07-11 18:51:39 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060711185139-gl3oe4tppp7g3euf
Tags: 2.2.13-4ubuntu1
Synchronize with Debian unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
dnl libssl.m4--Ssl libraries and includes
2
2
dnl Derrick Brashear
3
3
dnl from KTH kafs and Arla
4
 
dnl $Id: libssl.m4,v 1.9 2003/10/08 20:35:25 rjs3 Exp $
 
4
dnl $Id: libssl.m4,v 1.10 2005/04/26 19:14:08 shadow Exp $
5
5
 
6
6
AC_DEFUN([CMU_LIBSSL_INC_WHERE1], [
7
7
saved_CPPFLAGS=$CPPFLAGS
54
54
])
55
55
 
56
56
AC_DEFUN([CMU_LIBSSL], [
 
57
AC_REQUIRE([CMU_FIND_LIB_SUBDIR])
57
58
AC_REQUIRE([CMU_SOCKETS])
58
59
AC_ARG_WITH(libssl,
59
60
        [  --with-libssl=PREFIX      Compile with Libssl support],
73
74
 
74
75
        if test "X$with_libssl" != "X"; then
75
76
          if test "$with_libssl" != "yes" -a "$with_libssl" != no; then
76
 
            ac_cv_libssl_where_lib=$with_libssl/lib
 
77
            ac_cv_libssl_where_lib=$with_libssl/$CMU_LIB_SUBDIR
77
78
            ac_cv_libssl_where_inc=$with_libssl/include
78
79
          fi
79
80
        fi
83
84
            ac_cv_libssl_where_lib=$with_libssl_lib
84
85
          fi
85
86
          if test "X$ac_cv_libssl_where_lib" = "X"; then
86
 
            CMU_LIBSSL_LIB_WHERE(/usr/local/lib/openssl /usr/lib/openssl /usr/local/lib /usr/lib)
 
87
            CMU_LIBSSL_LIB_WHERE(/usr/local/$CMU_LIB_SUBDIR/openssl /usr/$CMU_LIB_SUBDIR/openssl /usr/local/$CMU_LIB_SUBDIR /usr/$CMU_LIB_SUBDIR)
87
88
          fi
88
89
 
89
90
          if test "X$with_libssl_include" != "X"; then