search for: m4_esyscmd

Displaying 8 results from an estimated 8 matches for "m4_esyscmd".

2015 Nov 04
1
[PATCH] build: Remove support for automake < 1.13.
...include it. Solution is to -dnl test for the version of automake (by running an external command) -dnl and provide it if necessary. Note we have to do this entirely using -dnl m4 macros since automake queries this macro by running -dnl 'autoconf --trace'. -m4_define([serial_tests], [ - m4_esyscmd([automake --version | head -1 | awk ' - { - split ($NF, version, "."); - if (version[1] == 1 && version[2] >= 12) - print "serial-tests"; - }' - ]) -...
2013 Feb 19
0
[PATCH] build: Only add 'serial-tests' for automake >= 1.12.
...ude it. Solution is to +dnl test for the version of automake (by running an external command) +dnl and provide it if necessary. Note we have to do this entirely using +dnl m4 macros since automake queries this macro by running +dnl 'autoconf --trace ...'. +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) dnl NB: Do not [quote] this parameter. m4_ifndef([AM_SILEN...
2013 May 08
1
[PATCH] opusfile configury fixes.
...inlined below. The last hunk touching the AC_CHECK_HEADER use is needed for me, otherwise the generated configure is broken (using autoconf-2.63, newer versions are _possibly_ OK with the existing syntax). Patch is below. --- configure.ac~ +++ configure.ac @@ -2,16 +2,15 @@ AC_INIT([opusfile], m4_esyscmd([doc/git-version.sh])) +m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) + +AC_CONFIG_MACRO_DIR([m4]) + AC_USE_SYSTEM_EXTENSIONS AC_SYS_LARGEFILE AM_INIT_AUTOMAKE([1.11 foreign]) AM_MAINTAINER_MODE([enable]) -LT_INIT - -m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) - -AC_CONFIG_M...
2013 Oct 01
2
Unknown versions in git.
bat guano wrote: >> >> "script failed to extract a version" > > Shouldn't the "update_version" scripts be called during the autogen.sh processes? It's run by configure (look for the CURRENT_VERSION definition).
2013 Oct 01
2
Unknown versions in git.
...t found configure.ac:3 dnl The package_version file will be automatically synced to the git revision dnl by the update_version script when configured in the repository, but will dnl remain constant in tarball releases unless it is manually edited. m4_define([CURRENT_VERSION], m4_esyscmd([ ./update_version 2>/dev/null || true if test -e package_version; then . ./package_version printf "$PACKAGE_VERSION" else printf "unknown"...
2015 Nov 05
1
[PATCH v2] build: Drop serial_tests.
I pushed the (hopefully) completely non-controversial bits upstream: https://github.com/libguestfs/libguestfs/commit/8a72616bf7bc686ad4d033482541fcd73c148b53 https://github.com/libguestfs/libguestfs/commit/b20d36aa1bcabfe1e5eefcf47b727280a6474be8 This patch is what remains. Rich.
2015 Nov 06
1
[PATCH v3] build: Drop serial_tests.
Same as v2, except: - Drop the RUN_OUTPUT_FILE functionality completely. It will be replaced with enhanced .trs files as discussed. - Rebase on head. Rich.
2015 Nov 05
1
[PATCH 1/2] test-data: phony-guests: Don't use *.tmp.* temporary files.
--- test-data/phony-guests/Makefile.am | 3 +-- test-data/phony-guests/make-archlinux-img.sh | 4 ++-- test-data/phony-guests/make-coreos-img.sh | 10 ++++---- test-data/phony-guests/make-debian-img.sh | 10 ++++---- test-data/phony-guests/make-fedora-img.pl | 34 ++++++++++++++-------------- test-data/phony-guests/make-ubuntu-img.sh | 14 ++++++------