Revision c05c7a73 configure
b/configure | ||
---|---|---|
1629 | 1629 |
inotify=yes |
1630 | 1630 |
fi |
1631 | 1631 |
|
1632 |
inotify1=no |
|
1633 |
cat > $TMPC << EOF |
|
1634 |
#include <sys/inotify.h> |
|
1635 |
|
|
1636 |
int |
|
1637 |
main(void) |
|
1638 |
{ |
|
1639 |
/* try to start inotify */ |
|
1640 |
return inotify_init1(0); |
|
1641 |
} |
|
1642 |
EOF |
|
1643 |
if compile_prog "" "" ; then |
|
1644 |
inotify1=yes |
|
1645 |
fi |
|
1646 |
|
|
1632 | 1647 |
# check if utimensat and futimens are supported |
1633 | 1648 |
utimens=no |
1634 | 1649 |
cat > $TMPC << EOF |
... | ... | |
2136 | 2151 |
if test "$inotify" = "yes" ; then |
2137 | 2152 |
echo "CONFIG_INOTIFY=y" >> $config_host_mak |
2138 | 2153 |
fi |
2154 |
if test "$inotify1" = "yes" ; then |
|
2155 |
echo "CONFIG_INOTIFY1=y" >> $config_host_mak |
|
2156 |
fi |
|
2139 | 2157 |
if test "$byteswap_h" = "yes" ; then |
2140 | 2158 |
echo "CONFIG_BYTESWAP_H=y" >> $config_host_mak |
2141 | 2159 |
fi |
Also available in: Unified diff