without this i end up with a configure that does:
authorCarsten Haitzler <raster@rasterman.com>
Thu, 6 Dec 2012 16:08:07 +0000 (16:08 +0000)
committerCarsten Haitzler <raster@rasterman.com>
Thu, 6 Dec 2012 16:08:07 +0000 (16:08 +0000)
configure: updating cache config.cache
configure: creating ./config.status
config.status: error: cannot find input file: Makefile.in'
make: *** No targets specified and no makefile found.  Stop.

autoheader is unhappy:

autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoheader: warning: missing template: HAVE_NOTIFY_WIN32
autoheader: Use AC_DEFINE([HAVE_NOTIFY_WIN32], [], [Description])
autoreconf: /usr/bin/autoheader failed with exit status: 1

SVN revision: 80368

configure.ac

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