mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-02 04:59:39 -05:00
ITS#2918 additional fix for -lrpcrt4 detection
This commit is contained in:
parent
8577c78932
commit
419f5464df
2 changed files with 9 additions and 9 deletions
10
configure
vendored
10
configure
vendored
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
# $OpenLDAP$
|
||||
# from OpenLDAP: pkg/ldap/configure.in,v 1.508 2004/01/01 18:15:21 kurt Exp
|
||||
# from OpenLDAP: pkg/ldap/configure.in,v 1.509 2004/01/15 03:21:20 hyc Exp
|
||||
|
||||
# This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
#
|
||||
|
|
@ -9923,13 +9923,13 @@ echo "configure:9920: checking to see if -lrpcrt4 is needed for win32 UUID suppo
|
|||
#line 9924 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
char UuidCreate@4();
|
||||
char UuidToStringA@8();
|
||||
int __stdcall UuidCreate(void *);
|
||||
int __stdcall UuidToStringA(void *,void **);
|
||||
|
||||
int main() {
|
||||
|
||||
UuidCreate@4();
|
||||
UuidToStringA@8();
|
||||
UuidCreate(0);
|
||||
UuidToStringA(0,0);
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
|
|
|
|||
|
|
@ -1006,12 +1006,12 @@ if test $have_uuid = no ; then
|
|||
save_LIBS="$LIBS"
|
||||
LIBS="$LIBS -lrpcrt4"
|
||||
AC_TRY_LINK([
|
||||
char UuidCreate@4();
|
||||
char UuidToStringA@8();
|
||||
int __stdcall UuidCreate(void *);
|
||||
int __stdcall UuidToStringA(void *,void **);
|
||||
],
|
||||
[
|
||||
UuidCreate@4();
|
||||
UuidToStringA@8();
|
||||
UuidCreate(0);
|
||||
UuidToStringA(0,0);
|
||||
],
|
||||
need_rpcrt=yes, need_rpcrt=no)
|
||||
if test $need_rpcrt = yes; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue