diff options
author | Igor Mammedov <niallain@gmail.com> | 2010-02-19 08:34:20 -0800 |
---|---|---|
committer | Jeff Layton <jlayton@redhat.com> | 2010-02-19 08:34:20 -0800 |
commit | 168459ca930dd7f34d31daec72d565e3192b0cb1 (patch) | |
tree | dcc0462ccd86296b627b7ab98291620b3c3e9729 /configure.ac | |
parent | 6874d2379d3fe00dce826d0993f6c1ef02cce714 (diff) | |
download | cifs-utils-168459ca930dd7f34d31daec72d565e3192b0cb1.tar.gz cifs-utils-168459ca930dd7f34d31daec72d565e3192b0cb1.tar.bz2 cifs-utils-168459ca930dd7f34d31daec72d565e3192b0cb1.zip |
autoconf: now it works with autoconf 2.59 (RHEL5)
suggest to install libtalloc-devel if talloc.h is missing
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac index ac1316d..cbbef7c 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,6 @@ # -*- Autoconf -*- # Process this file with autoconf to produce a configure script. -AC_PREREQ([2.63]) AC_INIT([cifs-utils], [4.0], [jlayton@samba.org]) AC_CONFIG_SRCDIR([replace.h]) AC_CONFIG_HEADERS([config.h]) @@ -15,8 +14,8 @@ AC_PROG_CC # Checks for libraries. # Checks for header files. -AC_USE_SYSTEM_EXTENSIONS -AC_CHECK_HEADERS([arpa/inet.h fcntl.h inttypes.h limits.h mntent.h netdb.h stddef.h stdint.h stdlib.h string.h strings.h sys/mount.h sys/param.h sys/socket.h sys/time.h syslog.h unistd.h krb5.h talloc.h], , [AC_MSG_ERROR([necessary header(s) not found])]) +AC_CHECK_HEADERS([arpa/inet.h fcntl.h inttypes.h limits.h mntent.h netdb.h stddef.h stdint.h stdlib.h string.h strings.h sys/mount.h sys/param.h sys/socket.h sys/time.h syslog.h unistd.h krb5.h], , [AC_MSG_ERROR([necessary header(s) not found])]) +AC_CHECK_HEADERS([talloc.h], , [AC_MSG_ERROR([necessary header not found, install libtalloc-devel])]) # Checks for typedefs, structures, and compiler characteristics. AC_HEADER_STDBOOL @@ -24,10 +23,7 @@ AC_TYPE_UID_T AC_TYPE_OFF_T AC_TYPE_PID_T AC_TYPE_SIZE_T -AC_TYPE_SSIZE_T -AC_TYPE_UINT32_T -AC_TYPE_UINT8_T -AC_CHECK_TYPES([ptrdiff_t]) +AC_CHECK_TYPES([ptrdiff_t, ssize_t, uint32_t, uint8_t]) # Checks for library functions. AC_FUNC_GETMNTENT |