aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2016-07-28 20:06:41 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2016-07-28 20:06:41 +0300
commitf663465b6b19a530855bf07c6b1a6e85bc07dccf (patch)
treebb5951e8c22f3b2d15c608a3d02c015ab0741f12 /tools
parentf3c793b9c1705f4eebbc68755bea7fe7926d123f (diff)
downloadmeson-f663465b6b19a530855bf07c6b1a6e85bc07dccf.zip
meson-f663465b6b19a530855bf07c6b1a6e85bc07dccf.tar.gz
meson-f663465b6b19a530855bf07c6b1a6e85bc07dccf.tar.bz2
Convert socket checks.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/ac_converter.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/ac_converter.py b/tools/ac_converter.py
index c7dbd37..2f1b4c3 100755
--- a/tools/ac_converter.py
+++ b/tools/ac_converter.py
@@ -116,6 +116,7 @@ function_data = \
'HAVE_READLINK': ('readlink', 'unistd.h'),
'HAVE_RES_INIT': ('res_init', 'resolv.h'),
'HAVE_SENDMMSG': ('sendmmsg', 'sys/socket.h'),
+ 'HAVE_SOCKET' : ('socket',' sys/socket.h'),
'HAVE_GETENV': ('getenv', 'stdlib.h'),
'HAVE_SETENV': ('setenv', 'stdlib.h'),
'HAVE_PUTENV': ('putenv', 'stdlib.h'),