Changeset b33a242


Ignore:
Timestamp:
04/28/05 16:53:26 (17 years ago)
Author:
Daniel Lawson <dlawson@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
75fc3da
Parents:
8d1956e
Message:

fixes in path to check for different libpcap/ zlib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.in

    r4b30586 rb33a242  
    195195    # if the library is in /usr/lib, then just use
    196196    # AC_CHECK_LIB.
    197     if test x"${ac_cv_use_pcap_path}" != x"/usr/lib"; then
     197    if test x"${ac_cv_use_pcap_path}" == x"/usr/lib"; then
    198198            AC_CHECK_LIB(${ac_cv_use_pcap},pcap_open_live,
    199199                         have_libpcap=yes,
    200200                         have_libpcap=no)
    201201
    202             if test x"${have_libpcap}" != xno; then
     202            if test x"${have_libpcap}" == xno; then
    203203                AC_MSG_NOTICE([Cannot find pcap library $pcap_lib_file.])
    204204                AC_MSG_ERROR([Exiting]);
     
    237237
    238238    # if the library is in /usr/lib/, then just use AC_CHECK_LIB
    239     if test x"${ac_cv_use_zlib_path}" != x"/usr/lib"; then
     239    if test x"${ac_cv_use_zlib_path}" == x"/usr/lib"; then
    240240            AC_CHECK_LIB(${ac_cv_use_zlib}, gzopen,
    241241                         have_libzlib=yes,
    242242                         have_libzlib=no)
    243             if test x"{have_libzlib}" != xno; then
     243            if test x"{have_libzlib}" == xno; then
    244244                AC_MSG_NOTICE([Cannot find zlib library $zlib_lib_file.])
    245245                AC_MSG_ERROR([Exiting]);
Note: See TracChangeset for help on using the changeset viewer.