~ubuntu-branches/ubuntu/karmic/openvpn/karmic

« back to all changes in this revision

Viewing changes to acinclude.m4

  • Committer: Bazaar Package Importer
  • Author(s): Alberto Gonzalez Iniesta
  • Date: 2008-07-23 10:38:13 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20080723103813-axq5wohvwjr4jo0s
Tags: 2.1~rc8-1
* New upstream version
* Added Build-dep on libpkcs11-helper1 to re-enable PKCS#11
  support. Sorry for the delay Florian :) (Closes: #475353)

Show diffs side-by-side

added added

removed removed

Lines of Context:
96
96
         for arg2 in "struct sockaddr" void; do
97
97
            for t in int size_t unsigned long "unsigned long"; do
98
98
               AC_TRY_COMPILE([
 
99
                  #ifdef _WIN32
 
100
                  #include <windows.h>
 
101
                  #define PREFIX1 WINSOCK_API_LINKAGE
 
102
                  #define PREFIX2 PASCAL
 
103
                  #else
99
104
                  #include <sys/types.h>
100
105
                  #include <sys/socket.h>
 
106
                  #define PREFIX1
 
107
                  #define PREFIX2
 
108
                  #define SOCKET int
 
109
                  #endif
101
110
 
102
 
                  int getpeername (int, $arg2 *, $t *);
 
111
                  PREFIX1 int PREFIX2 getpeername (SOCKET, $arg2 *, $t *);
103
112
               ],[
104
113
                  $t len;
105
114
                  getpeername(0,0,&len);