diff options
author | Markus Teich <markus.teich@stusta.mhn.de> | 2016-07-13 01:05:08 +0200 |
---|---|---|
committer | Markus Teich <markus.teich@stusta.mhn.de> | 2016-07-13 01:05:08 +0200 |
commit | b2015c388cb42d9976a2aa6710667c168e61bd3a (patch) | |
tree | f737fb277812e75b3a2bab32ed0c9da761bffe8b /configure.ac | |
parent | 568aaade7c8bfb4dd7260784a604ba32384ba5d5 (diff) |
enable silent rules, move type checks before lib checks
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 2324e7d..fff6d4b 100644 --- a/configure.ac +++ b/configure.ac @@ -5,6 +5,7 @@ AC_PREREQ([2.69]) AC_INIT([libbrandt], [0.1], [teichm@net.in.tum.de]) AM_INIT_AUTOMAKE([1.15]) +m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) AC_CONFIG_SRCDIR([brandt.c]) #AC_CONFIG_HEADERS([config.h]) @@ -17,16 +18,16 @@ LT_INIT([pic-only]) CC=$(echo "${CC}" | sed 's/-std=gnu99/-std=c99/') CPP=$(echo "${CPP}" | sed 's/-std=gnu99/-std=c99/') +# Checks for typedefs, structures, and compiler characteristics. +AC_TYPE_SIZE_T +AC_TYPE_UINT16_T + # Checks for libraries. AC_SEARCH_LIBS([gcry_check_version], [gcrypt], [], [AC_MSG_ERROR([unable to find the gcry_check_version() function from libgcrypt])]) # Checks for header files. AC_CHECK_HEADER(gcrypt.h, [], [AC_MSG_ERROR([unable to find the gcrypt.h header file from libgcrypt])], []) -# Checks for typedefs, structures, and compiler characteristics. -AC_TYPE_SIZE_T -AC_TYPE_UINT16_T - SAVE_LIBS=$LIBS gnunetutil=0 AC_MSG_CHECKING(for libgnunetutil) |