summaryrefslogtreecommitdiff
path: root/comms/jpilot/patches/patch-ab
blob: 3596076e64098319effa203191ec500f701b9da5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ab,v 1.3 2002/11/30 13:36:14 salo Exp $

--- configure.in.orig	Tue Feb  6 20:26:38 2001
+++ configure.in	Sat Nov 30 13:49:28 2002
@@ -180,6 +180,10 @@
    AC_TRY_LINK([#include <dlfcn.h>], [dlopen("huh",0);] , have_dlopen=yes, , )
    LIBS="$save_LIBS"
 
+   if test "x$have_dlopen" != "yes"; then
+      AC_TRY_LINK([#include <dlfcn.h>], [dlopen("huh",0);], have_dlopen=yes,, )
+   fi
+
    if test "x$have_dlopen" = "xyes"; then
       AC_DEFINE(ENABLE_PLUGINS)
       AC_MSG_RESULT(ok, plugin support enabled)