search for: m4_defin

Displaying 20 results from an estimated 42 matches for "m4_defin".

Did you mean: m4_define
2019 Dec 16
2
[v2v PATCH] build: add --with-extra configure parameter
...the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -AC_INIT([virt-v2v],1.41.8) +# The major, minor, and release fields MUST be numbers. Packagers can +# add extra information using --with-extra="..." which may be any +# freeform string. +m4_define([v2v_major], [1]) +m4_define([v2v_minor], [41]) +m4_define([v2v_release], [8]) + +AC_INIT([virt-v2v],v2v_major.v2v_minor.v2v_release) # Headings within the configure script output. m4_define([HEADING], @@ -37,6 +44,25 @@ AC_CONFIG_MACRO_DIR([m4]) dnl Initialize libtool. LT_INIT +dnl Ex...
2019 Dec 16
0
Re: [v2v PATCH] build: add --with-extra configure parameter
...on, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. > > -AC_INIT([virt-v2v],1.41.8) > +# The major, minor, and release fields MUST be numbers. Packagers can > +# add extra information using --with-extra="..." which may be any > +# freeform string. > +m4_define([v2v_major], [1]) > +m4_define([v2v_minor], [41]) > +m4_define([v2v_release], [8]) > + > +AC_INIT([virt-v2v],v2v_major.v2v_minor.v2v_release) > > # Headings within the configure script output. > m4_define([HEADING], > @@ -37,6 +44,25 @@ AC_CONFIG_MACRO_DIR([m4]) &gt...
2019 Aug 27
0
[nbdkit PATCH 1/2] include: Expose nbdkit version information to public
...(-) create mode 100644 include/nbdkit-version.h.in diff --git a/configure.ac b/configure.ac index ac8b4ba7..1667cb3f 100644 --- a/configure.ac +++ b/configure.ac @@ -29,7 +29,11 @@ # OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. -AC_INIT([nbdkit], [1.13.9]) +m4_define([NBDKIT_VERSION_MAJOR], [1]) +m4_define([NBDKIT_VERSION_MINOR], [13]) +m4_define([NBDKIT_VERSION_MICRO], [9]) +AC_INIT([nbdkit], + NBDKIT_VERSION_MAJOR.NBDKIT_VERSION_MINOR.NBDKIT_VERSION_MICRO) AC_CONFIG_MACRO_DIR([m4]) m4_ifdef([AC_USE_SYSTEM_EXTENSIONS],[], [m4_define([AC_USE...
2013 Feb 19
0
[PATCH] build: Only add 'serial-tests' for automake >= 1.12.
...n 'serial-tests' not recognized Use some m4 hackery to work around this. --- configure.ac | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 105b2e7..b0158c7 100644 --- a/configure.ac +++ b/configure.ac @@ -24,7 +24,21 @@ m4_define([libguestfs_release], [11]) AC_INIT([libguestfs],libguestfs_major.libguestfs_minor.libguestfs_release) AC_CONFIG_AUX_DIR([build-aux]) -AM_INIT_AUTOMAKE([foreign serial-tests]) + +dnl Initialize automake. automake < 1.12 didn't have serial-tests and +dnl gives an error if it sees this,...
2009 Aug 12
1
[PATCH libguestfs] build: enable automake's color-tests option
...od! + *) perl -pi -e 's/(AM_INIT_AUTOMAKE\(\[.*?)\s*color-tests\s*(.*)/$1 $2/'\ + configure.ac daemon/configure.ac ;; +esac + mkdir -p daemon/m4 autoreconf -i diff --git a/configure.ac b/configure.ac index a78ca51..27e5be9 100644 --- a/configure.ac +++ b/configure.ac @@ -24,7 +24,7 @@ m4_define([libguestfs_extra], []) AC_INIT([libguestfs],libguestfs_major.libguestfs_minor.libguestfs_release[]libguestfs_extra) AC_CONFIG_AUX_DIR([build-aux]) -AM_INIT_AUTOMAKE([foreign]) +AM_INIT_AUTOMAKE([foreign color-tests]) m4_ifndef([AM_SILENT_RULES], [m4_define([AM_SILENT_RULES],[])]) AM_SILEN...
2009 Aug 21
2
[virt-v2v] "make distcheck" now passes
...correct typo in package name * configure.ac (PACKAGE_NAME): It's virt-v2v, not virtv2v. --- configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index 204bfb6..9acc430 100644 --- a/configure.ac +++ b/configure.ac @@ -22,7 +22,7 @@ m4_define([virtv2v_release], [68]) # extra can be any string m4_define([virtv2v_extra], []) -AC_INIT([virtv2v],virtv2v_major.virtv2v_minor.virtv2v_release[]virtv2v_extra) +AC_INIT([virt-v2v],virtv2v_major.virtv2v_minor.virtv2v_release[]virtv2v_extra) AC_CONFIG_AUX_DIR([build-aux]) AM_INIT_AUTOMAKE([f...
2015 Aug 04
2
[PATCH] automake: Admit defeat and use 'subdir-objects'.
...llib/mkdtemp-c.c \ + ../customize/perl_edit-c.c \ + ../customize/crypt-c.c \ + ../fish/uri.c \ + ../fish/file-edit.c \ index-scan.c \ index-struct.c \ index-parse.c \ diff --git a/configure.ac b/configure.ac index 5cf582e..8ed6db8 100644 --- a/configure.ac +++ b/configure.ac @@ -47,7 +47,7 @@ m4_define([serial_tests], [ }' ]) ]) -AM_INIT_AUTOMAKE(foreign serial_tests) dnl NB: Do not [quote] this parameter. +AM_INIT_AUTOMAKE(foreign serial_tests subdir-objects) dnl NB: Do not [quote] this parameter. m4_ifndef([AM_SILENT_RULES], [m4_define([AM_SILENT_RULES],[])])...
2019 Aug 27
3
[nbdkit PATCH 0/2] RFC: tighter filter versions
This is not intended for v1.14. In fact, we may decide that the second patch is too gross, although the first one still seems like a useful improvement in isolation. I will also point out that all our filters are in-tree, and set the user-controlled field .version to the current release string. We could replace the second patch with a simpler one that just checks ._api_version as an int (as
2015 Nov 04
1
[PATCH] build: Remove support for automake < 1.13.
...-tests is required so we have to 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"; -...
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.
2010 Mar 21
2
Observations on compiling on Mac OS X 10.5 (Leopard)
I started with: - Mac OS X 10.5.8 - Xcode installed - OCaml from GODI - qemu from git autoconf is really ancient (2.61). It doesn't have AM_SILENT_RULES and although we tried to make things work when autoconf lacks this by having: m4_ifndef([AM_SILENT_RULES], [m4_define([AM_SILENT_RULES],[])]) AM_SILENT_RULES([yes]) # make --enable-silent-rules the default. this nevertheless doesn't work. I had to comment out these two lines in both configure.ac and daemon/configure.ac. There is no libtoolize. I had to manually link build-aux/ltmain.sh -> /usr/share/...
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.
...RRENT_VERSION > > Search string not 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...
2017 Jan 13
0
[PATCH 1/4] Do not override CFLAGS, as CFLAGS is a user flag.
...[$ax_is_release], + [$4]))) + + # If this is a release, override the default. + AS_IF([test "$ax_enable_debug_is_release" = "yes"], + [ax_enable_debug_default="no"]) + + m4_define(ax_enable_debug_vars,[m4_normalize(ifelse([$2],,,[$2]))]) + m4_define(ax_disable_debug_vars,[m4_normalize(ifelse([$3],,[NDEBUG],[$3]))]) + + AC_ARG_ENABLE(debug, + [AS_HELP_STRING([--enable-debug=]@<:@yes/info/profile/no@:>@,[compile with debugging])], + [],enable_debug=$ax_enable_debu...
2009 Aug 10
1
[PATCH libguestfs] build: daemon/do_debug: parameters aren't always unused
...se "make V=1". * daemon/configure.ac: Likewise. --- configure.ac | 1 + daemon/configure.ac | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/configure.ac b/configure.ac index cf0591d..f2d05dd 100644 --- a/configure.ac +++ b/configure.ac @@ -25,6 +25,7 @@ m4_define([libguestfs_extra], []) AC_INIT([libguestfs],libguestfs_major.libguestfs_minor.libguestfs_release[]libguestfs_extra) AC_CONFIG_AUX_DIR([build-aux]) AM_INIT_AUTOMAKE([foreign]) +AM_SILENT_RULES([yes]) # make --enable-silent-rules the default. AC_CONFIG_MACRO_DIR([m4]) diff --git a/daemon/co...
2017 Jan 15
0
[PATCH 1/2] Do not override CFLAGS, as CFLAGS is a user flag.
...[$ax_is_release], + [$4]))) + + # If this is a release, override the default. + AS_IF([test "$ax_enable_debug_is_release" = "yes"], + [ax_enable_debug_default="no"]) + + m4_define(ax_enable_debug_vars,[m4_normalize(ifelse([$2],,,[$2]))]) + m4_define(ax_disable_debug_vars,[m4_normalize(ifelse([$3],,[NDEBUG],[$3]))]) + + AC_ARG_ENABLE(debug, + [AS_HELP_STRING([--enable-debug=]@<:@yes/info/profile/no@:>@,[compile with debugging])], + [],enable_debug=$ax_enable_debu...
2017 Jun 12
0
AIX lacks getopt_long
...e source file is # expected is derived from the gnulib-tool parameterization, # and alloca is special cased (for the alloca-opt module). # We could also entirely rely on EXTRA_lib..._SOURCES. AC_DEFUN([gl_LIBSOURCES], [ m4_foreach([_gl_NAME], [$1], [ m4_if(_gl_NAME, [alloca.c], [], [ m4_define([gl_LIBSOURCES_DIR], [lib]) m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ]) ]) ]) ]) # Like AC_LIBOBJ, except that the module name goes # into gltests_LIBOBJS instead of into LIBOBJS. AC_DEFUN([gltests_LIBOBJ], [ AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl gltests_LIB...
2013 Oct 28
1
Stale NTP in FreeBSD
...) 2012-12-30 FreeBSD 9.1-RELEASE (with ntpd 4.2.4p8) 2013-06-09 FreeBSD 8.4-RELEASE (with ntpd 4.2.4p5) 2013-09-30 FreeBSD 9.2-RELEASE (with ntpd 4.2.4p8) [soon] FreeBSD 10.0-RELEASE (still with ntpd 4.2.4p8?) rwpc15> cd /usr/src && svn cat ^/stable/10/contrib/ntp/version.m4 m4_define([VERSION_NUMBER],[4.2.4p8]) The version of ntp in FreeBSD has been 'legacy' since December 2009 (almost 4 years ago). Is there a technical reason why we are stuck at 4.2.4 or is it simply lack of volunteer resources? Perhaps ntp (and some of the other imported software in the base) is j...
2009 Oct 25
1
[PATCH] Use pkg-config (if available) to detect libogg. Fall back to old method if pkg-config fails.
...CONFIG])dnl +AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl +AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl + +pkg_failed=no +AC_MSG_CHECKING([for $2 ]) + +_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) +_PKG_CONFIG([$1][_LIBS], [libs], [$2]) + +m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS +and $1[]_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details.]) + +if test $pkg_failed = yes; then + _PKG_SHORT_ERRORS_SUPPORTED + if test $_pkg_short_errors_supported...