Subject: finding libs/includes in /usr/pkg
To: None <current-users@netbsd.org>
From: john heasley <heas@shrubbery.net>
List: current-users
Date: 06/15/2001 20:05:23
could anyone suggest a mechanism for finding libs and includes
that are not installed in /usr/lib via autoconf, such as pthread.h.
xmms does this

AC_CHECK_HEADER(pthread.h,,AC_MSG_ERROR([*** POSIX thread support not installed
- please install first ***]))

guelah [964] grep thread config.*
config.log:configure:1980: checking for pthread.h
config.log:configure:1986: pthread.h: No such file or directory
config.log:#include <pthread.h>

which doesnt work outside of the pkg system.  i'm guessing there is
something hidden in the pkgsrc goo that primes LDFLAGS.

i assume i am missing some subtle knob in autoconf.