Ticket #38582: patch-conservatively-configure.ac.diff
File patch-conservatively-configure.ac.diff, 1.8 KB (added by cooljeanius (Eric Gallager), 11 years ago) |
---|
-
configure.ac
old new 94 94 esac 95 95 96 96 # Checks for programs. 97 AC_PROG_AWK 97 98 AC_PROG_CC 98 99 AC_PROG_INSTALL 99 100 AC_PROG_LN_S 100 101 AC_PROG_MAKE_SET 102 AC_PROG_RANLIB 101 103 AC_PROG_OBJC 102 104 103 105 AC_PATH_PROGS(BSDMAKE, [bsdmake pmake], []) … … 237 239 AC_HEADER_STDC 238 240 AC_HEADER_DIRENT 239 241 AC_HEADER_SYS_WAIT 240 AC_CHECK_HEADERS([limits.h paths.h sys/file.h crt_externs.h fcntl.h sys/fcntl.h sys/cdefs.h err.h sys/socket.h \ 241 sys/event.h sys/sysctl.h readline/readline.h readline/history.h pwd.h sys/paths.h utime.h]) 242 AC_CHECK_HEADERS([crt_externs.h err.h fcntl.h limits.h mach/mach.h \ 243 netdb.h paths.h pwd.h readline/history.h readline/readline.h \ 244 stddef.h stdio.h sys/cdefs.h sys/event.h sys/fcntl.h sys/file.h \ 245 sys/ioctl.h sys/mount.h sys/param.h sys/paths.h sys/socket.h \ 246 sys/sysctl.h sys/time.h utime.h]) 242 247 243 248 INCLUDES="-I.. -I. $INCLUDES" 244 249 250 # Checks for typedefs, structures, and compiler characteristics. 251 AC_CHECK_HEADER_STDBOOL 252 AC_TYPE_UID_T 253 AC_C_INLINE 254 AC_TYPE_MODE_T 255 AC_TYPE_OFF_T 256 AC_TYPE_PID_T 257 AC_C_RESTRICT 258 AC_TYPE_SIZE_T 259 AC_TYPE_SSIZE_T 260 AC_TYPE_UINT32_T 261 AC_TYPE_UINT8_T 262 245 263 # Checks for library functions. 246 AC_CHECK_FUNCS([bzero memset fgetln lockf flock setmode strcasecmp strncasecmp strlcpy strlcat copyfile clearenv sysctlbyname kqueue]) 264 AC_FUNC_CHOWN 265 AC_FUNC_FORK 266 AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK 267 AC_FUNC_MALLOC 268 AC_FUNC_MMAP 269 AC_FUNC_REALLOC 270 AC_CHECK_FUNCS([bzero clearenv copyfile dup2 fgetln flock getcwd lchown \ 271 localtime_r lockf kqueue memmove memset mkdir munmap realpath regcomp \ 272 rmdir select setenv setmode socket strcasecmp strchr strdup strerror \ 273 strlcat strlcpy strncasecmp strrchr strstr strtol strtoul sysctlbyname \ 274 utime]) 247 275 AC_SUBST(ac_cv_func_strlcat) 248 276 249 277 MP_CHECK_READLINK_IS_P1003_1A