search for: ac_cv_header_tiffio_h

Displaying 2 results from an estimated 2 matches for "ac_cv_header_tiffio_h".

2019 Feb 25
1
Is libtiff >= 4.0.0 now required by R for TIFF support?
...3.3.0.) I looked at the configure script, and in 3.2.5, the tests for libtiff starts like this (I've adjusted the indentation): if test "${use_libtiff}" = yes; then for ac_header in tiffio.h do : ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default" if test "x$ac_cv_header_tiffio_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_TIFFIO_H 1 _ACEOF From 3.3.0 on, it starts like this (with indentation adjusted): if test "${use_libtiff}" = yes; then mod= ##...
2012 Aug 11
2
compile fails with x86_64-alpine-linux-uclibc-gcc
...R.m4 2012-01-02 17:08:08.000000000 +0000 @@ -2005,16 +2005,18 @@ [Define if you have the PNG headers and libraries.]) fi fi -AC_CHECK_HEADERS(tiffio.h) -# may need to resolve jpeg routines -AC_CHECK_LIB(tiff, TIFFOpen, [have_tiff=yes], [have_tiff=no], [${BITMAP_LIBS}]) -if test "x${ac_cv_header_tiffio_h}" = xyes ; then - if test "x${have_tiff}" = xyes; then - AC_DEFINE(HAVE_TIFF, 1, [Define this if libtiff is available.]) - BITMAP_LIBS="-ltiff ${BITMAP_LIBS}" - else - have_tiff=no - fi +if test "${use_libtiff}" = yes; then + AC_CHECK_HEADERS(tiffio....