diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2019-02-10 20:15:58 +0100 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2019-02-10 20:15:58 +0100 |
commit | 74dec7c69ae961f98e0a91da9fc3f6214183467a (patch) | |
tree | 4ff7444d46a5519ba47352965cedc7ea14116251 /configure.ac | |
parent | 8b7ef9a86d712f0939d1170b5abfe9af13b1873e (diff) | |
download | blogc-74dec7c69ae961f98e0a91da9fc3f6214183467a.tar.gz blogc-74dec7c69ae961f98e0a91da9fc3f6214183467a.tar.bz2 blogc-74dec7c69ae961f98e0a91da9fc3f6214183467a.zip |
blogc: sysinfo: added tests
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 809082a..9239976 100644 --- a/configure.ac +++ b/configure.ac @@ -223,6 +223,11 @@ AC_SUBST(BASH) AC_CHECK_HEADERS([sys/resource.h sys/stat.h sys/time.h sys/wait.h time.h unistd.h pwd.h]) AC_CHECK_FUNCS([gethostname]) +AM_CONDITIONAL([HAVE_UNISTD_H], [test "x$ac_cv_header_unistd_h" = "xyes"]) +AM_CONDITIONAL([HAVE_SYS_TYPES_H], [test "x$ac_cv_header_sys_types_h" = "xyes"]) +AM_CONDITIONAL([HAVE_PWD_H], [test "x$ac_cv_header_pwd_h" = "xyes"]) +AM_CONDITIONAL([HAVE_TIME_H], [test "x$ac_cv_header_time_h" = "xyes"]) + LT_LIB_M AC_CONFIG_FILES([ |