summaryrefslogtreecommitdiff
path: root/ext/syslog/extconf.rb
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-11-26 12:00:40 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-11-26 12:00:40 +0000
commit09a4937b2fcf883fa57af1dfa5d12f605f812970 (patch)
tree52f67fc28923cedbe81d496f6c735c173ef645dc /ext/syslog/extconf.rb
parent43271e97abb9b70be32aabe5acaa6f087ebb079f (diff)
Import the "syslog" module from the rough ruby project. This module
provides the interface to the UNIX system logger (syslog). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/syslog/extconf.rb')
-rw-r--r--ext/syslog/extconf.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/ext/syslog/extconf.rb b/ext/syslog/extconf.rb
new file mode 100644
index 0000000..0fa0bc3
--- /dev/null
+++ b/ext/syslog/extconf.rb
@@ -0,0 +1,10 @@
+# $RoughId: extconf.rb,v 1.3 2001/11/24 17:49:26 knu Exp $
+# $Id$
+
+require 'mkmf'
+
+have_header("syslog.h") &&
+ have_func("openlog") &&
+ have_func("setlogmask") &&
+ create_makefile("syslog")
+