* configure.in configure: Check if host has libdl if doing

Solaris threads.
This commit is contained in:
Stu Grossman
1997-01-22 02:33:50 +00:00
parent 95efddf268
commit 95b475477e
3 changed files with 54 additions and 4 deletions

View File

@ -178,6 +178,7 @@ if test ${build} = ${host} -a ${host} = ${target} ; then
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_THREAD_DB_LIB)
CONFIG_OBS="${CONFIG_OBS} sol-thread.o"
AC_CHECK_LIB(dl, dlopen)
if test "$GCC" = "yes" ; then
CONFIG_LDFLAGS="${CONFIG_LDFLAGS} -Xlinker -export-dynamic"
fi