Patch configure.ac to check for fnmatch header.
authordevilhorns <devilhorns>
Wed, 28 Oct 2009 13:00:59 +0000 (13:00 +0000)
committerdevilhorns <devilhorns@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 28 Oct 2009 13:00:59 +0000 (13:00 +0000)
Thanks Vincent :)

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@43327 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

configure.ac

index 8fc2e58..0de6633 100644 (file)
@@ -257,6 +257,9 @@ AC_HEADER_ASSERT
 AC_HEADER_DIRENT
 AC_HEADER_TIME
 
+AC_CHECK_HEADER([fnmatch.h],
+   [dummy="yes"],
+   [AC_MSG_ERROR([Cannot find fnmatch.h. Make sure your CFLAGS environment variable contains include lines for the location of this file. MinGW users: see the INSTALL file])])
 
 ### Checks for types