search for: ac_check_tool

Displaying 20 results from an estimated 20 matches for "ac_check_tool".

2013 Sep 19
0
[PATCH] also look for host-prefixed ar
This patch changes configure.ac to look for '${host}-ar' as set by AC_CANONICAL_HOST before looking for the unprefixed 'ar'. This is useful when cross-compiling when all your binutils are prefixed. I used AC_CHECK_TOOLS instead of AC_CHECK_TOOL, since autoconf docs say that the former calls AC_SUBST. Applies to OpenSSH portable 6.3p1 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 4a1b503..460addd 100644 --- a/configure.ac +++ b/configure....
2014 Nov 20
2
building NUT on Mac OS X Yosemite
...umentation on Linux systems for now. @aquette considering the context and limited impact, we could simply check for gsort first, and then sort. --- a/configure.ac +++ b/configure.ac @@ -101,6 +101,7 @@ AC_PROG_CXX AC_PROG_INSTALL AC_PROG_EGREP AC_PATH_PROG(AR, ar) +AC_CHECK_PROGS(SORT, gsort sort) AC_CHECK_TOOL(RANLIB, ranlib, :) dnl Postpone call to AC_PROG_LIBTOOL to allow disabling static lib AC_C_BIGENDIAN @JeanPerriault could you please test the above snippet? (apply using 'patch -p0 < /path/to/patch', from within the 'nut' (not -website) top-level source directory @clepple btw, wh...
2017 Jul 14
0
[PATCH 01/27] build: Make OCaml compiler required for all builds.
..., Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -dnl Check for OCaml (optional, for OCaml bindings and OCaml tools). -OCAMLC=no -OCAMLFIND=no +dnl Check for OCaml (required, for OCaml bindings and OCaml tools). + +dnl OCAMLC and OCAMLFIND have to be unset first, otherwise +dnl AC_CHECK_TOOL (inside AC_PROG_OCAML) will not look. +OCAMLC= +OCAMLFIND= +AC_PROG_OCAML +AC_PROG_FINDLIB + +AS_IF([test "x$OCAMLC" = "xno"],[ + AC_MSG_ERROR([OCaml compiler is required]) +]) + +AS_IF([test "x$OCAMLFIND" = "xno"],[ + AC_MSG_ERROR([OCaml findlib is req...
2014 Nov 20
0
building NUT on Mac OS X Yosemite (website/documentation)
...e > considering the context and limited impact, we could simply check for gsort first, and then sort. > --- a/configure.ac > +++ b/configure.ac > @@ -101,6 +101,7 @@ AC_PROG_CXX > AC_PROG_INSTALL > AC_PROG_EGREP > AC_PATH_PROG(AR, ar) > +AC_CHECK_PROGS(SORT, gsort sort) > AC_CHECK_TOOL(RANLIB, ranlib, :) > dnl Postpone call to AC_PROG_LIBTOOL to allow disabling static lib > AC_C_BIGENDIAN Just to clarify, the sort error is only when building nut-website: sort: stray character in field spec: invalid field specification `4.1,4.5rV' Also, you had mentioned dependencies...
2020 Aug 18
1
Re: [PATCH nbdkit 3/9] server: Add general replacements for missing functions using LIBOBJS.
...LIBNBDKIT_ON_WINDOWS]) > +AM_CONDITIONAL([IS_WINDOWS],[test "x$is_windows" = "xyes"]) > + > +dnl For Windows, look for the mc/windmc utility. > +dnl XXX Do we need to check for mc.exe as well? > +AS_IF([test "x$is_windows" = "xyes"],[ > + AC_CHECK_TOOLS([MC],[windmc mc],[no]) > + AS_IF([test "x$MC" = "xno"], > + [AC_MSG_ERROR([mc/windmc utility must be available when compiling for Windows])]) > +]) That's true for native windows, but not for cygwin. This one looks like our grouping of Cygwin as bein...
2005 Mar 06
1
Detecting KLIBC from userspace
...Use this to link the tools to klibc. Set KLCC to the absolute file name of klcc if not in the PATH. ], \ KLIBC=yes, KLIBC=no) if test x$KLIBC = xyes; then dnl Basic cross compiling support. I do not think it is wise to use dnl AC_CHECK_TOOL, because if we are cross compiling, we do not want dnl just 'klcc' to be returned ... if test x$cross_compiling = xyes; then AC_CHECK_PROGS(KLCC, ${host_alias}-klcc, no) else AC_CHECK_PROGS(KLCC, klcc, no) fi if test x$...
2015 Feb 19
4
[Bug 2352] New: also look for host-prefixed ar, to avoid using ie /usr/bin/ar when cross compiling
https://bugzilla.mindrot.org/show_bug.cgi?id=2352 Bug ID: 2352 Summary: also look for host-prefixed ar, to avoid using ie /usr/bin/ar when cross compiling Product: Portable OpenSSH Version: -current Hardware: Other OS: Linux Status: NEW Severity: enhancement Priority: P5
2014 Nov 23
0
building NUT on Mac OS X Yosemite (website/documentation)
...ly check for gsort first, and then sort. >>> --- a/configure.ac >>> +++ b/configure.ac >>> @@ -101,6 +101,7 @@ AC_PROG_CXX >>> AC_PROG_INSTALL >>> AC_PROG_EGREP >>> AC_PATH_PROG(AR, ar) >>> +AC_CHECK_PROGS(SORT, gsort sort) >>> AC_CHECK_TOOL(RANLIB, ranlib, :) >>> dnl Postpone call to AC_PROG_LIBTOOL to allow disabling static lib >>> AC_C_BIGENDIAN >> >> Just to clarify, the sort error is only when building nut-website: >> >> sort: stray character in field spec: invalid field specification `...
2014 Nov 23
6
building NUT on Mac OS X Yosemite (website/documentation)
...nd limited impact, we could simply check for gsort first, and then sort. >> --- a/configure.ac >> +++ b/configure.ac >> @@ -101,6 +101,7 @@ AC_PROG_CXX >> AC_PROG_INSTALL >> AC_PROG_EGREP >> AC_PATH_PROG(AR, ar) >> +AC_CHECK_PROGS(SORT, gsort sort) >> AC_CHECK_TOOL(RANLIB, ranlib, :) >> dnl Postpone call to AC_PROG_LIBTOOL to allow disabling static lib >> AC_C_BIGENDIAN > > Just to clarify, the sort error is only when building nut-website: > > sort: stray character in field spec: invalid field specification `4.1,4.5rV' > &gt...
2013 Feb 13
4
[PATCH 0/3] FLASK policy build rework
These patches update the example FLASK policy shipped with Xen and enable its build if the required tools are present. The third patch requires rerunning autoconf to update tools/configure. [PATCH 1/3] flask/policy: sort dom0 accesses [PATCH 2/3] flask/policy: rework policy build system [PATCH 3/3] tools/flask: add FLASK policy to build
2015 Jul 28
0
Wine release 1.7.48
...t run check_filter() on core contexts. wined3d: Allow to apply extension emulation wrappers independently. wined3d: Don't crash when emulating GL_EXT_fogcoord. wined3d: Only install emulation wrappers when required. Michael M?ller (1): aclocal.m4: Search for otool using AC_CHECK_TOOL. Michael Stefaniuc (6): include: Add IAMVfwCaptureDialogs declaration. qcap: Remove initialization code from QI of VfwCapture. qcap: There can be only ONE QueryInterface in VfwCapture!. qcap: Support COM aggregation in VfwCapture. qcap/tests: Add COM tests for VfwCapt...
2015 Oct 27
1
[PATCH] configure: Move language binding detection to separate files.
This commit starts to split our massive, monolithic configure.ac file into smaller files, using the m4_include mechanism to combine them. I don't know if we should really do this, so I'm open to comments about it. However: - Our configure.ac script is 1800+ lines long, and that's pretty long. - configure.ac lacks structure; splitting it up might improve that. - From what I read,
2019 Jan 14
6
[PATCH nbdkit incomplete 0/5] Port to Windows.
This is an incomplete port to Windows. Currently the server compiles and starts up successfully, but goes into an infinite loop when you connect to it. Nevertheless I think the approach is ready for feedback. This being Windows the changes go quite deep. Rich.
2020 Aug 18
0
[PATCH nbdkit 3/9] server: Add general replacements for missing functions using LIBOBJS.
..._ON_WINDOWS]) AC_SUBST([LINK_LIBNBDKIT_ON_WINDOWS]) +AM_CONDITIONAL([IS_WINDOWS],[test "x$is_windows" = "xyes"]) + +dnl For Windows, look for the mc/windmc utility. +dnl XXX Do we need to check for mc.exe as well? +AS_IF([test "x$is_windows" = "xyes"],[ + AC_CHECK_TOOLS([MC],[windmc mc],[no]) + AS_IF([test "x$MC" = "xno"], + [AC_MSG_ERROR([mc/windmc utility must be available when compiling for Windows])]) +]) AC_SEARCH_LIBS([getaddrinfo], [network socket]) @@ -1107,6 +1127,8 @@ AC_CONFIG_FILES([Makefile commo...
2020 Aug 20
0
[PATCH nbdkit 01/13] common/replacements: Replace missing functions using LIBOBJS.
...([$is_windows]) AC_SUBST([NO_UNDEFINED_ON_WINDOWS]) +AM_CONDITIONAL([IS_WINDOWS],[test "x$is_windows" = "xyes"]) + +dnl For Windows, look for the mc/windmc utility. +dnl XXX Do we need to check for mc.exe as well? +AS_IF([test "x$is_windows" = "xyes"],[ + AC_CHECK_TOOLS([MC],[windmc mc],[no]) + AS_IF([test "x$MC" = "xno"], + [AC_MSG_ERROR([mc/windmc utility must be available when compiling for Windows])]) +]) AC_SEARCH_LIBS([getaddrinfo], [network socket]) @@ -1105,6 +1125,8 @@ AC_CONFIG_FILES([Makefile commo...
2020 Aug 18
15
[PATCH nbdkit 0/9] Port to Windows.
Also available here: https://github.com/rwmjones/nbdkit/tree/2020-windows-mingw This is the port to Windows using native Windows APIs (not MSYS or Cygwin). This patch series is at the point where it basically now works. I can run the server with the memory plugin, and access it remotely using guestfish, creating filesystems and so on without any apparent problems. Nevertheless there are many
2020 Aug 20
15
[PATCH nbdkit 0/13] Port to Windows without using a separate library.
Also available here: https://github.com/rwmjones/nbdkit/tree/2020-windows-mingw-nolib After a lot of work I have made the port to Windows work without using a separate library. Instead, on Windows only, we build an "import library" (library of stubs) which resolves references to nbdkit_* functions in the main program and fixes up the plugin, basically the first technique outlined in
2009 Aug 03
1
[PATCH 1/2] Convert all TABs-as-indentation to spaces.
...lete (); + } + catch (Exception exn) { + System.err.println (exn); + System.exit (1); + } } } diff --git a/m4/ocaml.m4 b/m4/ocaml.m4 index fa8c4ce..fddd6a0 100644 --- a/m4/ocaml.m4 +++ b/m4/ocaml.m4 @@ -26,15 +26,15 @@ AC_DEFUN([AC_PROG_OCAML], AC_CHECK_TOOL([OCAMLOPT],[ocamlopt],[no]) OCAMLBEST=byte if test "$OCAMLOPT" = "no"; then - AC_MSG_WARN([Cannot find ocamlopt; bytecode compilation only.]) + AC_MSG_WARN([Cannot find ocamlopt; bytecode compilation only.]) else - TMPVERSION=`$OCAMLOPT -v | sed -n -e ...
2015 Oct 29
16
[PATCH 00/16] Refactoring of configure.ac and guestfs.pod
Two (not related to each other) refactorings: Patches 1-12 split configure.ac into smaller files using the m4_include mechanism. Patches 13-15 split out parts of guestfs.pod (ie. guestfs(3)) into three new manual pages: guestfs-hacking(3) - how to extend and contribute to libguestfs guestfs-internals(3) - architecture and internals guestfs-security(3) - security and CVEs Patch 16 is a
2017 Jul 14
45
[PATCH 00/27] Reimplement many daemon APIs in OCaml.
Previously posted as part of the mega utilities/inspection series here: https://www.redhat.com/archives/libguestfs/2017-June/msg00232.html What I've done is to extract just the parts related to rewriting daemon APIs in OCaml, rebase them on top of the current master, fix a few things, and recompile and test everything. Rich.