Lines Matching +full:- +full:- +full:gcov +full:- +full:options
9 AM_INIT_AUTOMAKE([-Wall -Werror -Wno-portability subdir-objects foreign tar-ustar])
13 AC_CONFIG_HEADERS([config.h:config.in])dnl Keep filename to 8.3 for MS-DOS.
32 dnl COMPILE_DATE is defined by the debian/rules file and if it is - we want to use
52 TLSDATE_CA_ROOTS="${sysconfdir}/$PACKAGE_NAME/ca-roots"
59 dnl HTTPS User-agent
60 AC_ARG_WITH([https-user-agent],
61 [AS_HELP_STRING([--with-https-user-agent=AGENT],
62 [a User-Agent value to send when running in HTTPS mode])],
67 [User-Agent value to send when running as an HTTPS client])
74 [AS_HELP_STRING([--with-polarssl=DIR],
84 SSL_LIBS="-lssl -lcrypto"
87 AS_IF([test -z "${POLARSSL_DIR}"], [
106 addld=-L${POLARSSL_DIR}/lib$libsuff
107 addcflags=-I${POLARSSL_DIR}/include
111 AS_IF([test "$addcflags" != "-I/usr/include"], [
129 SSL_LIBS="-lpolarssl"
131 AS_IF([test -n "$polarssllib"], [
132 dnl when shared libs were found in a path that the run-time
199 *-darwin*)
203 AC_ARG_WITH([unpriv-group],
204 [AS_HELP_STRING([--with-unpriv-group=<group>],
211 *-freebsd*)
216 dnl If the autoconf goo picks up a compiler that runs in pre-POSIX mode,
221 AC_ARG_WITH([unpriv-group],
222 [AS_HELP_STRING([--with-unpriv-group=<group>],
229 *kfreebsd*-gnu*)
232 dnl Check for clock_gettime. Some systems put it into -lc, while
233 dnl others use -lrt. Try the first and fallback to the latter.
236 [AC_CHECK_LIB([rt], [clock_gettime], [RT_LIB="-lrt"],
239 dnl If the autoconf goo picks up a compiler that runs in pre-POSIX mode,
244 AC_ARG_WITH([unpriv-group],
245 [AS_HELP_STRING([--with-unpriv-group=<group>],
252 *-netbsd*)
262 AC_ARG_WITH([unpriv-group],
263 [AS_HELP_STRING([--with-unpriv-group=<group>],
270 *-openbsd*)
275 dnl If the autoconf goo picks up a compiler that runs in pre-POSIX mode,
280 AC_ARG_WITH([unpriv-group],
281 [AS_HELP_STRING([--with-unpriv-group=<group>],
293 dnl If the autoconf goo picks up a compiler that runs in pre-POSIX mode,
298 AC_ARG_WITH([unpriv-group],
299 [AS_HELP_STRING([--with-unpriv-group=<group>],
306 *-bsd*)
312 dnl If the autoconf goo picks up a compiler that runs in pre-POSIX mode,
317 AC_ARG_WITH([unpriv-group],
318 [AS_HELP_STRING([--with-unpriv-group=<group>],
325 *-linux*)
327 dnl Check for clock_gettime. Some systems put it into -lc, while
328 dnl others use -lrt. Try the first and fallback to the latter.
331 [AC_CHECK_LIB([rt], [clock_gettime], [RT_LIB="-lrt"],
334 AC_ARG_WITH([unpriv-group],
335 [AS_HELP_STRING([--with-unpriv-group=<group>],
342 *-linux-androideabi)
350 *-gnu0.*)
352 dnl Check for clock_gettime. Some systems put it into -lc, while
353 dnl others use -lrt. Try the first and fallback to the latter.
356 [AC_CHECK_LIB([rt], [clock_gettime], [RT_LIB="-lrt"],
359 dnl If the autoconf goo picks up a compiler that runs in pre-POSIX mode,
364 AC_ARG_WITH([unpriv-group],
365 [AS_HELP_STRING([--with-unpriv-group=<group>],
372 *-cygwin*)
374 dnl Check for clock_gettime. Some systems put it into -lc, while
375 dnl others use -lrt. Try the first and fallback to the latter.
378 [AC_CHECK_LIB([rt], [clock_gettime], [RT_LIB="-lrt"],
381 AC_ARG_WITH([unpriv-group],
382 [AS_HELP_STRING([--with-unpriv-group=<group>],
389 *-mingw32*)
391 dnl Check for clock_gettime. Some systems put it into -lc, while
392 dnl others use -lrt. Try the first and fallback to the latter.
395 [AC_CHECK_LIB([rt], [clock_gettime], [RT_LIB="-lrt"],
398 AC_ARG_WITH([unpriv-group],
399 [AS_HELP_STRING([--with-unpriv-group=<group>],
406 *-beos*|*-haiku*)
408 dnl Check for clock_gettime. Some systems put it into -lc, while
409 dnl others use -lrt. Try the first and fallback to the latter.
413 [AC_CHECK_LIB([rt], [clock_gettime], [RT_LIB="-lrt"],
416 AC_ARG_WITH([unpriv-group],
417 [AS_HELP_STRING([--with-unpriv-group=<group>],
423 LDFLAGS="$LDFLAGS -lbsd"
424 CC="/boot/develop/abi/x86/gcc4/tools/gcc-4.6.3-haiku-121101/bin/gcc"
427 AC_ARG_WITH([unpriv-group],
428 [AS_HELP_STRING([--with-unpriv-group=<group>],
442 AC_ARG_WITH([unpriv-user],
443 [AS_HELP_STRING([--with-unpriv-user=<user>],
454 AC_ARG_WITH([dbus-client-group],
455 [AS_HELP_STRING([--with-dbus-client-group=<group>],
464 dnl Check for clock_gettime. Some systems put it into -lc, while
465 dnl others use -lrt. Try the first and fallback to the latter.
468 [AC_CHECK_LIB([rt], [clock_gettime], [RT_LIB="-lrt"],
476 [AS_HELP_STRING([--disable-dbus],
479 PKG_CHECK_MODULES([DBUS], [dbus-1], [
496 [AS_HELP_STRING([--enable-seccomp-filter],
516 #include "src/seccomp-compat.h"
528 [ AC_MSG_RESULT([cross-compiling, assuming yes])
543 [AS_HELP_STRING([--enable-seccomp-debugging],
552 AC_MSG_CHECKING([for CrOS-specific platform wake event support])
554 [AS_HELP_STRING([--disable-cros],
557 AS_IF([test "x$enable_cros" = xyes -a "x$enable_dbus" != xyes ], [
558 AC_MSG_ERROR([--enable-dbus is required for --enable-cros])
573 AC_ARG_ENABLE([hardened-checks],
574 [AS_HELP_STRING([--disable-hardened-checks],
575 [Disable automatically enabling hardened toolchain options])])
581 AX_APPEND_COMPILE_FLAGS([-g -O1])
585 AX_APPEND_COMPILE_FLAGS([-Wall -fno-strict-aliasing])
587 AX_APPEND_COMPILE_FLAGS([-D_FORTIFY_SOURCE=2 -fstack-protector-all])
588 AX_APPEND_COMPILE_FLAGS([-fwrapv -fPIE -Wstack-protector])
589 AX_APPEND_COMPILE_FLAGS([--param=ssp-buffer-size=1])
590 AX_CHECK_LINK_FLAG([-z relro -z now])
591 AX_CHECK_LINK_FLAG([-pie])
597 AC_ARG_ENABLE([code-coverage-checks],
598 [AS_HELP_STRING([--enable-code-coverage-checks],
599 [Enable gcov/lcov compile time options])],
600 [AX_APPEND_COMPILE_FLAGS([-ftest-coverage -fprofile-arcs])])