Lines Matching +full:libbsd +full:- +full:dev
11 dnl Copyright (c) 2000-2005 Fred L. Drake, Jr. <fdrake@users.sourceforge.net>
12 dnl Copyright (c) 2001-2003 Greg Stein <gstein@users.sourceforge.net>
13 dnl Copyright (c) 2006-2012 Karl Waclawek <karl@waclawek.net>
14 dnl Copyright (c) 2016-2024 Sebastian Pipping <sebastian@pipping.org>
17 dnl Copyright (c) 2017-2020 Joe Orton <jorton@redhat.com>
20 dnl Copyright (c) 2018 Marco Maggi <marco.maggi-ipsu@poste.it>
26 dnl Copyright (c) 2024 Dag-Erling Smørgrav <des@des.dev>
52 dnl the command at m4-generation time. This allows us to create an m4
54 dnl version number at m4-time, rather than when ./configure is run, so
59 dnl test. I believe this test will work, but I don't have a place with non-
63 [esyscmd(conftools/get-version.sh lib/expat.h)],
73 AM_MAINTAINER_MODE([enable]) # to allow argument --disable-maintainer-mode
102 LT_INIT([win32-dll])
115 [AX_APPEND_COMPILE_FLAGS([-Wall -Wextra], [AM_CFLAGS])
116 dnl Be careful about adding the -fexceptions option; some versions of
119 AX_APPEND_COMPILE_FLAGS([-fexceptions], [AM_CFLAGS])
120 AX_APPEND_COMPILE_FLAGS([-fno-strict-aliasing -Wmissing-prototypes -Wstrict-prototypes], [AM_CFLAGS])
121 AX_APPEND_COMPILE_FLAGS([-pedantic -Wduplicated-cond -Wduplicated-branches -Wlogical-op], [AM_CFLAGS])
122 AX_APPEND_COMPILE_FLAGS([-Wrestrict -Wnull-dereference -Wjump-misses-init -Wdouble-promotion], [AM_CFLAGS])
123 AX_APPEND_COMPILE_FLAGS([-Wshadow -Wformat=2 -Wno-pedantic-ms-format -Wmisleading-indentation], [AM_CFLAGS])])
129 [AX_APPEND_COMPILE_FLAGS([-Wall -Wextra], [AM_CXXFLAGS])
130 dnl Be careful about adding the -fexceptions option; some versions of
133 AX_APPEND_COMPILE_FLAGS([-fexceptions], [AM_CXXFLAGS])
134 AX_APPEND_COMPILE_FLAGS([-fno-strict-aliasing], [AM_CXXFLAGS])])
138 [AX_APPEND_LINK_FLAGS([-fno-strict-aliasing],[AM_LDFLAGS])])
143 [*linux*],[archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'])])
146 AX_APPEND_FLAG([-fvisibility=hidden], [AM_CFLAGS])
148 [AX_APPEND_FLAG([-DXML_ENABLE_VISIBILITY=1], [AM_CPPFLAGS])])])
167 [AS_HELP_STRING([--without-xmlwf], [do not build xmlwf])],
173 [AS_HELP_STRING([--without-examples], [do not build examples @<:@default=included@:>@])],
179 [AS_HELP_STRING([--without-tests], [do not build tests @<:@default=included@:>@])],
195 AM_CONDITIONAL([UNICODE], [echo -- "${CPPFLAGS}${CFLAGS}" | ${FGREP} XML_UNICODE >/dev/null])
196 AM_CONDITIONAL([_INTERNAL_UNICODE_WCHAR_T], [echo -- "${CPPFLAGS}${CFLAGS}" | ${FGREP} XML_UNICODE_WCHAR_T >/dev/null])
197 AM_CONDITIONAL([_INTERNAL_MIN_SIZE], [echo -- "${CPPFLAGS}${CFLAGS}" | ${FGREP} XML_MIN_SIZE >/dev/null])
198 AM_CONDITIONAL([_INTERNAL_LARGE_SIZE], [echo -- "${CPPFLAGS}${CFLAGS}" | ${FGREP} XML_LARGE_SIZE >/dev/null])
202 AC_ARG_WITH([libbsd],
203 [AS_HELP_STRING([--with-libbsd], [utilize libbsd (for arc4random_buf)])],
211 [AC_MSG_ERROR([Enforced use of libbsd cannot be satisfied.])])])])
212 AC_MSG_CHECKING([for arc4random_buf (BSD, libbsd or glibc 2.36+)])
229 AC_MSG_CHECKING([for arc4random (BSD, macOS, libbsd or glibc 2.36+)])
246 [AS_HELP_STRING([--with-getrandom],
248 AS_HELP_STRING([--without-getrandom],
266 [AC_MSG_ERROR([enforced the use of getrandom --with-getrandom, but not detected])])])])
269 [AS_HELP_STRING([--with-sys-getrandom],
271 AS_HELP_STRING([--without-sys-getrandom],
292 [AC_MSG_ERROR([enforced the use of syscall SYS_getrandom --with-sys-getrandom, but not detected])])])])
313 [Define to include code reading entropy from `/dev/urandom'.])
315 AC_ARG_ENABLE([xml-attr-info],
316 [AS_HELP_STRING([--enable-xml-attr-info],
324 AC_ARG_ENABLE([xml-context],
325 AS_HELP_STRING([--enable-xml-context @<:@COUNT@:>@],
328 AS_HELP_STRING([--disable-xml-context],
333 -o "x${enable_xml_context}" = "x"],
340 [AS_HELP_STRING([--with-docbook],
342 AS_HELP_STRING([--without-docbook],
347 AC_ARG_VAR([DOCBOOK_TO_MAN], [docbook2x-man command])
349 [AC_CHECK_PROGS([DOCBOOK_TO_MAN], [docbook2x-man db2x_docbook2man docbook2man docbook-to-man])])
350 AS_IF([test "x${DOCBOOK_TO_MAN}" = x -a "x$with_docbook" = xyes],
351 [AC_MSG_ERROR([Required program 'docbook2x-man' not found.])])
352 AS_IF([test "x${DOCBOOK_TO_MAN}" != x -a "x$with_docbook" != xno],
353 [AS_IF([${DOCBOOK_TO_MAN} --help | grep -i -q -F sgmlbase],
356 configure to command docbook2x-man of docbook2X.
357 Or use DOCBOOK_TO_MAN="xmlto man --skip-validation" if you have xmlto around.
358 You can also configure using --without-docbook if you can do without a man
361 dnl This will make sure that a release tarball shipping a pre-rendered xmlwf man page will
364 AS_IF([test -f "${srcdir}"/doc/xmlwf.1],
366 AS_IF([test "x$with_docbook" = xno -o "x${DOCBOOK_TO_MAN}" = x],
372 [AS_IF([test "x$with_docbook" != xno -a "x${DOCBOOK_TO_MAN}" != x],
403 PACKAGE_INIT="${srcdir}"/cmake/autotools/expat-package-init.cmake
405 SO_MAJOR="$(expr "${LIBCURRENT}" - "${LIBAGE}")"
423 dnl to have 32-bit and 64-bit versions of libexpat installed on the
443 [darwin*], [CMAKE_NOCONFIG_SOURCE=cmake/autotools/expat-noconfig__macos.cmake.in],
444 [mingw*|cygwin*], [CMAKE_NOCONFIG_SOURCE=cmake/autotools/expat-noconfig__windows.cmake.in],
445 [CMAKE_NOCONFIG_SOURCE=cmake/autotools/expat-noconfig__linux.cmake.in])
448 [cmake/expat-config.cmake]
449 [cmake/autotools/expat-config-version.cmake]
450 [cmake/autotools/expat-noconfig.cmake:${CMAKE_NOCONFIG_SOURCE}]