diff options
author | obrien <obrien@FreeBSD.org> | 2004-08-09 08:45:41 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2004-08-09 08:45:41 +0000 |
commit | bda6cdf5897e5ebed7279aca3ea3387bddcb19b0 (patch) | |
tree | fa3b953aed2a4bff370cfcd813015e532403552e /contrib/file/configure.in | |
parent | f35360c37203a2efe4238a8ec8dd5c45cde0820b (diff) | |
download | FreeBSD-src-bda6cdf5897e5ebed7279aca3ea3387bddcb19b0.zip FreeBSD-src-bda6cdf5897e5ebed7279aca3ea3387bddcb19b0.tar.gz |
Virgin import of Christos Zoulas's FILE 4.10.
*- file is now broken into a library containing and processing the magic
and a consumer binary.
Diffstat (limited to 'contrib/file/configure.in')
-rw-r--r-- | contrib/file/configure.in | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/contrib/file/configure.in b/contrib/file/configure.in index 8536b0d..a3b9c5d 100644 --- a/contrib/file/configure.in +++ b/contrib/file/configure.in @@ -1,7 +1,8 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(file.c) -AM_INIT_AUTOMAKE(file, 3.41) +AC_INIT(src/file.c) +AM_INIT_AUTOMAKE(file, 4.10) AM_CONFIG_HEADER(config.h) +AM_MAINTAINER_MODE AC_MSG_CHECKING(for builtin ELF support) AC_ARG_ENABLE(elf, @@ -52,6 +53,7 @@ dnl Checks for programs. AC_PROG_CC AC_PROG_INSTALL AC_PROG_LN_S +AC_PROG_LIBTOOL dnl Checks for headers AC_HEADER_STDC @@ -64,6 +66,9 @@ AC_CHECK_HEADERS(stdint.h inttypes.h) AC_CHECK_HEADERS(unistd.h) AC_CHECK_HEADERS(getopt.h) AC_CHECK_HEADERS(locale.h) +AC_CHECK_HEADERS(utime.h) +AC_CHECK_HEADERS(sys/utime.h) +AC_CHECK_HEADERS(wchar.h) dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST @@ -72,6 +77,7 @@ AC_TYPE_SIZE_T AC_STRUCT_ST_RDEV AC_STRUCT_TIMEZONE_DAYLIGHT AC_SYS_LARGEFILE +AC_MBSTATE_T AC_CHECK_TYPE_STDC(uint8_t, unsigned char) AC_CHECK_TYPE_STDC(uint16_t, unsigned short) @@ -92,9 +98,9 @@ AC_CHECK_SIZEOF_STDC_HEADERS(uint32_t, 0) AC_CHECK_SIZEOF_STDC_HEADERS(uint64_t, 0) dnl Checks for functions -AC_CHECK_FUNCS(mmap strerror strtoul mkstemp getopt_long) +AC_CHECK_FUNCS(mmap strerror strtoul mbrtowc mkstemp getopt_long utimes utime wcwidth) dnl Checks for libraries AC_CHECK_LIB(z,gzopen) -AC_OUTPUT(Makefile) +AC_OUTPUT(Makefile src/Makefile magic/Makefile doc/Makefile) |