Add compat for RHEL-5 autoconf

This commit is contained in:
Daniel P. Berrange 2008-04-30 15:54:40 +00:00
parent d50cce8815
commit a9420c223e
2 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Tue Apr 29 11:54:28 EST 2008 Daniel P. Berrange <berrange@redhat.com>
* configure.in: Add compatability macros AC_CHECK_*_ONCE for
older autoconf (RHEL-5 vintage)
Tue Apr 29 08:13:28 EST 2008 Daniel P. Berrange <berrange@redhat.com>
* src/qemu_conf.c, src/qemu_conf.h, src/xend_internal.c,

View File

@ -41,6 +41,17 @@ m4_ifndef([m4_foreach_w],
[m4_define([m4_foreach_w],
[m4_foreach([$1], m4_split(m4_normalize([$2]), [ ]), [$3])])])
dnl Compatability macros for RHEL-5 era autoconf
m4_ifndef([AC_CHECK_HEADERS_ONCE],
[m4_define([AC_CHECK_HEADERS_ONCE],
[AC_CHECK_HEADERS([$1])])])
m4_ifndef([AC_CHECK_DECLS_ONCE],
[m4_define([AC_CHECK_DECLS_ONCE],
[AC_CHECK_DECLS([$1])])])
m4_ifndef([AC_CHECK_FUNCS_ONCE],
[m4_define([AC_CHECK_FUNCS_ONCE],
[AC_CHECK_FUNCS([$1])])])
gl_EARLY
gl_INIT