Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Adam Osuchowski
Kea
Commits
e3ae30d0
Commit
e3ae30d0
authored
Jan 07, 2014
by
Mukund Sivaraman
Browse files
[3243] Fix use of serial tests harness in configure.ac
parent
be25b97a
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
e3ae30d0
...
@@ -4,13 +4,19 @@
...
@@ -4,13 +4,19 @@
AC_PREREQ([2.59])
AC_PREREQ([2.59])
AC_INIT(bind10, 20130529, bind10-dev@isc.org)
AC_INIT(bind10, 20130529, bind10-dev@isc.org)
AC_CONFIG_SRCDIR(README)
AC_CONFIG_SRCDIR(README)
# serial-tests is not available in automake version before 1.13. In
# automake 1.13 and higher, AM_PROG_INSTALL is undefined, so we'll check
# serial-tests is not available in automake version before 1.13, so
# that and conditionally use serial-tests.
# we'll check that and conditionally use serial-tests. This check is
AM_INIT_AUTOMAKE(
# adopted from code by Richard W.M. Jones:
[foreign]
# https://www.redhat.com/archives/libguestfs/2013-February/msg00102.html
m4_ifndef([AM_PROG_INSTALL], [serial-tests])
m4_define([serial_tests], [
)
m4_esyscmd([automake --version |
head -1 |
awk '{split ($NF,a,"."); if (a[1] == 1 && a[2] >= 12) { print "serial-tests" }}'
])
])
AM_INIT_AUTOMAKE(foreign serial_tests)
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])dnl be backward compatible
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])dnl be backward compatible
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4macros])
AC_CONFIG_MACRO_DIR([m4macros])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment