diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2016-03-03 16:59:44 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2016-03-03 16:59:44 +0000 |
commit | f6ae61b384844df7d322c0b3bad461d080b6790f (patch) | |
tree | c306aa1b650bedd6ce28e823bfde2340b370923f /configure.ac | |
parent | cf491146a7a9f99375507bd638eff00c10fdd988 (diff) | |
download | sg3_utils-f6ae61b384844df7d322c0b3bad461d080b6790f.tar.gz |
automake: add AM_PROG_AR since it is required >= 1.12; for Visual studio lib.exe handling so unused by this package
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@683 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index b6ce4455..fdd311db 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ AC_INIT(sg3_utils, 1.43, dgilbert@interlog.com) AM_INIT_AUTOMAKE -AM_MAINTAINER_MODE +AM_MAINTAINER_MODE([-Wall -Werror foreign]) AM_CONFIG_HEADER(config.h) AC_PROG_CC @@ -11,6 +11,9 @@ AC_PROG_INSTALL # Adding libtools to the build seems to bring in C++ environment AC_PROG_LIBTOOL +# AM_PROG_AR is supported and needed since automake v1.12+ +ifdef([AM_PROG_AR], [AM_PROG_AR], []) + # check for headers AC_HEADER_STDC AC_CHECK_HEADERS([linux/types.h linux/bsg.h linux/kdev_t.h], [], [], |