diff options
author | Bob Gilligan <gilligan@vyatta.com> | 2011-01-16 22:44:12 -0800 |
---|---|---|
committer | Bob Gilligan <gilligan@vyatta.com> | 2011-01-16 23:07:47 -0800 |
commit | 4d155cbf37ca909daff06dd8c7119274d0861f6c (patch) | |
tree | fe9d460fb46097986fe234fddb3f9bd2935c8642 /configure.ac | |
parent | 9405281a9e16e55af687c98a83d327946953cc09 (diff) | |
download | vyatta-biosdevname-4d155cbf37ca909daff06dd8c7119274d0861f6c.tar.gz vyatta-biosdevname-4d155cbf37ca909daff06dd8c7119274d0861f6c.zip |
Merge upstream version 0.3.4.
(cherry picked from commit 21eb1c8d6fefa5dcd3a9a800b4add06d5c30c01f)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 5ee9c32..9c1b8d0 100644 --- a/configure.ac +++ b/configure.ac @@ -3,8 +3,9 @@ # vim:tw=0:ts=8:sw=8:et AC_PREREQ(2.59) -AC_INIT([biosdevname],[0.2.4],[Matt_Domsch@dell.com]) +AC_INIT([biosdevname],[0.3.4],[Matt_Domsch@dell.com]) AC_LANG([C]) +AC_USE_SYSTEM_EXTENSIONS AC_CONFIG_SRCDIR([src/read_proc.c]) AC_CONFIG_HEADER([config.h]) AC_PREFIX_DEFAULT() @@ -16,15 +17,17 @@ AC_PROG_AWK AC_PROG_CC AM_PROG_CC_C_O AC_PROG_LN_S +AC_PROG_CXX +AC_PROG_RANLIB AC_CHECK_PROGS([READELF], [readelf]) - +AC_CHECK_FUNCS([realpath]) # Checks for libraries. AC_CHECK_LIB([c], [snprintf]) # libz has to come before libpci because libpci needs it now. AC_CHECK_LIB([z], [gzopen], [], - [AC_MSG_ERROR([You must install zlib-devel or equivalent])]) + [AC_MSG_ERROR([You must install zlib-devel (Fedora/Red Hat/SuSE), libzip-dev (Debian/Ubuntu), or equivalent])]) AC_CHECK_LIB([pci], [pci_alloc], [], - [AC_MSG_ERROR([You must install pciutils or equivalent])], + [AC_MSG_ERROR([You must install pciutils-devel (Fedora/Red Hat/SuSE), pciutils-dev (Debian/Ubuntu), or equivalent])], -lz) # Checks for header files. @@ -44,6 +47,9 @@ AC_C_CONST AC_C_INLINE AC_TYPE_OFF_T AC_TYPE_SIZE_T +AC_TYPE_SSIZE_T +AC_TYPE_UINT8_T +AC_TYPE_UINT16_T AC_HEADER_TIME AC_STRUCT_TM |