Skip to content

Commit

Permalink
[2.7-beta2-syscheck] check Debian Wheezy inofigy.h file location
Browse files Browse the repository at this point in the history
  • Loading branch information
jbcheng committed Oct 31, 2012
1 parent 81bdd82 commit 8f67b42
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/Makeall
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,16 @@ if [ "X${ARGV}" = "Xall" -o "X${ARGV}" = "Xrootcheck" -o "X${ARGV}" = "Xlibs" ];

# Checking for inotify
if [ "X$OS" = "XLinux" ]; then
ls /usr/include/sys/inotify.h > /dev/null 2>&1
if [ $? = 0 ]; then
#ls /usr/include/sys/inotify.h > /dev/null 2>&1
#if [ $? = 0 ]; then
# echo "EEXTRA=-DUSEINOTIFY" >> Config.OS
#fi

if [ -e /usr/include/sys/inotify.h ]; then
echo "EEXTRA=-DUSEINOTIFY" >> Config.OS
fi
elif [ -e /usr/include/x86_64-linux-gnu/sys/inotify.h ]; then
echo "EEXTRA=-DUSEINOTIFY" >> Config.OS
fi

fi

Expand Down

0 comments on commit 8f67b42

Please sign in to comment.