Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal configure.in

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Wed, 27 Oct 1999 22:33:24 -0500 (CDT)
guy         1999/10/27 22:33:22 CDT

  Modified files:
    .                    configure.in 
  Log:
  Forcibly insert "-I/usr/local/include" in CFLAGS and "-L/usr/local/lib"
  in LIBS, because there's a bunch of stuff we might use that might have
  been installed in "/usr/local" ("libpcap", "zlib", an SNMP library), and
  we want to make sure all the stuff that looks for libraries and header
  files checks there.
  
  Also, add all the "-I" stuff to CPPFLAGS as well, as that's what's used
  in many header-file searches.
  
  And, while we're at it, add "-R/usr/local/lib" on SunOS 5.x, as its
  linker doesn't automatically set the run-time library search path to
  include all directories specified in "-L".
  
  Hopefully, this will make sure we find in "/usr/local/include" and
  "/usr/local/lib" everything we might want to find (e.g., SNMP headers -
  on FreeBSD, we weren't adding "/usr/local/include" because we found the
  "libpcap" header in "/usr/include", and thus weren't searching
  "/usr/local/include" for "ucd-snmp/snmp.h" or "snmp/snmp.h", and thus
  weren't finding them even if we'd installed the UCD SNMP package!).
  
  Also, hopefully it won't cause problems on some other platform with some
  other configuration of installed packages....
  
  Revision  Changes    Path
  1.57      +23 -2     ethereal/configure.in