* configure.ac:

use AC_CHECK_HEADERS instead of AC_CHECK_HEADERS_ONCE, because it
	leads to more trouble than it improves configure speed...
	* src/lib/Evil.h:
	use __VA_ARGS__ instead of ##args to make gcc happy.



SVN revision: 37302
This commit is contained in:
Vincent Torri 2008-10-29 11:07:43 +00:00
parent 3fe7c5c077
commit de996636ba
3 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,12 @@
2008-10-29 Vincent Torri <doursse at users dot sf dot net>
* configure.ac:
use AC_CHECK_HEADERS instead of AC_CHECK_HEADERS_ONCE, because it
leads to more trouble than it improves configure speed...
* src/lib/Evil.h:
use __VA_ARGS__ instead of ##args to make gcc happy.
2008-10-29 Vincent Torri <doursse at users dot sf dot net>
* configure.ac:

View File

@ -49,7 +49,7 @@ EFL_CHECK_MPATROL([have_mpatrol="yes"], [have_mpatrol="no"])
### Checks for header files
AC_CHECK_HEADERS_ONCE([errno.h])
AC_CHECK_HEADERS([errno.h])
### Checks for programs

View File

@ -134,7 +134,7 @@ typedef unsigned long gid_t;
# define S_IXGRP S_IXUSR
# define S_IXOTH S_IXUSR
# define open(path, flag, ...) _open((path), _O_BINARY | (flag), ##args)
# define open(path, flag, ...) _open((path), _O_BINARY | (flag), __VA_ARGS__)
# define close(fd) _close(fd)
# define read(fd,buffer,count) _read((fd),(buffer),(count))
# define write(fd,buffer,count) _write((fd),(buffer),(count))