Changeset 1791

Show
Ignore:
Timestamp:
04/03/07 19:50:13 (22 months ago)
Author:
aturner
Message:

look for lib64 version of libpcap in dynamic link mode. refs #143

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/configure.in

    r1786 r1791  
    369369                LPCAPINCDIR="${testdir}/include" 
    370370                if test $dynamic_link = yes; then 
    371                     LPCAPLIB="-L${testdir}/lib -lpcap" 
     371                                if test -f "${testdir}/lib/libpcap.a" ; then 
     372                            LPCAPLIB="-L${testdir}/lib -lpcap" 
     373                                elif test -f "${testdir}/lib64/libpcap.a" 
     374                                        LPCAPLIB="-L${testdir}/lib64 -lpcap" 
     375                                else 
     376                                        AC_ERROR([Unable to find libpcap in ${testdir}]) 
     377                                fi 
    372378                elif test -f "${testdir}/lib64/libpcap.a" ; then 
    373379                    LPCAPLIB="${testdir}/lib64/libpcap.a"