|
a/src/configure |
|
b/src/configure |
|
... |
|
... |
1452 |
echo "$as_me: error: fam library not found" >&2;}
|
1452 |
echo "$as_me: error: fam library not found" >&2;}
|
1453 |
{ (exit 1); exit 1; }; }
|
1453 |
{ (exit 1); exit 1; }; }
|
1454 |
fi
|
1454 |
fi
|
1455 |
fi
|
1455 |
fi
|
1456 |
|
1456 |
|
|
|
1457 |
if test -f /usr/include/sys/inotify.h -a X$withFam = Xno ; then
|
|
|
1458 |
inot_default=yes
|
|
|
1459 |
else
|
|
|
1460 |
inot_default=no
|
|
|
1461 |
fi
|
|
|
1462 |
|
1457 |
# Real time monitoring with inotify
|
1463 |
# Real time monitoring with inotify
|
1458 |
|
1464 |
|
1459 |
# Check whether --with-inotify or --without-inotify was given.
|
1465 |
# Check whether --with-inotify or --without-inotify was given.
|
1460 |
if test "${with_inotify+set}" = set; then
|
1466 |
if test "${with_inotify+set}" = set; then
|
1461 |
withval="$with_inotify"
|
1467 |
withval="$with_inotify"
|
1462 |
withInotify=$withval
|
1468 |
withInotify=$withval
|
1463 |
else
|
1469 |
else
|
1464 |
withInotify=no
|
1470 |
withInotify=$inot_default
|
1465 |
fi;
|
1471 |
fi;
|
1466 |
|
1472 |
|
1467 |
if test X$withInotify != Xno ; then
|
1473 |
if test X$withInotify != Xno ; then
|
|
|
1474 |
{ echo "$as_me:$LINENO: Enabled support for inotify monitoring" >&5
|
|
|
1475 |
echo "$as_me: Enabled support for inotify monitoring" >&6;}
|
1468 |
|
1476 |
|
1469 |
cat >>confdefs.h <<\_ACEOF
|
1477 |
cat >>confdefs.h <<\_ACEOF
|
1470 |
#define RCL_MONITOR 1
|
1478 |
#define RCL_MONITOR 1
|
1471 |
_ACEOF
|
1479 |
_ACEOF
|
1472 |
|
1480 |
|
1473 |
|
1481 |
|
1474 |
cat >>confdefs.h <<\_ACEOF
|
1482 |
cat >>confdefs.h <<\_ACEOF
|
1475 |
#define RCL_USE_INOTIFY 1
|
1483 |
#define RCL_USE_INOTIFY 1
|
1476 |
_ACEOF
|
1484 |
_ACEOF
|
1477 |
|
1485 |
|
|
|
1486 |
else
|
|
|
1487 |
{ echo "$as_me:$LINENO: inotify monitoring disabled" >&5
|
|
|
1488 |
echo "$as_me: inotify monitoring disabled" >&6;}
|
1478 |
fi
|
1489 |
fi
|
1479 |
|
1490 |
|
1480 |
##### Look for iconv. We first look for libiconv in /usr/local/lib:/usr/lib
|
1491 |
##### Look for iconv. We first look for libiconv in /usr/local/lib:/usr/lib
|
1481 |
## then in libc (Linux, solaris)
|
1492 |
## then in libc (Linux, solaris)
|
1482 |
ac_ext=c
|
1493 |
ac_ext=c
|