From: Ilya Dryomov Date: Mon, 10 Feb 2014 17:34:44 +0000 (+0200) Subject: configure: don't check for arpa/nameser_compat.h twice X-Git-Tag: v0.78~208^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=450163ec403f8e0cde8165cd25966cd28dc25ef8;p=ceph.git configure: don't check for arpa/nameser_compat.h twice Nuke redundant check and move the real one into the common AC_CHECK_HEADERS stanza. Signed-off-by: Ilya Dryomov --- diff --git a/configure.ac b/configure.ac index 0c67e470759a..5773688b0234 100644 --- a/configure.ac +++ b/configure.ac @@ -596,6 +596,7 @@ AC_CHECK_MEMBER([struct fiemap_extent.fe_logical], AC_CHECK_HEADERS([ \ arpa/inet.h \ + arpa/nameser_compat.h \ linux/version.h \ netdb.h \ netinet/in.h \ @@ -639,16 +640,12 @@ AC_CHECK_FUNC([splice], [AC_DEFINE([CEPH_HAVE_SPLICE], [], [splice(2) is supported])], []) - -AC_CHECK_HEADERS([arpa/nameser_compat.h]) - AC_COMPILE_IFELSE([AC_LANG_SOURCE([[#include F_SETPIPE_SZ]])], [AC_DEFINE([CEPH_HAVE_SETPIPE_SZ], [], [F_SETPIPE_SZ is supported])], [AC_MSG_NOTICE(["F_SETPIPE_SZ not found, zero-copy may be less efficent"])]) -AC_CHECK_HEADERS([arpa/nameser_compat.h]) AC_CHECK_FUNCS([posix_fallocate]) AC_CHECK_HEADERS([sys/prctl.h]) AC_CHECK_FUNCS([prctl])