]> git.sur5r.net Git - openldap/commitdiff
ITS#2918 additional fix for -lrpcrt4 detection
authorHoward Chu <hyc@openldap.org>
Thu, 15 Jan 2004 07:08:06 +0000 (07:08 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 15 Jan 2004 07:08:06 +0000 (07:08 +0000)
configure
configure.in

index f875f7245acc157a2dfad8e1f7b03635c0bbcf5a..b3b6e3ad462b30c3908e2df99a7f4e1a6a053e74 100755 (executable)
--- a/configure
+++ b/configure
@@ -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
index bf41ae00ba7a0725c038e33eef80e13fa181d41b..20a429ad173ace0fad2a580ac192107ed85cb1b2 100644 (file)
@@ -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