efl: proper use of AC_DEFINE_IF for HAVE_NOTIFY_WIN32 definition

--This line, and those below, will be ignored--


SVN revision: 80371
This commit is contained in:
Leandro Dorileo 2012-12-06 16:22:20 +00:00
parent 047db8f450
commit d82e901802
1 changed files with 3 additions and 5 deletions

View File

@ -479,11 +479,9 @@ have_inotify="${ac_cv_header_sys_inotify_h}"
AM_CONDITIONAL([HAVE_INOTIFY], [test "x${have_inotify}" = "xyes"]) AM_CONDITIONAL([HAVE_INOTIFY], [test "x${have_inotify}" = "xyes"])
have_notify_win32="${have_win32}" have_notify_win32="${have_win32}"
if test "x${have_notify_win32}" = "xyes" ; then AC_DEFINE_IF([HAVE_NOTIFY_WIN32],
AC_DEFINE([HAVE_NOTIFY_WIN32], [1], [File monitoring with Windows notification]) [test "x${have_notify_win32}" = "xyes"], [1],
else [File monitoring with Windows notification])
AC_DEFINE([HAVE_NOTIFY_WIN32], [], [File monitoring with Windows notification])
fi
AM_CONDITIONAL([HAVE_NOTIFY_WIN32], [test "x${have_notify_win32}" = "xyes"]) AM_CONDITIONAL([HAVE_NOTIFY_WIN32], [test "x${have_notify_win32}" = "xyes"])