Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 329fdb7

Browse files
committed
Use AC_CHECK_FUNCS
1 parent 8e1914e commit 329fdb7

File tree

4 files changed

+47
-790
lines changed

4 files changed

+47
-790
lines changed

PC/pyconfig.h

Lines changed: 3 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -675,55 +675,24 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
675675
/* Define to 1 if you have the `erfc' function. */
676676
#define HAVE_ERFC 1
677677

678-
/* Define if you have the 'inet_pton' function. */
679-
#define HAVE_INET_PTON 1
680-
681-
/* Define to 1 if you have the <netdb.h> header file. */
678+
// netdb.h functions
682679
#define HAVE_NETDB_H 1
683-
684-
/* Define if you have the 'gethostname' function. */
685680
#define HAVE_GETHOSTNAME 1
686-
687-
/* Define if you have the 'gethostbyaddr' function. */
688681
#define HAVE_GETHOSTBYADDR 1
689-
690-
/* Define if you have the 'gethostbyname' function. */
691682
#define HAVE_GETHOSTBYNAME 1
692-
693-
/* Define if you have the 'getprotobyname' function. */
694683
#define HAVE_GETPROTOBYNAME 1
695-
696-
/* Define if you have the 'getservbyname' function. */
697684
#define HAVE_GETSERVBYNAME 1
698-
699-
/* Define if you have the 'getservbyport' function. */
700685
#define HAVE_GETSERVBYPORT 1
701-
702-
/* Define if you have the 'inet_ntoa' function. */
686+
// sys/socket.h functions
687+
#define HAVE_INET_PTON 1
703688
#define HAVE_INET_NTOA 1
704-
705-
/* Define if you have the 'bind' function. */
706689
#define HAVE_BIND 1
707-
708-
/* Define if you have the 'connect' function. */
709690
#define HAVE_CONNECT 1
710-
711-
/* Define if you have the 'getsockname' function. */
712691
#define HAVE_GETSOCKNAME 1
713-
714-
/* Define if you have the 'listen' function. */
715692
#define HAVE_LISTEN 1
716-
717-
/* Define if you have the 'recvfrom' function. */
718693
#define HAVE_RECVFROM 1
719-
720-
/* Define if you have the 'sendto' function. */
721694
#define HAVE_SENDTO 1
722-
723-
/* Define if you have the 'setsockopt' function. */
724695
#define HAVE_SETSOCKOPT 1
725-
726-
/* Define if you have the 'socket' function. */
727696
#define HAVE_SOCKET 1
728697

729698
/* Define to 1 if you have the `dup2' function. */

0 commit comments

Comments
 (0)