Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #115 from voidus/sasl_check

Check for SASL early in extconf.rb
  • Loading branch information...
commit c334c52cbdef5956d74ee8caba2293c6baf54792 2 parents 8bdf667 + 2da267a
@evan authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 ext/extconf.rb
View
4 ext/extconf.rb
@@ -1,6 +1,10 @@
require 'mkmf'
require 'rbconfig'
+unless find_header('sasl/sasl.h')
+ abort 'Please install SASL to continue. The package is called libsasl2-dev on Ubuntu and cyrus-sasl on Gentoo.'
+end
+
HERE = File.expand_path(File.dirname(__FILE__))
BUNDLE_PATH = Dir.glob("libmemcached-*").first
Please sign in to comment.
Something went wrong with that request. Please try again.