Changeset 1870
- Timestamp:
- 05/15/07 20:50:59 (20 months ago)
- Files:
-
- 1 modified
-
trunk/configure.in (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.in
r1865 r1870 347 347 LNETINCDIR="${testdir}/include" 348 348 if test $dynamic_link = yes; then 349 if test -f "${testdir}/lib64/libnet .a" ; then349 if test -f "${testdir}/lib64/libnet${shrext_cmds}" ; then 350 350 LNETLIB="-L${testdir}/lib64 -lnet" 351 elif test -f "${testdir}/lib/libnet .a" ; then351 elif test -f "${testdir}/lib/libnet${shrext_cmds}" ; then 352 352 LNETLIB="-L${testdir}/lib -lnet" 353 353 else 354 354 AC_ERROR([Unable to find libnet in ${testdir}]) 355 355 fi 356 elif test -f "${testdir}/lib64/libnet. a" ; then357 LNETLIB="${testdir}/lib64/libnet. a"358 elif test -f "${testdir}/lib/libnet. a" ; then359 LNETLIB="${testdir}/lib/libnet. a"356 elif test -f "${testdir}/lib64/libnet.${libext}" ; then 357 LNETLIB="${testdir}/lib64/libnet.${libext}" 358 elif test -f "${testdir}/lib/libnet.${libext}" ; then 359 LNETLIB="${testdir}/lib/libnet.${libext}" 360 360 else 361 361 AC_ERROR([Unable to find matching library for header file in ${testdir}]) … … 472 472 LPCAPINCDIR="${testdir}/include" 473 473 if test $dynamic_link = yes; then 474 if test -f "${testdir}/lib64/libpcap .a" ; then474 if test -f "${testdir}/lib64/libpcap${shrext_cmds}" ; then 475 475 LPCAPLIB="-L${testdir}/lib64 -lpcap" 476 elif test -f "${testdir}/lib/libpcap .a" ; then476 elif test -f "${testdir}/lib/libpcap${shrext_cmds}" ; then 477 477 LPCAPLIB="-L${testdir}/lib -lpcap" 478 478 else 479 479 AC_ERROR([Unable to find libpcap in ${testdir}]) 480 480 fi 481 elif test -f "${testdir}/lib64/libpcap. a" ; then482 LPCAPLIB="${testdir}/lib64/libpcap. a"483 elif test -f "${testdir}/lib/libpcap. a" ; then484 LPCAPLIB="${testdir}/lib/libpcap. a"485 elif test -f "${testdir}/lib/libwpcap. a" ; then486 LPCAPLIB="${testdir}/lib/libwpcap. a"481 elif test -f "${testdir}/lib64/libpcap.${libext}" ; then 482 LPCAPLIB="${testdir}/lib64/libpcap.${libext}" 483 elif test -f "${testdir}/lib/libpcap.${libext}" ; then 484 LPCAPLIB="${testdir}/lib/libpcap.${libext}" 485 elif test -f "${testdir}/lib/libwpcap.${libext}" ; then 486 LPCAPLIB="${testdir}/lib/libwpcap.${libext}" 487 487 AC_DEFINE([HAVE_WINPCAP], [1], [Do we have WinPcap?]) 488 488 else
