Changeset 1815

Show
Ignore:
Timestamp:
04/16/07 23:12:22 (21 months ago)
Author:
aturner
Message:

prioritize 64bit libs over standard. fixes #150

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/configure.in

    r1814 r1815  
    317317                LNETINCDIR="${testdir}/include" 
    318318                if test $dynamic_link = yes; then 
    319                                 if test -f "${testdir}/lib/libnet.a" ; then 
    320                             LNETLIB="-L${testdir}/lib -lnet" 
    321                                 elif test -f "${testdir}/lib64/libnet.a" ; then 
    322                                         LNETLIB="-L${testdir}/lib64 -lnet" 
     319                                if test -f "${testdir}/lib64/libnet.a" ; then 
     320                            LNETLIB="-L${testdir}/lib64 -lnet" 
     321                                elif test -f "${testdir}/lib/libnet.a" ; then 
     322                                        LNETLIB="-L${testdir}/lib -lnet" 
    323323                                else 
    324324                                        AC_ERROR([Unable to find libnet in ${testdir}]) 
     
    442442                LPCAPINCDIR="${testdir}/include" 
    443443                if test $dynamic_link = yes; then 
    444                                 if test -f "${testdir}/lib/libpcap.a" ; then 
    445                             LPCAPLIB="-L${testdir}/lib -lpcap" 
    446                                 elif test -f "${testdir}/lib64/libpcap.a" ; then 
    447                                         LPCAPLIB="-L${testdir}/lib64 -lpcap" 
     444                                if test -f "${testdir}/lib64/libpcap.a" ; then 
     445                            LPCAPLIB="-L${testdir}/lib64 -lpcap" 
     446                                elif test -f "${testdir}/lib/libpcap.a" ; then 
     447                                        LPCAPLIB="-L${testdir}/lib -lpcap" 
    448448                                else 
    449449                                        AC_ERROR([Unable to find libpcap in ${testdir}])