Ticket #38582: patch-conservatively-configure.ac.diff

File patch-conservatively-configure.ac.diff, 1.8 KB (added by cooljeanius (Eric Gallager), 11 years ago)

patch against 2.2 base's configure.ac that just silences the autoscan warnings

  • configure.ac

    old new  
    9494esac
    9595
    9696# Checks for programs.
     97AC_PROG_AWK
    9798AC_PROG_CC
    9899AC_PROG_INSTALL
    99100AC_PROG_LN_S
    100101AC_PROG_MAKE_SET
     102AC_PROG_RANLIB
    101103AC_PROG_OBJC
    102104
    103105AC_PATH_PROGS(BSDMAKE, [bsdmake pmake], [])
     
    237239AC_HEADER_STDC
    238240AC_HEADER_DIRENT
    239241AC_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])
     242AC_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])
    242247
    243248INCLUDES="-I.. -I. $INCLUDES"
    244249
     250# Checks for typedefs, structures, and compiler characteristics.
     251AC_CHECK_HEADER_STDBOOL
     252AC_TYPE_UID_T
     253AC_C_INLINE
     254AC_TYPE_MODE_T
     255AC_TYPE_OFF_T
     256AC_TYPE_PID_T
     257AC_C_RESTRICT
     258AC_TYPE_SIZE_T
     259AC_TYPE_SSIZE_T
     260AC_TYPE_UINT32_T
     261AC_TYPE_UINT8_T
     262
    245263# Checks for library functions.
    246 AC_CHECK_FUNCS([bzero memset fgetln lockf flock setmode strcasecmp strncasecmp strlcpy strlcat copyfile clearenv sysctlbyname kqueue])
     264AC_FUNC_CHOWN
     265AC_FUNC_FORK
     266AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
     267AC_FUNC_MALLOC
     268AC_FUNC_MMAP
     269AC_FUNC_REALLOC
     270AC_CHECK_FUNCS([bzero clearenv copyfile dup2 fgetln flock getcwd lchown \
     271localtime_r lockf kqueue memmove memset mkdir munmap realpath regcomp \
     272rmdir select setenv setmode socket strcasecmp strchr strdup strerror \
     273strlcat strlcpy strncasecmp strrchr strstr strtol strtoul sysctlbyname \
     274utime])
    247275AC_SUBST(ac_cv_func_strlcat)
    248276
    249277MP_CHECK_READLINK_IS_P1003_1A