|
|
|
@ -116,7 +116,10 @@ function_data = \ |
|
|
|
|
'HAVE_READLINK': ('readlink', 'unistd.h'), |
|
|
|
|
'HAVE_RES_INIT': ('res_init', 'resolv.h'), |
|
|
|
|
'HAVE_SENDMMSG': ('sendmmsg', 'sys/socket.h'), |
|
|
|
|
'HAVE_GETENV': ('getenv', 'stdlib.h'), |
|
|
|
|
'HAVE_SETENV': ('setenv', 'stdlib.h'), |
|
|
|
|
'HAVE_PUTENV': ('putenv', 'stdlib.h'), |
|
|
|
|
'HAVE_UNSETENV': ('unsetenv', 'stdlib.h'), |
|
|
|
|
'HAVE_SETMNTENT': ('setmntent', 'mntent.h'), |
|
|
|
|
'HAVE_SNPRINTF': ('snprintf', 'stdio.h'), |
|
|
|
|
'HAVE_SPLICE': ('splice', 'fcntl.h'), |
|
|
|
@ -177,6 +180,56 @@ function_data = \ |
|
|
|
|
'HAVE_SYSCONF': ('sysconf', 'unistd.h'), |
|
|
|
|
'HAVE_USLEEP': ('usleep', 'unistd.h'), |
|
|
|
|
'HAVE_VFORK': ('vfork', 'unistd.h'), |
|
|
|
|
'HAVE_MALLOC': ('malloc', 'stdlib.h'), |
|
|
|
|
'HAVE_CALLOC': ('calloc', 'stdlib.h'), |
|
|
|
|
'HAVE_REALLOC': ('realloc', 'stdlib.h'), |
|
|
|
|
'HAVE_FREE': ('free', 'stdlib.h'), |
|
|
|
|
'HAVE_ALLOCA': ('alloca', 'alloca.h'), |
|
|
|
|
'HAVE_QSORT': ('qsort', 'stdlib.h'), |
|
|
|
|
'HAVE_ABS': ('abs', 'stdlib.h'), |
|
|
|
|
'HAVE_MEMSET': ('memset', 'string.h'), |
|
|
|
|
'HAVE_MEMCMP': ('memcmp', 'string.h'), |
|
|
|
|
'HAVE_STRLEN': ('strlen', 'string.h'), |
|
|
|
|
'HAVE_STRLCAT': ('strlcat', 'string.h'), |
|
|
|
|
'HAVE_STRDUP': ('strdup', 'string.h'), |
|
|
|
|
'HAVE__STRREV': ('_strrev', 'string.h'), |
|
|
|
|
'HAVE__STRUPR': ('_strupr', 'string.h'), |
|
|
|
|
'HAVE__STRLWR': ('_strlwr', 'string.h'), |
|
|
|
|
'HAVE_INDEX': ('index', 'strings.h'), |
|
|
|
|
'HAVE_RINDEX': ('rindex', 'strings.h'), |
|
|
|
|
'HAVE_STRCHR': ('strchr', 'string.h'), |
|
|
|
|
'HAVE_STRRCHR': ('strrchr', 'string.h'), |
|
|
|
|
'HAVE_STRSTR': ('strstr', 'string.h'), |
|
|
|
|
'HAVE_STRTOL': ('strtol', 'stdlib.h'), |
|
|
|
|
'HAVE_STRTOUL': ('strtoul', 'stdlib.h'), |
|
|
|
|
'HAVE_STRTOULL': ('strtoull', 'stdlib.h'), |
|
|
|
|
'HAVE_STRTOD': ('strtod', 'stdlib.h'), |
|
|
|
|
'HAVE_ATOI': ('atoi', 'stdlib.h'), |
|
|
|
|
'HAVE_ATOF': ('atof', 'stdlib.h'), |
|
|
|
|
'HAVE_STRCMP': ('strcmp', 'string.h'), |
|
|
|
|
'HAVE_STRNCMP': ('strncmp', 'string.h'), |
|
|
|
|
'HAVE_VSSCANF': ('vsscanf', 'stdio.h'), |
|
|
|
|
'HAVE_ATAN': ('atan', 'math.h'), |
|
|
|
|
'HAVE_ATAN2': ('atan2', 'math.h'), |
|
|
|
|
'HAVE_ACOS': ('acos', 'math.h'), |
|
|
|
|
'HAVE_ASIN': ('asin', 'math.h'), |
|
|
|
|
'HAVE_CEIL': ('ceil', 'math.h'), |
|
|
|
|
'HAVE_COPYSIGN': ('copysign', 'math.h'), |
|
|
|
|
'HAVE_COS': ('cos', 'math.h'), |
|
|
|
|
'HAVE_COSF': ('cosf', 'math.h'), |
|
|
|
|
'HAVE_FABS': ('fabs', 'math.h'), |
|
|
|
|
'HAVE_FLOOR': ('floor', 'math.h'), |
|
|
|
|
'HAVE_LOG': ('log', 'math.h'), |
|
|
|
|
'HAVE_POW': ('pow', 'math.h'), |
|
|
|
|
'HAVE_SCALBN': ('scalbn', 'math.h'), |
|
|
|
|
'HAVE_SIN': ('sin', 'math.h'), |
|
|
|
|
'HAVE_SINF': ('sinf', 'math.h'), |
|
|
|
|
'HAVE_SQRT': ('sqrt', 'math.h'), |
|
|
|
|
'HAVE_FSEEKO': ('fseeko', 'stdio.h'), |
|
|
|
|
'HAVE_FSEEKO64': ('fseeko64', 'stdio.h'), |
|
|
|
|
'HAVE_SETJMP': ('setjmp', 'setjmp.h'), |
|
|
|
|
'HAVE_PTHREAD_SETNAME_NP': ('pthread_setname_np', 'pthread.h'), |
|
|
|
|
'HAVE_PTHREAD_SET_NAME_NP': ('pthread_set_name_np', 'pthread.h'), |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
print('check_functions = [') |
|
|
|
|