mutt stable branch with some hacks
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix inotify configure test.

AC_CHECK_FUNCS executes "action-if-found" or "action-if-not-found" for
each function in the list. If a system has some but not all of the
functions, both will end up being executed.

This caused a build failure on an older system with exactly that
situation.

Change to only define USE_INOTIFY if all functions exist.

+2 -6
+2 -6
configure.ac
··· 855 855 856 856 if test x$have_filemonitor != xno ; then 857 857 AC_CHECK_FUNCS(inotify_init1 inotify_add_watch inotify_rm_watch, 858 - [ 859 - AC_DEFINE(USE_INOTIFY,1,[ Define if want to use inotify for filesystem monitoring (available in Linux only). ]) 860 - ], 861 - [ 862 - have_filemonitor=no 863 - ]) 858 + [], [have_filemonitor=no]) 864 859 if test x$have_filemonitor != xno ; then 860 + AC_DEFINE(USE_INOTIFY,1,[ Define if want to use inotify for filesystem monitoring (available in Linux only). ]) 865 861 AC_CHECK_HEADERS(sys/inotify.h) 866 862 MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS monitor.o" 867 863 fi