extconf: detect inotify_init1 in libc
commit159c1ec26428bc6206ea4ac8dcc3f4ea1569793a
authorEric Wong <normalperson@yhbt.net>
Sun, 28 Dec 2014 01:26:00 +0000 (28 01:26 +0000)
committerEric Wong <normalperson@yhbt.net>
Sun, 28 Dec 2014 01:27:43 +0000 (28 01:27 +0000)
treefb7d4e462bde3770e98e998b86f3700891c46f31
parentac4a8474f4e3b0961b48d27bbe5a020b7aa93442
extconf: detect inotify_init1 in libc

Many systems have inotify_init1 nowadays, so use inotify_init1
if it is available to avoid unnecessary syscalls.
ext/sleepy_penguin/extconf.rb