]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
configure: fix F_SETPIPE_SZ detection
authorIlya Dryomov <ilya.dryomov@inktank.com>
Mon, 10 Feb 2014 17:34:44 +0000 (19:34 +0200)
committerIlya Dryomov <ilya.dryomov@inktank.com>
Mon, 10 Feb 2014 17:37:30 +0000 (19:37 +0200)
commita5f479c2aa7d64b36a5f71113761cb44174bd0be
tree92cbe0925103da23111a21cfb32c99a64243fede
parent450163ec403f8e0cde8165cd25966cd28dc25ef8
configure: fix F_SETPIPE_SZ detection

Currently CEPH_HAVE_SETPIPE_SZ is not set even if F_SETPIPE_SZ is
available, because AC_COMPILE_IFELSE test program as written always
fails to compile.  F_SETPIPE_SZ is a macro, so use AC_EGREP_CPP which
works on the preprocessor output instead of trying to compile.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
configure.ac