diff options
author | mm2 <marti.maria@littlecms.com> | 2020-11-02 22:28:45 +0100 |
---|---|---|
committer | mm2 <marti.maria@littlecms.com> | 2020-11-02 22:28:45 +0100 |
commit | e32ca1d8f144f0eab3541a0ed59d1863319ca989 (patch) | |
tree | 47be2f7d8358be16fea60278975132de395dfa95 /configure | |
parent | ca3af953033b67bb7b686db143e586bcc83f74a9 (diff) | |
download | lcms2-e32ca1d8f144f0eab3541a0ed59d1863319ca989.tar.gz |
hopefully, fix the plugin compilation
use AM_CONDITIONAL
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 26 |
1 files changed, 19 insertions, 7 deletions
@@ -632,6 +632,8 @@ ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS LIBOBJS +COND_FASTFLOAT_FALSE +COND_FASTFLOAT_TRUE TIFFICC_DEPLIBS JPEGICC_DEPLIBS LIB_PLUGINS @@ -17744,18 +17746,24 @@ ac_config_files="$ac_config_files utils/psicc/Makefile" ac_config_files="$ac_config_files testbed/Makefile" -if test "x$with_fastfloat" = "xyes" ; then - ac_config_files="$ac_config_files plugins/Makefile" + if test "x$with_fastfloat" = "xyes" ; then + COND_FASTFLOAT_TRUE= + COND_FASTFLOAT_FALSE='#' +else + COND_FASTFLOAT_TRUE='#' + COND_FASTFLOAT_FALSE= +fi - ac_config_files="$ac_config_files plugins/fast_float/Makefile" +ac_config_files="$ac_config_files plugins/Makefile" - ac_config_files="$ac_config_files plugins/fast_float/src/Makefile" +ac_config_files="$ac_config_files plugins/fast_float/Makefile" - ac_config_files="$ac_config_files plugins/fast_float/include/Makefile" +ac_config_files="$ac_config_files plugins/fast_float/src/Makefile" - ac_config_files="$ac_config_files plugins/fast_float/testbed/Makefile" +ac_config_files="$ac_config_files plugins/fast_float/include/Makefile" + +ac_config_files="$ac_config_files plugins/fast_float/testbed/Makefile" -fi cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure @@ -17946,6 +17954,10 @@ if test -z "${HasTIFF_TRUE}" && test -z "${HasTIFF_FALSE}"; then as_fn_error $? "conditional \"HasTIFF\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi +if test -z "${COND_FASTFLOAT_TRUE}" && test -z "${COND_FASTFLOAT_FALSE}"; then + as_fn_error $? "conditional \"COND_FASTFLOAT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 |