]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
configure: check for histedit.h (libedit-dev)
authorSage Weil <sage@newdream.net>
Tue, 17 Mar 2009 17:26:16 +0000 (10:26 -0700)
committerSage Weil <sage@newdream.net>
Tue, 17 Mar 2009 18:30:41 +0000 (11:30 -0700)
configure.ac

index 4c8023eaf22071d0397df9df27fdf00758b4507b..6a111fffefed270e3f9d39b32c753160eb534e6e 100644 (file)
@@ -103,6 +103,11 @@ AC_CHECK_HEADER([boost/spirit.hpp],
                 [AC_MSG_ERROR([Sorry, you need to install the Boost spirit parser library (libboost-dev on debian)])])
 
 AC_LANG([C])
+
+AC_CHECK_HEADER([histedit.h],
+       [],
+       [AC_MSG_ERROR([Sorry, you need histedit.h (libedit-dev on debian)])])
+
 AC_CHECK_HEADERS([sys/xattr.h arpa/inet.h netdb.h netinet/in.h sys/file.h sys/ioctl.h sys/mount.h sys/param.h sys/socket.h sys/statvfs.h sys/time.h sys/vfs.h syslog.h utime.h])
 
 # Checks for typedefs, structures, and compiler characteristics.