move imageio use message to darwin case, else AC_MSG_RESULT prints nothing.
authorOzkan Sezer <sezeroz@gmail.com>
Sun, 14 Oct 2018 17:01:02 +0300
changeset 60330fdc66faf6d
parent 600 e993208756e6
child 608 3ba4eff18ffd
move imageio use message to darwin case, else AC_MSG_RESULT prints nothing.
configure
configure.in
     1.1 --- a/configure	Sat Oct 13 17:32:20 2018 +0300
     1.2 +++ b/configure	Sun Oct 14 17:01:02 2018 +0300
     1.3 @@ -12191,6 +12191,10 @@
     1.4    enable_imageio=yes
     1.5  fi
     1.6  
     1.7 +                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ImageIO support" >&5
     1.8 +$as_echo_n "checking for ImageIO support... " >&6; }
     1.9 +        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_imageio" >&5
    1.10 +$as_echo "$enable_imageio" >&6; }
    1.11          if test x$enable_imageio = xyes; then
    1.12              IMG_LIBS="-Wl,-framework,ApplicationServices -lobjc $IMG_LIBS"
    1.13          else
    1.14 @@ -12826,11 +12830,6 @@
    1.15  fi
    1.16  
    1.17  
    1.18 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ImageIO support" >&5
    1.19 -$as_echo_n "checking for ImageIO support... " >&6; }
    1.20 -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_imageio" >&5
    1.21 -$as_echo "$enable_imageio" >&6; }
    1.22 -
    1.23  if (test x$enable_jpg = xyes || test x$enable_tif = xyes) && test x$enable_imageio != xyes; then
    1.24      ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
    1.25  if test "x$ac_cv_header_jpeglib_h" = xyes; then :
     2.1 --- a/configure.in	Sat Oct 13 17:32:20 2018 +0300
     2.2 +++ b/configure.in	Sun Oct 14 17:01:02 2018 +0300
     2.3 @@ -79,6 +79,9 @@
     2.4      *-*-darwin*)
     2.5          AC_ARG_ENABLE([imageio], [AC_HELP_STRING([--enable-imageio], [use native Mac OS X frameworks for loading images [default=yes]])],
     2.6                        [], [enable_imageio=yes])
     2.7 +        dnl Show a message when we use ImageIO support so it's not a surprise
     2.8 +        AC_MSG_CHECKING([for ImageIO support])
     2.9 +        AC_MSG_RESULT($enable_imageio)
    2.10          if test x$enable_imageio = xyes; then
    2.11              IMG_LIBS="-Wl,-framework,ApplicationServices -lobjc $IMG_LIBS"
    2.12          else
    2.13 @@ -161,10 +164,6 @@
    2.14  AC_ARG_ENABLE([webp-shared], AC_HELP_STRING([--enable-webp-shared], [dynamically load WEBP support [[default=yes]]]),
    2.15   [], [enable_webp_shared=yes])
    2.16  
    2.17 -dnl Show a message when we use ImageIO support so it's not a surprise
    2.18 -AC_MSG_CHECKING([for ImageIO support])
    2.19 -AC_MSG_RESULT($enable_imageio)
    2.20 -
    2.21  if (test x$enable_jpg = xyes || test x$enable_tif = xyes) && test x$enable_imageio != xyes; then
    2.22      AC_CHECK_HEADER([jpeglib.h], [have_jpg_hdr=yes])
    2.23      AC_CHECK_LIB([jpeg], [jpeg_CreateDecompress], [have_jpg_lib=yes])