]> git.proxmox.com Git - swtpm.git/blame - configure.ac
build-sys: Use AC_COMPILE_IFELSE to check for unused linker flags (clang)
[swtpm.git] / configure.ac
CommitLineData
f163b202
SB
1#
2# configure.ac
3#
4# The Initial Developer of the Original Code is International
5# Business Machines Corporation. Portions created by IBM
6# Corporation are Copyright (C) 2014 International Business
7# Machines Corporation. All Rights Reserved.
8#
9# This program is free software; you can redistribute it and/or modify
10# it under the terms of the Common Public License as published by
11# IBM Corporation; either version 1 of the License, or (at your option)
12# any later version.
13#
14# This program is distributed in the hope that it will be useful,
15# but WITHOUT ANY WARRANTY; without even the implied warranty of
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17# Common Public License for more details.
18#
19# You should have received a copy of the Common Public License
20# along with this program; if not, a copy can be viewed at
21# http://www.opensource.org/licenses/cpl1.0.php.
22#
23# This file is derived from tpm-tool's configure.in.
24#
25
3e3d2c82 26AC_INIT(swtpm, 0.4.0)
f163b202
SB
27AC_PREREQ(2.12)
28AC_CONFIG_SRCDIR(Makefile.am)
29AC_CONFIG_HEADER(config.h)
30
31SWTPM_VER_MAJOR=`echo $PACKAGE_VERSION | cut -d "." -f1`
32SWTPM_VER_MINOR=`echo $PACKAGE_VERSION | cut -d "." -f2`
33SWTPM_VER_MICRO=`echo $PACKAGE_VERSION | cut -d "." -f3`
34
35AC_SUBST([SWTPM_VER_MAJOR])
36AC_SUBST([SWTPM_VER_MINOR])
37AC_SUBST([SWTPM_VER_MICRO])
38
39dnl Check for programs
40AC_PROG_CC
41AC_PROG_INSTALL
42AC_PROG_LN_S
908afaf5 43LT_INIT
f163b202 44
f163b202
SB
45AC_CONFIG_MACRO_DIR([m4])
46AC_CANONICAL_TARGET
c3fdf688 47AC_CANONICAL_HOST
f163b202 48AM_INIT_AUTOMAKE([foreign 1.6])
13cb26d8 49AM_SILENT_RULES([yes])
f163b202
SB
50
51DEBUG=""
52AC_MSG_CHECKING([for debug-enabled build])
53AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug], [create a debug build]),
54 [if test "$enableval" = "yes"; then
55 DEBUG="yes"
56 AC_MSG_RESULT([yes])
57 else
58 DEBUG="no"
59 AC_MSG_RESULT([no])
60 fi],
61 [DEBUG="no",
62 AC_MSG_RESULT([no])])
63
64# If the user has not set CFLAGS, do something appropriate
65test_CFLAGS=${CFLAGS+set}
66if test "$test_CFLAGS" != set; then
33be7be2 67 if test "$DEBUG" = "yes"; then
f163b202
SB
68 CFLAGS="-O0 -g -DDEBUG"
69 else
70 CFLAGS="-g -O2"
71 fi
33be7be2 72elif test "$DEBUG" = "yes"; then
f163b202
SB
73 CFLAGS="$CFLAGS -O0 -g -DDEBUG"
74fi
75
e46a2b66
SB
76AC_HEADER_STDC
77AC_C_CONST
78AC_C_INLINE
79
80AC_TYPE_SIZE_T
81AC_TYPE_SIGNAL
82
baecda40
SB
83AC_PROG_CC
84AC_PROG_INSTALL
3cb54a5d 85AC_PROG_MKDIR_P
e46a2b66 86
ec37bb56
SB
87AC_ARG_WITH([selinux],
88 AS_HELP_STRING([--with-selinux],
89 [add SELinux policy extensions @<:@default=check@:>@]))
90m4_divert_text([DEFAULTS], [with_selinux=check])
91
92dnl Check for SELinux policy support
93
94if test "$with_selinux" != "no"; then
95 if test "$with_selinux" = "check" || test "$with_selinux" = "yes"; then
96 if ! test -f /usr/share/selinux/devel/Makefile; then
97 if test "$with_selinux" = "yes"; then
98 AC_MSG_ERROR("Is selinux-policy-devel installed?")
99 else
100 with_selinux="no"
101 fi
102 fi
103 AC_PATH_PROG([SEMODULE], semodule)
33be7be2 104 if test "x$SEMODULE" = "x"; then
ec37bb56
SB
105 if test "$with_selinux" = "yes"; then
106 AC_MSG_ERROR("Is selinux-policy-devel installed?")
107 else
108 with_selinux="no"
109 fi
110 fi
111 if test "$with_selinux" = "check"; then
112 with_selinux="yes"
113 fi
114 fi
115fi
33be7be2 116AM_CONDITIONAL([WITH_SELINUX], [test "x$with_selinux" = "xyes"])
ec37bb56 117
b096be26
SB
118if test "$prefix" = "/usr" && test "$sysconfdir" = '${prefix}/etc'; then
119 sysconfdir="/etc"
120fi
121if test "$prefix" = "" && test "$datarootdir" = '${prefix}/share'; then
122 datarootdir="/usr/share"
123fi
d16b86b7
SB
124if test "$prefix" = "/usr" && test "$localstatedir" = '${prefix}/var'; then
125 localstatedir="/var"
126fi
5d35321e
SB
127if test "x$prefix" = "xNONE"; then
128 prefix="/usr/local"
129fi
0432b653
SB
130SYSCONFDIR=`eval echo $sysconfdir`
131DATAROOTDIR=`eval echo $datarootdir`
d16b86b7 132LOCALSTATEDIR=`eval echo $localstatedir`
0432b653
SB
133AC_SUBST([SYSCONFDIR])
134AC_SUBST([DATAROOTDIR])
d16b86b7 135AC_SUBST([LOCALSTATEDIR])
b096be26 136
7849b6c6 137cryptolib=openssl
3bbdd7bc
SB
138
139AC_ARG_WITH([openssl],
7849b6c6
SB
140 [AS_HELP_STRING([--with-openssl],
141 [build with openssl library])],
142 [],
143 [])
3bbdd7bc
SB
144
145case "$cryptolib" in
3bbdd7bc 146openssl)
7849b6c6
SB
147 AC_CHECK_LIB(crypto,
148 [AES_set_encrypt_key],
b78b6af2 149 [true],
7849b6c6
SB
150 AC_MSG_ERROR(Faulty openssl crypto library))
151 AC_CHECK_HEADERS([openssl/aes.h],[],
152 AC_MSG_ERROR(Is openssl-devel/libssl-dev installed?))
153 AC_MSG_RESULT([Building with openssl crypto library])
154 ;;
3bbdd7bc 155esac
833a5416 156
baecda40
SB
157LIBTASN1_LIBS=$(pkg-config --libs libtasn1)
158if test $? -ne 0; then
159 AC_MSG_ERROR("Is libtasn1-devel installed? -- could not get libs for libtasn1")
160fi
161AC_SUBST([LIBTASN1_LIBS])
f163b202 162
b4374c33
JB
163PKG_CHECK_MODULES([LIBTPMS],[libtpms],,AC_MSG_WARN("no libtpms.pc found, continuing with standard path"))
164LDFLAGS="$LDFLAGS $LIBTPMS_LDFLAGS"
165CFLAGS="$CFLAGS $LIBTPMS_CFLAGS"
fbc596ab 166AC_CHECK_LIB(tpms,
b78b6af2 167 TPMLIB_ChooseTPMVersion,[true],
fbc596ab
SB
168 AC_MSG_ERROR("libtpms 0.6 or later is required")
169)
baecda40 170AC_SUBST([LIBTPMS_LIBS])
f163b202 171
5478de0a
SB
172AC_CHECK_LIB(c, clock_gettime, LIBRT_LIBS="", LIBRT_LIBS="-lrt")
173AC_SUBST([LIBRT_LIBS])
174
e46a2b66 175AC_PATH_PROG([TPM_NVDEFINE], tpm_nvdefine)
ef606d4a 176if test "x$TPM_NVDEFINE" = "x"; then
64faf455 177 have_tcsd=no
ef606d4a
SB
178 AC_MSG_WARN([NVRAM area tools are needed for TPM 1.2 certificate injection: tpm-tools package])
179else
180 have_tcsd=yes
181fi
64faf455
SB
182with_swtpm_setup=yes
183AM_CONDITIONAL([HAVE_TCSD], test "$have_tcsd" != "no")
e46a2b66 184
5cd844d0
SB
185dnl If we have the tcsd package, we can build swtpm_setup, but need netstat also
186AC_PATH_PROG([NETSTAT], [netstat])
187case $host_os in
188linux-*)
33be7be2 189 if test "x$NETSTAT" = "x" && test "have_tcsd" != "no"; then
64faf455 190 AC_MSG_ERROR([netstat tool is missing for tests: net-tools package])
5cd844d0
SB
191 fi
192 ;;
193esac
194
09d1a532
SB
195AC_MSG_CHECKING([for whether to build with CUSE interface])
196AC_ARG_WITH([cuse],
197 AC_HELP_STRING([--with-cuse],
198 [build with CUSE interface]),
199 [],
200 [with_cuse=check]
201)
f163b202 202
09d1a532
SB
203if test "$with_cuse" != "no"; then
204 LIBFUSE_CFLAGS=$(pkg-config fuse --cflags 2>/dev/null)
205 if test $? -ne 0; then
206 if test "$with_cuse" = "yes"; then
207 AC_MSG_ERROR("Is fuse-devel installed? -- could not get cflags for libfuse")
208 else
209 with_cuse=no
210 fi
211 else
212 with_cuse=yes
213 fi
498433f7 214fi
09d1a532
SB
215
216dnl with_cuse is now yes or no
217if test "$with_cuse" != "no"; then
218 LIBFUSE_LIBS=$(pkg-config fuse --libs)
219 if test $? -ne 0; then
220 AC_MSG_ERROR("Is fuse-devel installed? -- could not get libs for libfuse")
221 fi
222 AC_SUBST([LIBFUSE_CFLAGS])
223 AC_SUBST([LIBFUSE_LIBS])
224 AC_DEFINE_UNQUOTED([WITH_CUSE], 1,
225 [whether to build with CUSE interface])
ebf1557d
SB
226
227 GLIB_CFLAGS=$(pkg-config --cflags glib-2.0)
228 if test $? -ne 0; then
229 AC_MSG_ERROR("Is glib-2.0 installed? -- could not get cflags")
230 fi
231 AC_SUBST([GLIB_CFLAGS])
232
233 GLIB_LIBS=$(pkg-config --libs glib-2.0)
234 if test $? -ne 0; then
235 AC_MSG_ERROR("Is glib-2.0 installed? -- could not get libs")
236 fi
237 AC_SUBST([GLIB_LIBS])
238
239 GTHREAD_LIBS=$(pkg-config --libs gthread-2.0)
240 if test $? -ne 0; then
241 AC_MSG_ERROR("Is glib-2.0 installed? -- could not get libs for gthread-2.0")
242 fi
243 AC_SUBST([GTHREAD_LIBS])
baecda40 244fi
09d1a532
SB
245AM_CONDITIONAL([WITH_CUSE],[test "$with_cuse" = "yes"])
246AC_MSG_RESULT($with_cuse)
f163b202 247
498433f7
SB
248AC_MSG_CHECKING([for whether to build with chardev interface])
249case $host_os in
250linux-*)
251 with_chardev=yes
252 AC_DEFINE_UNQUOTED([WITH_CHARDEV], 1,
253 [whether to build with chardev interface])
254 ;;
255*)
256 with_chardev=no
257esac
258AM_CONDITIONAL([WITH_CHARDEV],[test "$with_chardev" = "yes"])
259AC_MSG_RESULT($with_cuse)
260
10002933
SB
261AC_ARG_WITH([gnutls],
262 AC_HELP_STRING([--with-gnutls],
263 [build with gnutls library]),
264 [],
265 [with_gnutls=check]
266)
267
e46a2b66
SB
268if test "x$with_gnutls" != "xno"; then
269 GNUTLS_LDFLAGS=$(pkg-config --libs gnutls)
270 if test $? -ne 0; then
33be7be2 271 if test "x$with_gnutls" = "xyes"; then
e46a2b66
SB
272 AC_MSG_ERROR("Is gnutls installed? -- could not get libs for gnutls")
273 else
274 with_gnutls=no
275 fi
276 fi
277fi
f163b202 278
1828edee
SB
279if test "x$with_gnutls" != "xno"; then
280 AC_PATH_PROG([GNUTLS_CERTTOOL], certtool)
33be7be2
SB
281 if test "x$GNUTLS_CERTTOOL" = "x"; then
282 if test "x$with_gnutls" = "xyes"; then
1828edee
SB
283 AC_MSG_ERROR("Could not find certtool. Is gnutls-utils/gnutls-bin installed?")
284 else
285 with_gnutls=no
286 fi
287 fi
288fi
289
e46a2b66 290if test "x$with_gnutls" != "xno"; then
571a8eed 291 ORIG_CFLAGS="$CFLAGS"
baecda40 292 GNUTLS_CFLAGS=$(pkg-config gnutls --cflags)
571a8eed 293 CFLAGS="$CFLAGS $GNUTLS_CFLAGS $GNUTLS_LDFLAGS"
10002933 294 AC_CHECK_LIB([gnutls], [gnutls_load_file], [
baecda40
SB
295 GNUTLS_LIBS=-lgnutls
296 ],
33be7be2 297 [if test "x$with_gnutls" = "xyes"; then
e46a2b66
SB
298 AC_MSG_ERROR([GNUTLS >= 3.1.0 library not found: libgnutls.so])
299 else
300 with_gnutls="no"
301 fi])
571a8eed 302 CFLAGS="$ORIG_CFLAGS"
e46a2b66
SB
303fi
304
305if test "x$with_gnutls" != "xno"; then
571a8eed
SB
306 ORIG_CFLAGS="$CFLAGS"
307 CFLAGS="$CFLAGS $GNUTLS_CFLAGS"
e46a2b66 308 AC_CHECK_HEADER(gnutls/abstract.h, [], \
33be7be2 309 [if test "x$with_gnutls" = "xyes"; then
e46a2b66
SB
310 AC_MSG_ERROR([GNUTLS >= 3.1.0 library header not found: gnutls/abstract.h])
311 else
312 with_gnutls="no"
313 fi])
571a8eed 314 CFLAGS="$ORIG_CFLAGS"
e46a2b66
SB
315fi
316
317if test "x$with_gnutls" != "xno"; then
318 with_gnutls="yes"
319fi
33be7be2 320AM_CONDITIONAL([WITH_GNUTLS], [test "x$with_gnutls" = "xyes"])
baecda40 321AC_SUBST([GNUTLS_LIBS])
f163b202 322
48abfbb1 323AC_PATH_PROG([EXPECT], expect)
33be7be2 324if test "x$EXPECT" = "x"; then
48abfbb1
SB
325 AC_MSG_ERROR([expect is required: expect package])
326fi
327
b080afb5 328AC_PATH_PROG([GAWK], gawk)
33be7be2 329if test "x$GAWK" = "x"; then
b080afb5
SB
330 AC_MSG_ERROR([gawk is required: gawk package])
331fi
332
8cb126e4 333AC_PATH_PROG([SOCAT], socat)
33be7be2 334if test "x$SOCAT" = "x"; then
8cb126e4
SB
335 AC_MSG_ERROR([socat is required: socat package])
336fi
337
b4372fe5 338AC_PATH_PROG([PYTHON], python3)
33be7be2 339if test "x$PYTHON" = "x"; then
b4372fe5 340 AC_MSG_ERROR([python3 is required])
dbb399de
SB
341fi
342
5eeea357
SB
343AC_ARG_ENABLE([hardening],
344 AS_HELP_STRING([--disable-hardening], [Disable hardening flags]))
a76b4eeb 345
5eeea357
SB
346if test "x$enable_hardening" != "xno"; then
347 TMP="$($CC -fstack-protector-strong $srcdir/include/swtpm/tpm_ioctl.h 2>&1)"
348 if echo $TMP | $GREP 'unrecognized command line option' >/dev/null; then
349 HARDENING_CFLAGS="-fstack-protector -Wstack-protector "
350 else
351 HARDENING_CFLAGS="-fstack-protector-strong -Wstack-protector "
352 fi
353
354 dnl Must not have -O0 but must have a -O for -D_FORTIFY_SOURCE=2
355 TMP1="$(echo $CFLAGS | sed -n 's/.*\(-O0\).*/\1/p')"
356 TMP2="$(echo $CFLAGS | sed -n 's/.*\(-O\).*/\1/p')"
357 if test -z "$TMP1" && test -n "$TPM2"; then
358 HARDENING_CFLAGS="$HARDENING_CFLAGS -D_FORTIFY_SOURCE=2 "
359 fi
b381e1eb
SB
360 dnl Check linker for 'relro' and 'now'
361 save_CFLAGS="$CFLAGS"
362 CFLAGS="-Wl,-z,relro -Werror"
363 AC_MSG_CHECKING([whether linker supports -Wl,-z,relro])
364 AC_COMPILE_IFELSE(
365 [AC_LANG_SOURCE([[int main() { return 0; }]])],
366 [HARDENING_CFLAGS="$HARDENING_CFLAGS -Wl,-z,relro"
367 AC_MSG_RESULT(yes)],
368 [AC_MSG_RESULT(no)]
369 )
370 CFLAGS="-Wl,-z,now -Werror"
371 AC_MSG_CHECKING([whether linker supports -Wl,-z,now])
372 AC_COMPILE_IFELSE(
373 [AC_LANG_SOURCE([[int main() { return 0; }]])],
374 [HARDENING_CFLAGS="$HARDENING_CFLAGS -Wl,-z,now"
375 AC_MSG_RESULT(yes)],
376 [AC_MSG_RESULT(no)]
377 )
378 CFLAGS="$save_CFLAGS"
5eeea357 379 AC_SUBST([HARDENING_CFLAGS])
a76b4eeb 380fi
e6085e96 381
b8421f3d
SB
382AC_ARG_ENABLE([test-coverage],
383 AS_HELP_STRING([--enable-test-coverage], [Enable test coverage flags]))
384
385if test "x$enable_test_coverage" = "xyes"; then
386 COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage"
387 COVERAGE_LDFLAGS="-fprofile-arcs"
388fi
389
c4ac0a11
SB
390AC_ARG_WITH([tss-user],
391 AC_HELP_STRING([--with-tss-user=TSS_USER],
392 [The tss user to use]),
393 [TSS_USER="$withval"],
394 [TSS_USER="tss"]
395)
396
397AC_ARG_WITH([tss-group],
398 AC_HELP_STRING([--with-tss-group=TSS_GROUP],
399 [The tss group to use]),
400 [TSS_GROUP="$withval"],
401 [TSS_GROUP="tss"]
402)
403AC_SUBST([TSS_USER])
404AC_SUBST([TSS_GROUP])
405
f163b202
SB
406CFLAGS="$CFLAGS -Wreturn-type -Wsign-compare -Wswitch-enum"
407CFLAGS="$CFLAGS -Wmissing-prototypes -Wall -Werror"
e6085e96 408CFLAGS="$CFLAGS -Wformat -Wformat-security"
b8421f3d
SB
409CFLAGS="$CFLAGS $GNUTLS_CFLAGS $COVERAGE_CFLAGS"
410
411LDFLAGS="$LDFLAGS $COVERAGE_LDFLAGS"
f163b202 412
f2458ef7
SB
413dnl Simulate the following for systems with pkg-config < 0.28:
414dnl PKG_CHECK_VAR([libtpms_cryptolib], [libtpms], [cryptolib],
415dnl [], AC_MSG_ERROR([Could not determine libtpms crypto library.]))
416PKG_PROG_PKG_CONFIG
417
418AC_MSG_CHECKING([Checking the crypto library libtpms is linked to])
419libtpms_cryptolib=`$PKG_CONFIG --variable cryptolib libtpms`
33be7be2 420if test "x$libtpms_cryptolib" = "x"; then
b4374c33
JB
421 AC_MSG_WARN([Could not determine the crypto library libtpms is using, assuming ${cryptolib}])
422 libtpms_cryptolib=${cryptolib}
f2458ef7
SB
423fi
424AC_MSG_RESULT($libtpms_cryptolib)
86cc4527
SB
425
426if test "$libtpms_cryptolib" != "$cryptolib"; then
427 echo "libtpms is using $libtpms_cryptolib; we have to use the same"
33be7be2 428 if test "$cryptolib" = "openssl"; then
86cc4527
SB
429 AC_MSG_ERROR([do not use --with-openssl])
430 else
431 AC_MSG_ERROR([use --with-openssl])
432 fi
433fi
434
c751e32e
SB
435with_vtpm_proxy=no
436case $host_os in
f071d820 437linux-*)
c751e32e
SB
438 with_vtpm_proxy=yes
439 AC_DEFINE_UNQUOTED([WITH_VTPM_PROXY], 1,
440 [whether to build in vTPM proxy support (Linux only)])
441esac
442
6286beac
SB
443case $host_os in
444cygwin)
445 CFLAGS="$CFLAGS -D__USE_LINUX_IOCTL_DEFS"
446esac
447
761df6cd
SB
448dnl Seccomp profile using -lseccomp (Linux only)
449case $host_os in
450linux-*)
451 with_seccomp_default=yes
452 ;;
453*)
454 with_seccomp_default=no
455 ;;
456esac
457
458AC_MSG_CHECKING([for whether to build with seccomp profile])
459AC_ARG_WITH([seccomp],
460 AC_HELP_STRING([--with-seccomp],
461 [build with seccomp profile]),
0232f78f 462 AC_MSG_RESULT([$with_seccomp]),
761df6cd 463 [with_seccomp=$with_seccomp_default]
0232f78f 464 AC_MSG_RESULT([$with_seccomp])
761df6cd
SB
465)
466
467if test "$with_seccomp" != "no"; then
468 LIBSECCOMP_CFLAGS=$(pkg-config libseccomp --cflags 2>/dev/null)
469 if test $? -ne 0; then
470 AC_MSG_ERROR("Is libseccomp-devel installed? -- could not get cflags for libseccomp")
471 else
472 with_libseccomp=yes
473 fi
474 LIBSECCOMP_LIBS=$(pkg-config --libs libseccomp)
475 AC_SUBST([LIBSECCOMP_LIBS])
476 AC_SUBST([LIBSECCOMP_CFLAGS])
477 AC_DEFINE_UNQUOTED([WITH_SECCOMP], 1,
478 [whether to build in seccomp profile (Linux only)])
479fi
480
44b92d43
SB
481AC_CONFIG_FILES([Makefile \
482 debian/swtpm-tools.postinst \
f163b202 483 dist/swtpm.spec \
e46a2b66 484 etc/Makefile \
0432b653 485 etc/swtpm_setup.conf \
e46a2b66 486 samples/Makefile \
d16b86b7 487 samples/swtpm-localca.conf \
f163b202
SB
488 include/Makefile \
489 include/swtpm/Makefile \
a1fa5d77 490 include/swtpm.h \
f163b202
SB
491 src/Makefile \
492 src/selinux/Makefile \
493 src/swtpm/Makefile \
e46a2b66
SB
494 src/swtpm_bios/Makefile \
495 src/swtpm_cert/Makefile \
496 src/swtpm_ioctl/Makefile \
497 src/swtpm_setup/Makefile \
c4ac0a11 498 src/swtpm_setup/swtpm_setup.h \
f163b202 499 man/Makefile \
39d0c3de 500 man/man3/Makefile \
f163b202 501 man/man8/Makefile \
e46a2b66 502 tests/Makefile \
c4ac0a11 503 tests/test_config \
10002933
SB
504 ])
505AC_CONFIG_FILES([src/swtpm_setup/swtpm_setup.sh],
506 [chmod 755 src/swtpm_setup/swtpm_setup.sh])
0432b653
SB
507AC_CONFIG_FILES([samples/swtpm-localca],
508 [chmod 755 samples/swtpm-localca])
f163b202
SB
509AC_OUTPUT
510
e46a2b66 511echo
c3fdf688
SB
512printf "with_gnutls : %5s (no = swtpm_cert will NOT be built)\n" $with_gnutls
513printf "with_selinux : %5s (no = SELinux policy extenions will NOT be built)\n" $with_selinux
514printf "with_cuse : %5s (no = no CUSE interface)\n" $with_cuse
498433f7 515printf "with_chardev : %5s (no = no chardev interface)\n" $with_chardev
c3fdf688 516printf "with_swtpm_setup: %5s (no = swtpm_setup will NOT be built)\n" $with_swtpm_setup
c751e32e 517printf "with_vtpm_proxy : %5s (no = no vtpm proxy support; Linux only)\n" $with_vtpm_proxy
761df6cd 518printf "with_seccomp : %5s (no = no seccomp profile; Linux only)\n" $with_seccomp
e46a2b66 519echo
10002933
SB
520echo "cryptolib: $cryptolib"
521echo
f163b202 522echo "CFLAGS=$CFLAGS"
a76b4eeb 523echo "HARDENING_CFLAGS=$HARDENING_CFLAGS"
f163b202 524echo "LDFLAGS=$LDFLAGS"
761df6cd 525echo "LIBSECCOMP_LIBS=$LIBSECCOMP_LIBS"
c4ac0a11
SB
526echo
527echo "TSS_USER=$TSS_USER"
528echo "TSS_GROUP=$TSS_GROUP"
529echo