From fc1d61f4cab2260e90fcd468078eaa0d2046f372 Mon Sep 17 00:00:00 2001 From: Adrian Thurston Date: Thu, 13 Dec 2018 15:43:35 +0200 Subject: use -Wl,--no-undefined only on linux refs #253 --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index abcdb699..cf06b9bd 100644 --- a/configure.ac +++ b/configure.ac @@ -84,6 +84,9 @@ AC_CHECK_PROG([ASCIIDOC], [asciidoc], [asciidoc]) AC_CHECK_PROG([PYGMENTIZE], [pygmentize], [pygmentize]) AM_CONDITIONAL([BUILD_MANUAL], [test "x$ASCIIDOC" != x && test "x$PYGMENTIZE" != x]) +AC_CANONICAL_HOST() +AM_CONDITIONAL([LINKER_NO_UNDEFINED], [test "x$host_os" = "xlinux-gnu"]) + dnl write output files AC_OUTPUT([ Makefile -- cgit v1.2.1