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

« back to all changes in this revision

Viewing changes to cmulocal/libnet.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 libnet.m4--libnet and includes
2
2
dnl Derrick Brashear
3
3
dnl from KTH krb and Arla
4
 
dnl $Id: libnet.m4,v 1.7 2003/10/08 20:35:25 rjs3 Exp $
 
4
dnl $Id: libnet.m4,v 1.8 2005/04/26 19:14:08 shadow Exp $
5
5
 
6
6
AC_DEFUN([CMU_LIBNET_CFG_WHERE1], [
7
7
ac_cv_found_libnet_bin=no
78
78
])
79
79
 
80
80
AC_DEFUN([CMU_LIBNET], [
 
81
AC_REQUIRE([CMU_FIND_LIB_SUBDIR])
81
82
AC_ARG_WITH(libnet,
82
83
        [  --with-libnet=PREFIX      Compile with LIBNET support],
83
84
        [if test "X$with_libnet" = "X"; then
106
107
            else
107
108
              ac_cv_libnet_where_cfg=$with_libnet/bin
108
109
            fi
109
 
            ac_cv_libnet_where_lib=$with_libnet/lib
 
110
            ac_cv_libnet_where_lib=$with_libnet/$CMU_LIB_SUBDIR
110
111
            ac_cv_libnet_where_inc=$with_libnet/include
111
112
          fi
112
113
        fi
122
123
          ac_cv_libnet_where_lib=$with_libnet_lib
123
124
        fi
124
125
        if test "X$ac_cv_libnet_where_lib" = "X"; then
125
 
          CMU_LIBNET_LIB_WHERE(/usr/ng/lib /usr/lib /usr/local/lib)
 
126
          CMU_LIBNET_LIB_WHERE(/usr/ng/$CMU_LIB_SUBDIR /usr/$CMU_LIB_SUBDIR /usr/local/$CMU_LIB_SUBDIR)
126
127
        fi
127
128
 
128
129
        if test "X$with_libnet_include" != "X"; then