--- configure.orig Mon Aug 2 17:01:03 1999 +++ configure Thu Nov 2 16:45:14 2000 @@ -4716,6 +4716,12 @@ if test "$ac_cv_func_dlopen" = "yes" -o SHLIB_CFLAGS="-fpic" PRELOADS="LD_PRELOAD" ;; + OpenBSD*) + SHLIB_LD=gcc + SHLIB_LFLAGS="-shared -fpic" + SHLIB_CFLAGS="-fpic" + PRELOADS="LD_PRELOAD" + ;; SunOS*4.*) SHLIB_CFLAGS="-P" SHLIB_LFLAGS="-dp -assert pure-text -assert nodefinitions" @@ -4763,7 +4769,7 @@ if test "$ac_cv_func_dlopen" = "yes" -o UNIX_SV*|UNIX_System_V*) SHLIB_CFLAGS= ;; - FreeBSD*|NetBSD*) + FreeBSD*|NetBSD*|OpenBSD*) ;; *) SHLIB_LD="gcc"