From e32ca1d8f144f0eab3541a0ed59d1863319ca989 Mon Sep 17 00:00:00 2001 From: mm2 Date: Mon, 2 Nov 2020 22:28:45 +0100 Subject: hopefully, fix the plugin compilation use AM_CONDITIONAL --- configure.ac | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 17db250..b3c8f2b 100644 --- a/configure.ac +++ b/configure.ac @@ -378,11 +378,10 @@ AC_CONFIG_FILES([utils/linkicc/Makefile]) AC_CONFIG_FILES([utils/jpgicc/Makefile]) AC_CONFIG_FILES([utils/psicc/Makefile]) AC_CONFIG_FILES([testbed/Makefile]) -if [ test "x$with_fastfloat" = "xyes" ]; then - AC_CONFIG_FILES([plugins/Makefile]) - AC_CONFIG_FILES([plugins/fast_float/Makefile]) - AC_CONFIG_FILES([plugins/fast_float/src/Makefile]) - AC_CONFIG_FILES([plugins/fast_float/include/Makefile]) - AC_CONFIG_FILES([plugins/fast_float/testbed/Makefile]) -fi +AM_CONDITIONAL([COND_FASTFLOAT], [test "x$with_fastfloat" = "xyes" ]) +AC_CONFIG_FILES([plugins/Makefile]) +AC_CONFIG_FILES([plugins/fast_float/Makefile]) +AC_CONFIG_FILES([plugins/fast_float/src/Makefile]) +AC_CONFIG_FILES([plugins/fast_float/include/Makefile]) +AC_CONFIG_FILES([plugins/fast_float/testbed/Makefile]) AC_OUTPUT -- cgit v1.2.1