ports/net/openldap24-server/files/patch-configure
Oliver Eikemeier 630d04fd83 Fix iODBC detection on 4.x
Prompted by:	Viktor Steinmann <viktor.steinmann@ch.easynet.net>,
		Marc Rassbach <marc@milestonerdl.com>
2004-05-07 18:19:29 +00:00

20 lines
539 B
Text

--- configure.orig Wed May 5 11:55:48 2004
+++ configure Wed May 5 11:56:33 2004
@@ -20220,7 +20220,7 @@
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-liodbc $LIBS"
+LIBS="-liodbc $LIBS $LTHREAD_LIBS"
cat > conftest.$ac_ext <<EOF
#line 20226 "configure"
#include "confdefs.h"
@@ -20264,7 +20264,7 @@
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-lodbc $LIBS"
+LIBS="-lodbc $LIBS $LTHREAD_LIBS"
cat > conftest.$ac_ext <<EOF
#line 20270 "configure"
#include "confdefs.h"