diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-05-13 07:40:30 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-05-13 07:40:30 +0200 |
commit | c22d70986961774fbcaad28005dc4250a74dfe13 (patch) | |
tree | cb0fa1562c1f84c3fbd41f0c5b6ca2e331060b65 | |
parent | 22d43f8c17654a84d70491d494d91d5829479f96 (diff) | |
download | libextractor-c22d70986961774fbcaad28005dc4250a74dfe13.tar.gz libextractor-c22d70986961774fbcaad28005dc4250a74dfe13.zip |
use AS_CASE/AS_IF
-rw-r--r-- | configure.ac | 85 |
1 files changed, 28 insertions, 57 deletions
diff --git a/configure.ac b/configure.ac index d0e4f44..23bd1b5 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -759,60 +759,38 @@ AS_IF([test "x$HAVE_ZLIB_TRUE" = "x#"], | |||
759 | AS_IF([test "x$HAVE_BZ2_TRUE" = "x#"], | 759 | AS_IF([test "x$HAVE_BZ2_TRUE" = "x#"], |
760 | [AC_MSG_NOTICE([NOTICE: libbz2 not found, bz2 support disabled])]) | 760 | [AC_MSG_NOTICE([NOTICE: libbz2 not found, bz2 support disabled])]) |
761 | 761 | ||
762 | if test "x$HAVE_EXIV2_TRUE" = "x#" | 762 | AS_IF([test "x$HAVE_EXIV2_TRUE" = "x#"], |
763 | then | 763 | [AC_MSG_NOTICE([NOTICE: libexiv2 not found, exiv2 disabled])]) |
764 | AC_MSG_NOTICE([NOTICE: libexiv2 not found, exiv2 disabled]) | ||
765 | fi | ||
766 | 764 | ||
767 | if test "x$HAVE_TIFF_TRUE" = "x#" | 765 | AS_IF([test "x$HAVE_TIFF_TRUE" = "x#"], |
768 | then | 766 | [AC_MSG_NOTICE([NOTICE: libtiff not found, tiff disabled])]) |
769 | AC_MSG_NOTICE([NOTICE: libtiff not found, tiff disabled]) | ||
770 | fi | ||
771 | 767 | ||
772 | if test "x$HAVE_JPEG_TRUE" = "x#" | 768 | AS_IF([test "x$HAVE_JPEG_TRUE" = "x#"], |
773 | then | 769 | [AC_MSG_NOTICE([NOTICE: libjpeg not found, jpeg disabled])]) |
774 | AC_MSG_NOTICE([NOTICE: libjpeg not found, jpeg disabled]) | ||
775 | fi | ||
776 | 770 | ||
777 | if test "x$HAVE_GIF_TRUE" = "x#" | 771 | AS_IF([test "x$HAVE_GIF_TRUE" = "x#"] |
778 | then | 772 | [AC_MSG_NOTICE([NOTICE: libgif not found, gif disabled])]) |
779 | AC_MSG_NOTICE([NOTICE: libgif not found, gif disabled]) | ||
780 | fi | ||
781 | 773 | ||
782 | if test "x$have_gsf" != "xtrue" | 774 | AS_IF([test "x$have_gsf" != "xtrue"], |
783 | then | 775 | [AC_MSG_NOTICE([NOTICE: libgsf not found, no OLE2 (MS Office) support])]) |
784 | AC_MSG_NOTICE([NOTICE: libgsf not found, no OLE2 (MS Office) support]) | ||
785 | fi | ||
786 | 776 | ||
787 | if test "x$ffmpeg_enabled" = "x0" | 777 | AS_IF([test "x$ffmpeg_enabled" = "x0"], |
788 | then | 778 | [AC_MSG_NOTICE([NOTICE: FFmpeg thumbnailer plugin disabled])]) |
789 | AC_MSG_NOTICE([NOTICE: FFmpeg thumbnailer plugin disabled]) | ||
790 | fi | ||
791 | 779 | ||
792 | if test "x$new_ffmpeg" = "x0" | 780 | AS_IF([test "x$new_ffmpeg" = "x0"], |
793 | then | 781 | [AC_MSG_NOTICE([NOTICE: FFmpeg/opus audio preview plugin disabled, It needs libav >= 10, or a FFmpeg with --enable-libavresample])]) |
794 | AC_MSG_NOTICE([NOTICE: FFmpeg/opus audio preview plugin disabled, It needs libav >= 10, or a FFmpeg with --enable-libavresample]) | ||
795 | fi | ||
796 | 782 | ||
797 | if test "x$have_gdk_pixbuf" = "x0" | 783 | AS_IF([test "x$have_gdk_pixbuf" = "x0"], |
798 | then | 784 | [AC_MSG_NOTICE([NOTICE: libgdk-pixbuf not found, gtk thumbnail support disabled])]) |
799 | AC_MSG_NOTICE([NOTICE: libgdk-pixbuf not found, gtk thumbnail support disabled]) | ||
800 | fi | ||
801 | 785 | ||
802 | if test "x$HAVE_VORBISFILE_TRUE" = "x#" | 786 | AS_IF([test "x$HAVE_VORBISFILE_TRUE" = "x#"], |
803 | then | 787 | [AC_MSG_NOTICE([NOTICE: libvorbis not found, vorbis support disabled])]) |
804 | AC_MSG_NOTICE([NOTICE: libvorbis not found, vorbis support disabled]) | ||
805 | fi | ||
806 | 788 | ||
807 | if test "x$HAVE_FLAC_TRUE" = "x#" | 789 | AS_IF([test "x$HAVE_FLAC_TRUE" = "x#"], |
808 | then | 790 | [AC_MSG_NOTICE([NOTICE: libflac not found, flac support disabled])]) |
809 | AC_MSG_NOTICE([NOTICE: libflac not found, flac support disabled]) | ||
810 | fi | ||
811 | 791 | ||
812 | if test "x$HAVE_SMF_TRUE" = "x#" | 792 | AS_IF([test "x$HAVE_SMF_TRUE" = "x#"], |
813 | then | 793 | [AC_MSG_NOTICE([NOTICE: libsmf not found, midi support disabled])]) |
814 | AC_MSG_NOTICE([NOTICE: libsmf not found, midi support disabled]) | ||
815 | fi | ||
816 | 794 | ||
817 | if test "x$HAVE_MPEG2_TRUE" = "x#" | 795 | if test "x$HAVE_MPEG2_TRUE" = "x#" |
818 | then | 796 | then |
@@ -829,17 +807,10 @@ then | |||
829 | AC_MSG_NOTICE([NOTICE: no C++ compiler found (not compiling plugins that require C++)]) | 807 | AC_MSG_NOTICE([NOTICE: no C++ compiler found (not compiling plugins that require C++)]) |
830 | fi | 808 | fi |
831 | 809 | ||
832 | if test x$have_gstreamer = xyes -a x$have_gstreamer_pbutils = xyes -a x$have_gstreamer_tag = xyes -a x$have_gstreamer_app = xyes -a ! x$without_glib = xtrue | 810 | AS_IF([test x$have_gstreamer = xyes -a x$have_gstreamer_pbutils = xyes -a x$have_gstreamer_tag = xyes -a x$have_gstreamer_app = xyes -a ! x$without_glib = xtrue], |
833 | then | 811 | [AS_IF([test x$enable_experimental = xyes], |
834 | if test x$enable_experimental = xyes | 812 | [AC_MSG_NOTICE([NOTICE: gstreamer enabled])])], |
835 | then | 813 | [AC_MSG_NOTICE([NOTICE: gstreamer not found, gstreamer support disabled])]) |
836 | AC_MSG_NOTICE([NOTICE: gstreamer enabled]) | ||
837 | fi | ||
838 | else | ||
839 | AC_MSG_NOTICE([NOTICE: gstreamer not found, gstreamer support disabled]) | ||
840 | fi | ||
841 | 814 | ||
842 | if test "x$HAVE_APPARMOR_TRUE" = "x#" | 815 | AS_IF([test "x$HAVE_APPARMOR_TRUE" = "x#"], |
843 | then | 816 | [AC_MSG_NOTICE([NOTICE: libapparmor not found, apparmor support disabled])]) |
844 | AC_MSG_NOTICE([NOTICE: libapparmor not found, apparmor support disabled]) | ||
845 | fi | ||