Version in base suite: 3.0.23-0+deb13u1 Base version: vlc_3.0.23-0+deb13u1 Target version: vlc_3.0.24-0+deb13u1 Base file: /srv/ftp-master.debian.org/ftp/pool/main/v/vlc/vlc_3.0.23-0+deb13u1.dsc Target file: /srv/ftp-master.debian.org/policy/pool/main/v/vlc/vlc_3.0.24-0+deb13u1.dsc /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/modules/gui/macosx/Resources/App-Icons/Assets.car |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/af.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/am_ET.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/an.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/ar.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/as.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/ast.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/be.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/bg.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/bn.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/bn_IN.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/br.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/brx.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/bs.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/ca.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/ca@valencia.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/co.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/cs.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/cy.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/da.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/de.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/el.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/en_GB.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/eo.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/es.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/es_MX.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/et.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/eu.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/fa.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/fi.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/fr.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/fur.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/fy.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/ga.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/gd.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/gl.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/gu.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/he.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/hr.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/hu.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/hy.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/id.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/ie.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/is.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/it.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/ja.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/ka.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/kab.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/kk.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/km.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/kn.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/ko.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/ks_IN.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/ku_IQ.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/ky.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/lt.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/lv.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/mai.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/ml.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/mn.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/mr.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/ms.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/nb.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/ne.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/nl.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/nn.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/oc.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/pa.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/pl.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/ps.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/pt_BR.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/pt_PT.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/ro.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/ru.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/si.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/sk.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/sl.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/sr.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/sv.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/ta.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/te.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/th.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/tr.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/tt.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/ug.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/uk.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/vi.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/wa.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/zh_CN.gmo |binary /srv/release.debian.org/tmp/KiAA98_fJ9/vlc-3.0.24/po/zh_TW.gmo |binary vlc-3.0.24/AUTHORS | 1 vlc-3.0.24/Makefile.am | 20 vlc-3.0.24/Makefile.in | 100 vlc-3.0.24/NEWS | 208 vlc-3.0.24/aclocal.m4 | 4 vlc-3.0.24/autotools/config.guess | 624 vlc-3.0.24/autotools/config.sub | 2587 vlc-3.0.24/autotools/install-sh | 161 vlc-3.0.24/bin/Makefile.in | 33 vlc-3.0.24/compat/Makefile.in | 33 vlc-3.0.24/compat/gai_strerror.c | 26 vlc-3.0.24/config.h.in | 112 vlc-3.0.24/configure |25931 +++++----- vlc-3.0.24/configure.ac | 174 vlc-3.0.24/contrib/src/README | 6 vlc-3.0.24/contrib/src/SDL_image/SDL_image.patch | 43 vlc-3.0.24/contrib/src/SDL_image/SHA512SUMS | 2 vlc-3.0.24/contrib/src/SDL_image/pkg-config.patch | 9 vlc-3.0.24/contrib/src/SDL_image/rules.mak | 29 vlc-3.0.24/contrib/src/a52/rules.mak | 10 vlc-3.0.24/contrib/src/amf/0001-Move-AMF_UNICODE-into-Platform.h.patch | 38 vlc-3.0.24/contrib/src/amf/0002-Define-LPRI-d-ud-x-64-as-Unicode-wide-versions-of-AM.patch | 63 vlc-3.0.24/contrib/src/amf/0003-Define-AMFPRI-d-ud-x-64-using-the-standard-C-format-.patch | 73 vlc-3.0.24/contrib/src/amf/SHA512SUMS | 2 vlc-3.0.24/contrib/src/amf/rules.mak | 17 vlc-3.0.24/contrib/src/aom/0001-Do-not-force-_WIN32_WINNT.patch | 30 vlc-3.0.24/contrib/src/aom/0001-Work-around-broken-Xcode-12-SDK-which-doesn-t-correc.patch | 33 vlc-3.0.24/contrib/src/aom/SHA512SUMS | 2 vlc-3.0.24/contrib/src/aom/aom-android-cpufeatures.patch | 27 vlc-3.0.24/contrib/src/aom/aom-android-pthreads.patch | 14 vlc-3.0.24/contrib/src/aom/rules.mak | 25 vlc-3.0.24/contrib/src/aribb24/rules.mak | 11 vlc-3.0.24/contrib/src/aribb25/0001-add-an-option-not-to-build-the-b25-sample-code.patch | 44 vlc-3.0.24/contrib/src/aribb25/rules.mak | 9 vlc-3.0.24/contrib/src/asdcplib/0001-Remove-a-broken-unused-template-class.patch | 64 vlc-3.0.24/contrib/src/asdcplib/0005-Include-cstdint-where-int64_t-is-needed.patch | 24 vlc-3.0.24/contrib/src/asdcplib/SHA512SUMS | 2 vlc-3.0.24/contrib/src/asdcplib/adding-pkg-config-file.patch | 103 vlc-3.0.24/contrib/src/asdcplib/port-to-nettle.patch | 3984 - vlc-3.0.24/contrib/src/asdcplib/rules.mak | 39 vlc-3.0.24/contrib/src/asdcplib/static-programs.patch | 78 vlc-3.0.24/contrib/src/asdcplib/win32-cross-compilation.patch | 12 vlc-3.0.24/contrib/src/asdcplib/win32-dirent.patch | 63 vlc-3.0.24/contrib/src/ass/0001-aarch64-Set-the-right-intended-alignment-for-constan.patch | 70 vlc-3.0.24/contrib/src/ass/SHA512SUMS | 2 vlc-3.0.24/contrib/src/ass/rules.mak | 30 vlc-3.0.24/contrib/src/bluray/0001-Link-with-gdi32-when-using-freetype-in-Windows.patch | 30 vlc-3.0.24/contrib/src/bluray/SHA512SUMS | 2 vlc-3.0.24/contrib/src/bluray/rules.mak | 3 vlc-3.0.24/contrib/src/breakpad/0001-Fix-memset-on-C-object.patch | 27 vlc-3.0.24/contrib/src/breakpad/rules.mak | 9 vlc-3.0.24/contrib/src/caca/0001-win32-don-t-for-_WIN32_WINNT-to-Win2K.patch | 27 vlc-3.0.24/contrib/src/caca/0002-win32-don-t-redefine-GetCurrentConsoleFont-with-ming.patch | 27 vlc-3.0.24/contrib/src/caca/0003-win32-use-ANSI-calls-explicitly.patch | 26 vlc-3.0.24/contrib/src/caca/0004-win32-use-CreateFile2-when-compiling-for-Win8.patch | 49 vlc-3.0.24/contrib/src/caca/0005-canvas-use-GetCurrentProcessId-on-Windows.patch | 43 vlc-3.0.24/contrib/src/caca/0006-stubs-include-winsock2.h-to-get-htons-htonl-declarat.patch | 25 vlc-3.0.24/contrib/src/caca/fb77acff9ba6bb01d53940da34fb10f20b156a23.patch | 37 vlc-3.0.24/contrib/src/caca/rules.mak | 13 vlc-3.0.24/contrib/src/cddb/rules.mak | 21 vlc-3.0.24/contrib/src/cddb/win32-pkg.patch | 9 vlc-3.0.24/contrib/src/chromaprint/0001-Fix-support-for-FFMpeg-4.2-to-5.0.patch | 58 vlc-3.0.24/contrib/src/chromaprint/0001-add-the-C-runtime-to-the-packages-to-link-to.patch | 58 vlc-3.0.24/contrib/src/chromaprint/0001-contribs-chromaprint-more-fixes-for-.pc-file.patch | 49 vlc-3.0.24/contrib/src/chromaprint/0002-add-required-FFmpeg-libraries-to-the-generated-pkg-c.patch | 60 vlc-3.0.24/contrib/src/chromaprint/0002-add-the-C-runtime-to-the-packages-to-link-to.patch | 46 vlc-3.0.24/contrib/src/chromaprint/0003-chromaprint-add-ability-to-link-with-VDSP-Accelerate.patch | 43 vlc-3.0.24/contrib/src/chromaprint/SHA512SUMS | 2 vlc-3.0.24/contrib/src/chromaprint/rules.mak | 11 vlc-3.0.24/contrib/src/daala/rules.mak | 6 vlc-3.0.24/contrib/src/dav1d/SHA512SUMS | 2 vlc-3.0.24/contrib/src/dav1d/rules.mak | 2 vlc-3.0.24/contrib/src/dca/rules.mak | 10 vlc-3.0.24/contrib/src/dvbpsi/rules.mak | 9 vlc-3.0.24/contrib/src/dvdcss/rules.mak | 7 vlc-3.0.24/contrib/src/dvdnav/rules.mak | 6 vlc-3.0.24/contrib/src/dvdread/rules.mak | 7 vlc-3.0.24/contrib/src/ebml/0001-EbmlMaster-fix-leak-when-reading-upper-level-element.patch | 40 vlc-3.0.24/contrib/src/ebml/0001-EbmlString-ReadFully-use-automatic-memory-management.patch | 54 vlc-3.0.24/contrib/src/ebml/0002-EbmlUnicodeString-use-std-string-when-reading-instea.patch | 50 vlc-3.0.24/contrib/src/ebml/SHA512SUMS | 2 vlc-3.0.24/contrib/src/ebml/rules.mak | 11 vlc-3.0.24/contrib/src/faad2/SHA512SUMS | 2 vlc-3.0.24/contrib/src/faad2/faad2-add-define.patch | 10 vlc-3.0.24/contrib/src/faad2/faad2-disable-drc.patch | 35 vlc-3.0.24/contrib/src/faad2/faad2-fix-71wPCEmapping.patch | 39 vlc-3.0.24/contrib/src/faad2/rules.mak | 32 vlc-3.0.24/contrib/src/ffi/rules.mak | 7 vlc-3.0.24/contrib/src/ffmpeg/0001-Replace-all-occurences-of-av_mallocz_array-by-av_cal.patch | 29 vlc-3.0.24/contrib/src/ffmpeg/0001-avcodec-dxva2_hevc-add-support-for-parsing-HEVC-Rang.patch | 273 vlc-3.0.24/contrib/src/ffmpeg/0001-avcodec-mpeg12dec-don-t-call-hw-end_frame-when-start.patch | 24 vlc-3.0.24/contrib/src/ffmpeg/0001-avcodec-vp9-Do-not-destroy-uninitialized-mutexes-con.patch | 74 vlc-3.0.24/contrib/src/ffmpeg/0001-avutil-define-WC_ERR_INVALID_CHARS-when-it-s-missing.patch | 29 vlc-3.0.24/contrib/src/ffmpeg/0001-bring-back-XP-support.patch | 67 vlc-3.0.24/contrib/src/ffmpeg/0001-dxva2_hevc-don-t-use-frames-as-reference-if-they-are.patch | 34 vlc-3.0.24/contrib/src/ffmpeg/0001-fix-MediaFoundation-compilation-if-WINVER-was-forced.patch | 45 vlc-3.0.24/contrib/src/ffmpeg/0001-fix-mf_utils-compilation-with-mingw64.patch | 45 vlc-3.0.24/contrib/src/ffmpeg/0002-avcodec-hevcdec-allow-HEVC-444-8-10-12-bits-decoding.patch | 40 vlc-3.0.24/contrib/src/ffmpeg/0002-avcodec-mpeg12dec-don-t-end-a-slice-without-first_sl.patch | 46 vlc-3.0.24/contrib/src/ffmpeg/0002-compat-w32dlfcn.h-Remove-MAX_PATH-limit-and-replace-.patch | 171 vlc-3.0.24/contrib/src/ffmpeg/0003-avcodec-hevcdec-allow-HEVC-422-10-12-bits-decoding-w.patch | 48 vlc-3.0.24/contrib/src/ffmpeg/0011-avcodec-videotoolboxenc-disable-calls-on-unsupported.patch | 49 vlc-3.0.24/contrib/src/ffmpeg/SHA512SUMS | 2 vlc-3.0.24/contrib/src/ffmpeg/armv7_fixup.patch | 14 vlc-3.0.24/contrib/src/ffmpeg/avcodec-fix-compilation-visionos.patch | 26 vlc-3.0.24/contrib/src/ffmpeg/dxva_vc1_crash.patch | 47 vlc-3.0.24/contrib/src/ffmpeg/h264_early_SAR.patch | 20 vlc-3.0.24/contrib/src/ffmpeg/rules.mak | 76 vlc-3.0.24/contrib/src/flac/SHA512SUMS | 2 vlc-3.0.24/contrib/src/flac/console_write.patch | 63 vlc-3.0.24/contrib/src/flac/dont-force-msvcrt-version.patch | 10 vlc-3.0.24/contrib/src/flac/no-createfilea.patch | 30 vlc-3.0.24/contrib/src/flac/remove_blocking_code_useless_flaclib.patch | 38 vlc-3.0.24/contrib/src/flac/rules.mak | 63 vlc-3.0.24/contrib/src/fluid/rules.mak | 2 vlc-3.0.24/contrib/src/fluidlite/0001-pkg-config-add-FLUIDLITE_STATIC-define-when-using-th.patch | 23 vlc-3.0.24/contrib/src/fluidlite/rules.mak | 10 vlc-3.0.24/contrib/src/fontconfig/rules.mak | 8 vlc-3.0.24/contrib/src/freetype2/SHA512SUMS | 2 vlc-3.0.24/contrib/src/freetype2/rules.mak | 18 vlc-3.0.24/contrib/src/gcrypt/0001-compat-provide-a-getpid-replacement-that-works-on-Wi.patch | 30 vlc-3.0.24/contrib/src/gcrypt/0001-hwfeatures-call-SHGetFolderPathA-directly.patch | 50 vlc-3.0.24/contrib/src/gcrypt/SHA512SUMS | 2 vlc-3.0.24/contrib/src/gcrypt/fix-pthread-detection.patch | 38 vlc-3.0.24/contrib/src/gcrypt/gcrypt-uwp-getpid.patch | 35 vlc-3.0.24/contrib/src/gcrypt/rules.mak | 40 vlc-3.0.24/contrib/src/gettext/SHA512SUMS | 2 vlc-3.0.24/contrib/src/gettext/gettext-0.22.5-gnulib-localtime.patch | 29 vlc-3.0.24/contrib/src/gettext/gettext-0.22.5-gnulib-rename-real-openat.patch | 13 vlc-3.0.24/contrib/src/gettext/rules.mak | 52 vlc-3.0.24/contrib/src/glew/0001-Define-GLEW_STATIC-in-pkg-config-file-when-compiled-.patch | 30 vlc-3.0.24/contrib/src/glew/0002-Link-with-opengl32-on-Windows.patch | 26 vlc-3.0.24/contrib/src/glew/0003-Link-directly-with-glu32-on-Windows.patch | 28 vlc-3.0.24/contrib/src/glew/0004-Allow-disabling-the-CMAKE_DEBUG_POSTFIX.patch | 25 vlc-3.0.24/contrib/src/glew/0005-Do-not-force-compiler-flag.patch | 38 vlc-3.0.24/contrib/src/glew/0006-Do-not-compile-the-shared-library-with-DBUILD_SHARED.patch | 68 vlc-3.0.24/contrib/src/glew/SHA512SUMS | 2 vlc-3.0.24/contrib/src/glew/glew-drop-debug-postfix.patch | 11 vlc-3.0.24/contrib/src/glew/rules.mak | 15 vlc-3.0.24/contrib/src/glib/rules.mak | 6 vlc-3.0.24/contrib/src/gme/0001-Export-the-proper-C-runtime-library.patch | 53 vlc-3.0.24/contrib/src/gme/0001-don-t-skip-negative-fixes-14088.patch | 26 vlc-3.0.24/contrib/src/gme/0002-link-with-libm-and-set-it-in-pkg-config-when-buildin.patch | 41 vlc-3.0.24/contrib/src/gme/0003-fix-android-toolchain-broken-CMAKE_CXX_IMPLICIT_LINK.patch | 36 vlc-3.0.24/contrib/src/gme/0004-Blip_Buffer-replace-assert-with-a-check.patch | 45 vlc-3.0.24/contrib/src/gme/SHA512SUMS | 2 vlc-3.0.24/contrib/src/gme/ae10a8f05479e3c8f80429e7a59759fed06f8c13.patch | 25 vlc-3.0.24/contrib/src/gme/rules.mak | 10 vlc-3.0.24/contrib/src/gmp/rules.mak | 10 vlc-3.0.24/contrib/src/gnutls/0001-Fix-CRAU_MAYBE_UNUSED-definition-for-old-compilers.patch | 43 vlc-3.0.24/contrib/src/gnutls/0001-fcntl-do-not-call-GetHandleInformation-in-Winstore-a.patch | 2 vlc-3.0.24/contrib/src/gnutls/SHA512SUMS | 2 vlc-3.0.24/contrib/src/gnutls/rules.mak | 16 vlc-3.0.24/contrib/src/goom/goom2k4-autotools.patch | 7 vlc-3.0.24/contrib/src/goom/rules.mak | 12 vlc-3.0.24/contrib/src/gpg-error/0004-use-WCHAR-API-for-temporary-windows-folder.patch | 61 vlc-3.0.24/contrib/src/gpg-error/0007-don-t-use-GetThreadLocale-on-UWP.patch | 30 vlc-3.0.24/contrib/src/gpg-error/0008-don-t-use-GetUserNameW-on-Windows-10.patch | 52 vlc-3.0.24/contrib/src/gpg-error/0009-gpg-error-config.in-add-missing-GPG_ERROR_CONFIG_LIB.patch | 27 vlc-3.0.24/contrib/src/gpg-error/0011-logging-add-ws2tcpip.h-include-for-proper-inet_pton-.patch | 25 vlc-3.0.24/contrib/src/gpg-error/0012-use-GetCurrentProcessId-in-UWP.patch | 28 vlc-3.0.24/contrib/src/gpg-error/0013-configure-allow-building-Windows-with-disable-thread.patch | 38 vlc-3.0.24/contrib/src/gpg-error/0014-core-disable-locking-API-with-disable-threads.patch | 132 vlc-3.0.24/contrib/src/gpg-error/0015-core-disable-process-spawning-with-disable-threads.patch | 72 vlc-3.0.24/contrib/src/gpg-error/0016-core-disable-registry-access-in-UWP.patch | 50 vlc-3.0.24/contrib/src/gpg-error/0016-w32-utils-fix-init-utils-syntax.patch | 28 vlc-3.0.24/contrib/src/gpg-error/0017-sysutils-disable-_putenv_s-usage-not-available-in-Wi.patch | 45 vlc-3.0.24/contrib/src/gpg-error/SHA512SUMS | 2 vlc-3.0.24/contrib/src/gpg-error/darwin-triplet.patch | 25 vlc-3.0.24/contrib/src/gpg-error/gpg-error-createfile2.patch | 142 vlc-3.0.24/contrib/src/gpg-error/gpg-error-uwp-GetFileSize.patch | 22 vlc-3.0.24/contrib/src/gpg-error/gpg-error-uwp-fix.patch | 59 vlc-3.0.24/contrib/src/gpg-error/lock-obj-pub.posix.h | 18 vlc-3.0.24/contrib/src/gpg-error/missing-unistd-include.patch | 11 vlc-3.0.24/contrib/src/gpg-error/no-executable.patch | 11 vlc-3.0.24/contrib/src/gpg-error/rules.mak | 62 vlc-3.0.24/contrib/src/gpg-error/version-bump-gawk-5.patch | 159 vlc-3.0.24/contrib/src/gpg-error/win32-extern-struct.patch | 11 vlc-3.0.24/contrib/src/gpg-error/win32-unicode.patch | 29 vlc-3.0.24/contrib/src/gpg-error/windres-make.patch | 22 vlc-3.0.24/contrib/src/gpg-error/winrt.patch | 40 vlc-3.0.24/contrib/src/harfbuzz/0001-Ignore-Wunused-template.patch | 29 vlc-3.0.24/contrib/src/harfbuzz/0001-disable-building-hb-gpu-encode-all-app.patch | 36 vlc-3.0.24/contrib/src/harfbuzz/SHA512SUMS | 2 vlc-3.0.24/contrib/src/harfbuzz/rules.mak | 9 vlc-3.0.24/contrib/src/iconv/0001-do-not-call-GetHandleInformation-in-Winstore-apps.patch | 2 vlc-3.0.24/contrib/src/iconv/rules.mak | 14 vlc-3.0.24/contrib/src/jack/rules.mak | 8 vlc-3.0.24/contrib/src/jpeg/SHA512SUMS | 2 vlc-3.0.24/contrib/src/jpeg/no_executables.patch | 11 vlc-3.0.24/contrib/src/jpeg/rules.mak | 13 vlc-3.0.24/contrib/src/kate/rules.mak | 6 vlc-3.0.24/contrib/src/lame/rules.mak | 16 vlc-3.0.24/contrib/src/libarchive/0001-Disable-CreateHardLinkW-usage-on-old-UWP-targets.patch | 34 vlc-3.0.24/contrib/src/libarchive/0001-cmake-add-uuid-library-when-using-xmllite.patch | 39 vlc-3.0.24/contrib/src/libarchive/0003-Use-VirtualAllocFromApp-for-old-UWP-targets.patch | 28 vlc-3.0.24/contrib/src/libarchive/38ac49553d430f1b28c7624e5e9788125fdad187.patch | 38 vlc-3.0.24/contrib/src/libarchive/SHA512SUMS | 2 vlc-3.0.24/contrib/src/libarchive/rules.mak | 28 vlc-3.0.24/contrib/src/libdsm/0001-Cast-getsockopt-pointer.patch | 26 vlc-3.0.24/contrib/src/libdsm/rules.mak | 5 vlc-3.0.24/contrib/src/libmpeg2/rules.mak | 10 vlc-3.0.24/contrib/src/librist/SHA512SUMS | 1 vlc-3.0.24/contrib/src/librist/rules.mak | 59 vlc-3.0.24/contrib/src/libtasn1/0001-Use-CreateFile2-in-UWP-builds.patch | 73 vlc-3.0.24/contrib/src/libtasn1/0001-fcntl-do-not-call-GetHandleInformation-in-Winstore-a.patch | 41 vlc-3.0.24/contrib/src/libtasn1/SHA512SUMS | 2 vlc-3.0.24/contrib/src/libtasn1/no-executables.patch | 11 vlc-3.0.24/contrib/src/libtasn1/rules.mak | 14 vlc-3.0.24/contrib/src/libxml2/0002-globals-don-t-use-destructor-in-UWP-builds.patch | 27 vlc-3.0.24/contrib/src/libxml2/SHA512SUMS | 2 vlc-3.0.24/contrib/src/libxml2/bins.patch | 20 vlc-3.0.24/contrib/src/libxml2/nogetcwd.patch | 47 vlc-3.0.24/contrib/src/libxml2/pthread.patch | 21 vlc-3.0.24/contrib/src/libxml2/rules.mak | 55 vlc-3.0.24/contrib/src/libxml2/win32.patch | 11 vlc-3.0.24/contrib/src/live555/DISABLE_LOOPBACK_IP_ADDRESS_CHECK.patch | 19 vlc-3.0.24/contrib/src/live555/SHA512SUMS | 2 vlc-3.0.24/contrib/src/live555/add-pkgconfig-file.patch | 2 vlc-3.0.24/contrib/src/live555/android-no-ifaddrs.patch | 13 vlc-3.0.24/contrib/src/live555/expose_server_string.patch | 56 vlc-3.0.24/contrib/src/live555/in_addr-s_addr-field.patch | 42 vlc-3.0.24/contrib/src/live555/live555-formatmessage.patch | 31 vlc-3.0.24/contrib/src/live555/live555-nosignal.patch | 139 vlc-3.0.24/contrib/src/live555/live555-vista-inet.patch | 33 vlc-3.0.24/contrib/src/live555/mingw-static-libs.patch | 14 vlc-3.0.24/contrib/src/live555/no-null-reference.patch | 128 vlc-3.0.24/contrib/src/live555/rules.mak | 96 vlc-3.0.24/contrib/src/live555/winstore.patch | 30 vlc-3.0.24/contrib/src/mad/Provide-Thumb-2-alternative-code-for-MAD_F_MLN.diff | 34 vlc-3.0.24/contrib/src/mad/SHA512SUMS | 2 vlc-3.0.24/contrib/src/mad/check-bitstream-length.patch | 693 vlc-3.0.24/contrib/src/mad/mad-foreign.patch | 11 vlc-3.0.24/contrib/src/mad/mad-ios-asm.patch | 28 vlc-3.0.24/contrib/src/mad/mad-mips-h-constraint-removal.patch | 77 vlc-3.0.24/contrib/src/mad/mad-noopt.patch | 12 vlc-3.0.24/contrib/src/mad/rules.mak | 40 vlc-3.0.24/contrib/src/main.mak | 117 vlc-3.0.24/contrib/src/matroska/SHA512SUMS | 2 vlc-3.0.24/contrib/src/matroska/rules.mak | 6 vlc-3.0.24/contrib/src/mfx/0001-detect-winstore-builds-with-a-regular-mingw32-toolch.patch | 40 vlc-3.0.24/contrib/src/mfx/0002-Fix-linking-statically-with-intel_gfx_api-x86.dll.patch | 39 vlc-3.0.24/contrib/src/mfx/0003-Don-t-change-the-calling-convention-of-x86-gfx-api.patch | 35 vlc-3.0.24/contrib/src/mfx/rules.mak | 42 vlc-3.0.24/contrib/src/microdns/0001-build-fix-getifaddrs-detection.patch | 79 vlc-3.0.24/contrib/src/microdns/0001-mdns-support-XP-Vista-differences-at-runtime.patch | 117 vlc-3.0.24/contrib/src/microdns/0002-fix-dummy-mdns_list_interfaces.patch | 33 vlc-3.0.24/contrib/src/microdns/SHA512SUMS | 2 vlc-3.0.24/contrib/src/microdns/rules.mak | 3 vlc-3.0.24/contrib/src/mingw64/0001-disable-pthread_-g-s-etname_np-when-targetting-Windo.patch | 46 vlc-3.0.24/contrib/src/mingw64/SHA512SUMS | 1 vlc-3.0.24/contrib/src/mingw64/rules.mak | 174 vlc-3.0.24/contrib/src/modplug/rules.mak | 8 vlc-3.0.24/contrib/src/mpcdec/0008-mpc_demux-avoid-using-a-shift-on-negative-value.patch | 54 vlc-3.0.24/contrib/src/mpcdec/0009-mpc_decoder-add-sanity-checks-on-the-Cc-access.patch | 57 vlc-3.0.24/contrib/src/mpcdec/rules.mak | 4 vlc-3.0.24/contrib/src/mpg123/0001-ports-cmake-Fix-detecting-asm-align-directives-in-cm.patch | 75 vlc-3.0.24/contrib/src/mpg123/0002-ports-cmake-Fix-building-ARM-assembly-for-Windows-fo.patch | 277 vlc-3.0.24/contrib/src/mpg123/SHA512SUMS | 2 vlc-3.0.24/contrib/src/mpg123/no-programs.patch | 16 vlc-3.0.24/contrib/src/mpg123/rules.mak | 40 vlc-3.0.24/contrib/src/mysofa/0001-Only-link-with-MATH-library-if-it-s-found.patch | 70 vlc-3.0.24/contrib/src/mysofa/0002-Only-link-with-ZLib-library-if-it-s-found.patch | 38 vlc-3.0.24/contrib/src/mysofa/SHA512SUMS | 2 vlc-3.0.24/contrib/src/mysofa/rules.mak | 15 vlc-3.0.24/contrib/src/nettle/SHA512SUMS | 2 vlc-3.0.24/contrib/src/nettle/rules.mak | 10 vlc-3.0.24/contrib/src/nfs/0001-cant-have-win32.h-referenced-from-a-header-we-instal.patch | 28 vlc-3.0.24/contrib/src/nfs/0001-cmake-export-the-necessary-library-in-the-pkg-config.patch | 59 vlc-3.0.24/contrib/src/nfs/0002-pthread-and-win32-need-to-be-exclusive-in-multithrea.patch | 268 vlc-3.0.24/contrib/src/nfs/0003-win32-define-struct-timezone-for-non-mingw-w32.patch | 53 vlc-3.0.24/contrib/src/nfs/0004-win32-fix-build-with-MSVC.patch | 42 vlc-3.0.24/contrib/src/nfs/0005-win32-don-t-use-pthread-on-Windows.patch | 49 vlc-3.0.24/contrib/src/nfs/0007-tls-add-support-for-kernel-without-TLS_1_3_VERSION.patch | 50 vlc-3.0.24/contrib/src/nfs/0008-tls-define-TLS_RX-if-it-s-missing.patch | 27 vlc-3.0.24/contrib/src/nfs/0009-win32-stop-read-loop-when-transport-replaced.patch | 51 vlc-3.0.24/contrib/src/nfs/SHA512SUMS | 2 vlc-3.0.24/contrib/src/nfs/rules.mak | 31 vlc-3.0.24/contrib/src/ogg/rules.mak | 2 vlc-3.0.24/contrib/src/openapv/0001-detect-Windows-builds-with-_WIN32.patch | 60 vlc-3.0.24/contrib/src/openapv/0002-CMake-use-CMake-way-of-selecting-strict-C99-support.patch | 35 vlc-3.0.24/contrib/src/openapv/0003-CMake-don-t-add-pthread-for-Windows-builds.patch | 53 vlc-3.0.24/contrib/src/openapv/0004-CMake-check-compiler-flags-are-supported-before-addi.patch | 86 vlc-3.0.24/contrib/src/openapv/0005-CMake-check-_mm256_setr_m128i-is-supported.patch | 65 vlc-3.0.24/contrib/src/openapv/SHA512SUMS | 1 vlc-3.0.24/contrib/src/openapv/rules.mak | 34 vlc-3.0.24/contrib/src/openjpeg/5e258319332800f7a9937dc0b8b16b19a07dea8f.patch | 32 vlc-3.0.24/contrib/src/openjpeg/7b508bb00f7fc5e7b61a6035fc4e2622d4ddff0d.patch | 22 vlc-3.0.24/contrib/src/openjpeg/839936aa33eb8899bbbd80fda02796bb65068951.patch | 31 vlc-3.0.24/contrib/src/openjpeg/SHA512SUMS | 2 vlc-3.0.24/contrib/src/openjpeg/freebsd.patch | 13 vlc-3.0.24/contrib/src/openjpeg/openjp2_pthread.patch | 39 vlc-3.0.24/contrib/src/openjpeg/restrict.patch | 50 vlc-3.0.24/contrib/src/openjpeg/rules.mak | 10 vlc-3.0.24/contrib/src/opus/SHA512SUMS | 2 vlc-3.0.24/contrib/src/opus/rules.mak | 20 vlc-3.0.24/contrib/src/orc/0001-Fix-usage-of-pthread_jit_write_protect_np-on-macOS-a.patch | 129 vlc-3.0.24/contrib/src/orc/SHA512SUMS | 1 vlc-3.0.24/contrib/src/orc/rules.mak | 31 vlc-3.0.24/contrib/src/pkg-static.sh | 11 vlc-3.0.24/contrib/src/png/SHA512SUMS | 2 vlc-3.0.24/contrib/src/png/rules.mak | 15 vlc-3.0.24/contrib/src/postproc/0001-force-using-external-libavutil.patch | 24 vlc-3.0.24/contrib/src/postproc/0002-add-missing-libavcodec-headers.patch | 729 vlc-3.0.24/contrib/src/postproc/rules.mak | 185 vlc-3.0.24/contrib/src/projectM/rules.mak | 8 vlc-3.0.24/contrib/src/projectM/win32-math-include.patch | 11 vlc-3.0.24/contrib/src/protobuf/0001-don-t-build-and-install-protoc-libprotoc.patch | 45 vlc-3.0.24/contrib/src/protobuf/0001-prioritize-internal-include-path-over-zlib-include-d.patch | 31 vlc-3.0.24/contrib/src/protobuf/SHA512SUMS | 2 vlc-3.0.24/contrib/src/protobuf/dont-build-protoc.patch | 24 vlc-3.0.24/contrib/src/protobuf/include-algorithm.patch | 14 vlc-3.0.24/contrib/src/protobuf/missing-includes.patch | 11 vlc-3.0.24/contrib/src/protobuf/rules.mak | 31 vlc-3.0.24/contrib/src/pthreads/0001-add-api-ms-core-registry-def-files.patch | 164 vlc-3.0.24/contrib/src/pthreads/0001-headers-Update-to-Wine-master-and-regenerate-H-from-.patch | 62 vlc-3.0.24/contrib/src/pthreads/0001-headers-enable-CreateHardLinkW-in-Win10-UWP-builds.patch | 36 vlc-3.0.24/contrib/src/pthreads/0001-headers-enable-GET_MODULE_HANDLE_EX_xxx-defines-in-U.patch | 32 vlc-3.0.24/contrib/src/pthreads/0001-headers-enable-GetFileInformationByHandle-in-Win10-U.patch | 28 vlc-3.0.24/contrib/src/pthreads/0001-headers-enable-GetVolumePathNameW-in-Win10-UWP-build.patch | 39 vlc-3.0.24/contrib/src/pthreads/0001-headers-enable-VirtualAlloc-Ex-in-Win10-UWP-builds.patch | 37 vlc-3.0.24/contrib/src/pthreads/0001-headers-enable-more-module-API-in-Win10-UWP-builds.patch | 113 vlc-3.0.24/contrib/src/pthreads/0001-headers-enable-some-Registry-API-calls-in-UWP-8.1-bu.patch | 179 vlc-3.0.24/contrib/src/pthreads/0002-headers-dxvahd-Regenerate-H-from-IDL.patch | 25 vlc-3.0.24/contrib/src/pthreads/SHA512SUMS | 1 vlc-3.0.24/contrib/src/pthreads/rules.mak | 109 vlc-3.0.24/contrib/src/qt/0001-Windows-QPA-Reimplement-calculation-of-window-frames.patch | 271 vlc-3.0.24/contrib/src/qt/0001-Windows-QPA-Reimplement-calculation-of-window-frames_56.patch | 271 vlc-3.0.24/contrib/src/qt/0001-qDecodeDataUrl-fix-precondition-violation-in-call-to.patch | 82 vlc-3.0.24/contrib/src/qt/0002-QFileSystemEngine-Win-Use-GetTempPath2-when-availabl.patch | 66 vlc-3.0.24/contrib/src/qt/0002-Windows-QPA-Use-new-EnableNonClientDpiScaling-for-Wi.patch | 135 vlc-3.0.24/contrib/src/qt/0002-Windows-QPA-Use-new-EnableNonClientDpiScaling-for-Wi_56.patch | 135 vlc-3.0.24/contrib/src/qt/0003-QXmlStreamReader-change-fastScanName-to-take-a-Value.patch | 118 vlc-3.0.24/contrib/src/qt/0004-QXmlStreamReader-make-fastScanName-indicate-parsing-.patch | 241 vlc-3.0.24/contrib/src/qt/0005-Fix-specific-overflow-in-qtextlayout.patch | 102 vlc-3.0.24/contrib/src/qt/0006-ODBC-SQL-driver-deal-with-different-sizes-of-SQLTCHA.patch | 87 vlc-3.0.24/contrib/src/qt/0007-Fix-crash-when-reading-corrupt-font-data.patch | 140 vlc-3.0.24/contrib/src/qt/0020-Moc-use-const-and-const-APIs-more.patch | 234 vlc-3.0.24/contrib/src/qt/0021-Moc-use-QStringBuilder-more.patch | 220 vlc-3.0.24/contrib/src/qt/0022-Don-t-error-out-on-preprocessor-concatenation-of-two.patch | 62 vlc-3.0.24/contrib/src/qt/0023-moc-get-the-system-defines-from-the-compiler-itself.patch | 290 vlc-3.0.24/contrib/src/qt/rules.mak | 29 vlc-3.0.24/contrib/src/qt/systray-no-sound.patch | 23 vlc-3.0.24/contrib/src/qtsvg/0001-QSvgFont-Initialize-used-member-remove-unused.patch | 59 vlc-3.0.24/contrib/src/qtsvg/rules.mak | 5 vlc-3.0.24/contrib/src/regex/rules.mak | 11 vlc-3.0.24/contrib/src/samplerate/rules.mak | 11 vlc-3.0.24/contrib/src/schroedinger/SHA512SUMS | 1 vlc-3.0.24/contrib/src/schroedinger/rules.mak | 33 vlc-3.0.24/contrib/src/schroedinger/schroedinger-disable-orcc.patch | 11 vlc-3.0.24/contrib/src/schroedinger/schroedinger-notests.patch | 21 vlc-3.0.24/contrib/src/sdl/SHA512SUMS | 2 vlc-3.0.24/contrib/src/sdl/direct_palette_ref.diff | 12 vlc-3.0.24/contrib/src/sdl/rules.mak | 67 vlc-3.0.24/contrib/src/shout/0001-Add-cast-on-setsockopt-call.patch | 26 vlc-3.0.24/contrib/src/shout/0001-Favor-GetCurrentProcessId-on-Windows.patch | 33 vlc-3.0.24/contrib/src/shout/SHA512SUMS | 2 vlc-3.0.24/contrib/src/shout/add-missing-stdlib-stdio.patch | 22 vlc-3.0.24/contrib/src/shout/libshout-arpa.patch | 25 vlc-3.0.24/contrib/src/shout/no-examples.patch | 11 vlc-3.0.24/contrib/src/shout/rules.mak | 19 vlc-3.0.24/contrib/src/shout/shout-strings.patch | 24 vlc-3.0.24/contrib/src/sidplay2/rules.mak | 1 vlc-3.0.24/contrib/src/smb2/0001-cmake-add-ENABLE_LIBKRB5-and-ENABLE_GSSAPI-options.patch | 77 vlc-3.0.24/contrib/src/smb2/0001-fix-Fixed-undeclared-identifier-ENXIO-in-android.patch | 24 vlc-3.0.24/contrib/src/smb2/SHA512SUMS | 2 vlc-3.0.24/contrib/src/smb2/rules.mak | 17 vlc-3.0.24/contrib/src/soxr/0001-Allocate-an-extra-real-number.patch | 41 vlc-3.0.24/contrib/src/soxr/0001-use-libavutil-tx-code-instead-of-avfft-in-newer-FFmp.patch | 284 vlc-3.0.24/contrib/src/soxr/rules.mak | 14 vlc-3.0.24/contrib/src/soxr/soxr-check-function.patch | 11 vlc-3.0.24/contrib/src/spatialaudio/rules.mak | 8 vlc-3.0.24/contrib/src/speex/rules.mak | 10 vlc-3.0.24/contrib/src/speexdsp/rules.mak | 10 vlc-3.0.24/contrib/src/srt/SHA512SUMS | 2 vlc-3.0.24/contrib/src/srt/fix-partial-availability.patch | 20 vlc-3.0.24/contrib/src/srt/rules.mak | 8 vlc-3.0.24/contrib/src/ssh2/0001-fix-gcrypt-linking.patch | 10 vlc-3.0.24/contrib/src/ssh2/SHA512SUMS | 2 vlc-3.0.24/contrib/src/ssh2/no-tests.patch | 10 vlc-3.0.24/contrib/src/ssh2/rules.mak | 32 vlc-3.0.24/contrib/src/ssh2/winrt-no-agent.patch | 31 vlc-3.0.24/contrib/src/taglib/0001-Fix-crash-with-invalid-WAV-files-1163-1164.patch | 32 vlc-3.0.24/contrib/src/taglib/rules.mak | 5 vlc-3.0.24/contrib/src/theora/rules.mak | 8 vlc-3.0.24/contrib/src/tiff/SHA512SUMS | 1 vlc-3.0.24/contrib/src/tiff/rules.mak | 26 vlc-3.0.24/contrib/src/tiger/rules.mak | 6 vlc-3.0.24/contrib/src/tremor/rules.mak | 8 vlc-3.0.24/contrib/src/twolame/rules.mak | 17 vlc-3.0.24/contrib/src/upnp/0001-Do-not-use-missing-OnLinkPrefixLength-when-compiling.patch | 31 vlc-3.0.24/contrib/src/upnp/0001-Don-t-assume-strndup-to-be-missing-on-Windows.patch | 42 vlc-3.0.24/contrib/src/upnp/0001-ThreadPool-Fix-non-UCRT-builds.patch | 32 vlc-3.0.24/contrib/src/upnp/SHA512SUMS | 2 vlc-3.0.24/contrib/src/upnp/fix-reuseaddr-option.patch | 37 vlc-3.0.24/contrib/src/upnp/libtool-nostdlib-workaround.patch | 49 vlc-3.0.24/contrib/src/upnp/libupnp-pthread-force.patch | 10 vlc-3.0.24/contrib/src/upnp/libupnp-win32-exports.patch | 35 vlc-3.0.24/contrib/src/upnp/libupnp-win32.patch | 13 vlc-3.0.24/contrib/src/upnp/miniserver.patch | 14 vlc-3.0.24/contrib/src/upnp/rules.mak | 54 vlc-3.0.24/contrib/src/upnp/win32-remove-wrong-safe-wrappers.patch | 35 vlc-3.0.24/contrib/src/upnp/windows-version-inet.patch | 65 vlc-3.0.24/contrib/src/utfcpp/SHA512SUMS | 1 vlc-3.0.24/contrib/src/utfcpp/rules.mak | 26 vlc-3.0.24/contrib/src/vncclient/0001-libvncclient-tls_gnutls-Fix-gnutls_transport_set_err.patch | 66 vlc-3.0.24/contrib/src/vncclient/0002-CMake-Fix-the-include-guards-in-rfbconfig.h.patch | 40 vlc-3.0.24/contrib/src/vncclient/CMake-use-Requires-for-.pc-generation-don-t-parse-li.patch | 182 vlc-3.0.24/contrib/src/vncclient/SHA512SUMS | 2 vlc-3.0.24/contrib/src/vncclient/build-add-install-components-for-client-server.patch | 91 vlc-3.0.24/contrib/src/vncclient/gnutls-recent.patch | 42 vlc-3.0.24/contrib/src/vncclient/libvncclient-libjpeg-win32.patch | 12 vlc-3.0.24/contrib/src/vncclient/png-detection.patch | 11 vlc-3.0.24/contrib/src/vncclient/rfbproto.patch | 12 vlc-3.0.24/contrib/src/vncclient/rules.mak | 48 vlc-3.0.24/contrib/src/vncclient/vnc-gnutls-anon.patch | 10 vlc-3.0.24/contrib/src/vncclient/vnc-gnutls-pkg.patch | 11 vlc-3.0.24/contrib/src/vorbis/0001-Fix-pkgconfig-creation-with-cmake.patch | 35 vlc-3.0.24/contrib/src/vorbis/0002-sharedbook-fix-undefined-shift.patch | 21 vlc-3.0.24/contrib/src/vorbis/SHA512SUMS | 2 vlc-3.0.24/contrib/src/vorbis/clang.patch | 14 vlc-3.0.24/contrib/src/vorbis/rules.mak | 43 vlc-3.0.24/contrib/src/vorbis/vorbis-bitcode.patch | 16 vlc-3.0.24/contrib/src/vpl/0001-Avoid-brittle-wcscpy_s-and-wcscat_s-defines-on-mingw.patch | 66 vlc-3.0.24/contrib/src/vpl/0001-CMake-depend-on-libc-when-compiling-with-Clang.patch | 28 vlc-3.0.24/contrib/src/vpl/SHA512SUMS | 1 vlc-3.0.24/contrib/src/vpl/rules.mak | 48 vlc-3.0.24/contrib/src/vpx/0001-Disable-forcing-flags-for-Apple-targets.patch | 50 vlc-3.0.24/contrib/src/vpx/0001-do-not-use-CLOCK_MONOTONIC_RAW-in-older-iOS-macOS.patch | 37 vlc-3.0.24/contrib/src/vpx/0001-fix-compilation-with-Apple-Clang-13.patch | 42 vlc-3.0.24/contrib/src/vpx/0003-fix-x86-android-build-with-encoders.patch | 25 vlc-3.0.24/contrib/src/vpx/0004-fix-android-build.patch | 24 vlc-3.0.24/contrib/src/vpx/SHA512SUMS | 2 vlc-3.0.24/contrib/src/vpx/libvpx-android.patch | 22 vlc-3.0.24/contrib/src/vpx/libvpx-darwin-aarch64.patch | 29 vlc-3.0.24/contrib/src/vpx/libvpx-ios.patch | 133 vlc-3.0.24/contrib/src/vpx/libvpx-remove-bitcode.patch | 28 vlc-3.0.24/contrib/src/vpx/rules.mak | 26 vlc-3.0.24/contrib/src/x262/rules.mak | 17 vlc-3.0.24/contrib/src/x264/rules.mak | 10 vlc-3.0.24/contrib/src/x265/0001-CMake-verify-the-Neon-SVE-compiler-flags-can-be-used.patch | 41 vlc-3.0.24/contrib/src/x265/0001-Work-around-broken-Xcode-12-SDK-which-doesn-t-correc.patch | 38 vlc-3.0.24/contrib/src/x265/0001-use-OpenFileMappingW-instead-of-OpenFileMappingA.patch | 64 vlc-3.0.24/contrib/src/x265/0002-CMake-don-t-force-_WIN32_WINNT-values.patch | 42 vlc-3.0.24/contrib/src/x265/0002-do-not-copy-.pdb-files-that-don-t-exist.patch | 25 vlc-3.0.24/contrib/src/x265/0003-add-patch-to-enable-detect512.patch | 10 vlc-3.0.24/contrib/src/x265/0004-Fix-for-CMake-Build-Errors-in-MacOS.patch | 57 vlc-3.0.24/contrib/src/x265/0010-CMake-allow-lpthread-in-the-pkg-config-file.patch | 31 vlc-3.0.24/contrib/src/x265/0012-CMake-also-use-the-arch-flag-when-cross-compiling-ar.patch | 29 vlc-3.0.24/contrib/src/x265/SHA512SUMS | 2 vlc-3.0.24/contrib/src/x265/rules.mak | 28 vlc-3.0.24/contrib/src/x265/x265-pkg-libs.patch | 10 vlc-3.0.24/contrib/src/xau/rules.mak | 9 vlc-3.0.24/contrib/src/xcb-proto/rules.mak | 9 vlc-3.0.24/contrib/src/xcb/rules.mak | 6 vlc-3.0.24/contrib/src/xorg-macros/rules.mak | 7 vlc-3.0.24/contrib/src/xproto/rules.mak | 9 vlc-3.0.24/contrib/src/zlib/0001-CMakeList.txt-force-static-library-name-to-z.patch | 42 vlc-3.0.24/contrib/src/zlib/SHA512SUMS | 2 vlc-3.0.24/contrib/src/zlib/rules.mak | 22 vlc-3.0.24/contrib/src/zvbi/0001-configure-hardcode-liconv-instead-of-the-full-path.patch | 18 vlc-3.0.24/contrib/src/zvbi/0001-fix-Windows-API-calls-when-UNICODE-is-defined.patch | 30 vlc-3.0.24/contrib/src/zvbi/0009-fix-Android-usage-of-pthread.patch | 27 vlc-3.0.24/contrib/src/zvbi/SHA512SUMS | 2 vlc-3.0.24/contrib/src/zvbi/rules.mak | 44 vlc-3.0.24/contrib/src/zvbi/zvbi-android.patch | 37 vlc-3.0.24/contrib/src/zvbi/zvbi-fix-clang-support.patch | 22 vlc-3.0.24/contrib/src/zvbi/zvbi-fix-static-linking.patch | 20 vlc-3.0.24/contrib/src/zvbi/zvbi-ioctl.patch | 19 vlc-3.0.24/contrib/src/zvbi/zvbi-ssize_max.patch | 23 vlc-3.0.24/contrib/src/zvbi/zvbi-va_copy.patch | 13 vlc-3.0.24/contrib/src/zvbi/zvbi-win32-undefined.patch | 88 vlc-3.0.24/contrib/src/zvbi/zvbi-win32.patch | 162 vlc-3.0.24/debian/changelog | 10 vlc-3.0.24/debian/control | 1 vlc-3.0.24/debian/rules | 1 vlc-3.0.24/debian/upstream/signing-key.asc | 48 vlc-3.0.24/doc/ChangeLog-2003 | 10 vlc-3.0.24/doc/Makefile.in | 33 vlc-3.0.24/doc/release-howto.txt | 16 vlc-3.0.24/extras/package/macosx/build.sh | 18 vlc-3.0.24/extras/package/macosx/codesign.sh | 25 vlc-3.0.24/extras/package/macosx/configure.sh | 3 vlc-3.0.24/extras/package/macosx/package.mak | 7 vlc-3.0.24/extras/package/npapi.am | 4 vlc-3.0.24/extras/package/win32/NSIS/vlc.win32.nsi.in | 21 vlc-3.0.24/extras/package/win32/configure.sh | 3 vlc-3.0.24/extras/package/win32/package.mak | 32 vlc-3.0.24/extras/tools/SHA512SUMS | 20 vlc-3.0.24/extras/tools/automake-disable-documentation.patch | 25 vlc-3.0.24/extras/tools/bootstrap | 178 vlc-3.0.24/extras/tools/cmake-enable-ALPN-support-on-macOS-10.14.patch | 51 vlc-3.0.24/extras/tools/gettext-no-iconv.patch | 25 vlc-3.0.24/extras/tools/libtool-2.4.7-clang-libs.patch | 19 vlc-3.0.24/extras/tools/libtool-2.4.7-lpthread.patch | 66 vlc-3.0.24/extras/tools/libtool-2.4.7-response-files.patch | 83 vlc-3.0.24/extras/tools/libtool-2.5.4-libtool.m4-respect-the-provided-LTCFLAGS-LTCC-during.patch | 38 vlc-3.0.24/extras/tools/libtool-2.5.4-ltmain.in-reference-MAGIC_EXE-in-the-main.patch | 32 vlc-3.0.24/extras/tools/libtool-2.6.2-embed-bitcode.patch | 41 vlc-3.0.24/extras/tools/packages.mak | 31 vlc-3.0.24/extras/tools/pkg-config-stdc23-port.patch | 29 vlc-3.0.24/extras/tools/tools.mak | 180 vlc-3.0.24/include/vlc/libvlc_renderer_discoverer.h | 2 vlc-3.0.24/include/vlc_fixups.h | 4 vlc-3.0.24/include/vlc_fourcc.h | 7 vlc-3.0.24/include/vlc_mtime.h | 30 vlc-3.0.24/include/vlc_network.h | 5 vlc-3.0.24/include/vlc_pgpkey.h | 56 vlc-3.0.24/include/vlc_picture.h | 55 vlc-3.0.24/lib/Makefile.in | 33 vlc-3.0.24/lib/media_list_path.h | 4 vlc-3.0.24/lib/media_list_player.c | 13 vlc-3.0.24/m4/Makefile.in | 33 vlc-3.0.24/modules/Makefile.in | 389 vlc-3.0.24/modules/access/Makefile.am | 10 vlc-3.0.24/modules/access/dcp/dcp.cpp | 23 vlc-3.0.24/modules/access/dcp/dcpparser.cpp | 1 vlc-3.0.24/modules/access/dcp/dcpparser.h | 9 vlc-3.0.24/modules/access/dshow/dshow.cpp | 6 vlc-3.0.24/modules/access/dshow/filter.cpp | 4 vlc-3.0.24/modules/access/dshow/vlc_dshow.h | 2 vlc-3.0.24/modules/access/dtv/bdagraph.cpp | 4 vlc-3.0.24/modules/access/ftp.c | 42 vlc-3.0.24/modules/access/mms/asf.c | 47 vlc-3.0.24/modules/access/mms/buffer.c | 9 vlc-3.0.24/modules/access/mms/buffer.h | 3 vlc-3.0.24/modules/access/mms/mmstu.c | 24 vlc-3.0.24/modules/access/nfs.c | 46 vlc-3.0.24/modules/access/rist.c | 1225 vlc-3.0.24/modules/access/rist.h | 751 vlc-3.0.24/modules/access/rtp/srtp-test-aes.c | 34 vlc-3.0.24/modules/access/satip.c | 4 vlc-3.0.24/modules/access/sftp.c | 82 vlc-3.0.24/modules/access/smb2.c | 49 vlc-3.0.24/modules/access/srt.c | 217 vlc-3.0.24/modules/access/srt_common.c | 10 vlc-3.0.24/modules/access/srt_common.h | 22 vlc-3.0.24/modules/access/vcd/cdrom.c | 107 vlc-3.0.24/modules/access/vcd/cdrom_internals.h | 6 vlc-3.0.24/modules/access/vdr.c | 49 vlc-3.0.24/modules/access/vnc.c | 25 vlc-3.0.24/modules/access/wasapi.c | 24 vlc-3.0.24/modules/access_output/Makefile.am | 10 vlc-3.0.24/modules/access_output/rist.c | 891 vlc-3.0.24/modules/access_output/srt.c | 2 vlc-3.0.24/modules/audio_filter/channel_mixer/spatialaudio.cpp | 39 vlc-3.0.24/modules/audio_filter/param_eq.c | 2 vlc-3.0.24/modules/audio_filter/resampler/speex.c | 30 vlc-3.0.24/modules/audio_output/directsound.c | 2 vlc-3.0.24/modules/audio_output/mmdevice.c | 328 vlc-3.0.24/modules/audio_output/wasapi.c | 71 vlc-3.0.24/modules/audio_output/winstore.c | 24 vlc-3.0.24/modules/codec/Makefile.am | 32 vlc-3.0.24/modules/codec/adpcm.c | 83 vlc-3.0.24/modules/codec/audiotoolbox_midi.c | 103 vlc-3.0.24/modules/codec/avcodec/audio.c | 15 vlc-3.0.24/modules/codec/avcodec/chroma.c | 33 vlc-3.0.24/modules/codec/avcodec/d3d11va.c | 6 vlc-3.0.24/modules/codec/avcodec/dxva2.c | 6 vlc-3.0.24/modules/codec/avcodec/fourcc.c | 7 vlc-3.0.24/modules/codec/avcodec/vaapi.c | 32 vlc-3.0.24/modules/codec/avcodec/video.c | 3 vlc-3.0.24/modules/codec/cea708.c | 20 vlc-3.0.24/modules/codec/cvdsub.c | 77 vlc-3.0.24/modules/codec/dvbsub.c | 2 vlc-3.0.24/modules/codec/faad.c | 13 vlc-3.0.24/modules/codec/fluidsynth.c | 13 vlc-3.0.24/modules/codec/gstreamer/fourcc.c | 4 vlc-3.0.24/modules/codec/gstreamer/gstvlcvideopool.h | 3 vlc-3.0.24/modules/codec/jpeg.c | 15 vlc-3.0.24/modules/codec/lpcm.c | 2 vlc-3.0.24/modules/codec/mad.c | 1 vlc-3.0.24/modules/codec/mpg123.c | 1 vlc-3.0.24/modules/codec/omxil/mediacodec.c | 42 vlc-3.0.24/modules/codec/omxil/omxil.c | 31 vlc-3.0.24/modules/codec/omxil/utils.c | 25 vlc-3.0.24/modules/codec/openapv.c | 376 vlc-3.0.24/modules/codec/png.c | 11 vlc-3.0.24/modules/codec/qsv.c | 5 vlc-3.0.24/modules/codec/schroedinger.c | 1614 vlc-3.0.24/modules/codec/shine.c | 4 vlc-3.0.24/modules/codec/spdif.c | 1 vlc-3.0.24/modules/codec/speex.c | 286 vlc-3.0.24/modules/codec/spudec/parse.c | 8 vlc-3.0.24/modules/codec/spudec/spudec.c | 18 vlc-3.0.24/modules/codec/spudec/spudec.h | 4 vlc-3.0.24/modules/codec/subsusf.c | 2 vlc-3.0.24/modules/codec/svg.c | 2 vlc-3.0.24/modules/codec/uleaddvaudio.c | 30 vlc-3.0.24/modules/codec/vpx.c | 8 vlc-3.0.24/modules/codec/webvtt/CSSGrammar.c | 1808 vlc-3.0.24/modules/codec/webvtt/CSSGrammar.h | 142 vlc-3.0.24/modules/codec/webvtt/CSSGrammar.y | 312 vlc-3.0.24/modules/codec/webvtt/CSSLexer.c | 2414 vlc-3.0.24/modules/codec/webvtt/CSSLexer.l | 30 vlc-3.0.24/modules/codec/webvtt/css_bridge.h | 11 vlc-3.0.24/modules/codec/webvtt/css_parser.c | 20 vlc-3.0.24/modules/codec/webvtt/css_parser.h | 2 vlc-3.0.24/modules/codec/webvtt/subsvtt.c | 28 vlc-3.0.24/modules/control/hotkeys.c | 4 vlc-3.0.24/modules/control/oldrc.c | 2 vlc-3.0.24/modules/demux/adaptive/adaptive.cpp | 2 vlc-3.0.24/modules/demux/adaptive/http/Chunk.cpp | 5 vlc-3.0.24/modules/demux/adaptive/http/HTTPConnection.cpp | 2 vlc-3.0.24/modules/demux/adaptive/http/HTTPConnectionManager.cpp | 2 vlc-3.0.24/modules/demux/adaptive/mp4/AtomsReader.cpp | 2 vlc-3.0.24/modules/demux/adaptive/playlist/Segment.cpp | 1 vlc-3.0.24/modules/demux/adaptive/plumbing/FakeESOut.cpp | 1 vlc-3.0.24/modules/demux/adaptive/test/plumbing/FakeEsOut.cpp | 8 vlc-3.0.24/modules/demux/adaptive/tools/Compatibility.hpp | 3 vlc-3.0.24/modules/demux/adaptive/tools/Conversions.cpp | 40 vlc-3.0.24/modules/demux/adaptive/tools/Conversions.hpp | 12 vlc-3.0.24/modules/demux/adaptive/xml/DOMParser.cpp | 1 vlc-3.0.24/modules/demux/asf/libasf.c | 17 vlc-3.0.24/modules/demux/avi/avi.c | 26 vlc-3.0.24/modules/demux/avi/libavi.c | 13 vlc-3.0.24/modules/demux/avi/libavi.h | 1 vlc-3.0.24/modules/demux/caf.c | 43 vlc-3.0.24/modules/demux/dash/DASHStream.cpp | 2 vlc-3.0.24/modules/demux/dash/mpd/DASHSegment.cpp | 2 vlc-3.0.24/modules/demux/dash/mpd/IsoffMainParser.cpp | 1 vlc-3.0.24/modules/demux/dash/mpd/TemplatedUri.cpp | 15 vlc-3.0.24/modules/demux/dmxmus.c | 2 vlc-3.0.24/modules/demux/gme.c | 2 vlc-3.0.24/modules/demux/hls/HLSStreams.cpp | 1 vlc-3.0.24/modules/demux/hls/playlist/Tags.cpp | 43 vlc-3.0.24/modules/demux/image.c | 26 vlc-3.0.24/modules/demux/mkv/Ebml_dispatcher.hpp | 8 vlc-3.0.24/modules/demux/mkv/Ebml_parser.cpp | 59 vlc-3.0.24/modules/demux/mkv/Ebml_parser.hpp | 15 vlc-3.0.24/modules/demux/mkv/chapter_command.cpp | 6 vlc-3.0.24/modules/demux/mkv/chapters.hpp | 27 vlc-3.0.24/modules/demux/mkv/demux.cpp | 173 vlc-3.0.24/modules/demux/mkv/demux.hpp | 164 vlc-3.0.24/modules/demux/mkv/matroska_segment.cpp | 47 vlc-3.0.24/modules/demux/mkv/matroska_segment.hpp | 2 vlc-3.0.24/modules/demux/mkv/matroska_segment_parse.cpp | 360 vlc-3.0.24/modules/demux/mkv/matroska_segment_seeker.cpp | 28 vlc-3.0.24/modules/demux/mkv/mkv.cpp | 74 vlc-3.0.24/modules/demux/mkv/mkv.hpp | 101 vlc-3.0.24/modules/demux/mkv/stream_io_callback.cpp | 24 vlc-3.0.24/modules/demux/mkv/stream_io_callback.hpp | 11 vlc-3.0.24/modules/demux/mkv/util.cpp | 144 vlc-3.0.24/modules/demux/mkv/util.hpp | 104 vlc-3.0.24/modules/demux/mkv/virtual_segment.cpp | 20 vlc-3.0.24/modules/demux/mkv/virtual_segment.hpp | 4 vlc-3.0.24/modules/demux/mp4/essetup.c | 31 vlc-3.0.24/modules/demux/mp4/libmp4.c | 193 vlc-3.0.24/modules/demux/mp4/libmp4.h | 6 vlc-3.0.24/modules/demux/mp4/mp4.c | 138 vlc-3.0.24/modules/demux/mpc.c | 29 vlc-3.0.24/modules/demux/mpeg/es.c | 43 vlc-3.0.24/modules/demux/mpeg/mpeg4_iod.c | 36 vlc-3.0.24/modules/demux/mpeg/ps.c | 8 vlc-3.0.24/modules/demux/mpeg/ts.c | 113 vlc-3.0.24/modules/demux/mpeg/ts_arib.c | 4 vlc-3.0.24/modules/demux/mpeg/ts_hotfixes.c | 2 vlc-3.0.24/modules/demux/mpeg/ts_psi.c | 11 vlc-3.0.24/modules/demux/mpeg/ts_sl.c | 2 vlc-3.0.24/modules/demux/ogg.c | 329 vlc-3.0.24/modules/demux/ogg.h | 3 vlc-3.0.24/modules/demux/playlist/asx.c | 2 vlc-3.0.24/modules/demux/playlist/itml.c | 9 vlc-3.0.24/modules/demux/pva.c | 16 vlc-3.0.24/modules/demux/rawaud.c | 6 vlc-3.0.24/modules/demux/rawdv.c | 26 vlc-3.0.24/modules/demux/rawvid.c | 2 vlc-3.0.24/modules/demux/real.c | 3 vlc-3.0.24/modules/demux/sid.cpp | 2 vlc-3.0.24/modules/demux/smf.c | 2 vlc-3.0.24/modules/demux/smooth/SmoothManager.cpp | 2 vlc-3.0.24/modules/demux/smooth/SmoothStream.cpp | 2 vlc-3.0.24/modules/demux/smooth/mp4/SmoothIndexReader.cpp | 2 vlc-3.0.24/modules/demux/smooth/playlist/ForgedInitSegment.cpp | 1 vlc-3.0.24/modules/demux/smooth/playlist/SmoothParser.cpp | 8 vlc-3.0.24/modules/demux/smooth/playlist/SmoothSegment.cpp | 2 vlc-3.0.24/modules/demux/subtitle.c | 214 vlc-3.0.24/modules/demux/tta.c | 3 vlc-3.0.24/modules/demux/ty.c | 104 vlc-3.0.24/modules/demux/vc1.c | 8 vlc-3.0.24/modules/demux/vobsub.c | 14 vlc-3.0.24/modules/demux/wav.c | 6 vlc-3.0.24/modules/demux/windows_audio_commons.h | 2 vlc-3.0.24/modules/gui/macosx/Makefile.am | 1 vlc-3.0.24/modules/gui/macosx/VLCExtensionsDialogProvider.m | 19 vlc-3.0.24/modules/gui/macosx/VLCHUDCheckboxCell.m | 2 vlc-3.0.24/modules/gui/macosx/VLCRendererMenuController.m | 2 vlc-3.0.24/modules/gui/qt/Makefile.am | 19 vlc-3.0.24/modules/gui/qt/actions_manager.cpp | 10 vlc-3.0.24/modules/gui/qt/actions_manager.hpp | 4 vlc-3.0.24/modules/gui/qt/components/complete_preferences.cpp | 2 vlc-3.0.24/modules/gui/qt/components/controller.cpp | 159 vlc-3.0.24/modules/gui/qt/components/controller.hpp | 4 vlc-3.0.24/modules/gui/qt/components/controller_widget.cpp | 8 vlc-3.0.24/modules/gui/qt/components/controller_widget.hpp | 10 vlc-3.0.24/modules/gui/qt/components/epg/EPGWidget.cpp | 21 vlc-3.0.24/modules/gui/qt/components/extended_panels.cpp | 180 vlc-3.0.24/modules/gui/qt/components/info_panels.cpp | 28 vlc-3.0.24/modules/gui/qt/components/interface_widgets.cpp | 112 vlc-3.0.24/modules/gui/qt/components/open_panels.cpp | 144 vlc-3.0.24/modules/gui/qt/components/playlist/playlist.cpp | 38 vlc-3.0.24/modules/gui/qt/components/playlist/playlist_model.cpp | 16 vlc-3.0.24/modules/gui/qt/components/playlist/playlist_model.hpp | 4 vlc-3.0.24/modules/gui/qt/components/playlist/selector.cpp | 28 vlc-3.0.24/modules/gui/qt/components/playlist/standardpanel.cpp | 60 vlc-3.0.24/modules/gui/qt/components/playlist/standardpanel.hpp | 9 vlc-3.0.24/modules/gui/qt/components/playlist/views.cpp | 10 vlc-3.0.24/modules/gui/qt/components/playlist/views.hpp | 2 vlc-3.0.24/modules/gui/qt/components/preferences_widgets.cpp | 42 vlc-3.0.24/modules/gui/qt/components/simple_preferences.cpp | 91 vlc-3.0.24/modules/gui/qt/components/sout/profile_selector.cpp | 40 vlc-3.0.24/modules/gui/qt/components/sout/sout_widgets.cpp | 58 vlc-3.0.24/modules/gui/qt/components/sout/sout_widgets.hpp | 12 vlc-3.0.24/modules/gui/qt/dialogs/bookmarks.cpp | 34 vlc-3.0.24/modules/gui/qt/dialogs/convert.cpp | 14 vlc-3.0.24/modules/gui/qt/dialogs/epg.cpp | 14 vlc-3.0.24/modules/gui/qt/dialogs/errors.cpp | 6 vlc-3.0.24/modules/gui/qt/dialogs/extended.cpp | 22 vlc-3.0.24/modules/gui/qt/dialogs/extensions.cpp | 40 vlc-3.0.24/modules/gui/qt/dialogs/external.cpp | 56 vlc-3.0.24/modules/gui/qt/dialogs/fingerprintdialog.cpp | 8 vlc-3.0.24/modules/gui/qt/dialogs/firstrun.cpp | 2 vlc-3.0.24/modules/gui/qt/dialogs/gototime.cpp | 6 vlc-3.0.24/modules/gui/qt/dialogs/help.cpp | 10 vlc-3.0.24/modules/gui/qt/dialogs/mediainfo.cpp | 26 vlc-3.0.24/modules/gui/qt/dialogs/messages.cpp | 16 vlc-3.0.24/modules/gui/qt/dialogs/open.cpp | 56 vlc-3.0.24/modules/gui/qt/dialogs/openurl.cpp | 6 vlc-3.0.24/modules/gui/qt/dialogs/plugins.cpp | 70 vlc-3.0.24/modules/gui/qt/dialogs/plugins.hpp | 2 vlc-3.0.24/modules/gui/qt/dialogs/podcast_configuration.cpp | 6 vlc-3.0.24/modules/gui/qt/dialogs/preferences.cpp | 32 vlc-3.0.24/modules/gui/qt/dialogs/sout.cpp | 33 vlc-3.0.24/modules/gui/qt/dialogs/toolbar.cpp | 14 vlc-3.0.24/modules/gui/qt/dialogs/vlm.cpp | 36 vlc-3.0.24/modules/gui/qt/dialogs_provider.cpp | 6 vlc-3.0.24/modules/gui/qt/extensions_manager.cpp | 18 vlc-3.0.24/modules/gui/qt/input_manager.cpp | 14 vlc-3.0.24/modules/gui/qt/main_interface.cpp | 146 vlc-3.0.24/modules/gui/qt/main_interface.hpp | 8 vlc-3.0.24/modules/gui/qt/main_interface_win32.cpp | 16 vlc-3.0.24/modules/gui/qt/main_interface_win32.hpp | 2 vlc-3.0.24/modules/gui/qt/menus.cpp | 34 vlc-3.0.24/modules/gui/qt/qt.cpp | 62 vlc-3.0.24/modules/gui/qt/qt.hpp | 25 vlc-3.0.24/modules/gui/qt/qt_x11.hpp | 52 vlc-3.0.24/modules/gui/qt/recents.cpp | 6 vlc-3.0.24/modules/gui/qt/util/animators.cpp | 2 vlc-3.0.24/modules/gui/qt/util/customwidgets.cpp | 10 vlc-3.0.24/modules/gui/qt/util/input_slider.cpp | 10 vlc-3.0.24/modules/gui/qt/util/pictureflow.cpp | 116 vlc-3.0.24/modules/gui/qt/util/qmenuview.cpp | 4 vlc-3.0.24/modules/gui/qt/util/qvlcapp.hpp | 2 vlc-3.0.24/modules/gui/qt/util/searchlineedit.cpp | 14 vlc-3.0.24/modules/gui/skins2/parser/builder.cpp | 2 vlc-3.0.24/modules/gui/skins2/parser/interpreter.cpp | 2 vlc-3.0.24/modules/gui/skins2/parser/skin_parser.cpp | 81 vlc-3.0.24/modules/gui/skins2/parser/skin_parser.hpp | 4 vlc-3.0.24/modules/gui/skins2/src/ft2_font.cpp | 2 vlc-3.0.24/modules/gui/skins2/src/theme_loader.cpp | 42 vlc-3.0.24/modules/hw/amf/amf_helper.c | 2 vlc-3.0.24/modules/hw/d3d11/d3d11_deinterlace.c | 2 vlc-3.0.24/modules/hw/d3d11/d3d11_filters.c | 6 vlc-3.0.24/modules/hw/d3d11/d3d11_surface.c | 19 vlc-3.0.24/modules/hw/d3d9/dxa9.c | 2 vlc-3.0.24/modules/hw/mmal/Makefile.in | 33 vlc-3.0.24/modules/lua/libs/win.c | 2 vlc-3.0.24/modules/meta_engine/taglib.cpp | 68 vlc-3.0.24/modules/misc/rtsp.c | 83 vlc-3.0.24/modules/misc/stats.c | 22 vlc-3.0.24/modules/mux/asf.c | 7 vlc-3.0.24/modules/mux/avi.c | 5 vlc-3.0.24/modules/mux/mp4/libmp4mux.c | 3 vlc-3.0.24/modules/mux/mpeg/ps.c | 4 vlc-3.0.24/modules/mux/mpeg/ts.c | 6 vlc-3.0.24/modules/packetizer/av1.c | 1 vlc-3.0.24/modules/packetizer/avparser.c | 2 vlc-3.0.24/modules/packetizer/flac.c | 4 vlc-3.0.24/modules/packetizer/flac.h | 7 vlc-3.0.24/modules/packetizer/h264_nal.c | 3 vlc-3.0.24/modules/packetizer/hevc_nal.c | 5 vlc-3.0.24/modules/packetizer/hevc_nal.h | 2 vlc-3.0.24/modules/packetizer/mlp.c | 2 vlc-3.0.24/modules/packetizer/mpeg4audio.c | 9 vlc-3.0.24/modules/packetizer/mpeg4video.c | 88 vlc-3.0.24/modules/packetizer/mpegaudio.c | 7 vlc-3.0.24/modules/services_discovery/bonjour.m | 10 vlc-3.0.24/modules/services_discovery/microdns.c | 82 vlc-3.0.24/modules/services_discovery/upnp.cpp | 5 vlc-3.0.24/modules/services_discovery/upnp.hpp | 2 vlc-3.0.24/modules/stream_extractor/archive.c | 2 vlc-3.0.24/modules/stream_filter/hds/hds.c | 38 vlc-3.0.24/modules/stream_filter/prefetch.c | 20 vlc-3.0.24/modules/stream_out/Makefile.am | 16 vlc-3.0.24/modules/stream_out/chromecast/cast.cpp | 49 vlc-3.0.24/modules/stream_out/chromecast/chromecast.h | 3 vlc-3.0.24/modules/stream_out/chromecast/chromecast_communication.cpp | 8 vlc-3.0.24/modules/stream_out/chromecast/chromecast_ctrl.cpp | 9 vlc-3.0.24/modules/stream_out/record.c | 6 vlc-3.0.24/modules/stream_out/rtpfmt.c | 6 vlc-3.0.24/modules/text_renderer/Makefile.am | 2 vlc-3.0.24/modules/text_renderer/freetype/fonts/dwrite.cpp | 1 vlc-3.0.24/modules/text_renderer/freetype/fonts/fontconfig.c | 3 vlc-3.0.24/modules/text_renderer/freetype/text_layout.c | 4 vlc-3.0.24/modules/text_renderer/sapi.cpp | 2 vlc-3.0.24/modules/text_renderer/svg.c | 69 vlc-3.0.24/modules/video_chroma/d3d11_fmt.c | 22 vlc-3.0.24/modules/video_chroma/d3d9_fmt.c | 8 vlc-3.0.24/modules/video_chroma/dxgi_fmt.c | 2 vlc-3.0.24/modules/video_chroma/dxgi_fmt.h | 2 vlc-3.0.24/modules/video_chroma/swscale.c | 37 vlc-3.0.24/modules/video_filter/blend.cpp | 2 vlc-3.0.24/modules/video_filter/gaussianblur.c | 48 vlc-3.0.24/modules/video_filter/magnify.c | 47 vlc-3.0.24/modules/video_output/opengl/converter_sw.c | 272 vlc-3.0.24/modules/video_output/win32/common.c | 2 vlc-3.0.24/modules/video_output/win32/d3d11_scaler.cpp | 42 vlc-3.0.24/modules/video_output/win32/d3d11_tonemap.cpp | 9 vlc-3.0.24/modules/video_output/win32/direct3d11.c | 2 vlc-3.0.24/modules/video_output/win32/direct3d9.c | 44 vlc-3.0.24/modules/video_splitter/wall.c | 5 vlc-3.0.24/po/POTFILES.in | 1 vlc-3.0.24/po/ach.po | 1250 vlc-3.0.24/po/af.po | 1267 vlc-3.0.24/po/am.po | 1250 vlc-3.0.24/po/am_ET.po | 1249 vlc-3.0.24/po/an.po | 1426 vlc-3.0.24/po/ar.po | 1268 vlc-3.0.24/po/as.po | 1552 vlc-3.0.24/po/ast.po | 1423 vlc-3.0.24/po/be.po | 1278 vlc-3.0.24/po/bg.po | 1377 vlc-3.0.24/po/bn.po | 1556 vlc-3.0.24/po/bn_IN.po | 1558 vlc-3.0.24/po/br.po | 1287 vlc-3.0.24/po/brx.po | 1562 vlc-3.0.24/po/bs.po | 1576 vlc-3.0.24/po/ca.po | 1311 vlc-3.0.24/po/ca@valencia.po | 1597 vlc-3.0.24/po/cgg.po | 1248 vlc-3.0.24/po/co.po | 3163 - vlc-3.0.24/po/cs.po | 1458 vlc-3.0.24/po/cy.po | 1327 vlc-3.0.24/po/da.po | 2304 vlc-3.0.24/po/de.po | 1307 vlc-3.0.24/po/el.po | 1829 vlc-3.0.24/po/en_GB.po | 1857 vlc-3.0.24/po/eo.po | 1260 vlc-3.0.24/po/es.po | 1302 vlc-3.0.24/po/es_MX.po | 1304 vlc-3.0.24/po/et.po | 1338 vlc-3.0.24/po/eu.po | 1381 vlc-3.0.24/po/fa.po | 1255 vlc-3.0.24/po/ff.po | 1250 vlc-3.0.24/po/fi.po | 1593 vlc-3.0.24/po/fr.po | 1330 vlc-3.0.24/po/fur.po | 1294 vlc-3.0.24/po/fy.po | 1567 vlc-3.0.24/po/ga.po | 1288 vlc-3.0.24/po/gd.po | 1271 vlc-3.0.24/po/gl.po | 1291 vlc-3.0.24/po/gu.po | 1548 vlc-3.0.24/po/he.po | 1583 vlc-3.0.24/po/hi.po | 1244 vlc-3.0.24/po/hr.po | 3478 - vlc-3.0.24/po/hu.po | 1310 vlc-3.0.24/po/hy.po | 1268 vlc-3.0.24/po/id.po | 1273 vlc-3.0.24/po/ie.po | 1250 vlc-3.0.24/po/is.po | 1264 vlc-3.0.24/po/it.po | 1334 vlc-3.0.24/po/ja.po | 1373 vlc-3.0.24/po/ka.po | 1420 vlc-3.0.24/po/kab.po | 1265 vlc-3.0.24/po/kk.po |13321 ++--- vlc-3.0.24/po/km.po | 1548 vlc-3.0.24/po/kn.po | 1557 vlc-3.0.24/po/ko.po | 2249 vlc-3.0.24/po/ks_IN.po | 1574 vlc-3.0.24/po/ku_IQ.po | 1256 vlc-3.0.24/po/ky.po | 1256 vlc-3.0.24/po/lg.po | 1251 vlc-3.0.24/po/lo.po | 1234 vlc-3.0.24/po/lt.po | 1311 vlc-3.0.24/po/lv.po | 1304 vlc-3.0.24/po/mai.po | 1550 vlc-3.0.24/po/mk.po | 1238 vlc-3.0.24/po/ml.po | 1300 vlc-3.0.24/po/mn.po | 1245 vlc-3.0.24/po/mr.po | 1555 vlc-3.0.24/po/ms.po | 1301 vlc-3.0.24/po/my.po | 1233 vlc-3.0.24/po/nb.po | 1282 vlc-3.0.24/po/ne.po | 1252 vlc-3.0.24/po/nl.po | 1296 vlc-3.0.24/po/nn.po | 1575 vlc-3.0.24/po/oc.po | 1568 vlc-3.0.24/po/or_IN.po | 1242 vlc-3.0.24/po/pa.po | 1318 vlc-3.0.24/po/pl.po | 1297 vlc-3.0.24/po/ps.po | 1252 vlc-3.0.24/po/pt_BR.po | 1368 vlc-3.0.24/po/pt_PT.po | 1311 vlc-3.0.24/po/ro.po | 1321 vlc-3.0.24/po/ru.po | 1304 vlc-3.0.24/po/si.po | 1311 vlc-3.0.24/po/sk.po | 1378 vlc-3.0.24/po/sl.po | 1303 vlc-3.0.24/po/sm.po | 1234 vlc-3.0.24/po/sq.po | 1240 vlc-3.0.24/po/sr.po | 1260 vlc-3.0.24/po/sv.po | 1492 vlc-3.0.24/po/sw.po | 1234 vlc-3.0.24/po/ta.po | 1266 vlc-3.0.24/po/te.po | 1276 vlc-3.0.24/po/th.po | 1315 vlc-3.0.24/po/tr.po | 1305 vlc-3.0.24/po/tt.po | 1249 vlc-3.0.24/po/ug.po | 1365 vlc-3.0.24/po/uk.po | 1302 vlc-3.0.24/po/uz.po | 1241 vlc-3.0.24/po/vi.po | 1312 vlc-3.0.24/po/vlc.pot | 1234 vlc-3.0.24/po/wa.po | 1340 vlc-3.0.24/po/zh_CN.po | 1345 vlc-3.0.24/po/zh_TW.po | 1333 vlc-3.0.24/po/zu.po | 1250 vlc-3.0.24/share/Info.plist.in | 2 vlc-3.0.24/share/Makefile.am | 8 vlc-3.0.24/share/Makefile.in | 48 vlc-3.0.24/share/lua/playlist/README.txt | 2 vlc-3.0.24/share/lua/playlist/youtube.lua | 1033 vlc-3.0.24/share/org.videolan.vlc.appdata.xml.in.in | 8 vlc-3.0.24/share/vlc-openbd.desktop.in | 9 vlc-3.0.24/share/vlc-opencda.desktop.in | 9 vlc-3.0.24/share/vlc-opendvd.desktop.in | 9 vlc-3.0.24/share/vlc-openvcd.desktop.in | 9 vlc-3.0.24/share/vlc.desktop.mimetypes | 4 vlc-3.0.24/src/Makefile.in | 33 vlc-3.0.24/src/misc/fourcc.c | 2 vlc-3.0.24/src/misc/fourcc_list.h | 11 vlc-3.0.24/src/misc/picture.c | 200 vlc-3.0.24/src/misc/renderer_discovery.c | 18 vlc-3.0.24/src/misc/update.c | 24 vlc-3.0.24/src/misc/update.h | 2 vlc-3.0.24/src/misc/update_crypto.c | 51 vlc-3.0.24/src/playlist/art.c | 2 vlc-3.0.24/src/revision.c | 2 vlc-3.0.24/src/revision.txt | 2 vlc-3.0.24/src/stream_output/sap.c | 22 vlc-3.0.24/src/win32/dirs.c | 32 vlc-3.0.24/src/win32/filesystem.c | 84 vlc-3.0.24/src/win32/rand.c | 50 vlc-3.0.24/test/Makefile.am | 11 vlc-3.0.24/test/Makefile.in | 143 vlc-3.0.24/test/libvlc/core.c | 4 vlc-3.0.24/test/libvlc/equalizer.c | 22 vlc-3.0.24/test/libvlc/media.c | 24 vlc-3.0.24/test/libvlc/media_discoverer.c | 18 vlc-3.0.24/test/libvlc/media_list.c | 2 vlc-3.0.24/test/libvlc/media_list_player.c | 22 vlc-3.0.24/test/libvlc/media_player.c | 10 vlc-3.0.24/test/libvlc/meta.c | 4 vlc-3.0.24/test/libvlc/renderer_discoverer.c | 20 vlc-3.0.24/test/libvlc/test.h | 2 vlc-3.0.24/test/modules/demux/libmp4.c | 739 vlc-3.0.24/test/src/config/chain.c | 8 vlc-3.0.24/test/src/input/decoder.c | 2 vlc-3.0.24/test/src/input/stream.c | 12 vlc-3.0.24/test/src/misc/renderer_discovery.c | 112 vlc-3.0.24/test/src/misc/variables.c | 24 1061 files changed, 103807 insertions(+), 131941 deletions(-) dpkg-source: warning: cannot verify inline signature for /srv/release.debian.org/tmp/tmp3h2suvhp/vlc_3.0.23-0+deb13u1.dsc: no acceptable signature found dpkg-source: warning: cannot verify inline signature for /srv/release.debian.org/tmp/tmp3h2suvhp/vlc_3.0.24-0+deb13u1.dsc: no acceptable signature found diff -Nru vlc-3.0.23/AUTHORS vlc-3.0.24/AUTHORS --- vlc-3.0.23/AUTHORS 2025-12-23 10:49:19.000000000 +0000 +++ vlc-3.0.24/AUTHORS 2026-09-17 12:37:40.000000000 +0000 @@ -819,6 +819,7 @@ أحمد المحم ودي (Ahmed El-Mahmoudy) Баярсайхан Энхтайван Сергей Дарьичев +Noah Davis Artwork ------- diff -Nru vlc-3.0.23/Makefile.am vlc-3.0.24/Makefile.am --- vlc-3.0.23/Makefile.am 2025-12-23 10:49:19.000000000 +0000 +++ vlc-3.0.24/Makefile.am 2026-09-17 12:37:40.000000000 +0000 @@ -60,10 +60,14 @@ extras/tools/tools.mak \ extras/tools/SHA512SUMS \ extras/tools/automake-clang.patch \ - extras/tools/cmake-enable-ALPN-support-on-macOS-10.14.patch \ + extras/tools/automake-disable-documentation.patch \ + extras/tools/gettext-no-iconv.patch \ extras/tools/libtool-2.4.7-bitcode.patch \ - extras/tools/libtool-2.4.7-clang-libs.patch \ - extras/tools/libtool-2.4.7-response-files.patch + extras/tools/libtool-2.4.7-lpthread.patch \ + extras/tools/libtool-2.6.2-embed-bitcode.patch \ + extras/tools/libtool-2.5.4-ltmain.in-reference-MAGIC_EXE-in-the-main.patch \ + extras/tools/libtool-2.5.4-libtool.m4-respect-the-provided-LTCFLAGS-LTCC-during.patch \ + extras/tools/pkg-config-stdc23-port.patch ############################################################################### # Various utilities ( editor syntax files, D-Bus controller ... ) @@ -214,3 +218,13 @@ include extras/package/win32/package.mak include extras/package/win32/msi.mak +dist-hook: + chmod u+w "$(distdir)/configure" "$(distdir)/configure.ac" + mtime_ref=$(mktemp) +# We keep a copy to have a reference timestamp and restore it, +# to avoid triggering automake again + cp -p "$(distdir)/configure.ac" "$mtime_ref" + sed -i '/^VERSION_DATE=\$$(/,/^)/c\VERSION_DATE='$(VERSION_DATE) \ + "$(distdir)/configure" "$(distdir)/configure.ac" + touch -r "$mtime_ref" "$(distdir)/configure.ac" + rm "$mtime_ref" diff -Nru vlc-3.0.23/Makefile.in vlc-3.0.24/Makefile.in --- vlc-3.0.23/Makefile.in 2025-12-23 10:59:15.000000000 +0000 +++ vlc-3.0.24/Makefile.in 2026-09-17 12:50:40.000000000 +0000 @@ -473,6 +473,7 @@ ARIBB25_CFLAGS = @ARIBB25_CFLAGS@ ARIBB25_LIBS = @ARIBB25_LIBS@ AS = @AS@ +ASDCPLIB_FACTORY = @ASDCPLIB_FACTORY@ ASDCP_CFLAGS = @ASDCP_CFLAGS@ ASDCP_LIBS = @ASDCP_LIBS@ ASM = @ASM@ @@ -502,6 +503,7 @@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAGS_access_mtp = @CFLAGS_access_mtp@ +CFLAGS_access_output_rist = @CFLAGS_access_output_rist@ CFLAGS_access_output_shout = @CFLAGS_access_output_shout@ CFLAGS_access_output_srt = @CFLAGS_access_output_srt@ CFLAGS_access_srt = @CFLAGS_access_srt@ @@ -541,13 +543,14 @@ CFLAGS_oggspots = @CFLAGS_oggspots@ CFLAGS_omxil = @CFLAGS_omxil@ CFLAGS_omxil_vout = @CFLAGS_omxil_vout@ +CFLAGS_openapv = @CFLAGS_openapv@ CFLAGS_opencv_example = @CFLAGS_opencv_example@ CFLAGS_opencv_wrapper = @CFLAGS_opencv_wrapper@ CFLAGS_opus = @CFLAGS_opus@ CFLAGS_qsv = @CFLAGS_qsv@ CFLAGS_rdp = @CFLAGS_rdp@ +CFLAGS_rist = @CFLAGS_rist@ CFLAGS_samplerate = @CFLAGS_samplerate@ -CFLAGS_schroedinger = @CFLAGS_schroedinger@ CFLAGS_secret = @CFLAGS_secret@ CFLAGS_sftp = @CFLAGS_sftp@ CFLAGS_shine = @CFLAGS_shine@ @@ -582,6 +585,7 @@ CPPFLAGS = @CPPFLAGS@ CPPFLAGS_a52 = @CPPFLAGS_a52@ CPPFLAGS_access_mtp = @CPPFLAGS_access_mtp@ +CPPFLAGS_access_output_rist = @CPPFLAGS_access_output_rist@ CPPFLAGS_access_output_shout = @CPPFLAGS_access_output_shout@ CPPFLAGS_access_output_srt = @CPPFLAGS_access_output_srt@ CPPFLAGS_access_srt = @CPPFLAGS_access_srt@ @@ -618,13 +622,14 @@ CPPFLAGS_notify = @CPPFLAGS_notify@ CPPFLAGS_ogg = @CPPFLAGS_ogg@ CPPFLAGS_oggspots = @CPPFLAGS_oggspots@ +CPPFLAGS_openapv = @CPPFLAGS_openapv@ CPPFLAGS_opencv_example = @CPPFLAGS_opencv_example@ CPPFLAGS_opencv_wrapper = @CPPFLAGS_opencv_wrapper@ CPPFLAGS_opus = @CPPFLAGS_opus@ CPPFLAGS_qsv = @CPPFLAGS_qsv@ CPPFLAGS_rdp = @CPPFLAGS_rdp@ +CPPFLAGS_rist = @CPPFLAGS_rist@ CPPFLAGS_samplerate = @CPPFLAGS_samplerate@ -CPPFLAGS_schroedinger = @CPPFLAGS_schroedinger@ CPPFLAGS_secret = @CPPFLAGS_secret@ CPPFLAGS_sftp = @CPPFLAGS_sftp@ CPPFLAGS_shine = @CPPFLAGS_shine@ @@ -726,6 +731,8 @@ GNUTLS_LIBS = @GNUTLS_LIBS@ GOOM_CFLAGS = @GOOM_CFLAGS@ GOOM_LIBS = @GOOM_LIBS@ +GPGERROR_CFLAGS = @GPGERROR_CFLAGS@ +GPGERROR_LIBS = @GPGERROR_LIBS@ GREP = @GREP@ GST_APP_CFLAGS = @GST_APP_CFLAGS@ GST_APP_LIBS = @GST_APP_LIBS@ @@ -779,10 +786,13 @@ LIBPLACEBO_CFLAGS = @LIBPLACEBO_CFLAGS@ LIBPLACEBO_LIBS = @LIBPLACEBO_LIBS@ LIBPTHREAD = @LIBPTHREAD@ +LIBRIST_CFLAGS = @LIBRIST_CFLAGS@ +LIBRIST_LIBS = @LIBRIST_LIBS@ LIBRT = @LIBRT@ LIBS = @LIBS@ LIBS_a52 = @LIBS_a52@ LIBS_access_mtp = @LIBS_access_mtp@ +LIBS_access_output_rist = @LIBS_access_output_rist@ LIBS_access_output_shout = @LIBS_access_output_shout@ LIBS_access_output_srt = @LIBS_access_output_srt@ LIBS_access_srt = @LIBS_access_srt@ @@ -828,15 +838,16 @@ LIBS_notify = @LIBS_notify@ LIBS_ogg = @LIBS_ogg@ LIBS_oggspots = @LIBS_oggspots@ +LIBS_openapv = @LIBS_openapv@ LIBS_opencv_example = @LIBS_opencv_example@ LIBS_opencv_wrapper = @LIBS_opencv_wrapper@ LIBS_opus = @LIBS_opus@ LIBS_osx_notifications = @LIBS_osx_notifications@ LIBS_qsv = @LIBS_qsv@ LIBS_rdp = @LIBS_rdp@ +LIBS_rist = @LIBS_rist@ LIBS_samplerate = @LIBS_samplerate@ LIBS_sap = @LIBS_sap@ -LIBS_schroedinger = @LIBS_schroedinger@ LIBS_secret = @LIBS_secret@ LIBS_sftp = @LIBS_sftp@ LIBS_shine = @LIBS_shine@ @@ -890,6 +901,7 @@ LTLIBa52 = @LTLIBa52@ LTLIBaa = @LTLIBaa@ LTLIBaccess_mtp = @LTLIBaccess_mtp@ +LTLIBaccess_output_rist = @LTLIBaccess_output_rist@ LTLIBaccess_output_shout = @LTLIBaccess_output_shout@ LTLIBaccess_output_srt = @LTLIBaccess_output_srt@ LTLIBaccess_realrtsp = @LTLIBaccess_realrtsp@ @@ -953,6 +965,7 @@ LTLIBoggspots = @LTLIBoggspots@ LTLIBomxil = @LTLIBomxil@ LTLIBomxil_vout = @LTLIBomxil_vout@ +LTLIBopenapv = @LTLIBopenapv@ LTLIBopencv_example = @LTLIBopencv_example@ LTLIBopencv_wrapper = @LTLIBopencv_wrapper@ LTLIBopensles_android = @LTLIBopensles_android@ @@ -963,8 +976,8 @@ LTLIBprojectm = @LTLIBprojectm@ LTLIBqsv = @LTLIBqsv@ LTLIBrdp = @LTLIBrdp@ +LTLIBrist = @LTLIBrist@ LTLIBsamplerate = @LTLIBsamplerate@ -LTLIBschroedinger = @LTLIBschroedinger@ LTLIBscreen = @LTLIBscreen@ LTLIBsdl_image = @LTLIBsdl_image@ LTLIBsecret = @LTLIBsecret@ @@ -1014,8 +1027,6 @@ MANIFEST_TOOL = @MANIFEST_TOOL@ MATROSKA_CFLAGS = @MATROSKA_CFLAGS@ MATROSKA_LIBS = @MATROSKA_LIBS@ -MFX_CFLAGS = @MFX_CFLAGS@ -MFX_LIBS = @MFX_LIBS@ MICRODNS_CFLAGS = @MICRODNS_CFLAGS@ MICRODNS_LIBS = @MICRODNS_LIBS@ MINIZIP_CFLAGS = @MINIZIP_CFLAGS@ @@ -1048,6 +1059,8 @@ OGGSPOTS_LIBS = @OGGSPOTS_LIBS@ OGG_CFLAGS = @OGG_CFLAGS@ OGG_LIBS = @OGG_LIBS@ +OPENAPV_CFLAGS = @OPENAPV_CFLAGS@ +OPENAPV_LIBS = @OPENAPV_LIBS@ OPENCV_CFLAGS = @OPENCV_CFLAGS@ OPENCV_LIBS = @OPENCV_LIBS@ OPUS_CFLAGS = @OPUS_CFLAGS@ @@ -1074,6 +1087,7 @@ PROGRAMFILES = @PROGRAMFILES@ PROJECTM_CFLAGS = @PROJECTM_CFLAGS@ PROJECTM_LIBS = @PROJECTM_LIBS@ +PROTOBUF_VERSION = @PROTOBUF_VERSION@ PROTOC = @PROTOC@ PULSE_CFLAGS = @PULSE_CFLAGS@ PULSE_LIBS = @PULSE_LIBS@ @@ -1090,8 +1104,6 @@ RCC = @RCC@ SAMPLERATE_CFLAGS = @SAMPLERATE_CFLAGS@ SAMPLERATE_LIBS = @SAMPLERATE_LIBS@ -SCHROEDINGER_CFLAGS = @SCHROEDINGER_CFLAGS@ -SCHROEDINGER_LIBS = @SCHROEDINGER_LIBS@ SDL_IMAGE_CFLAGS = @SDL_IMAGE_CFLAGS@ SDL_IMAGE_LIBS = @SDL_IMAGE_LIBS@ SECRET_CFLAGS = @SECRET_CFLAGS@ @@ -1116,6 +1128,8 @@ SOCKET_LIBS = @SOCKET_LIBS@ SOXR_CFLAGS = @SOXR_CFLAGS@ SOXR_LIBS = @SOXR_LIBS@ +SPATIALAUDIO_040_CFLAGS = @SPATIALAUDIO_040_CFLAGS@ +SPATIALAUDIO_040_LIBS = @SPATIALAUDIO_040_LIBS@ SPATIALAUDIO_CFLAGS = @SPATIALAUDIO_CFLAGS@ SPATIALAUDIO_LIBS = @SPATIALAUDIO_LIBS@ SPEEXDSP_CFLAGS = @SPEEXDSP_CFLAGS@ @@ -1153,6 +1167,7 @@ VDPAU_CFLAGS = @VDPAU_CFLAGS@ VDPAU_LIBS = @VDPAU_LIBS@ VERSION = @VERSION@ +VERSION_DATE = @VERSION_DATE@ VERSION_EXTRA = @VERSION_EXTRA@ VERSION_MAJOR = @VERSION_MAJOR@ VERSION_MESSAGE = @VERSION_MESSAGE@ @@ -1162,6 +1177,8 @@ VNC_LIBS = @VNC_LIBS@ VORBIS_CFLAGS = @VORBIS_CFLAGS@ VORBIS_LIBS = @VORBIS_LIBS@ +VPL_CFLAGS = @VPL_CFLAGS@ +VPL_LIBS = @VPL_LIBS@ VPX_CFLAGS = @VPX_CFLAGS@ VPX_LIBS = @VPX_LIBS@ VSXU_CFLAGS = @VSXU_CFLAGS@ @@ -1306,10 +1323,14 @@ extras/tools/bootstrap extras/tools/packages.mak \ extras/tools/tools.mak extras/tools/SHA512SUMS \ extras/tools/automake-clang.patch \ - extras/tools/cmake-enable-ALPN-support-on-macOS-10.14.patch \ + extras/tools/automake-disable-documentation.patch \ + extras/tools/gettext-no-iconv.patch \ extras/tools/libtool-2.4.7-bitcode.patch \ - extras/tools/libtool-2.4.7-clang-libs.patch \ - extras/tools/libtool-2.4.7-response-files.patch \ + extras/tools/libtool-2.4.7-lpthread.patch \ + extras/tools/libtool-2.6.2-embed-bitcode.patch \ + extras/tools/libtool-2.5.4-ltmain.in-reference-MAGIC_EXE-in-the-main.patch \ + extras/tools/libtool-2.5.4-libtool.m4-respect-the-provided-LTCFLAGS-LTCC-during.patch \ + extras/tools/pkg-config-stdc23-port.patch \ extras/analyser/zsh_completion.sh extras/analyser/zsh.cpp \ extras/analyser/emacs.init extras/analyser/vlc.vim \ extras/analyser/valgrind.suppressions \ @@ -1429,7 +1450,6 @@ @HAVE_DARWIN_TRUE@noinst_DATA = pseudo-bundle win32_destdir = @PACKAGE_DIR@ win32_debugdir = $(abs_top_builddir)/symbols-$(VERSION) -win32_xpi_destdir = $(abs_top_builddir)/vlc-plugin-$(VERSION) 7Z_OPTS = -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on @HAVE_ARM64_FALSE@@HAVE_WIN64_FALSE@WINVERSION = vlc-$(VERSION)-win32 @HAVE_ARM64_FALSE@@HAVE_WIN64_TRUE@WINVERSION = vlc-$(VERSION)-win64 @@ -1887,6 +1907,9 @@ || exit 1; \ fi; \ done + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$(top_distdir)" distdir="$(distdir)" \ + dist-hook -test -n "$(am__skip_mode_fix)" \ || find "$(distdir)" -type d ! -perm -755 \ -exec chmod u+rwx,go+rx {} \; -o \ @@ -2144,9 +2167,9 @@ .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ am--refresh check check-TESTS check-am clean clean-cscope \ clean-generic clean-libtool cscope cscopelist-am ctags \ - ctags-am dist dist-all dist-bzip2 dist-gzip dist-lzip \ - dist-shar dist-tarZ dist-xz dist-zip distcheck distclean \ - distclean-generic distclean-hdr distclean-libtool \ + ctags-am dist dist-all dist-bzip2 dist-gzip dist-hook \ + dist-lzip dist-shar dist-tarZ dist-xz dist-zip distcheck \ + distclean distclean-generic distclean-hdr distclean-libtool \ distclean-tags distcleancheck distdir distuninstallcheck dvi \ dvi-am html html-am info info-am install install-am \ install-binSCRIPTS install-data install-data-am install-dvi \ @@ -2285,6 +2308,9 @@ printf "APPLVLC#" >| $@/Contents/PkgInfo mkdir -p $@/Contents/MacOS/lib find $(prefix)/lib -name 'libvlc*.dylib' -maxdepth 1 -exec cp -a {} $@/Contents/MacOS/lib \; + if test "$(host_cpu)" = "x86_64"; then \ + find $@/Contents/MacOS/lib -name 'libvlccore*.dylib' -maxdepth 1 -type f -exec install_name_tool -change /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices {} \; ; \ + fi mkdir -p $@/Contents/MacOS/plugins find $(prefix)/lib/vlc/plugins -name 'lib*_plugin.dylib' -maxdepth 3 -exec cp -a {} $@/Contents/MacOS/plugins \; find "$(CONTRIB_DIR)/share/java/" -name 'libbluray*.jar' -maxdepth 1 -exec cp -a {} $@/Contents/MacOS/plugins \; || true @@ -2296,6 +2322,7 @@ fi find $@ -type d -exec chmod ugo+rx '{}' \; find $@ -type f -exec chmod ugo+r '{}' \; + $(srcdir)/extras/package/macosx/codesign.sh -i - package-macosx: VLC.app rm -f "$(top_builddir)/vlc-$(VERSION).dmg" @@ -2400,10 +2427,10 @@ @HAVE_WIN32_TRUE@ PKG_CONFIG="$(PKG_CONFIG)" @HAVE_WIN32_TRUE@ touch $@ -@HAVE_WIN32_TRUE@npapi-vlc/npapi/npvlc.la: npapi-vlc/Makefile +@HAVE_WIN32_TRUE@npapi-vlc/activex/axvlc.la: npapi-vlc/Makefile @HAVE_WIN32_TRUE@ $(MAKE) -C npapi-vlc -@HAVE_WIN32_TRUE@install-npapi: npapi-vlc/npapi/npvlc.la +@HAVE_WIN32_TRUE@install-npapi: npapi-vlc/activex/axvlc.la @HAVE_WIN32_TRUE@ $(MAKE) -C npapi-vlc \ @HAVE_WIN32_TRUE@ DESTDIR="$(abs_builddir)/npapi-vlc/installed" install @@ -2450,7 +2477,7 @@ -cp -r $(prefix)/share/locale $(win32_destdir) # BD-J JAR - -cp $(CONTRIB_DIR)/share/java/*.jar $(win32_destdir)/plugins/access/ + -cp $(CONTRIB_DIR)/share/java/libbluray*.jar $(win32_destdir)/plugins/access/ @BUILD_LUA_TRUE@ mkdir -p $(win32_destdir)/lua/ @BUILD_LUA_TRUE@ cp -r $(prefix)/lib/vlc/lua/* $(win32_destdir)/lua/ @@ -2465,13 +2492,12 @@ # Convert to DOS line endings find $(win32_destdir) -type f \( -name "*xml" -or -name "*html" -or -name '*js' -or -name '*css' -or -name '*hosts' -or -iname '*txt' -or -name '*.cfg' -or -name '*.lua' \) -exec $(U2D) -q {} \; -package-win-npapi: build-npapi +package-win-activex: build-npapi cp "$(top_builddir)/npapi-vlc/installed/lib/axvlc.dll" "$(win32_destdir)/" - cp "$(top_builddir)/npapi-vlc/installed/lib/npvlc.dll" "$(win32_destdir)/" mkdir -p "$(win32_destdir)/sdk/activex/" cp $(top_builddir)/npapi-vlc/activex/README.TXT $(top_builddir)/npapi-vlc/share/test/test.html $(win32_destdir)/sdk/activex/ -package-win-strip: package-win-common package-win-npapi +package-win-strip: package-win-common package-win-activex mkdir -p "$(win32_debugdir)"/ find $(win32_destdir) -type f \( -name '*$(LIBEXT)' -or -name '*$(EXEEXT)' \) | while read i; \ do if test -n "$$i" ; then \ @@ -2481,21 +2507,6 @@ fi ; \ done -package-win32-webplugin-common: package-win-strip - mkdir -p "$(win32_xpi_destdir)/plugins/" - cp -r $(win32_destdir)/plugins/ "$(win32_xpi_destdir)/plugins/" - cp "$(win32_destdir)/libvlc.dll" "$(win32_destdir)/libvlccore.dll" "$(win32_destdir)/npvlc.dll" "$(win32_xpi_destdir)/plugins/" - rm -rf "$(win32_xpi_destdir)/plugins/plugins/gui/" - -package-win32-xpi: package-win32-webplugin-common - cp $(top_builddir)/npapi-vlc/npapi/package/install.rdf "$(win32_xpi_destdir)/" - zip -r -9 $(WINVERSION).xpi $(win32_xpi_destdir)/install.rdf $(win32_xpi_destdir)/plugins - -package-win32-crx: package-win32-webplugin-common - cp $(top_builddir)/npapi-vlc/npapi/package/manifest.json "$(win32_xpi_destdir)/" - crxmake --pack-extension "$(win32_xpi_destdir)" \ - --extension-output "$(win32_destdir)/$(WINVERSION).crx" --ignore-file install.rdf - $(win32_destdir)/NSIS/nsProcess.dll: extras/package/win32/NSIS/nsProcess/nsProcess.c extras/package/win32/NSIS/nsProcess/pluginapi.c mkdir -p "$(win32_destdir)/NSIS/" @HAVE_WIN64_TRUE@ i686-w64-mingw32-gcc $^ -shared -o $@ -lole32 -static-libgcc -D_UNICODE=1 -DUNICODE=1 @@ -2545,9 +2556,9 @@ 7z a $(7Z_OPTS) $(WINVERSION)-debug.7z vlc-$(VERSION) package-win32-cleanup: - rm -Rf $(win32_destdir) $(win32_debugdir) $(win32_xpi_destdir) + rm -Rf $(win32_destdir) $(win32_debugdir) -package-win32: package-win32-zip package-win32-7zip package-win32-exe package-win32-xpi +package-win32: package-win32-zip package-win32-7zip package-win32-exe package-win32-debug: package-win32-debug-zip package-win32-debug-7zip @@ -2569,7 +2580,7 @@ rm -f -- vlc-$(VERSION)-wince.zip zip -r -9 vlc-$(VERSION)-wince.zip vlc-$(VERSION) -.PHONY: package-win-install package-win-common package-win-strip package-win32-webplugin-common package-win32-xpi package-win32-crx package-win32-src package-win32-exe package-win32-zip package-win32-debug-zip package-win32-7zip package-win32-debug-7zip package-win32-cleanup package-win32 package-win32-debug package-wince +.PHONY: package-win-install package-win-common package-win-strip package-win32-src package-win32-exe package-win32-zip package-win32-debug-zip package-win32-7zip package-win32-debug-7zip package-win32-cleanup package-win32 package-win32-debug package-wince heat: package-win-strip $(HEAT) --dir $(VLCDIR)/plugins -cg CompPluginsGroup -gg -scom -sreg -sfrag -dr APPLICATIONFOLDER -out $(MSIBUILDDIR)/Plugins.fragment.wxs @@ -2600,6 +2611,17 @@ # OS Packaging rules ############################################################################### +dist-hook: + chmod u+w "$(distdir)/configure" "$(distdir)/configure.ac" + mtime_ref=$(mktemp) +# We keep a copy to have a reference timestamp and restore it, +# to avoid triggering automake again + cp -p "$(distdir)/configure.ac" "$mtime_ref" + sed -i '/^VERSION_DATE=\$$(/,/^)/c\VERSION_DATE='$(VERSION_DATE) \ + "$(distdir)/configure" "$(distdir)/configure.ac" + touch -r "$mtime_ref" "$(distdir)/configure.ac" + rm "$mtime_ref" + # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff -Nru vlc-3.0.23/NEWS vlc-3.0.24/NEWS --- vlc-3.0.23/NEWS 2025-12-23 10:49:19.000000000 +0000 +++ vlc-3.0.24/NEWS 2026-09-17 12:37:40.000000000 +0000 @@ -1,12 +1,132 @@ +Changes between 3.0.23 and 3.0.24: +---------------------------------- + +Codecs: + * Use FFmpeg 8.1 (upgraded from 4.4) + * Support APV decoder (FFmpeg 8) + * Support Atrac3/Atrac9 decoding + * Remove schroedinger support for dirac in favor of avcodec + * Fix Speex leaks and packetization issues + * Fix WebVTT CSS parsing and error handling + * Fix FLAC and HEVC packetizer edge cases + * Fix AudioToolbox MIDI synthesizer crash on macOS 26+ + +Demuxers: + * Add support for CEA-708 closed captions in MP4 + * Expose ID3v2 metadata in MPEG demuxer + * Improve subtitle language detection from filenames and SSA/ASS metadata + * Fix several MKV crashes, leaks, hangs and malformed file handling issues + * Fix AVI hang with zero-sized strd chunks + * Fix MP4, MPEG-TS, Ogg, RealAudio and subtitle demuxing edge cases + +Access: + * Switch RIST input and output to librist, with main and simple profile support + * Add SRT listener mode support + * Add SFTP public key authentication options and ED25519 hostkey support + * Update SMB2 share enumeration + * Don't ship RealRTSP plugin (build disabled for all configurations) + +Service Discovery: + * Include Chromecast model in mDNS renderer names + * Fix IPv6 addresses in Bonjour service URLs + +Video Output: + * Fix Direct3D11 adjust filter and texture leaks + * Fix MediaCodec crop validation + * Super Resolution scaling with Moore Threads GPUs + +Windows: + * Support NV12 DirectShow capture + * Improve UWP build and runtime compatibility + * Fix mmdevice crashes, leaks and deadlocks + * Generate debug symbols by default for Windows packages + +Interface: + * Qt: Fix default open dialog location + * Qt: Fix effects window geometry saving + * Qt: Improve hotkeys dialog strings + +Stream Output: + * Disable HEVC for original Chromecast devices + +Security: + * Switch to a new RSA-4096 key for update verification + * Fix multiple OOB, integer overflow, double-free and use-after-free issues + * See https://www.videolan.org/security/ + +Misc: + * Add Flatpak build support + * Fix Audio EQ filter High Frequency parameter + * Fix artwork preparser crash when artwork title is null + * Fix LibVLC media list player race + * Remove NPAPI browser plugin + +Lua: + * Remove broken youtube.lua plugin + +Windows: + * Fix slow startup on Windows when Daylight Saving Time changes (#29685) + +Contrib: + * Update libarchive to 3.8.8 + * Update libass to 0.17.5 + * Update aom to 3.15.0 + * Update amf to 1.5.2 + * Update asdcp to 2_13_2 + * Update chromaprint to 1.6.0 + * Update dav1d to 1.5.4 + * Update faad to 2.11.2 + * Update flac to 1.4.2 + * Update FFmpeg to 8.1.2 + * Update freetype to 2.14.3 + * Update gcrypt to 1.12.2 + * Update glew to 2.3.1 + * Update gme to 0.6.5 + * Update gnutls to 3.8.13 + * Update gpg-error to 1.61 + * Update harfbuzz to 14.2.1 + * Update jpeg to v9f + * Update libbluray to 1.4.1 + * Update libebml to 1.4.6 + * Update libmad to 0.16.14 + * Update libmicrodns to 0.2.0 + * Update libtasn1 to 4.21.0 + * Update libxml2 to 2.15.3 + * Update matroska to 1.7.2 + * Update mpg123 to 1.33.6 + * Update mysofa to 1.2.1 + * Update nettle to 3.10.2 + * Update nfs to 6.0.2 + * Update openjpeg to 2.5.4 + * Update png to 1.6.58 + * Update protobuf to 3.4.1 + * Update opus to 1.6.1 + * Update shout to 2.4.6 + * Update SDL to 3.4.10 + * Update SDL_image to 3.4.4 + * Update smb2 to 6.1 + * Update srt to 1.5.6 + * Update ssh2 to 1.11.1 + * Update upnp to 1.14.20 + * Update vncclient to 0.9.15 + * Update vorbis to 1.3.7 + * Update x265 to 4.1 + * Update zlib to 1.3.2 + * Update zvbi to 0.2.45 + * Add librist 0.2.20 + * Switch mfx Library to Intel's vpl 2.13.0 + Changes between 3.0.22 and 3.0.23: ---------------------------------- Codecs: * Fix WebVTT line positioning * Expose additional audio codec information (notably for Flac 24bit) + * Fix CEA-708 caption mask parsing Demuxers: - * fix some JPEG files wih JFIF headers + * Fix some JPEG files with JFIF headers + * Fix malformed WebVTT and subtitle stream probing Windows: * config_GetUserDir() no longer tries to create the folder on Windows (#29488) @@ -17,10 +137,12 @@ Security: * Fix null deref in libass, undefined shift in theora and cc-708, integer overflow in daala, Infinite loop in h264 parsing, buffer overflow in png and multiple format-overflows + * Fix malformed stream handling in Blu-ray, WebVTT and subtitle modules Misc: * Prepare compatibility for taglib 2.0, Qt6, FFmpeg8, mingw-w64 v13 and newer versions of libplacebo and pupnp + * Update translations Changes between 3.0.21 and 3.0.22: @@ -55,9 +177,11 @@ * Fix playback of very short ASF files (duration less than 1s) * Multiple fixes in MPEG-TS * Fix crashes in multiple demuxers (reported by rub.de, oss-fuzz and others) + Including fixes for malformed WAV, VOC, MMS, ASF and AVI files and HDS stream Input: * Fix SFTP seeking for large files on 32-bit OS + * Do not fetch network metadata when disabled by the user Interface: * Qt: Add option to use dark palette @@ -72,6 +196,7 @@ Video Output: * Use a better stretch mode in wingdi * Fetch missing device information when running in UWP + * Fix AMF filters crash on non-AMD GPUs Video Filter: * Add AMD GPU Frame Rate Doubler (Direct3D11) @@ -86,7 +211,7 @@ * Update gcrypt to 1.10.1 * Update glew to 2.1.0 * Update gmp to 6.3.0 - * Udpate gnutls to 3.8.10 + * Update gnutls to 3.8.10 * Update harfbuzz to 11.5.0 * Update iconv to 1.17 * Update libarchive to 3.8.0 including support for RAR 5.0 @@ -103,13 +228,15 @@ * Update taglib to 1.13.1 * Update zlib to 1.3.1 * and more 3rd party updates - * libmpeg2, libdca and liba52 are no longer build by default + * libmpeg2, libdca and liba52 are no longer built by default * build ragel inside harfbuzz if necessary Misc: * gnutls: remove manual DH prime bits setting * Avoid very large fonts in portrait mode * Update of most translations + * Fix AppStream metadata file name + * Fix libVLC vout table leak Many thanks to the Sovereign Tech Agency (https://www.sovereign.tech/), and especially their Sovereign Tech Fund program, for helping VLC sustainability and safety. @@ -124,9 +251,11 @@ * Use-after Free in SVG decoder * Crash in Subtitles core, in jpeg2 inside TS * Multiple crashes and OOB in CEA-708 subtitles + * MMS boundary and integer overflow issues * OOB read on Oggspot, MP4 * Multiple leaks in MKV, ASF/WMV, CAF and PS demuxers, Ogg, Theora, Vorbis, WebVTT and SVCD decoders + * Fix CVE-2014-5461 in bundled Lua * Busy loop in WebVTT (The list above is not exhaustive) @@ -143,6 +272,7 @@ Input: * Add support for HTTP content range handling according to RFC 9110 * Fix some HLS Adaptive Streaming not working in audio-only mode + * Fix short HTTP byte-range responses Video Output: * Super Resolution scaling with AMD GPUs @@ -150,6 +280,7 @@ the display * Improve subtitles rendering on Apple platforms of notably Asian languages by correcting font fallback lookups + * Fix D3D11 scaler deadlocks and output size changes Video Filter: * New AMD VQ Enhancer filter @@ -161,19 +292,23 @@ Services Discovery: * Fix exposed UPnP directory URL schemes to be compliant with RFC 3986 + * Restrict UPnP exposed URLs to HTTP(S) Contrib: * Update FFmpeg to 4.4.4 + * Update amf to 1.4.33 * Update dav1d to 1.4.2 * Update libvpx to 1.14.1 libVLC: * the HWND passed to libvlc_media_player_set_hwnd must have the WS_CLIPCHILDREN style set. + * Fix API compatibility when using libVLC from MSVC * Fix crashes when using caopengllayer Misc: * Fix various warnings, leaks and potential crashes + * Fix WinVLC crashdump path handling * Fix security integer overflow in MMS module @@ -194,6 +329,9 @@ Demuxers: * Fix potential security issue (OOB Write) on MMS:// by checking user size bounds +Contribs: + * Update dav1d to 1.3.0 + Changes between 3.0.18 and 3.0.19: ---------------------------------- @@ -270,6 +408,10 @@ Misc: * Fix rendering and performance issue with older GPUs +Security: + * Fix possible buffer overflow in VNC + * Fix division by zero in MP4 demuxing + Contribs: * Update aom @@ -280,6 +422,7 @@ Codec/Demux: * Add support for Y16 chroma * Fix build of gme plugin + * Fix overflows in 24-bit raw audio decoder Lua: * Fix script for vocaroo @@ -354,9 +497,15 @@ Changes between 3.0.17 and 3.0.17.2: ------------------------------------ +Video Output: + * VAAPI: add support for DRM modifiers + Interface: * Qt: Fix right click support on video +Contribs: + * Update FLAC to 1.3.4 + Misc: * Update YouTube script @@ -385,6 +534,7 @@ * Fix crashes with VP9 streams * Fix styling issues with subs tx3g (mp4) tracks * Fix playback of live AV1 streams + * GStreamer decoder: add AV1 and more video codec mappings Audio Output: * iOS/tvOS: add support for spatial audio @@ -396,6 +546,7 @@ Demux: * Major overhaul of the adaptive streaming stack + * HLS: add support for Ogg streams, packed MP3 and AC-3 * Support for DAV video files * Add WebP image mapping * Fix missing audio start of Opus audio in MKV/WebM @@ -409,9 +560,11 @@ * Add safe area handling on macOS * Qt: improve preferences search * Qt: fix --no-mouse-events option + * Qt: add shuffle playlist action Misc: * Update YouTube script + * RTP output: add support for E-AC-3 * Fix Icecast directory parsing which could lead to missing entries * Improve UPnP compatibility with some servers @@ -432,6 +585,7 @@ * Update libnfs to 5.0.1 * Update libarchive to 3.6.0 * Update AOM encoder to 3.1.1 + * Update ncurses to 6.3 Changes between 3.0.15 and 3.0.16: @@ -442,10 +596,17 @@ Access: * Fix RTSP server timeout handling + * Mark FTP and SOCKS password options as password fields Interfaces: * macOS: Add touchbar support +Stream Output: + * Fix --sout-transcode-sfilter option + +Contribs: + * Update mpg123 to 1.28.0 + Misc * Multiple settings improvements @@ -455,6 +616,7 @@ Core: * Add Opus & Alac wave format mappings + * Add legacy Hebrew ISO-639 code for old DVDs Access: * Fix opening DVD folders with non-ascii characters @@ -470,6 +632,16 @@ Text renderer: * Improve freetype fonts outlining +Audio Output: + * Fix sndio crash when adjusting volume while stopped + +macOS: + * Fix crash on exit related to PXSourceList + +Contribs: + * Update dav1d to 0.9.0 + * Update freetype to 2.10.4 and harfbuzz to 2.6.8 + Misc: * Fix GnuTLS support for Windows XP @@ -482,6 +654,12 @@ * Fix an issue causing the auto-updater not to launch the new version installer +Video Output: + * Update built-in shaders to BT.709-2 coefficients + +Misc: + * Fix build with libsmb2 3.0.0 + Changes between 3.0.12.1 and 3.0.13: ---------------------------------- @@ -497,6 +675,8 @@ * Support SSA text scaling * Fix rotation on Android rotation * Fix WebVTT subtitles that start at 00:00 + * Limit automatic dav1d frame thread count + * Fix AV1 unpack header overflow Access: * Update libnfs to support NFSv4 @@ -517,6 +697,15 @@ Windows: * Fix subtitles/OSD under Windows XP +Contribs: + * Update libdvdcss to 1.4.3, libdvdread to 6.1.2 and libdvdnav to 6.1.1 + * Update libbluray to 1.3.0 + * Update libebml to 1.4.2 and libmatroska to 1.6.3 + +Security: + * Fix update mechanism integer overflow + * Fix FFmpeg MPEG-2 DXVA crash after buffer use-after-free + Misc: * Update translations * Improve MIDI fonts search on Linux @@ -538,6 +727,8 @@ Access: * Add new RIST access module compliant with simple profile (VSF_TR-06-1) + * Improve SMB2 reconnection handling + * Fix FTP NLST response handling Access Output: * Add new RIST access output module compliant with simple profile (VSF_TR-06-1) @@ -546,8 +737,12 @@ * Fixed adaptive's handling of resolution settings * Improve Bluray tracks support * Improve WMV seeking and DASH support + * Fix ASF seek delay and MP4/HEVC packetizer minor issues * Fix crashes in AVI, MKV modules +Decoders: + * Fix VideoToolbox 10-bit output on iOS 14 + Audio output: * Fix audio distortion on macOS during start of playback @@ -566,6 +761,7 @@ improvements * Update YouTube and Vocaroo scripts * Fix rotation filter mouse handling + * Update gnutls to 3.6.15 and libbluray to 1.2.1 * Update translations @@ -608,6 +804,7 @@ * Fixed regression with some encrypted HLS streams * Live HLS delay until first update fix * HLS rendition switch regression fix + * Fix adaptive timing, offset and segment selection edge cases * Fix imprecise m4a seek Decoder: @@ -619,6 +816,7 @@ Contribs: * Updated libfaad to 2.9.2 (Parametric Stereo regression) * Updated libarchive to 3.4.2 + * Updated dav1d to 0.7.0 macOS: * Fixed moving video window with mouse @@ -631,6 +829,9 @@ Misc: * Update Youtube script + * Allow 64-bit values in config chains + * Add avahi-control plug to the Snap package + * Update translations Changes between 3.0.9.2 and 3.0.10: @@ -6204,4 +6405,3 @@ * fixed crash on directory change in Familiar interface * added qte_main module for use in all modules that need Opie or Qte support * native video output module for Qt Embedded/Opie is not working - diff -Nru vlc-3.0.23/aclocal.m4 vlc-3.0.24/aclocal.m4 --- vlc-3.0.23/aclocal.m4 2025-12-23 10:59:09.000000000 +0000 +++ vlc-3.0.24/aclocal.m4 2026-09-17 12:50:35.000000000 +0000 @@ -14,8 +14,8 @@ m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl -m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, -[m4_warning([this file was generated for autoconf 2.69. +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.71],, +[m4_warning([this file was generated for autoconf 2.71. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'.])]) diff -Nru vlc-3.0.23/autotools/config.guess vlc-3.0.24/autotools/config.guess --- vlc-3.0.23/autotools/config.guess 2025-12-23 10:59:14.000000000 +0000 +++ vlc-3.0.24/autotools/config.guess 2026-09-17 12:50:45.000000000 +0000 @@ -1,8 +1,8 @@ #! /bin/sh # Attempt to guess a canonical system name. -# Copyright 1992-2018 Free Software Foundation, Inc. +# Copyright 1992-2021 Free Software Foundation, Inc. -timestamp='2018-02-24' +timestamp='2021-01-25' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -27,12 +27,12 @@ # Originally written by Per Bothner; maintained since 2000 by Ben Elliston. # # You can get the latest version of this script from: -# https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess +# https://git.savannah.gnu.org/cgit/config.git/plain/config.guess # # Please send patches to . -me=`echo "$0" | sed -e 's,.*/,,'` +me=$(echo "$0" | sed -e 's,.*/,,') usage="\ Usage: $0 [OPTION] @@ -50,7 +50,7 @@ GNU config.guess ($timestamp) Originally written by Per Bothner. -Copyright 1992-2018 Free Software Foundation, Inc. +Copyright 1992-2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -84,8 +84,6 @@ exit 1 fi -trap 'exit 1' 1 2 15 - # CC_FOR_BUILD -- compiler used by this script. Note that the use of a # compiler to aid in system detection is discouraged as it requires # temporary files to be created and, as you can see below, it is a @@ -96,66 +94,82 @@ # Portable tmp directory creation inspired by the Autoconf team. -set_cc_for_build=' -trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; -trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; -: ${TMPDIR=/tmp} ; - { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || - { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || - { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || - { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; -dummy=$tmp/dummy ; -tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; -case $CC_FOR_BUILD,$HOST_CC,$CC in - ,,) echo "int x;" > "$dummy.c" ; - for c in cc gcc c89 c99 ; do - if ($c -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then - CC_FOR_BUILD="$c"; break ; - fi ; - done ; - if test x"$CC_FOR_BUILD" = x ; then - CC_FOR_BUILD=no_compiler_found ; - fi - ;; - ,,*) CC_FOR_BUILD=$CC ;; - ,*,*) CC_FOR_BUILD=$HOST_CC ;; -esac ; set_cc_for_build= ;' +tmp= +# shellcheck disable=SC2172 +trap 'test -z "$tmp" || rm -fr "$tmp"' 0 1 2 13 15 + +set_cc_for_build() { + # prevent multiple calls if $tmp is already set + test "$tmp" && return 0 + : "${TMPDIR=/tmp}" + # shellcheck disable=SC2039 + { tmp=$( (umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null) && test -n "$tmp" && test -d "$tmp" ; } || + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir "$tmp" 2>/dev/null) ; } || + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir "$tmp" 2>/dev/null) && echo "Warning: creating insecure temp directory" >&2 ; } || + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } + dummy=$tmp/dummy + case ${CC_FOR_BUILD-},${HOST_CC-},${CC-} in + ,,) echo "int x;" > "$dummy.c" + for driver in cc gcc c89 c99 ; do + if ($driver -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then + CC_FOR_BUILD="$driver" + break + fi + done + if test x"$CC_FOR_BUILD" = x ; then + CC_FOR_BUILD=no_compiler_found + fi + ;; + ,,*) CC_FOR_BUILD=$CC ;; + ,*,*) CC_FOR_BUILD=$HOST_CC ;; + esac +} # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) -if (test -f /.attbin/uname) >/dev/null 2>&1 ; then +if test -f /.attbin/uname ; then PATH=$PATH:/.attbin ; export PATH fi -UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown -UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown -UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown -UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown +UNAME_MACHINE=$( (uname -m) 2>/dev/null) || UNAME_MACHINE=unknown +UNAME_RELEASE=$( (uname -r) 2>/dev/null) || UNAME_RELEASE=unknown +UNAME_SYSTEM=$( (uname -s) 2>/dev/null) || UNAME_SYSTEM=unknown +UNAME_VERSION=$( (uname -v) 2>/dev/null) || UNAME_VERSION=unknown case "$UNAME_SYSTEM" in Linux|GNU|GNU/*) - # If the system lacks a compiler, then just pick glibc. - # We could probably try harder. - LIBC=gnu + LIBC=unknown - eval "$set_cc_for_build" + set_cc_for_build cat <<-EOF > "$dummy.c" #include #if defined(__UCLIBC__) LIBC=uclibc #elif defined(__dietlibc__) LIBC=dietlibc - #else + #elif defined(__GLIBC__) LIBC=gnu + #else + #include + /* First heuristic to detect musl libc. */ + #ifdef __DEFINED_va_list + LIBC=musl + #endif #endif EOF - eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`" + eval "$($CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g')" - # If ldd exists, use it to detect musl libc. - if command -v ldd >/dev/null && \ - ldd --version 2>&1 | grep -q ^musl - then - LIBC=musl + # Second heuristic to detect musl libc. + if [ "$LIBC" = unknown ] && + command -v ldd >/dev/null && + ldd --version 2>&1 | grep -q ^musl; then + LIBC=musl + fi + + # If the system lacks a compiler, then just pick glibc. + # We could probably try harder. + if [ "$LIBC" = unknown ]; then + LIBC=gnu fi ;; esac @@ -174,20 +188,20 @@ # # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". - sysctl="sysctl -n hw.machine_arch" - UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \ - "/sbin/$sysctl" 2>/dev/null || \ - "/usr/sbin/$sysctl" 2>/dev/null || \ - echo unknown)` + UNAME_MACHINE_ARCH=$( (uname -p 2>/dev/null || \ + /sbin/sysctl -n hw.machine_arch 2>/dev/null || \ + /usr/sbin/sysctl -n hw.machine_arch 2>/dev/null || \ + echo unknown)) case "$UNAME_MACHINE_ARCH" in + aarch64eb) machine=aarch64_be-unknown ;; armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; sh5el) machine=sh5le-unknown ;; earmv*) - arch=`echo "$UNAME_MACHINE_ARCH" | sed -e 's,^e\(armv[0-9]\).*$,\1,'` - endian=`echo "$UNAME_MACHINE_ARCH" | sed -ne 's,^.*\(eb\)$,\1,p'` + arch=$(echo "$UNAME_MACHINE_ARCH" | sed -e 's,^e\(armv[0-9]\).*$,\1,') + endian=$(echo "$UNAME_MACHINE_ARCH" | sed -ne 's,^.*\(eb\)$,\1,p') machine="${arch}${endian}"-unknown ;; *) machine="$UNAME_MACHINE_ARCH"-unknown ;; @@ -199,7 +213,7 @@ os=netbsdelf ;; arm*|i386|m68k|ns32k|sh3*|sparc|vax) - eval "$set_cc_for_build" + set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ELF__ then @@ -218,7 +232,7 @@ case "$UNAME_MACHINE_ARCH" in earm*) expr='s/^earmv[0-9]/-eabi/;s/eb$//' - abi=`echo "$UNAME_MACHINE_ARCH" | sed -e "$expr"` + abi=$(echo "$UNAME_MACHINE_ARCH" | sed -e "$expr") ;; esac # The OS release @@ -231,24 +245,24 @@ release='-gnu' ;; *) - release=`echo "$UNAME_RELEASE" | sed -e 's/[-_].*//' | cut -d. -f1,2` + release=$(echo "$UNAME_RELEASE" | sed -e 's/[-_].*//' | cut -d. -f1,2) ;; esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. - echo "$machine-${os}${release}${abi}" + echo "$machine-${os}${release}${abi-}" exit ;; *:Bitrig:*:*) - UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` + UNAME_MACHINE_ARCH=$(arch | sed 's/Bitrig.//') echo "$UNAME_MACHINE_ARCH"-unknown-bitrig"$UNAME_RELEASE" exit ;; *:OpenBSD:*:*) - UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` + UNAME_MACHINE_ARCH=$(arch | sed 's/OpenBSD.//') echo "$UNAME_MACHINE_ARCH"-unknown-openbsd"$UNAME_RELEASE" exit ;; *:LibertyBSD:*:*) - UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'` + UNAME_MACHINE_ARCH=$(arch | sed 's/^.*BSD\.//') echo "$UNAME_MACHINE_ARCH"-unknown-libertybsd"$UNAME_RELEASE" exit ;; *:MidnightBSD:*:*) @@ -260,6 +274,9 @@ *:SolidBSD:*:*) echo "$UNAME_MACHINE"-unknown-solidbsd"$UNAME_RELEASE" exit ;; + *:OS108:*:*) + echo "$UNAME_MACHINE"-unknown-os108_"$UNAME_RELEASE" + exit ;; macppc:MirBSD:*:*) echo powerpc-unknown-mirbsd"$UNAME_RELEASE" exit ;; @@ -269,26 +286,29 @@ *:Sortix:*:*) echo "$UNAME_MACHINE"-unknown-sortix exit ;; + *:Twizzler:*:*) + echo "$UNAME_MACHINE"-unknown-twizzler + exit ;; *:Redox:*:*) echo "$UNAME_MACHINE"-unknown-redox exit ;; mips:OSF1:*.*) - echo mips-dec-osf1 - exit ;; + echo mips-dec-osf1 + exit ;; alpha:OSF1:*:*) case $UNAME_RELEASE in *4.0) - UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` + UNAME_RELEASE=$(/usr/sbin/sizer -v | awk '{print $3}') ;; *5.*) - UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` + UNAME_RELEASE=$(/usr/sbin/sizer -v | awk '{print $4}') ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on # OSF/1 and Tru64 systems produced since 1995. I hope that # covers most systems running today. This code pipes the CPU # types through head -n 1, so we only detect the type of CPU 0. - ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` + ALPHA_CPU_TYPE=$(/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1) case "$ALPHA_CPU_TYPE" in "EV4 (21064)") UNAME_MACHINE=alpha ;; @@ -326,7 +346,7 @@ # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. - echo "$UNAME_MACHINE"-dec-osf"`echo "$UNAME_RELEASE" | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`" + echo "$UNAME_MACHINE"-dec-osf"$(echo "$UNAME_RELEASE" | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz)" # Reset EXIT trap before exiting to avoid spurious non-zero exit code. exitcode=$? trap '' 0 @@ -360,7 +380,7 @@ exit ;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. - if test "`(/bin/universe) 2>/dev/null`" = att ; then + if test "$( (/bin/universe) 2>/dev/null)" = att ; then echo pyramid-pyramid-sysv3 else echo pyramid-pyramid-bsd @@ -373,28 +393,28 @@ echo sparc-icl-nx6 exit ;; DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) - case `/usr/bin/uname -p` in + case $(/usr/bin/uname -p) in sparc) echo sparc-icl-nx7; exit ;; esac ;; s390x:SunOS:*:*) - echo "$UNAME_MACHINE"-ibm-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`" + echo "$UNAME_MACHINE"-ibm-solaris2"$(echo "$UNAME_RELEASE" | sed -e 's/[^.]*//')" exit ;; sun4H:SunOS:5.*:*) - echo sparc-hal-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" + echo sparc-hal-solaris2"$(echo "$UNAME_RELEASE"|sed -e 's/[^.]*//')" exit ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) - echo sparc-sun-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`" + echo sparc-sun-solaris2"$(echo "$UNAME_RELEASE" | sed -e 's/[^.]*//')" exit ;; i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) echo i386-pc-auroraux"$UNAME_RELEASE" exit ;; i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) - eval "$set_cc_for_build" + set_cc_for_build SUN_ARCH=i386 # If there is a compiler, see if it is configured for 64-bit objects. # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. # This test works for both compilers. - if [ "$CC_FOR_BUILD" != no_compiler_found ]; then + if test "$CC_FOR_BUILD" != no_compiler_found; then if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null @@ -402,30 +422,30 @@ SUN_ARCH=x86_64 fi fi - echo "$SUN_ARCH"-pc-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" + echo "$SUN_ARCH"-pc-solaris2"$(echo "$UNAME_RELEASE"|sed -e 's/[^.]*//')" exit ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize # SunOS6. Hard to guess exactly what SunOS6 will be like, but # it's likely to be more like Solaris than SunOS4. - echo sparc-sun-solaris3"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" + echo sparc-sun-solaris3"$(echo "$UNAME_RELEASE"|sed -e 's/[^.]*//')" exit ;; sun4*:SunOS:*:*) - case "`/usr/bin/arch -k`" in + case "$(/usr/bin/arch -k)" in Series*|S4*) - UNAME_RELEASE=`uname -v` + UNAME_RELEASE=$(uname -v) ;; esac # Japanese Language versions have a version number like `4.1.3-JL'. - echo sparc-sun-sunos"`echo "$UNAME_RELEASE"|sed -e 's/-/_/'`" + echo sparc-sun-sunos"$(echo "$UNAME_RELEASE"|sed -e 's/-/_/')" exit ;; sun3*:SunOS:*:*) echo m68k-sun-sunos"$UNAME_RELEASE" exit ;; sun*:*:4.2BSD:*) - UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` + UNAME_RELEASE=$( (sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null) test "x$UNAME_RELEASE" = x && UNAME_RELEASE=3 - case "`/bin/arch`" in + case "$(/bin/arch)" in sun3) echo m68k-sun-sunos"$UNAME_RELEASE" ;; @@ -482,7 +502,7 @@ echo clipper-intergraph-clix"$UNAME_RELEASE" exit ;; mips:*:*:UMIPS | mips:*:*:RISCos) - eval "$set_cc_for_build" + set_cc_for_build sed 's/^ //' << EOF > "$dummy.c" #ifdef __cplusplus #include /* for printf() prototype */ @@ -505,8 +525,8 @@ } EOF $CC_FOR_BUILD -o "$dummy" "$dummy.c" && - dummyarg=`echo "$UNAME_RELEASE" | sed -n 's/\([0-9]*\).*/\1/p'` && - SYSTEM_NAME=`"$dummy" "$dummyarg"` && + dummyarg=$(echo "$UNAME_RELEASE" | sed -n 's/\([0-9]*\).*/\1/p') && + SYSTEM_NAME=$("$dummy" "$dummyarg") && { echo "$SYSTEM_NAME"; exit; } echo mips-mips-riscos"$UNAME_RELEASE" exit ;; @@ -533,11 +553,11 @@ exit ;; AViiON:dgux:*:*) # DG/UX returns AViiON for all architectures - UNAME_PROCESSOR=`/usr/bin/uname -p` - if [ "$UNAME_PROCESSOR" = mc88100 ] || [ "$UNAME_PROCESSOR" = mc88110 ] + UNAME_PROCESSOR=$(/usr/bin/uname -p) + if test "$UNAME_PROCESSOR" = mc88100 || test "$UNAME_PROCESSOR" = mc88110 then - if [ "$TARGET_BINARY_INTERFACE"x = m88kdguxelfx ] || \ - [ "$TARGET_BINARY_INTERFACE"x = x ] + if test "$TARGET_BINARY_INTERFACE"x = m88kdguxelfx || \ + test "$TARGET_BINARY_INTERFACE"x = x then echo m88k-dg-dgux"$UNAME_RELEASE" else @@ -561,17 +581,17 @@ echo m68k-tektronix-bsd exit ;; *:IRIX*:*:*) - echo mips-sgi-irix"`echo "$UNAME_RELEASE"|sed -e 's/-/_/g'`" + echo mips-sgi-irix"$(echo "$UNAME_RELEASE"|sed -e 's/-/_/g')" exit ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id - exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' + exit ;; # Note that: echo "'$(uname -s)'" gives 'AIX ' i*86:AIX:*:*) echo i386-ibm-aix exit ;; ia64:AIX:*:*) - if [ -x /usr/bin/oslevel ] ; then - IBM_REV=`/usr/bin/oslevel` + if test -x /usr/bin/oslevel ; then + IBM_REV=$(/usr/bin/oslevel) else IBM_REV="$UNAME_VERSION.$UNAME_RELEASE" fi @@ -579,7 +599,7 @@ exit ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then - eval "$set_cc_for_build" + set_cc_for_build sed 's/^ //' << EOF > "$dummy.c" #include @@ -591,7 +611,7 @@ exit(0); } EOF - if $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` + if $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=$("$dummy") then echo "$SYSTEM_NAME" else @@ -604,15 +624,15 @@ fi exit ;; *:AIX:*:[4567]) - IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` + IBM_CPU_ID=$(/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }') if /usr/sbin/lsattr -El "$IBM_CPU_ID" | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else IBM_ARCH=powerpc fi - if [ -x /usr/bin/lslpp ] ; then - IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc | - awk -F: '{ print $3 }' | sed s/[0-9]*$/0/` + if test -x /usr/bin/lslpp ; then + IBM_REV=$(/usr/bin/lslpp -Lqc bos.rte.libc | + awk -F: '{ print $3 }' | sed s/[0-9]*$/0/) else IBM_REV="$UNAME_VERSION.$UNAME_RELEASE" fi @@ -640,14 +660,14 @@ echo m68k-hp-bsd4.4 exit ;; 9000/[34678]??:HP-UX:*:*) - HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'` + HPUX_REV=$(echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//') case "$UNAME_MACHINE" in 9000/31?) HP_ARCH=m68000 ;; 9000/[34]??) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) - if [ -x /usr/bin/getconf ]; then - sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` - sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` + if test -x /usr/bin/getconf; then + sc_cpu_version=$(/usr/bin/getconf SC_CPU_VERSION 2>/dev/null) + sc_kernel_bits=$(/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null) case "$sc_cpu_version" in 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1 @@ -659,8 +679,8 @@ esac ;; esac fi - if [ "$HP_ARCH" = "" ]; then - eval "$set_cc_for_build" + if test "$HP_ARCH" = ""; then + set_cc_for_build sed 's/^ //' << EOF > "$dummy.c" #define _HPUX_SOURCE @@ -694,13 +714,13 @@ exit (0); } EOF - (CCOPTS="" $CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null) && HP_ARCH=`"$dummy"` + (CCOPTS="" $CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null) && HP_ARCH=$("$dummy") test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac - if [ "$HP_ARCH" = hppa2.0w ] + if test "$HP_ARCH" = hppa2.0w then - eval "$set_cc_for_build" + set_cc_for_build # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler @@ -722,11 +742,11 @@ echo "$HP_ARCH"-hp-hpux"$HPUX_REV" exit ;; ia64:HP-UX:*:*) - HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'` + HPUX_REV=$(echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//') echo ia64-hp-hpux"$HPUX_REV" exit ;; 3050*:HI-UX:*:*) - eval "$set_cc_for_build" + set_cc_for_build sed 's/^ //' << EOF > "$dummy.c" #include int @@ -752,7 +772,7 @@ exit (0); } EOF - $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` && + $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=$("$dummy") && { echo "$SYSTEM_NAME"; exit; } echo unknown-hitachi-hiuxwe2 exit ;; @@ -772,7 +792,7 @@ echo hppa1.0-hp-osf exit ;; i*86:OSF1:*:*) - if [ -x /usr/sbin/sysversion ] ; then + if test -x /usr/sbin/sysversion ; then echo "$UNAME_MACHINE"-unknown-osf1mk else echo "$UNAME_MACHINE"-unknown-osf1 @@ -821,14 +841,14 @@ echo craynv-cray-unicosmp"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) - FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` - FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` - FUJITSU_REL=`echo "$UNAME_RELEASE" | sed -e 's/ /_/'` + FUJITSU_PROC=$(uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz) + FUJITSU_SYS=$(uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///') + FUJITSU_REL=$(echo "$UNAME_RELEASE" | sed -e 's/ /_/') echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; 5000:UNIX_System_V:4.*:*) - FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` - FUJITSU_REL=`echo "$UNAME_RELEASE" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'` + FUJITSU_SYS=$(uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///') + FUJITSU_REL=$(echo "$UNAME_RELEASE" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/') echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) @@ -840,15 +860,26 @@ *:BSD/OS:*:*) echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE" exit ;; + arm:FreeBSD:*:*) + UNAME_PROCESSOR=$(uname -p) + set_cc_for_build + if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_PCS_VFP + then + echo "${UNAME_PROCESSOR}"-unknown-freebsd"$(echo ${UNAME_RELEASE}|sed -e 's/[-(].*//')"-gnueabi + else + echo "${UNAME_PROCESSOR}"-unknown-freebsd"$(echo ${UNAME_RELEASE}|sed -e 's/[-(].*//')"-gnueabihf + fi + exit ;; *:FreeBSD:*:*) - UNAME_PROCESSOR=`/usr/bin/uname -p` + UNAME_PROCESSOR=$(/usr/bin/uname -p) case "$UNAME_PROCESSOR" in amd64) UNAME_PROCESSOR=x86_64 ;; i386) UNAME_PROCESSOR=i586 ;; esac - echo "$UNAME_PROCESSOR"-unknown-freebsd"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`" + echo "$UNAME_PROCESSOR"-unknown-freebsd"$(echo "$UNAME_RELEASE"|sed -e 's/[-(].*//')" exit ;; i*:CYGWIN*:*) echo "$UNAME_MACHINE"-pc-cygwin @@ -881,21 +912,21 @@ echo "$UNAME_MACHINE"-pc-uwin exit ;; amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) - echo x86_64-unknown-cygwin + echo x86_64-pc-cygwin exit ;; prep*:SunOS:5.*:*) - echo powerpcle-unknown-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" + echo powerpcle-unknown-solaris2"$(echo "$UNAME_RELEASE"|sed -e 's/[^.]*//')" exit ;; *:GNU:*:*) # the GNU system - echo "`echo "$UNAME_MACHINE"|sed -e 's,[-/].*$,,'`-unknown-$LIBC`echo "$UNAME_RELEASE"|sed -e 's,/.*$,,'`" + echo "$(echo "$UNAME_MACHINE"|sed -e 's,[-/].*$,,')-unknown-$LIBC$(echo "$UNAME_RELEASE"|sed -e 's,/.*$,,')" exit ;; *:GNU/*:*:*) # other systems with GNU libc and userland - echo "$UNAME_MACHINE-unknown-`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`-$LIBC" + echo "$UNAME_MACHINE-unknown-$(echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]")$(echo "$UNAME_RELEASE"|sed -e 's/[-(].*//')-$LIBC" exit ;; - i*86:Minix:*:*) - echo "$UNAME_MACHINE"-pc-minix + *:Minix:*:*) + echo "$UNAME_MACHINE"-unknown-minix exit ;; aarch64:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" @@ -905,7 +936,7 @@ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; alpha:Linux:*:*) - case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in + case $(sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' /proc/cpuinfo 2>/dev/null) in EV5) UNAME_MACHINE=alphaev5 ;; EV56) UNAME_MACHINE=alphaev56 ;; PCA56) UNAME_MACHINE=alphapca56 ;; @@ -922,7 +953,7 @@ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; arm*:Linux:*:*) - eval "$set_cc_for_build" + set_cc_for_build if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_EABI__ then @@ -964,6 +995,9 @@ k1om:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; + loongarch32:Linux:*:* | loongarch64:Linux:*:* | loongarchx32:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; m32r*:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; @@ -971,23 +1005,51 @@ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; mips:Linux:*:* | mips64:Linux:*:*) - eval "$set_cc_for_build" + set_cc_for_build + IS_GLIBC=0 + test x"${LIBC}" = xgnu && IS_GLIBC=1 sed 's/^ //' << EOF > "$dummy.c" #undef CPU - #undef ${UNAME_MACHINE} - #undef ${UNAME_MACHINE}el + #undef mips + #undef mipsel + #undef mips64 + #undef mips64el + #if ${IS_GLIBC} && defined(_ABI64) + LIBCABI=gnuabi64 + #else + #if ${IS_GLIBC} && defined(_ABIN32) + LIBCABI=gnuabin32 + #else + LIBCABI=${LIBC} + #endif + #endif + + #if ${IS_GLIBC} && defined(__mips64) && defined(__mips_isa_rev) && __mips_isa_rev>=6 + CPU=mipsisa64r6 + #else + #if ${IS_GLIBC} && !defined(__mips64) && defined(__mips_isa_rev) && __mips_isa_rev>=6 + CPU=mipsisa32r6 + #else + #if defined(__mips64) + CPU=mips64 + #else + CPU=mips + #endif + #endif + #endif + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) - CPU=${UNAME_MACHINE}el + MIPS_ENDIAN=el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) - CPU=${UNAME_MACHINE} + MIPS_ENDIAN= #else - CPU= + MIPS_ENDIAN= #endif #endif EOF - eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^CPU'`" - test "x$CPU" != x && { echo "$CPU-unknown-linux-$LIBC"; exit; } + eval "$($CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^CPU\|^MIPS_ENDIAN\|^LIBCABI')" + test "x$CPU" != x && { echo "$CPU${MIPS_ENDIAN}-unknown-linux-$LIBCABI"; exit; } ;; mips64el:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" @@ -1006,7 +1068,7 @@ exit ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level - case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in + case $(grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2) in PA7*) echo hppa1.1-unknown-linux-"$LIBC" ;; PA8*) echo hppa2.0-unknown-linux-"$LIBC" ;; *) echo hppa-unknown-linux-"$LIBC" ;; @@ -1024,7 +1086,7 @@ ppcle:Linux:*:*) echo powerpcle-unknown-linux-"$LIBC" exit ;; - riscv32:Linux:*:* | riscv64:Linux:*:*) + riscv32:Linux:*:* | riscv32be:Linux:*:* | riscv64:Linux:*:* | riscv64be:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; s390:Linux:*:* | s390x:Linux:*:*) @@ -1046,11 +1108,17 @@ echo "$UNAME_MACHINE"-dec-linux-"$LIBC" exit ;; x86_64:Linux:*:*) - if objdump -f /bin/sh | grep -q elf32-x86-64; then - echo "$UNAME_MACHINE"-pc-linux-"$LIBC"x32 - else - echo "$UNAME_MACHINE"-pc-linux-"$LIBC" + set_cc_for_build + LIBCABI=$LIBC + if test "$CC_FOR_BUILD" != no_compiler_found; then + if (echo '#ifdef __ILP32__'; echo IS_X32; echo '#endif') | \ + (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_X32 >/dev/null + then + LIBCABI="$LIBC"x32 + fi fi + echo "$UNAME_MACHINE"-pc-linux-"$LIBCABI" exit ;; xtensa*:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" @@ -1090,7 +1158,7 @@ echo "$UNAME_MACHINE"-pc-msdosdjgpp exit ;; i*86:*:4.*:*) - UNAME_REL=`echo "$UNAME_RELEASE" | sed 's/\/MP$//'` + UNAME_REL=$(echo "$UNAME_RELEASE" | sed 's/\/MP$//') if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then echo "$UNAME_MACHINE"-univel-sysv"$UNAME_REL" else @@ -1099,19 +1167,19 @@ exit ;; i*86:*:5:[678]*) # UnixWare 7.x, OpenUNIX and OpenServer 6. - case `/bin/uname -X | grep "^Machine"` in + case $(/bin/uname -X | grep "^Machine") in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; *Pent*|*Celeron) UNAME_MACHINE=i686 ;; esac - echo "$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}{$UNAME_VERSION}" + echo "$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}" exit ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then - UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then - UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` + UNAME_REL=$( (/bin/uname -X|grep Release|sed -e 's/.*= //')) (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 @@ -1161,7 +1229,7 @@ 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ - && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` + && OS_REL=.$(sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3"$OS_REL"; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ @@ -1172,7 +1240,7 @@ NCR*:*:4.2:* | MPRAS*:*:4.2:*) OS_REL='.3' test -r /etc/.relid \ - && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` + && OS_REL=.$(sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3"$OS_REL"; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ @@ -1205,7 +1273,7 @@ exit ;; *:SINIX-*:*:*) if uname -p 2>/dev/null >/dev/null ; then - UNAME_MACHINE=`(uname -p) 2>/dev/null` + UNAME_MACHINE=$( (uname -p) 2>/dev/null) echo "$UNAME_MACHINE"-sni-sysv4 else echo ns32k-sni-sysv @@ -1239,7 +1307,7 @@ echo mips-sony-newsos6 exit ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) - if [ -d /usr/nec ]; then + if test -d /usr/nec; then echo mips-nec-sysv"$UNAME_RELEASE" else echo mips-unknown-sysv"$UNAME_RELEASE" @@ -1287,44 +1355,48 @@ *:Rhapsody:*:*) echo "$UNAME_MACHINE"-apple-rhapsody"$UNAME_RELEASE" exit ;; + arm64:Darwin:*:*) + echo aarch64-apple-darwin"$UNAME_RELEASE" + exit ;; *:Darwin:*:*) - UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown - eval "$set_cc_for_build" - if test "$UNAME_PROCESSOR" = unknown ; then - UNAME_PROCESSOR=powerpc - fi - if test "`echo "$UNAME_RELEASE" | sed -e 's/\..*//'`" -le 10 ; then - if [ "$CC_FOR_BUILD" != no_compiler_found ]; then - if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ - (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ - grep IS_64BIT_ARCH >/dev/null - then - case $UNAME_PROCESSOR in - i386) UNAME_PROCESSOR=x86_64 ;; - powerpc) UNAME_PROCESSOR=powerpc64 ;; - esac - fi - # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc - if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \ - (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ - grep IS_PPC >/dev/null - then - UNAME_PROCESSOR=powerpc - fi + UNAME_PROCESSOR=$(uname -p) + case $UNAME_PROCESSOR in + unknown) UNAME_PROCESSOR=powerpc ;; + esac + if command -v xcode-select > /dev/null 2> /dev/null && \ + ! xcode-select --print-path > /dev/null 2> /dev/null ; then + # Avoid executing cc if there is no toolchain installed as + # cc will be a stub that puts up a graphical alert + # prompting the user to install developer tools. + CC_FOR_BUILD=no_compiler_found + else + set_cc_for_build + fi + if test "$CC_FOR_BUILD" != no_compiler_found; then + if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + case $UNAME_PROCESSOR in + i386) UNAME_PROCESSOR=x86_64 ;; + powerpc) UNAME_PROCESSOR=powerpc64 ;; + esac + fi + # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc + if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \ + (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_PPC >/dev/null + then + UNAME_PROCESSOR=powerpc fi elif test "$UNAME_PROCESSOR" = i386 ; then - # Avoid executing cc on OS X 10.9, as it ships with a stub - # that puts up a graphical alert prompting to install - # developer tools. Any system running Mac OS X 10.7 or - # later (Darwin 11 and later) is required to have a 64-bit - # processor. This is not true of the ARM version of Darwin - # that Apple uses in portable devices. - UNAME_PROCESSOR=x86_64 + # uname -m returns i386 or x86_64 + UNAME_PROCESSOR=$UNAME_MACHINE fi echo "$UNAME_PROCESSOR"-apple-darwin"$UNAME_RELEASE" exit ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) - UNAME_PROCESSOR=`uname -p` + UNAME_PROCESSOR=$(uname -p) if test "$UNAME_PROCESSOR" = x86; then UNAME_PROCESSOR=i386 UNAME_MACHINE=pc @@ -1362,6 +1434,7 @@ # "uname -m" is not consistent, so use $cputype instead. 386 # is converted to i386 for consistency with other x86 # operating systems. + # shellcheck disable=SC2154 if test "$cputype" = 386; then UNAME_MACHINE=i386 else @@ -1391,10 +1464,10 @@ echo mips-sei-seiux"$UNAME_RELEASE" exit ;; *:DragonFly:*:*) - echo "$UNAME_MACHINE"-unknown-dragonfly"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`" + echo "$UNAME_MACHINE"-unknown-dragonfly"$(echo "$UNAME_RELEASE"|sed -e 's/[-(].*//')" exit ;; *:*VMS:*:*) - UNAME_MACHINE=`(uname -p) 2>/dev/null` + UNAME_MACHINE=$( (uname -p) 2>/dev/null) case "$UNAME_MACHINE" in A*) echo alpha-dec-vms ; exit ;; I*) echo ia64-dec-vms ; exit ;; @@ -1404,13 +1477,13 @@ echo i386-pc-xenix exit ;; i*86:skyos:*:*) - echo "$UNAME_MACHINE"-pc-skyos"`echo "$UNAME_RELEASE" | sed -e 's/ .*$//'`" + echo "$UNAME_MACHINE"-pc-skyos"$(echo "$UNAME_RELEASE" | sed -e 's/ .*$//')" exit ;; i*86:rdos:*:*) echo "$UNAME_MACHINE"-pc-rdos exit ;; - i*86:AROS:*:*) - echo "$UNAME_MACHINE"-pc-aros + *:AROS:*:*) + echo "$UNAME_MACHINE"-unknown-aros exit ;; x86_64:VMkernel:*:*) echo "$UNAME_MACHINE"-unknown-esx @@ -1418,8 +1491,148 @@ amd64:Isilon\ OneFS:*:*) echo x86_64-unknown-onefs exit ;; + *:Unleashed:*:*) + echo "$UNAME_MACHINE"-unknown-unleashed"$UNAME_RELEASE" + exit ;; esac +# No uname command or uname output not recognized. +set_cc_for_build +cat > "$dummy.c" < +#include +#endif +#if defined(ultrix) || defined(_ultrix) || defined(__ultrix) || defined(__ultrix__) +#if defined (vax) || defined (__vax) || defined (__vax__) || defined(mips) || defined(__mips) || defined(__mips__) || defined(MIPS) || defined(__MIPS__) +#include +#if defined(_SIZE_T_) || defined(SIGLOST) +#include +#endif +#endif +#endif +main () +{ +#if defined (sony) +#if defined (MIPSEB) + /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, + I don't know.... */ + printf ("mips-sony-bsd\n"); exit (0); +#else +#include + printf ("m68k-sony-newsos%s\n", +#ifdef NEWSOS4 + "4" +#else + "" +#endif + ); exit (0); +#endif +#endif + +#if defined (NeXT) +#if !defined (__ARCHITECTURE__) +#define __ARCHITECTURE__ "m68k" +#endif + int version; + version=$( (hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null); + if (version < 4) + printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); + else + printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); + exit (0); +#endif + +#if defined (MULTIMAX) || defined (n16) +#if defined (UMAXV) + printf ("ns32k-encore-sysv\n"); exit (0); +#else +#if defined (CMU) + printf ("ns32k-encore-mach\n"); exit (0); +#else + printf ("ns32k-encore-bsd\n"); exit (0); +#endif +#endif +#endif + +#if defined (__386BSD__) + printf ("i386-pc-bsd\n"); exit (0); +#endif + +#if defined (sequent) +#if defined (i386) + printf ("i386-sequent-dynix\n"); exit (0); +#endif +#if defined (ns32000) + printf ("ns32k-sequent-dynix\n"); exit (0); +#endif +#endif + +#if defined (_SEQUENT_) + struct utsname un; + + uname(&un); + if (strncmp(un.version, "V2", 2) == 0) { + printf ("i386-sequent-ptx2\n"); exit (0); + } + if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ + printf ("i386-sequent-ptx1\n"); exit (0); + } + printf ("i386-sequent-ptx\n"); exit (0); +#endif + +#if defined (vax) +#if !defined (ultrix) +#include +#if defined (BSD) +#if BSD == 43 + printf ("vax-dec-bsd4.3\n"); exit (0); +#else +#if BSD == 199006 + printf ("vax-dec-bsd4.3reno\n"); exit (0); +#else + printf ("vax-dec-bsd\n"); exit (0); +#endif +#endif +#else + printf ("vax-dec-bsd\n"); exit (0); +#endif +#else +#if defined(_SIZE_T_) || defined(SIGLOST) + struct utsname un; + uname (&un); + printf ("vax-dec-ultrix%s\n", un.release); exit (0); +#else + printf ("vax-dec-ultrix\n"); exit (0); +#endif +#endif +#endif +#if defined(ultrix) || defined(_ultrix) || defined(__ultrix) || defined(__ultrix__) +#if defined(mips) || defined(__mips) || defined(__mips__) || defined(MIPS) || defined(__MIPS__) +#if defined(_SIZE_T_) || defined(SIGLOST) + struct utsname *un; + uname (&un); + printf ("mips-dec-ultrix%s\n", un.release); exit (0); +#else + printf ("mips-dec-ultrix\n"); exit (0); +#endif +#endif +#endif + +#if defined (alliant) && defined (i860) + printf ("i860-alliant-bsd\n"); exit (0); +#endif + + exit (1); +} +EOF + +$CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null && SYSTEM_NAME=$($dummy) && + { echo "$SYSTEM_NAME"; exit; } + +# Apollos put the system type in the environment. +test -d /usr/apollo && { echo "$ISP-apollo-$SYSTYPE"; exit; } + echo "$0: unable to guess system type" >&2 case "$UNAME_MACHINE:$UNAME_SYSTEM" in @@ -1439,9 +1652,15 @@ operating system you are using. If your script is old, overwrite *all* copies of config.guess and config.sub with the latest versions from: - https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess + https://git.savannah.gnu.org/cgit/config.git/plain/config.guess and - https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub + https://git.savannah.gnu.org/cgit/config.git/plain/config.sub +EOF + +year=$(echo $timestamp | sed 's,-.*,,') +# shellcheck disable=SC2003 +if test "$(expr "$(date +%Y)" - "$year")" -lt 3 ; then + cat >&2 </dev/null || echo unknown` -uname -r = `(uname -r) 2>/dev/null || echo unknown` -uname -s = `(uname -s) 2>/dev/null || echo unknown` -uname -v = `(uname -v) 2>/dev/null || echo unknown` - -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` -/bin/uname -X = `(/bin/uname -X) 2>/dev/null` - -hostinfo = `(hostinfo) 2>/dev/null` -/bin/universe = `(/bin/universe) 2>/dev/null` -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` -/bin/arch = `(/bin/arch) 2>/dev/null` -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` +uname -m = $( (uname -m) 2>/dev/null || echo unknown) +uname -r = $( (uname -r) 2>/dev/null || echo unknown) +uname -s = $( (uname -s) 2>/dev/null || echo unknown) +uname -v = $( (uname -v) 2>/dev/null || echo unknown) + +/usr/bin/uname -p = $( (/usr/bin/uname -p) 2>/dev/null) +/bin/uname -X = $( (/bin/uname -X) 2>/dev/null) + +hostinfo = $( (hostinfo) 2>/dev/null) +/bin/universe = $( (/bin/universe) 2>/dev/null) +/usr/bin/arch -k = $( (/usr/bin/arch -k) 2>/dev/null) +/bin/arch = $( (/bin/arch) 2>/dev/null) +/usr/bin/oslevel = $( (/usr/bin/oslevel) 2>/dev/null) +/usr/convex/getsysinfo = $( (/usr/convex/getsysinfo) 2>/dev/null) UNAME_MACHINE = "$UNAME_MACHINE" UNAME_RELEASE = "$UNAME_RELEASE" UNAME_SYSTEM = "$UNAME_SYSTEM" UNAME_VERSION = "$UNAME_VERSION" EOF +fi exit 1 # Local variables: -# eval: (add-hook 'write-file-functions 'time-stamp) +# eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" diff -Nru vlc-3.0.23/autotools/config.sub vlc-3.0.24/autotools/config.sub --- vlc-3.0.23/autotools/config.sub 2025-12-23 10:59:14.000000000 +0000 +++ vlc-3.0.24/autotools/config.sub 2026-09-17 12:50:45.000000000 +0000 @@ -1,8 +1,8 @@ #! /bin/sh # Configuration validation subroutine script. -# Copyright 1992-2018 Free Software Foundation, Inc. +# Copyright 1992-2021 Free Software Foundation, Inc. -timestamp='2018-02-22' +timestamp='2021-01-08' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -33,7 +33,7 @@ # Otherwise, we print the canonical config type on stdout and succeed. # You can get the latest version of this script from: -# https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub +# https://git.savannah.gnu.org/cgit/config.git/plain/config.sub # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases @@ -50,7 +50,7 @@ # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. -me=`echo "$0" | sed -e 's,.*/,,'` +me=$(echo "$0" | sed -e 's,.*/,,') usage="\ Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS @@ -67,7 +67,7 @@ version="\ GNU config.sub ($timestamp) -Copyright 1992-2018 Free Software Foundation, Inc. +Copyright 1992-2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -89,7 +89,7 @@ - ) # Use stdin as input. break ;; -* ) - echo "$me: invalid option $1$help" + echo "$me: invalid option $1$help" >&2 exit 1 ;; *local*) @@ -110,1223 +110,1169 @@ exit 1;; esac -# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). -# Here we must recognize all the valid KERNEL-OS combinations. -maybe_os=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` -case $maybe_os in - nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ - linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ - knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \ - kopensolaris*-gnu* | cloudabi*-eabi* | \ - storm-chaos* | os2-emx* | rtmk-nova*) - os=-$maybe_os - basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` - ;; - android-linux) - os=-linux-android - basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown - ;; - *) - basic_machine=`echo "$1" | sed 's/-[^-]*$//'` - if [ "$basic_machine" != "$1" ] - then os=`echo "$1" | sed 's/.*-/-/'` - else os=; fi - ;; -esac - -### Let's recognize common machines as not being operating systems so -### that things like config.sub decstation-3100 work. We also -### recognize some manufacturers as not being operating systems, so we -### can provide default operating systems below. -case $os in - -sun*os*) - # Prevent following clause from handling this invalid input. - ;; - -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ - -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ - -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ - -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ - -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ - -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ - -apple | -axis | -knuth | -cray | -microblaze*) - os= - basic_machine=$1 - ;; - -bluegene*) - os=-cnk - ;; - -sim | -cisco | -oki | -wec | -winbond) - os= - basic_machine=$1 - ;; - -scout) - ;; - -wrs) - os=-vxworks - basic_machine=$1 - ;; - -chorusos*) - os=-chorusos - basic_machine=$1 - ;; - -chorusrdb) - os=-chorusrdb - basic_machine=$1 - ;; - -hiux*) - os=-hiuxwe2 - ;; - -sco6) - os=-sco5v6 - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -sco5) - os=-sco3.2v5 - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -sco4) - os=-sco3.2v4 - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -sco3.2.[4-9]*) - os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -sco3.2v[4-9]*) - # Don't forget version if it is 3.2v4 or newer. - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -sco5v6*) - # Don't forget version if it is 3.2v4 or newer. - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -sco*) - os=-sco3.2v2 - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -udk*) - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -isc) - os=-isc2.2 - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -clix*) - basic_machine=clipper-intergraph - ;; - -isc*) - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -lynx*178) - os=-lynxos178 - ;; - -lynx*5) - os=-lynxos5 +# Split fields of configuration type +# shellcheck disable=SC2162 +IFS="-" read field1 field2 field3 field4 <&2 + exit 1 ;; - -lynx*) - os=-lynxos + *-*-*-*) + basic_machine=$field1-$field2 + basic_os=$field3-$field4 ;; - -ptx*) - basic_machine=`echo "$1" | sed -e 's/86-.*/86-sequent/'` + *-*-*) + # Ambiguous whether COMPANY is present, or skipped and KERNEL-OS is two + # parts + maybe_os=$field2-$field3 + case $maybe_os in + nto-qnx* | linux-* | uclinux-uclibc* \ + | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* \ + | netbsd*-eabi* | kopensolaris*-gnu* | cloudabi*-eabi* \ + | storm-chaos* | os2-emx* | rtmk-nova*) + basic_machine=$field1 + basic_os=$maybe_os + ;; + android-linux) + basic_machine=$field1-unknown + basic_os=linux-android + ;; + *) + basic_machine=$field1-$field2 + basic_os=$field3 + ;; + esac ;; - -psos*) - os=-psos + *-*) + # A lone config we happen to match not fitting any pattern + case $field1-$field2 in + decstation-3100) + basic_machine=mips-dec + basic_os= + ;; + *-*) + # Second component is usually, but not always the OS + case $field2 in + # Prevent following clause from handling this valid os + sun*os*) + basic_machine=$field1 + basic_os=$field2 + ;; + # Manufacturers + dec* | mips* | sequent* | encore* | pc533* | sgi* | sony* \ + | att* | 7300* | 3300* | delta* | motorola* | sun[234]* \ + | unicom* | ibm* | next | hp | isi* | apollo | altos* \ + | convergent* | ncr* | news | 32* | 3600* | 3100* \ + | hitachi* | c[123]* | convex* | sun | crds | omron* | dg \ + | ultra | tti* | harris | dolphin | highlevel | gould \ + | cbm | ns | masscomp | apple | axis | knuth | cray \ + | microblaze* | sim | cisco \ + | oki | wec | wrs | winbond) + basic_machine=$field1-$field2 + basic_os= + ;; + *) + basic_machine=$field1 + basic_os=$field2 + ;; + esac + ;; + esac ;; - -mint | -mint[0-9]*) - basic_machine=m68k-atari - os=-mint + *) + # Convert single-component short-hands not valid as part of + # multi-component configurations. + case $field1 in + 386bsd) + basic_machine=i386-pc + basic_os=bsd + ;; + a29khif) + basic_machine=a29k-amd + basic_os=udi + ;; + adobe68k) + basic_machine=m68010-adobe + basic_os=scout + ;; + alliant) + basic_machine=fx80-alliant + basic_os= + ;; + altos | altos3068) + basic_machine=m68k-altos + basic_os= + ;; + am29k) + basic_machine=a29k-none + basic_os=bsd + ;; + amdahl) + basic_machine=580-amdahl + basic_os=sysv + ;; + amiga) + basic_machine=m68k-unknown + basic_os= + ;; + amigaos | amigados) + basic_machine=m68k-unknown + basic_os=amigaos + ;; + amigaunix | amix) + basic_machine=m68k-unknown + basic_os=sysv4 + ;; + apollo68) + basic_machine=m68k-apollo + basic_os=sysv + ;; + apollo68bsd) + basic_machine=m68k-apollo + basic_os=bsd + ;; + aros) + basic_machine=i386-pc + basic_os=aros + ;; + aux) + basic_machine=m68k-apple + basic_os=aux + ;; + balance) + basic_machine=ns32k-sequent + basic_os=dynix + ;; + blackfin) + basic_machine=bfin-unknown + basic_os=linux + ;; + cegcc) + basic_machine=arm-unknown + basic_os=cegcc + ;; + convex-c1) + basic_machine=c1-convex + basic_os=bsd + ;; + convex-c2) + basic_machine=c2-convex + basic_os=bsd + ;; + convex-c32) + basic_machine=c32-convex + basic_os=bsd + ;; + convex-c34) + basic_machine=c34-convex + basic_os=bsd + ;; + convex-c38) + basic_machine=c38-convex + basic_os=bsd + ;; + cray) + basic_machine=j90-cray + basic_os=unicos + ;; + crds | unos) + basic_machine=m68k-crds + basic_os= + ;; + da30) + basic_machine=m68k-da30 + basic_os= + ;; + decstation | pmax | pmin | dec3100 | decstatn) + basic_machine=mips-dec + basic_os= + ;; + delta88) + basic_machine=m88k-motorola + basic_os=sysv3 + ;; + dicos) + basic_machine=i686-pc + basic_os=dicos + ;; + djgpp) + basic_machine=i586-pc + basic_os=msdosdjgpp + ;; + ebmon29k) + basic_machine=a29k-amd + basic_os=ebmon + ;; + es1800 | OSE68k | ose68k | ose | OSE) + basic_machine=m68k-ericsson + basic_os=ose + ;; + gmicro) + basic_machine=tron-gmicro + basic_os=sysv + ;; + go32) + basic_machine=i386-pc + basic_os=go32 + ;; + h8300hms) + basic_machine=h8300-hitachi + basic_os=hms + ;; + h8300xray) + basic_machine=h8300-hitachi + basic_os=xray + ;; + h8500hms) + basic_machine=h8500-hitachi + basic_os=hms + ;; + harris) + basic_machine=m88k-harris + basic_os=sysv3 + ;; + hp300 | hp300hpux) + basic_machine=m68k-hp + basic_os=hpux + ;; + hp300bsd) + basic_machine=m68k-hp + basic_os=bsd + ;; + hppaosf) + basic_machine=hppa1.1-hp + basic_os=osf + ;; + hppro) + basic_machine=hppa1.1-hp + basic_os=proelf + ;; + i386mach) + basic_machine=i386-mach + basic_os=mach + ;; + isi68 | isi) + basic_machine=m68k-isi + basic_os=sysv + ;; + m68knommu) + basic_machine=m68k-unknown + basic_os=linux + ;; + magnum | m3230) + basic_machine=mips-mips + basic_os=sysv + ;; + merlin) + basic_machine=ns32k-utek + basic_os=sysv + ;; + mingw64) + basic_machine=x86_64-pc + basic_os=mingw64 + ;; + mingw32) + basic_machine=i686-pc + basic_os=mingw32 + ;; + mingw32ce) + basic_machine=arm-unknown + basic_os=mingw32ce + ;; + monitor) + basic_machine=m68k-rom68k + basic_os=coff + ;; + morphos) + basic_machine=powerpc-unknown + basic_os=morphos + ;; + moxiebox) + basic_machine=moxie-unknown + basic_os=moxiebox + ;; + msdos) + basic_machine=i386-pc + basic_os=msdos + ;; + msys) + basic_machine=i686-pc + basic_os=msys + ;; + mvs) + basic_machine=i370-ibm + basic_os=mvs + ;; + nacl) + basic_machine=le32-unknown + basic_os=nacl + ;; + ncr3000) + basic_machine=i486-ncr + basic_os=sysv4 + ;; + netbsd386) + basic_machine=i386-pc + basic_os=netbsd + ;; + netwinder) + basic_machine=armv4l-rebel + basic_os=linux + ;; + news | news700 | news800 | news900) + basic_machine=m68k-sony + basic_os=newsos + ;; + news1000) + basic_machine=m68030-sony + basic_os=newsos + ;; + necv70) + basic_machine=v70-nec + basic_os=sysv + ;; + nh3000) + basic_machine=m68k-harris + basic_os=cxux + ;; + nh[45]000) + basic_machine=m88k-harris + basic_os=cxux + ;; + nindy960) + basic_machine=i960-intel + basic_os=nindy + ;; + mon960) + basic_machine=i960-intel + basic_os=mon960 + ;; + nonstopux) + basic_machine=mips-compaq + basic_os=nonstopux + ;; + os400) + basic_machine=powerpc-ibm + basic_os=os400 + ;; + OSE68000 | ose68000) + basic_machine=m68000-ericsson + basic_os=ose + ;; + os68k) + basic_machine=m68k-none + basic_os=os68k + ;; + paragon) + basic_machine=i860-intel + basic_os=osf + ;; + parisc) + basic_machine=hppa-unknown + basic_os=linux + ;; + psp) + basic_machine=mipsallegrexel-sony + basic_os=psp + ;; + pw32) + basic_machine=i586-unknown + basic_os=pw32 + ;; + rdos | rdos64) + basic_machine=x86_64-pc + basic_os=rdos + ;; + rdos32) + basic_machine=i386-pc + basic_os=rdos + ;; + rom68k) + basic_machine=m68k-rom68k + basic_os=coff + ;; + sa29200) + basic_machine=a29k-amd + basic_os=udi + ;; + sei) + basic_machine=mips-sei + basic_os=seiux + ;; + sequent) + basic_machine=i386-sequent + basic_os= + ;; + sps7) + basic_machine=m68k-bull + basic_os=sysv2 + ;; + st2000) + basic_machine=m68k-tandem + basic_os= + ;; + stratus) + basic_machine=i860-stratus + basic_os=sysv4 + ;; + sun2) + basic_machine=m68000-sun + basic_os= + ;; + sun2os3) + basic_machine=m68000-sun + basic_os=sunos3 + ;; + sun2os4) + basic_machine=m68000-sun + basic_os=sunos4 + ;; + sun3) + basic_machine=m68k-sun + basic_os= + ;; + sun3os3) + basic_machine=m68k-sun + basic_os=sunos3 + ;; + sun3os4) + basic_machine=m68k-sun + basic_os=sunos4 + ;; + sun4) + basic_machine=sparc-sun + basic_os= + ;; + sun4os3) + basic_machine=sparc-sun + basic_os=sunos3 + ;; + sun4os4) + basic_machine=sparc-sun + basic_os=sunos4 + ;; + sun4sol2) + basic_machine=sparc-sun + basic_os=solaris2 + ;; + sun386 | sun386i | roadrunner) + basic_machine=i386-sun + basic_os= + ;; + sv1) + basic_machine=sv1-cray + basic_os=unicos + ;; + symmetry) + basic_machine=i386-sequent + basic_os=dynix + ;; + t3e) + basic_machine=alphaev5-cray + basic_os=unicos + ;; + t90) + basic_machine=t90-cray + basic_os=unicos + ;; + toad1) + basic_machine=pdp10-xkl + basic_os=tops20 + ;; + tpf) + basic_machine=s390x-ibm + basic_os=tpf + ;; + udi29k) + basic_machine=a29k-amd + basic_os=udi + ;; + ultra3) + basic_machine=a29k-nyu + basic_os=sym1 + ;; + v810 | necv810) + basic_machine=v810-nec + basic_os=none + ;; + vaxv) + basic_machine=vax-dec + basic_os=sysv + ;; + vms) + basic_machine=vax-dec + basic_os=vms + ;; + vsta) + basic_machine=i386-pc + basic_os=vsta + ;; + vxworks960) + basic_machine=i960-wrs + basic_os=vxworks + ;; + vxworks68) + basic_machine=m68k-wrs + basic_os=vxworks + ;; + vxworks29k) + basic_machine=a29k-wrs + basic_os=vxworks + ;; + xbox) + basic_machine=i686-pc + basic_os=mingw32 + ;; + ymp) + basic_machine=ymp-cray + basic_os=unicos + ;; + *) + basic_machine=$1 + basic_os= + ;; + esac ;; esac -# Decode aliases for certain CPU-COMPANY combinations. +# Decode 1-component or ad-hoc basic machines case $basic_machine in - # Recognize the basic CPU types without company name. - # Some are omitted here because they have special meanings below. - 1750a | 580 \ - | a29k \ - | aarch64 | aarch64_be \ - | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ - | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ - | am33_2.0 \ - | arc | arceb \ - | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ - | avr | avr32 \ - | ba \ - | be32 | be64 \ - | bfin \ - | c4x | c8051 | clipper \ - | d10v | d30v | dlx | dsp16xx \ - | e2k | epiphany \ - | fido | fr30 | frv | ft32 \ - | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ - | hexagon \ - | i370 | i860 | i960 | ia16 | ia64 \ - | ip2k | iq2000 \ - | k1om \ - | le32 | le64 \ - | lm32 \ - | m32c | m32r | m32rle | m68000 | m68k | m88k \ - | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ - | mips | mipsbe | mipseb | mipsel | mipsle \ - | mips16 \ - | mips64 | mips64el \ - | mips64octeon | mips64octeonel \ - | mips64orion | mips64orionel \ - | mips64r5900 | mips64r5900el \ - | mips64vr | mips64vrel \ - | mips64vr4100 | mips64vr4100el \ - | mips64vr4300 | mips64vr4300el \ - | mips64vr5000 | mips64vr5000el \ - | mips64vr5900 | mips64vr5900el \ - | mipsisa32 | mipsisa32el \ - | mipsisa32r2 | mipsisa32r2el \ - | mipsisa32r6 | mipsisa32r6el \ - | mipsisa64 | mipsisa64el \ - | mipsisa64r2 | mipsisa64r2el \ - | mipsisa64r6 | mipsisa64r6el \ - | mipsisa64sb1 | mipsisa64sb1el \ - | mipsisa64sr71k | mipsisa64sr71kel \ - | mipsr5900 | mipsr5900el \ - | mipstx39 | mipstx39el \ - | mn10200 | mn10300 \ - | moxie \ - | mt \ - | msp430 \ - | nds32 | nds32le | nds32be \ - | nios | nios2 | nios2eb | nios2el \ - | ns16k | ns32k \ - | open8 | or1k | or1knd | or32 \ - | pdp10 | pj | pjl \ - | powerpc | powerpc64 | powerpc64le | powerpcle \ - | pru \ - | pyramid \ - | riscv32 | riscv64 \ - | rl78 | rx \ - | score \ - | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ - | sh64 | sh64le \ - | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ - | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ - | spu \ - | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ - | ubicom32 \ - | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ - | visium \ - | wasm32 \ - | x86 | xc16x | xstormy16 | xtensa \ - | z8k | z80) - basic_machine=$basic_machine-unknown - ;; - c54x) - basic_machine=tic54x-unknown - ;; - c55x) - basic_machine=tic55x-unknown - ;; - c6x) - basic_machine=tic6x-unknown - ;; - leon|leon[3-9]) - basic_machine=sparc-$basic_machine - ;; - m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip) - basic_machine=$basic_machine-unknown - os=-none + # Here we handle the default manufacturer of certain CPU types. It is in + # some cases the only manufacturer, in others, it is the most popular. + w89k) + cpu=hppa1.1 + vendor=winbond ;; - m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65) + op50n) + cpu=hppa1.1 + vendor=oki ;; - ms1) - basic_machine=mt-unknown + op60c) + cpu=hppa1.1 + vendor=oki ;; - - strongarm | thumb | xscale) - basic_machine=arm-unknown + ibm*) + cpu=i370 + vendor=ibm ;; - xgate) - basic_machine=$basic_machine-unknown - os=-none + orion105) + cpu=clipper + vendor=highlevel ;; - xscaleeb) - basic_machine=armeb-unknown + mac | mpw | mac-mpw) + cpu=m68k + vendor=apple ;; - - xscaleel) - basic_machine=armel-unknown + pmac | pmac-mpw) + cpu=powerpc + vendor=apple ;; - # We use `pc' rather than `unknown' - # because (1) that's what they normally are, and - # (2) the word "unknown" tends to confuse beginning users. - i*86 | x86_64) - basic_machine=$basic_machine-pc - ;; - # Object if more than one company name word. - *-*-*) - echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2 - exit 1 - ;; - # Recognize the basic CPU types with company name. - 580-* \ - | a29k-* \ - | aarch64-* | aarch64_be-* \ - | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ - | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ - | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \ - | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ - | avr-* | avr32-* \ - | ba-* \ - | be32-* | be64-* \ - | bfin-* | bs2000-* \ - | c[123]* | c30-* | [cjt]90-* | c4x-* \ - | c8051-* | clipper-* | craynv-* | cydra-* \ - | d10v-* | d30v-* | dlx-* \ - | e2k-* | elxsi-* \ - | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ - | h8300-* | h8500-* \ - | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ - | hexagon-* \ - | i*86-* | i860-* | i960-* | ia16-* | ia64-* \ - | ip2k-* | iq2000-* \ - | k1om-* \ - | le32-* | le64-* \ - | lm32-* \ - | m32c-* | m32r-* | m32rle-* \ - | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ - | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ - | microblaze-* | microblazeel-* \ - | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ - | mips16-* \ - | mips64-* | mips64el-* \ - | mips64octeon-* | mips64octeonel-* \ - | mips64orion-* | mips64orionel-* \ - | mips64r5900-* | mips64r5900el-* \ - | mips64vr-* | mips64vrel-* \ - | mips64vr4100-* | mips64vr4100el-* \ - | mips64vr4300-* | mips64vr4300el-* \ - | mips64vr5000-* | mips64vr5000el-* \ - | mips64vr5900-* | mips64vr5900el-* \ - | mipsisa32-* | mipsisa32el-* \ - | mipsisa32r2-* | mipsisa32r2el-* \ - | mipsisa32r6-* | mipsisa32r6el-* \ - | mipsisa64-* | mipsisa64el-* \ - | mipsisa64r2-* | mipsisa64r2el-* \ - | mipsisa64r6-* | mipsisa64r6el-* \ - | mipsisa64sb1-* | mipsisa64sb1el-* \ - | mipsisa64sr71k-* | mipsisa64sr71kel-* \ - | mipsr5900-* | mipsr5900el-* \ - | mipstx39-* | mipstx39el-* \ - | mmix-* \ - | mt-* \ - | msp430-* \ - | nds32-* | nds32le-* | nds32be-* \ - | nios-* | nios2-* | nios2eb-* | nios2el-* \ - | none-* | np1-* | ns16k-* | ns32k-* \ - | open8-* \ - | or1k*-* \ - | orion-* \ - | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ - | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ - | pru-* \ - | pyramid-* \ - | riscv32-* | riscv64-* \ - | rl78-* | romp-* | rs6000-* | rx-* \ - | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ - | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ - | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ - | sparclite-* \ - | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \ - | tahoe-* \ - | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ - | tile*-* \ - | tron-* \ - | ubicom32-* \ - | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ - | vax-* \ - | visium-* \ - | wasm32-* \ - | we32k-* \ - | x86-* | x86_64-* | xc16x-* | xps100-* \ - | xstormy16-* | xtensa*-* \ - | ymp-* \ - | z8k-* | z80-*) - ;; - # Recognize the basic CPU types without company name, with glob match. - xtensa*) - basic_machine=$basic_machine-unknown - ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. - 386bsd) - basic_machine=i386-pc - os=-bsd - ;; 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) - basic_machine=m68000-att + cpu=m68000 + vendor=att ;; 3b*) - basic_machine=we32k-att - ;; - a29khif) - basic_machine=a29k-amd - os=-udi - ;; - abacus) - basic_machine=abacus-unknown - ;; - adobe68k) - basic_machine=m68010-adobe - os=-scout - ;; - alliant | fx80) - basic_machine=fx80-alliant - ;; - altos | altos3068) - basic_machine=m68k-altos - ;; - am29k) - basic_machine=a29k-none - os=-bsd - ;; - amd64) - basic_machine=x86_64-pc - ;; - amd64-*) - basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'` - ;; - amdahl) - basic_machine=580-amdahl - os=-sysv - ;; - amiga | amiga-*) - basic_machine=m68k-unknown - ;; - amigaos | amigados) - basic_machine=m68k-unknown - os=-amigaos - ;; - amigaunix | amix) - basic_machine=m68k-unknown - os=-sysv4 - ;; - apollo68) - basic_machine=m68k-apollo - os=-sysv - ;; - apollo68bsd) - basic_machine=m68k-apollo - os=-bsd - ;; - aros) - basic_machine=i386-pc - os=-aros - ;; - asmjs) - basic_machine=asmjs-unknown - ;; - aux) - basic_machine=m68k-apple - os=-aux - ;; - balance) - basic_machine=ns32k-sequent - os=-dynix - ;; - blackfin) - basic_machine=bfin-unknown - os=-linux - ;; - blackfin-*) - basic_machine=bfin-`echo "$basic_machine" | sed 's/^[^-]*-//'` - os=-linux + cpu=we32k + vendor=att ;; bluegene*) - basic_machine=powerpc-ibm - os=-cnk - ;; - c54x-*) - basic_machine=tic54x-`echo "$basic_machine" | sed 's/^[^-]*-//'` - ;; - c55x-*) - basic_machine=tic55x-`echo "$basic_machine" | sed 's/^[^-]*-//'` - ;; - c6x-*) - basic_machine=tic6x-`echo "$basic_machine" | sed 's/^[^-]*-//'` - ;; - c90) - basic_machine=c90-cray - os=-unicos - ;; - cegcc) - basic_machine=arm-unknown - os=-cegcc - ;; - convex-c1) - basic_machine=c1-convex - os=-bsd - ;; - convex-c2) - basic_machine=c2-convex - os=-bsd - ;; - convex-c32) - basic_machine=c32-convex - os=-bsd - ;; - convex-c34) - basic_machine=c34-convex - os=-bsd - ;; - convex-c38) - basic_machine=c38-convex - os=-bsd - ;; - cray | j90) - basic_machine=j90-cray - os=-unicos - ;; - craynv) - basic_machine=craynv-cray - os=-unicosmp - ;; - cr16 | cr16-*) - basic_machine=cr16-unknown - os=-elf - ;; - crds | unos) - basic_machine=m68k-crds - ;; - crisv32 | crisv32-* | etraxfs*) - basic_machine=crisv32-axis - ;; - cris | cris-* | etrax*) - basic_machine=cris-axis - ;; - crx) - basic_machine=crx-unknown - os=-elf - ;; - da30 | da30-*) - basic_machine=m68k-da30 - ;; - decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) - basic_machine=mips-dec + cpu=powerpc + vendor=ibm + basic_os=cnk ;; decsystem10* | dec10*) - basic_machine=pdp10-dec - os=-tops10 + cpu=pdp10 + vendor=dec + basic_os=tops10 ;; decsystem20* | dec20*) - basic_machine=pdp10-dec - os=-tops20 + cpu=pdp10 + vendor=dec + basic_os=tops20 ;; delta | 3300 | motorola-3300 | motorola-delta \ | 3300-motorola | delta-motorola) - basic_machine=m68k-motorola - ;; - delta88) - basic_machine=m88k-motorola - os=-sysv3 - ;; - dicos) - basic_machine=i686-pc - os=-dicos - ;; - djgpp) - basic_machine=i586-pc - os=-msdosdjgpp - ;; - dpx20 | dpx20-*) - basic_machine=rs6000-bull - os=-bosx + cpu=m68k + vendor=motorola ;; dpx2*) - basic_machine=m68k-bull - os=-sysv3 - ;; - e500v[12]) - basic_machine=powerpc-unknown - os=$os"spe" - ;; - e500v[12]-*) - basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'` - os=$os"spe" - ;; - ebmon29k) - basic_machine=a29k-amd - os=-ebmon - ;; - elxsi) - basic_machine=elxsi-elxsi - os=-bsd + cpu=m68k + vendor=bull + basic_os=sysv3 ;; encore | umax | mmax) - basic_machine=ns32k-encore + cpu=ns32k + vendor=encore ;; - es1800 | OSE68k | ose68k | ose | OSE) - basic_machine=m68k-ericsson - os=-ose + elxsi) + cpu=elxsi + vendor=elxsi + basic_os=${basic_os:-bsd} ;; fx2800) - basic_machine=i860-alliant + cpu=i860 + vendor=alliant ;; genix) - basic_machine=ns32k-ns - ;; - gmicro) - basic_machine=tron-gmicro - os=-sysv - ;; - go32) - basic_machine=i386-pc - os=-go32 + cpu=ns32k + vendor=ns ;; h3050r* | hiux*) - basic_machine=hppa1.1-hitachi - os=-hiuxwe2 - ;; - h8300hms) - basic_machine=h8300-hitachi - os=-hms - ;; - h8300xray) - basic_machine=h8300-hitachi - os=-xray - ;; - h8500hms) - basic_machine=h8500-hitachi - os=-hms - ;; - harris) - basic_machine=m88k-harris - os=-sysv3 - ;; - hp300-*) - basic_machine=m68k-hp - ;; - hp300bsd) - basic_machine=m68k-hp - os=-bsd - ;; - hp300hpux) - basic_machine=m68k-hp - os=-hpux + cpu=hppa1.1 + vendor=hitachi + basic_os=hiuxwe2 ;; hp3k9[0-9][0-9] | hp9[0-9][0-9]) - basic_machine=hppa1.0-hp + cpu=hppa1.0 + vendor=hp ;; hp9k2[0-9][0-9] | hp9k31[0-9]) - basic_machine=m68000-hp + cpu=m68000 + vendor=hp ;; hp9k3[2-9][0-9]) - basic_machine=m68k-hp + cpu=m68k + vendor=hp ;; hp9k6[0-9][0-9] | hp6[0-9][0-9]) - basic_machine=hppa1.0-hp + cpu=hppa1.0 + vendor=hp ;; hp9k7[0-79][0-9] | hp7[0-79][0-9]) - basic_machine=hppa1.1-hp + cpu=hppa1.1 + vendor=hp ;; hp9k78[0-9] | hp78[0-9]) # FIXME: really hppa2.0-hp - basic_machine=hppa1.1-hp + cpu=hppa1.1 + vendor=hp ;; hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) # FIXME: really hppa2.0-hp - basic_machine=hppa1.1-hp + cpu=hppa1.1 + vendor=hp ;; hp9k8[0-9][13679] | hp8[0-9][13679]) - basic_machine=hppa1.1-hp + cpu=hppa1.1 + vendor=hp ;; hp9k8[0-9][0-9] | hp8[0-9][0-9]) - basic_machine=hppa1.0-hp - ;; - hppaosf) - basic_machine=hppa1.1-hp - os=-osf - ;; - hppro) - basic_machine=hppa1.1-hp - os=-proelf - ;; - i370-ibm* | ibm*) - basic_machine=i370-ibm + cpu=hppa1.0 + vendor=hp ;; i*86v32) - basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` - os=-sysv32 + cpu=$(echo "$1" | sed -e 's/86.*/86/') + vendor=pc + basic_os=sysv32 ;; i*86v4*) - basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` - os=-sysv4 + cpu=$(echo "$1" | sed -e 's/86.*/86/') + vendor=pc + basic_os=sysv4 ;; i*86v) - basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` - os=-sysv + cpu=$(echo "$1" | sed -e 's/86.*/86/') + vendor=pc + basic_os=sysv ;; i*86sol2) - basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` - os=-solaris2 - ;; - i386mach) - basic_machine=i386-mach - os=-mach - ;; - vsta) - basic_machine=i386-unknown - os=-vsta + cpu=$(echo "$1" | sed -e 's/86.*/86/') + vendor=pc + basic_os=solaris2 + ;; + j90 | j90-cray) + cpu=j90 + vendor=cray + basic_os=${basic_os:-unicos} ;; iris | iris4d) - basic_machine=mips-sgi - case $os in - -irix*) + cpu=mips + vendor=sgi + case $basic_os in + irix*) ;; *) - os=-irix4 + basic_os=irix4 ;; esac ;; - isi68 | isi) - basic_machine=m68k-isi - os=-sysv - ;; - leon-*|leon[3-9]-*) - basic_machine=sparc-`echo "$basic_machine" | sed 's/-.*//'` - ;; - m68knommu) - basic_machine=m68k-unknown - os=-linux - ;; - m68knommu-*) - basic_machine=m68k-`echo "$basic_machine" | sed 's/^[^-]*-//'` - os=-linux - ;; - magnum | m3230) - basic_machine=mips-mips - os=-sysv - ;; - merlin) - basic_machine=ns32k-utek - os=-sysv - ;; - microblaze*) - basic_machine=microblaze-xilinx - ;; - mingw64) - basic_machine=x86_64-pc - os=-mingw64 - ;; - mingw32) - basic_machine=i686-pc - os=-mingw32 - ;; - mingw32ce) - basic_machine=arm-unknown - os=-mingw32ce - ;; miniframe) - basic_machine=m68000-convergent - ;; - *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) - basic_machine=m68k-atari - os=-mint - ;; - mips3*-*) - basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'` - ;; - mips3*) - basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`-unknown + cpu=m68000 + vendor=convergent ;; - monitor) - basic_machine=m68k-rom68k - os=-coff - ;; - morphos) - basic_machine=powerpc-unknown - os=-morphos - ;; - moxiebox) - basic_machine=moxie-unknown - os=-moxiebox - ;; - msdos) - basic_machine=i386-pc - os=-msdos - ;; - ms1-*) - basic_machine=`echo "$basic_machine" | sed -e 's/ms1-/mt-/'` - ;; - msys) - basic_machine=i686-pc - os=-msys - ;; - mvs) - basic_machine=i370-ibm - os=-mvs - ;; - nacl) - basic_machine=le32-unknown - os=-nacl - ;; - ncr3000) - basic_machine=i486-ncr - os=-sysv4 - ;; - netbsd386) - basic_machine=i386-unknown - os=-netbsd - ;; - netwinder) - basic_machine=armv4l-rebel - os=-linux - ;; - news | news700 | news800 | news900) - basic_machine=m68k-sony - os=-newsos - ;; - news1000) - basic_machine=m68030-sony - os=-newsos + *mint | mint[0-9]* | *MiNT | *MiNT[0-9]*) + cpu=m68k + vendor=atari + basic_os=mint ;; news-3600 | risc-news) - basic_machine=mips-sony - os=-newsos - ;; - necv70) - basic_machine=v70-nec - os=-sysv + cpu=mips + vendor=sony + basic_os=newsos ;; next | m*-next) - basic_machine=m68k-next - case $os in - -nextstep* ) + cpu=m68k + vendor=next + case $basic_os in + openstep*) + ;; + nextstep*) ;; - -ns2*) - os=-nextstep2 + ns2*) + basic_os=nextstep2 ;; *) - os=-nextstep3 + basic_os=nextstep3 ;; esac ;; - nh3000) - basic_machine=m68k-harris - os=-cxux - ;; - nh[45]000) - basic_machine=m88k-harris - os=-cxux - ;; - nindy960) - basic_machine=i960-intel - os=-nindy - ;; - mon960) - basic_machine=i960-intel - os=-mon960 - ;; - nonstopux) - basic_machine=mips-compaq - os=-nonstopux - ;; np1) - basic_machine=np1-gould - ;; - neo-tandem) - basic_machine=neo-tandem - ;; - nse-tandem) - basic_machine=nse-tandem - ;; - nsr-tandem) - basic_machine=nsr-tandem - ;; - nsv-tandem) - basic_machine=nsv-tandem - ;; - nsx-tandem) - basic_machine=nsx-tandem + cpu=np1 + vendor=gould ;; op50n-* | op60c-*) - basic_machine=hppa1.1-oki - os=-proelf - ;; - openrisc | openrisc-*) - basic_machine=or32-unknown - ;; - os400) - basic_machine=powerpc-ibm - os=-os400 - ;; - OSE68000 | ose68000) - basic_machine=m68000-ericsson - os=-ose - ;; - os68k) - basic_machine=m68k-none - os=-os68k + cpu=hppa1.1 + vendor=oki + basic_os=proelf ;; pa-hitachi) - basic_machine=hppa1.1-hitachi - os=-hiuxwe2 - ;; - paragon) - basic_machine=i860-intel - os=-osf - ;; - parisc) - basic_machine=hppa-unknown - os=-linux - ;; - parisc-*) - basic_machine=hppa-`echo "$basic_machine" | sed 's/^[^-]*-//'` - os=-linux + cpu=hppa1.1 + vendor=hitachi + basic_os=hiuxwe2 ;; pbd) - basic_machine=sparc-tti + cpu=sparc + vendor=tti ;; pbb) - basic_machine=m68k-tti + cpu=m68k + vendor=tti ;; - pc532 | pc532-*) - basic_machine=ns32k-pc532 + pc532) + cpu=ns32k + vendor=pc532 ;; - pc98) - basic_machine=i386-pc + pn) + cpu=pn + vendor=gould ;; - pc98-*) - basic_machine=i386-`echo "$basic_machine" | sed 's/^[^-]*-//'` + power) + cpu=power + vendor=ibm ;; - pentium | p5 | k5 | k6 | nexgen | viac3) - basic_machine=i586-pc + ps2) + cpu=i386 + vendor=ibm ;; - pentiumpro | p6 | 6x86 | athlon | athlon_*) - basic_machine=i686-pc + rm[46]00) + cpu=mips + vendor=siemens ;; - pentiumii | pentium2 | pentiumiii | pentium3) - basic_machine=i686-pc + rtpc | rtpc-*) + cpu=romp + vendor=ibm ;; - pentium4) - basic_machine=i786-pc + sde) + cpu=mipsisa32 + vendor=sde + basic_os=${basic_os:-elf} ;; - pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) - basic_machine=i586-`echo "$basic_machine" | sed 's/^[^-]*-//'` + simso-wrs) + cpu=sparclite + vendor=wrs + basic_os=vxworks ;; - pentiumpro-* | p6-* | 6x86-* | athlon-*) - basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'` + tower | tower-32) + cpu=m68k + vendor=ncr ;; - pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) - basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'` + vpp*|vx|vx-*) + cpu=f301 + vendor=fujitsu ;; - pentium4-*) - basic_machine=i786-`echo "$basic_machine" | sed 's/^[^-]*-//'` + w65) + cpu=w65 + vendor=wdc ;; - pn) - basic_machine=pn-gould + w89k-*) + cpu=hppa1.1 + vendor=winbond + basic_os=proelf ;; - power) basic_machine=power-ibm + none) + cpu=none + vendor=none ;; - ppc | ppcbe) basic_machine=powerpc-unknown + leon|leon[3-9]) + cpu=sparc + vendor=$basic_machine ;; - ppc-* | ppcbe-*) - basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'` + leon-*|leon[3-9]-*) + cpu=sparc + vendor=$(echo "$basic_machine" | sed 's/-.*//') ;; - ppcle | powerpclittle) - basic_machine=powerpcle-unknown + + *-*) + # shellcheck disable=SC2162 + IFS="-" read cpu vendor <&2 - exit 1 + # Recognize the canonical CPU types that are allowed with any + # company name. + case $cpu in + 1750a | 580 \ + | a29k \ + | aarch64 | aarch64_be \ + | abacus \ + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] \ + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] \ + | alphapca5[67] | alpha64pca5[67] \ + | am33_2.0 \ + | amdgcn \ + | arc | arceb \ + | arm | arm[lb]e | arme[lb] | armv* \ + | avr | avr32 \ + | asmjs \ + | ba \ + | be32 | be64 \ + | bfin | bpf | bs2000 \ + | c[123]* | c30 | [cjt]90 | c4x \ + | c8051 | clipper | craynv | csky | cydra \ + | d10v | d30v | dlx | dsp16xx \ + | e2k | elxsi | epiphany \ + | f30[01] | f700 | fido | fr30 | frv | ft32 | fx80 \ + | h8300 | h8500 \ + | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ + | hexagon \ + | i370 | i*86 | i860 | i960 | ia16 | ia64 \ + | ip2k | iq2000 \ + | k1om \ + | le32 | le64 \ + | lm32 \ + | loongarch32 | loongarch64 | loongarchx32 \ + | m32c | m32r | m32rle \ + | m5200 | m68000 | m680[012346]0 | m68360 | m683?2 | m68k \ + | m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x \ + | m88110 | m88k | maxq | mb | mcore | mep | metag \ + | microblaze | microblazeel \ + | mips | mipsbe | mipseb | mipsel | mipsle \ + | mips16 \ + | mips64 | mips64eb | mips64el \ + | mips64octeon | mips64octeonel \ + | mips64orion | mips64orionel \ + | mips64r5900 | mips64r5900el \ + | mips64vr | mips64vrel \ + | mips64vr4100 | mips64vr4100el \ + | mips64vr4300 | mips64vr4300el \ + | mips64vr5000 | mips64vr5000el \ + | mips64vr5900 | mips64vr5900el \ + | mipsisa32 | mipsisa32el \ + | mipsisa32r2 | mipsisa32r2el \ + | mipsisa32r6 | mipsisa32r6el \ + | mipsisa64 | mipsisa64el \ + | mipsisa64r2 | mipsisa64r2el \ + | mipsisa64r6 | mipsisa64r6el \ + | mipsisa64sb1 | mipsisa64sb1el \ + | mipsisa64sr71k | mipsisa64sr71kel \ + | mipsr5900 | mipsr5900el \ + | mipstx39 | mipstx39el \ + | mmix \ + | mn10200 | mn10300 \ + | moxie \ + | mt \ + | msp430 \ + | nds32 | nds32le | nds32be \ + | nfp \ + | nios | nios2 | nios2eb | nios2el \ + | none | np1 | ns16k | ns32k | nvptx \ + | open8 \ + | or1k* \ + | or32 \ + | orion \ + | picochip \ + | pdp10 | pdp11 | pj | pjl | pn | power \ + | powerpc | powerpc64 | powerpc64le | powerpcle | powerpcspe \ + | pru \ + | pyramid \ + | riscv | riscv32 | riscv32be | riscv64 | riscv64be \ + | rl78 | romp | rs6000 | rx \ + | s390 | s390x \ + | score \ + | sh | shl \ + | sh[1234] | sh[24]a | sh[24]ae[lb] | sh[23]e | she[lb] | sh[lb]e \ + | sh[1234]e[lb] | sh[12345][lb]e | sh[23]ele | sh64 | sh64le \ + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet \ + | sparclite \ + | sparcv8 | sparcv9 | sparcv9b | sparcv9v | sv1 | sx* \ + | spu \ + | tahoe \ + | thumbv7* \ + | tic30 | tic4x | tic54x | tic55x | tic6x | tic80 \ + | tron \ + | ubicom32 \ + | v70 | v850 | v850e | v850e1 | v850es | v850e2 | v850e2v3 \ + | vax \ + | visium \ + | w65 \ + | wasm32 | wasm64 \ + | we32k \ + | x86 | x86_64 | xc16x | xgate | xps100 \ + | xstormy16 | xtensa* \ + | ymp \ + | z8k | z80) + ;; + + *) + echo Invalid configuration \`"$1"\': machine \`"$cpu-$vendor"\' not recognized 1>&2 + exit 1 + ;; + esac ;; esac # Here we canonicalize certain aliases for manufacturers. -case $basic_machine in - *-digital*) - basic_machine=`echo "$basic_machine" | sed 's/digital.*/dec/'` +case $vendor in + digital*) + vendor=dec ;; - *-commodore*) - basic_machine=`echo "$basic_machine" | sed 's/commodore.*/cbm/'` + commodore*) + vendor=cbm ;; *) ;; @@ -1334,203 +1280,213 @@ # Decode manufacturer-specific aliases for certain operating systems. -if [ x"$os" != x"" ] +if test x$basic_os != x then + +# First recognize some ad-hoc caes, or perhaps split kernel-os, or else just +# set os. +case $basic_os in + gnu/linux*) + kernel=linux + os=$(echo $basic_os | sed -e 's|gnu/linux|gnu|') + ;; + os2-emx) + kernel=os2 + os=$(echo $basic_os | sed -e 's|os2-emx|emx|') + ;; + nto-qnx*) + kernel=nto + os=$(echo $basic_os | sed -e 's|nto-qnx|qnx|') + ;; + *-*) + # shellcheck disable=SC2162 + IFS="-" read kernel os <&2 - exit 1 + # No normalization, but not necessarily accepted, that comes below. ;; esac + else # Here we handle the default operating systems that come with various machines. @@ -1543,258 +1499,361 @@ # will signal an error saying that MANUFACTURER isn't an operating # system, and we'll never get to this point. -case $basic_machine in +kernel= +case $cpu-$vendor in score-*) - os=-elf + os=elf ;; spu-*) - os=-elf + os=elf ;; *-acorn) - os=-riscix1.2 + os=riscix1.2 ;; arm*-rebel) - os=-linux + kernel=linux + os=gnu ;; arm*-semi) - os=-aout + os=aout ;; c4x-* | tic4x-*) - os=-coff + os=coff ;; c8051-*) - os=-elf + os=elf + ;; + clipper-intergraph) + os=clix ;; hexagon-*) - os=-elf + os=elf ;; tic54x-*) - os=-coff + os=coff ;; tic55x-*) - os=-coff + os=coff ;; tic6x-*) - os=-coff + os=coff ;; # This must come before the *-dec entry. pdp10-*) - os=-tops20 + os=tops20 ;; pdp11-*) - os=-none + os=none ;; *-dec | vax-*) - os=-ultrix4.2 + os=ultrix4.2 ;; m68*-apollo) - os=-domain + os=domain ;; i386-sun) - os=-sunos4.0.2 + os=sunos4.0.2 ;; m68000-sun) - os=-sunos3 + os=sunos3 ;; m68*-cisco) - os=-aout + os=aout ;; mep-*) - os=-elf + os=elf ;; mips*-cisco) - os=-elf + os=elf ;; mips*-*) - os=-elf + os=elf ;; or32-*) - os=-coff + os=coff ;; *-tti) # must be before sparc entry or we get the wrong os. - os=-sysv3 + os=sysv3 ;; sparc-* | *-sun) - os=-sunos4.1.1 + os=sunos4.1.1 ;; pru-*) - os=-elf + os=elf ;; *-be) - os=-beos + os=beos ;; *-ibm) - os=-aix + os=aix ;; *-knuth) - os=-mmixware + os=mmixware ;; *-wec) - os=-proelf + os=proelf ;; *-winbond) - os=-proelf + os=proelf ;; *-oki) - os=-proelf + os=proelf ;; *-hp) - os=-hpux + os=hpux ;; *-hitachi) - os=-hiux + os=hiux ;; i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) - os=-sysv + os=sysv ;; *-cbm) - os=-amigaos + os=amigaos ;; *-dg) - os=-dgux + os=dgux ;; *-dolphin) - os=-sysv3 + os=sysv3 ;; m68k-ccur) - os=-rtu + os=rtu ;; m88k-omron*) - os=-luna + os=luna ;; *-next) - os=-nextstep + os=nextstep ;; *-sequent) - os=-ptx + os=ptx ;; *-crds) - os=-unos + os=unos ;; *-ns) - os=-genix + os=genix ;; i370-*) - os=-mvs + os=mvs ;; *-gould) - os=-sysv + os=sysv ;; *-highlevel) - os=-bsd + os=bsd ;; *-encore) - os=-bsd + os=bsd ;; *-sgi) - os=-irix + os=irix ;; *-siemens) - os=-sysv4 + os=sysv4 ;; *-masscomp) - os=-rtu + os=rtu ;; f30[01]-fujitsu | f700-fujitsu) - os=-uxpv + os=uxpv ;; *-rom68k) - os=-coff + os=coff ;; *-*bug) - os=-coff + os=coff ;; *-apple) - os=-macos + os=macos ;; *-atari*) - os=-mint + os=mint + ;; + *-wrs) + os=vxworks ;; *) - os=-none + os=none ;; esac + fi +# Now, validate our (potentially fixed-up) OS. +case $os in + # Sometimes we do "kernel-libc", so those need to count as OSes. + musl* | newlib* | uclibc*) + ;; + # Likewise for "kernel-abi" + eabi* | gnueabi*) + ;; + # VxWorks passes extra cpu info in the 4th filed. + simlinux | simwindows | spe) + ;; + # Now accept the basic system types. + # The portable systems comes first. + # Each alternative MUST end in a * to match a version number. + gnu* | android* | bsd* | mach* | minix* | genix* | ultrix* | irix* \ + | *vms* | esix* | aix* | cnk* | sunos | sunos[34]* \ + | hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \ + | sym* | plan9* | psp* | sim* | xray* | os68k* | v88r* \ + | hiux* | abug | nacl* | netware* | windows* \ + | os9* | macos* | osx* | ios* \ + | mpw* | magic* | mmixware* | mon960* | lnews* \ + | amigaos* | amigados* | msdos* | newsos* | unicos* | aof* \ + | aos* | aros* | cloudabi* | sortix* | twizzler* \ + | nindy* | vxsim* | vxworks* | ebmon* | hms* | mvs* \ + | clix* | riscos* | uniplus* | iris* | isc* | rtu* | xenix* \ + | mirbsd* | netbsd* | dicos* | openedition* | ose* \ + | bitrig* | openbsd* | solidbsd* | libertybsd* | os108* \ + | ekkobsd* | freebsd* | riscix* | lynxos* | os400* \ + | bosx* | nextstep* | cxux* | aout* | elf* | oabi* \ + | ptx* | coff* | ecoff* | winnt* | domain* | vsta* \ + | udi* | lites* | ieee* | go32* | aux* | hcos* \ + | chorusrdb* | cegcc* | glidix* \ + | cygwin* | msys* | pe* | moss* | proelf* | rtems* \ + | midipix* | mingw32* | mingw64* | mint* \ + | uxpv* | beos* | mpeix* | udk* | moxiebox* \ + | interix* | uwin* | mks* | rhapsody* | darwin* \ + | openstep* | oskit* | conix* | pw32* | nonstopux* \ + | storm-chaos* | tops10* | tenex* | tops20* | its* \ + | os2* | vos* | palmos* | uclinux* | nucleus* | morphos* \ + | scout* | superux* | sysv* | rtmk* | tpf* | windiss* \ + | powermax* | dnix* | nx6 | nx7 | sei* | dragonfly* \ + | skyos* | haiku* | rdos* | toppers* | drops* | es* \ + | onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \ + | midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \ + | nsk* | powerunix* | genode* | zvmoe* | qnx* | emx*) + ;; + # This one is extra strict with allowed versions + sco3.2v2 | sco3.2v[4-9]* | sco5v6*) + # Don't forget version if it is 3.2v4 or newer. + ;; + none) + ;; + *) + echo Invalid configuration \`"$1"\': OS \`"$os"\' not recognized 1>&2 + exit 1 + ;; +esac + +# As a final step for OS-related things, validate the OS-kernel combination +# (given a valid OS), if there is a kernel. +case $kernel-$os in + linux-gnu* | linux-dietlibc* | linux-android* | linux-newlib* | linux-musl* | linux-uclibc* ) + ;; + uclinux-uclibc* ) + ;; + -dietlibc* | -newlib* | -musl* | -uclibc* ) + # These are just libc implementations, not actual OSes, and thus + # require a kernel. + echo "Invalid configuration \`$1': libc \`$os' needs explicit kernel." 1>&2 + exit 1 + ;; + kfreebsd*-gnu* | kopensolaris*-gnu*) + ;; + vxworks-simlinux | vxworks-simwindows | vxworks-spe) + ;; + nto-qnx*) + ;; + os2-emx) + ;; + *-eabi* | *-gnueabi*) + ;; + -*) + # Blank kernel with real OS is always fine. + ;; + *-*) + echo "Invalid configuration \`$1': Kernel \`$kernel' not known to work with OS \`$os'." 1>&2 + exit 1 + ;; +esac + # Here we handle the case where we know the os, and the CPU type, but not the # manufacturer. We pick the logical manufacturer. -vendor=unknown -case $basic_machine in - *-unknown) - case $os in - -riscix*) +case $vendor in + unknown) + case $cpu-$os in + *-riscix*) vendor=acorn ;; - -sunos*) + *-sunos*) vendor=sun ;; - -cnk*|-aix*) + *-cnk* | *-aix*) vendor=ibm ;; - -beos*) + *-beos*) vendor=be ;; - -hpux*) + *-hpux*) vendor=hp ;; - -mpeix*) + *-mpeix*) vendor=hp ;; - -hiux*) + *-hiux*) vendor=hitachi ;; - -unos*) + *-unos*) vendor=crds ;; - -dgux*) + *-dgux*) vendor=dg ;; - -luna*) + *-luna*) vendor=omron ;; - -genix*) + *-genix*) vendor=ns ;; - -mvs* | -opened*) + *-clix*) + vendor=intergraph + ;; + *-mvs* | *-opened*) + vendor=ibm + ;; + *-os400*) vendor=ibm ;; - -os400*) + s390-* | s390x-*) vendor=ibm ;; - -ptx*) + *-ptx*) vendor=sequent ;; - -tpf*) + *-tpf*) vendor=ibm ;; - -vxsim* | -vxworks* | -windiss*) + *-vxsim* | *-vxworks* | *-windiss*) vendor=wrs ;; - -aux*) + *-aux*) vendor=apple ;; - -hms*) + *-hms*) vendor=hitachi ;; - -mpw* | -macos*) + *-mpw* | *-macos*) vendor=apple ;; - -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + *-*mint | *-mint[0-9]* | *-*MiNT | *-MiNT[0-9]*) vendor=atari ;; - -vos*) + *-vos*) vendor=stratus ;; esac - basic_machine=`echo "$basic_machine" | sed "s/unknown/$vendor/"` ;; esac -echo "$basic_machine$os" +echo "$cpu-$vendor-${kernel:+$kernel-}$os" exit # Local variables: -# eval: (add-hook 'write-file-functions 'time-stamp) +# eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" diff -Nru vlc-3.0.23/autotools/install-sh vlc-3.0.24/autotools/install-sh --- vlc-3.0.23/autotools/install-sh 2025-12-23 10:59:14.000000000 +0000 +++ vlc-3.0.24/autotools/install-sh 2026-09-17 12:50:45.000000000 +0000 @@ -1,7 +1,7 @@ #!/bin/sh # install - install a program, script, or datafile -scriptversion=2018-03-11.20; # UTC +scriptversion=2020-11-14.01; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the @@ -69,6 +69,11 @@ # Desired mode of installed file. mode=0755 +# Create dirs (including intermediate dirs) using mode 755. +# This is like GNU 'install' as of coreutils 8.32 (2020). +mkdir_umask=22 + +backupsuffix= chgrpcmd= chmodcmd=$chmodprog chowncmd= @@ -99,18 +104,28 @@ --version display version info and exit. -c (ignored) - -C install only if different (preserve the last data modification time) + -C install only if different (preserve data modification time) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. + -p pass -p to $cpprog. -s $stripprog installed files. + -S SUFFIX attempt to back up existing files, with suffix SUFFIX. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG + +By default, rm is invoked with -f; when overridden with RMPROG, +it's up to you to specify -f if you want it. + +If -S is not specified, no backups are attempted. + +Email bug reports to bug-automake@gnu.org. +Automake home page: https://www.gnu.org/software/automake/ " while test $# -ne 0; do @@ -137,8 +152,13 @@ -o) chowncmd="$chownprog $2" shift;; + -p) cpprog="$cpprog -p";; + -s) stripcmd=$stripprog;; + -S) backupsuffix="$2" + shift;; + -t) is_target_a_directory=always dst_arg=$2 @@ -255,6 +275,10 @@ dstdir=$dst test -d "$dstdir" dstdir_status=$? + # Don't chown directories that already exist. + if test $dstdir_status = 0; then + chowncmd="" + fi else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command @@ -301,22 +325,6 @@ if test $dstdir_status != 0; then case $posix_mkdir in '') - # Create intermediate dirs using mode 755 as modified by the umask. - # This is like FreeBSD 'install' as of 1997-10-28. - umask=`umask` - case $stripcmd.$umask in - # Optimize common cases. - *[2367][2367]) mkdir_umask=$umask;; - .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; - - *[0-7]) - mkdir_umask=`expr $umask + 22 \ - - $umask % 100 % 40 + $umask % 20 \ - - $umask % 10 % 4 + $umask % 2 - `;; - *) mkdir_umask=$umask,go-w;; - esac - # With -d, create the new directory with the user-specified mode. # Otherwise, rely on $mkdir_umask. if test -n "$dir_arg"; then @@ -326,52 +334,49 @@ fi posix_mkdir=false - case $umask in - *[123567][0-7][0-7]) - # POSIX mkdir -p sets u+wx bits regardless of umask, which - # is incompatible with FreeBSD 'install' when (umask & 300) != 0. - ;; - *) - # Note that $RANDOM variable is not portable (e.g. dash); Use it - # here however when possible just to lower collision chance. - tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ - - trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0 - - # Because "mkdir -p" follows existing symlinks and we likely work - # directly in world-writeable /tmp, make sure that the '$tmpdir' - # directory is successfully created first before we actually test - # 'mkdir -p' feature. - if (umask $mkdir_umask && - $mkdirprog $mkdir_mode "$tmpdir" && - exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 - then - if test -z "$dir_arg" || { - # Check for POSIX incompatibilities with -m. - # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or - # other-writable bit of parent directory when it shouldn't. - # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. - test_tmpdir="$tmpdir/a" - ls_ld_tmpdir=`ls -ld "$test_tmpdir"` - case $ls_ld_tmpdir in - d????-?r-*) different_mode=700;; - d????-?--*) different_mode=755;; - *) false;; - esac && - $mkdirprog -m$different_mode -p -- "$test_tmpdir" && { - ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"` - test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" - } - } - then posix_mkdir=: - fi - rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" - else - # Remove any dirs left behind by ancient mkdir implementations. - rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null - fi - trap '' 0;; - esac;; + # The $RANDOM variable is not portable (e.g., dash). Use it + # here however when possible just to lower collision chance. + tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ + + trap ' + ret=$? + rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null + exit $ret + ' 0 + + # Because "mkdir -p" follows existing symlinks and we likely work + # directly in world-writeable /tmp, make sure that the '$tmpdir' + # directory is successfully created first before we actually test + # 'mkdir -p'. + if (umask $mkdir_umask && + $mkdirprog $mkdir_mode "$tmpdir" && + exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 + then + if test -z "$dir_arg" || { + # Check for POSIX incompatibilities with -m. + # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or + # other-writable bit of parent directory when it shouldn't. + # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. + test_tmpdir="$tmpdir/a" + ls_ld_tmpdir=`ls -ld "$test_tmpdir"` + case $ls_ld_tmpdir in + d????-?r-*) different_mode=700;; + d????-?--*) different_mode=755;; + *) false;; + esac && + $mkdirprog -m$different_mode -p -- "$test_tmpdir" && { + ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"` + test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" + } + } + then posix_mkdir=: + fi + rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" + else + # Remove any dirs left behind by ancient mkdir implementations. + rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null + fi + trap '' 0;; esac if @@ -382,7 +387,7 @@ then : else - # The umask is ridiculous, or mkdir does not conform to POSIX, + # mkdir does not conform to POSIX, # or it failed possibly due to a race condition. Create the # directory the slow way, step by step, checking for races as we go. @@ -411,7 +416,7 @@ prefixes= else if $posix_mkdir; then - (umask=$mkdir_umask && + (umask $mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break # Don't fail if two instances are running concurrently. test -d "$prefix" || exit 1 @@ -451,7 +456,18 @@ trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 # Copy the file name to the temp name. - (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && + (umask $cp_umask && + { test -z "$stripcmd" || { + # Create $dsttmp read-write so that cp doesn't create it read-only, + # which would cause strip to fail. + if test -z "$doit"; then + : >"$dsttmp" # No need to fork-exec 'touch'. + else + $doit touch "$dsttmp" + fi + } + } && + $doit_exec $cpprog "$src" "$dsttmp") && # and set any options; do chmod last to preserve setuid bits. # @@ -477,6 +493,13 @@ then rm -f "$dsttmp" else + # If $backupsuffix is set, and the file being installed + # already exists, attempt a backup. Don't worry if it fails, + # e.g., if mv doesn't support -f. + if test -n "$backupsuffix" && test -f "$dst"; then + $doit $mvcmd -f "$dst" "$dst$backupsuffix" 2>/dev/null + fi + # Rename the file to the real destination. $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || @@ -491,9 +514,9 @@ # file should still install successfully. { test ! -f "$dst" || - $doit $rmcmd -f "$dst" 2>/dev/null || + $doit $rmcmd "$dst" 2>/dev/null || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && - { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } + { $doit $rmcmd "$rmtmp" 2>/dev/null; :; } } || { echo "$0: cannot unlink or rename $dst" >&2 (exit 1); exit 1 diff -Nru vlc-3.0.23/bin/Makefile.in vlc-3.0.24/bin/Makefile.in --- vlc-3.0.23/bin/Makefile.in 2025-12-23 10:59:15.000000000 +0000 +++ vlc-3.0.24/bin/Makefile.in 2026-09-17 12:50:41.000000000 +0000 @@ -330,6 +330,7 @@ ARIBB25_CFLAGS = @ARIBB25_CFLAGS@ ARIBB25_LIBS = @ARIBB25_LIBS@ AS = @AS@ +ASDCPLIB_FACTORY = @ASDCPLIB_FACTORY@ ASDCP_CFLAGS = @ASDCP_CFLAGS@ ASDCP_LIBS = @ASDCP_LIBS@ ASM = @ASM@ @@ -359,6 +360,7 @@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAGS_access_mtp = @CFLAGS_access_mtp@ +CFLAGS_access_output_rist = @CFLAGS_access_output_rist@ CFLAGS_access_output_shout = @CFLAGS_access_output_shout@ CFLAGS_access_output_srt = @CFLAGS_access_output_srt@ CFLAGS_access_srt = @CFLAGS_access_srt@ @@ -398,13 +400,14 @@ CFLAGS_oggspots = @CFLAGS_oggspots@ CFLAGS_omxil = @CFLAGS_omxil@ CFLAGS_omxil_vout = @CFLAGS_omxil_vout@ +CFLAGS_openapv = @CFLAGS_openapv@ CFLAGS_opencv_example = @CFLAGS_opencv_example@ CFLAGS_opencv_wrapper = @CFLAGS_opencv_wrapper@ CFLAGS_opus = @CFLAGS_opus@ CFLAGS_qsv = @CFLAGS_qsv@ CFLAGS_rdp = @CFLAGS_rdp@ +CFLAGS_rist = @CFLAGS_rist@ CFLAGS_samplerate = @CFLAGS_samplerate@ -CFLAGS_schroedinger = @CFLAGS_schroedinger@ CFLAGS_secret = @CFLAGS_secret@ CFLAGS_sftp = @CFLAGS_sftp@ CFLAGS_shine = @CFLAGS_shine@ @@ -439,6 +442,7 @@ CPPFLAGS = @CPPFLAGS@ CPPFLAGS_a52 = @CPPFLAGS_a52@ CPPFLAGS_access_mtp = @CPPFLAGS_access_mtp@ +CPPFLAGS_access_output_rist = @CPPFLAGS_access_output_rist@ CPPFLAGS_access_output_shout = @CPPFLAGS_access_output_shout@ CPPFLAGS_access_output_srt = @CPPFLAGS_access_output_srt@ CPPFLAGS_access_srt = @CPPFLAGS_access_srt@ @@ -475,13 +479,14 @@ CPPFLAGS_notify = @CPPFLAGS_notify@ CPPFLAGS_ogg = @CPPFLAGS_ogg@ CPPFLAGS_oggspots = @CPPFLAGS_oggspots@ +CPPFLAGS_openapv = @CPPFLAGS_openapv@ CPPFLAGS_opencv_example = @CPPFLAGS_opencv_example@ CPPFLAGS_opencv_wrapper = @CPPFLAGS_opencv_wrapper@ CPPFLAGS_opus = @CPPFLAGS_opus@ CPPFLAGS_qsv = @CPPFLAGS_qsv@ CPPFLAGS_rdp = @CPPFLAGS_rdp@ +CPPFLAGS_rist = @CPPFLAGS_rist@ CPPFLAGS_samplerate = @CPPFLAGS_samplerate@ -CPPFLAGS_schroedinger = @CPPFLAGS_schroedinger@ CPPFLAGS_secret = @CPPFLAGS_secret@ CPPFLAGS_sftp = @CPPFLAGS_sftp@ CPPFLAGS_shine = @CPPFLAGS_shine@ @@ -583,6 +588,8 @@ GNUTLS_LIBS = @GNUTLS_LIBS@ GOOM_CFLAGS = @GOOM_CFLAGS@ GOOM_LIBS = @GOOM_LIBS@ +GPGERROR_CFLAGS = @GPGERROR_CFLAGS@ +GPGERROR_LIBS = @GPGERROR_LIBS@ GREP = @GREP@ GST_APP_CFLAGS = @GST_APP_CFLAGS@ GST_APP_LIBS = @GST_APP_LIBS@ @@ -636,10 +643,13 @@ LIBPLACEBO_CFLAGS = @LIBPLACEBO_CFLAGS@ LIBPLACEBO_LIBS = @LIBPLACEBO_LIBS@ LIBPTHREAD = @LIBPTHREAD@ +LIBRIST_CFLAGS = @LIBRIST_CFLAGS@ +LIBRIST_LIBS = @LIBRIST_LIBS@ LIBRT = @LIBRT@ LIBS = @LIBS@ LIBS_a52 = @LIBS_a52@ LIBS_access_mtp = @LIBS_access_mtp@ +LIBS_access_output_rist = @LIBS_access_output_rist@ LIBS_access_output_shout = @LIBS_access_output_shout@ LIBS_access_output_srt = @LIBS_access_output_srt@ LIBS_access_srt = @LIBS_access_srt@ @@ -685,15 +695,16 @@ LIBS_notify = @LIBS_notify@ LIBS_ogg = @LIBS_ogg@ LIBS_oggspots = @LIBS_oggspots@ +LIBS_openapv = @LIBS_openapv@ LIBS_opencv_example = @LIBS_opencv_example@ LIBS_opencv_wrapper = @LIBS_opencv_wrapper@ LIBS_opus = @LIBS_opus@ LIBS_osx_notifications = @LIBS_osx_notifications@ LIBS_qsv = @LIBS_qsv@ LIBS_rdp = @LIBS_rdp@ +LIBS_rist = @LIBS_rist@ LIBS_samplerate = @LIBS_samplerate@ LIBS_sap = @LIBS_sap@ -LIBS_schroedinger = @LIBS_schroedinger@ LIBS_secret = @LIBS_secret@ LIBS_sftp = @LIBS_sftp@ LIBS_shine = @LIBS_shine@ @@ -747,6 +758,7 @@ LTLIBa52 = @LTLIBa52@ LTLIBaa = @LTLIBaa@ LTLIBaccess_mtp = @LTLIBaccess_mtp@ +LTLIBaccess_output_rist = @LTLIBaccess_output_rist@ LTLIBaccess_output_shout = @LTLIBaccess_output_shout@ LTLIBaccess_output_srt = @LTLIBaccess_output_srt@ LTLIBaccess_realrtsp = @LTLIBaccess_realrtsp@ @@ -810,6 +822,7 @@ LTLIBoggspots = @LTLIBoggspots@ LTLIBomxil = @LTLIBomxil@ LTLIBomxil_vout = @LTLIBomxil_vout@ +LTLIBopenapv = @LTLIBopenapv@ LTLIBopencv_example = @LTLIBopencv_example@ LTLIBopencv_wrapper = @LTLIBopencv_wrapper@ LTLIBopensles_android = @LTLIBopensles_android@ @@ -820,8 +833,8 @@ LTLIBprojectm = @LTLIBprojectm@ LTLIBqsv = @LTLIBqsv@ LTLIBrdp = @LTLIBrdp@ +LTLIBrist = @LTLIBrist@ LTLIBsamplerate = @LTLIBsamplerate@ -LTLIBschroedinger = @LTLIBschroedinger@ LTLIBscreen = @LTLIBscreen@ LTLIBsdl_image = @LTLIBsdl_image@ LTLIBsecret = @LTLIBsecret@ @@ -871,8 +884,6 @@ MANIFEST_TOOL = @MANIFEST_TOOL@ MATROSKA_CFLAGS = @MATROSKA_CFLAGS@ MATROSKA_LIBS = @MATROSKA_LIBS@ -MFX_CFLAGS = @MFX_CFLAGS@ -MFX_LIBS = @MFX_LIBS@ MICRODNS_CFLAGS = @MICRODNS_CFLAGS@ MICRODNS_LIBS = @MICRODNS_LIBS@ MINIZIP_CFLAGS = @MINIZIP_CFLAGS@ @@ -905,6 +916,8 @@ OGGSPOTS_LIBS = @OGGSPOTS_LIBS@ OGG_CFLAGS = @OGG_CFLAGS@ OGG_LIBS = @OGG_LIBS@ +OPENAPV_CFLAGS = @OPENAPV_CFLAGS@ +OPENAPV_LIBS = @OPENAPV_LIBS@ OPENCV_CFLAGS = @OPENCV_CFLAGS@ OPENCV_LIBS = @OPENCV_LIBS@ OPUS_CFLAGS = @OPUS_CFLAGS@ @@ -931,6 +944,7 @@ PROGRAMFILES = @PROGRAMFILES@ PROJECTM_CFLAGS = @PROJECTM_CFLAGS@ PROJECTM_LIBS = @PROJECTM_LIBS@ +PROTOBUF_VERSION = @PROTOBUF_VERSION@ PROTOC = @PROTOC@ PULSE_CFLAGS = @PULSE_CFLAGS@ PULSE_LIBS = @PULSE_LIBS@ @@ -947,8 +961,6 @@ RCC = @RCC@ SAMPLERATE_CFLAGS = @SAMPLERATE_CFLAGS@ SAMPLERATE_LIBS = @SAMPLERATE_LIBS@ -SCHROEDINGER_CFLAGS = @SCHROEDINGER_CFLAGS@ -SCHROEDINGER_LIBS = @SCHROEDINGER_LIBS@ SDL_IMAGE_CFLAGS = @SDL_IMAGE_CFLAGS@ SDL_IMAGE_LIBS = @SDL_IMAGE_LIBS@ SECRET_CFLAGS = @SECRET_CFLAGS@ @@ -973,6 +985,8 @@ SOCKET_LIBS = @SOCKET_LIBS@ SOXR_CFLAGS = @SOXR_CFLAGS@ SOXR_LIBS = @SOXR_LIBS@ +SPATIALAUDIO_040_CFLAGS = @SPATIALAUDIO_040_CFLAGS@ +SPATIALAUDIO_040_LIBS = @SPATIALAUDIO_040_LIBS@ SPATIALAUDIO_CFLAGS = @SPATIALAUDIO_CFLAGS@ SPATIALAUDIO_LIBS = @SPATIALAUDIO_LIBS@ SPEEXDSP_CFLAGS = @SPEEXDSP_CFLAGS@ @@ -1010,6 +1024,7 @@ VDPAU_CFLAGS = @VDPAU_CFLAGS@ VDPAU_LIBS = @VDPAU_LIBS@ VERSION = @VERSION@ +VERSION_DATE = @VERSION_DATE@ VERSION_EXTRA = @VERSION_EXTRA@ VERSION_MAJOR = @VERSION_MAJOR@ VERSION_MESSAGE = @VERSION_MESSAGE@ @@ -1019,6 +1034,8 @@ VNC_LIBS = @VNC_LIBS@ VORBIS_CFLAGS = @VORBIS_CFLAGS@ VORBIS_LIBS = @VORBIS_LIBS@ +VPL_CFLAGS = @VPL_CFLAGS@ +VPL_LIBS = @VPL_LIBS@ VPX_CFLAGS = @VPX_CFLAGS@ VPX_LIBS = @VPX_LIBS@ VSXU_CFLAGS = @VSXU_CFLAGS@ diff -Nru vlc-3.0.23/compat/Makefile.in vlc-3.0.24/compat/Makefile.in --- vlc-3.0.23/compat/Makefile.in 2025-12-23 10:59:15.000000000 +0000 +++ vlc-3.0.24/compat/Makefile.in 2026-09-17 12:50:41.000000000 +0000 @@ -479,6 +479,7 @@ ARIBB25_CFLAGS = @ARIBB25_CFLAGS@ ARIBB25_LIBS = @ARIBB25_LIBS@ AS = @AS@ +ASDCPLIB_FACTORY = @ASDCPLIB_FACTORY@ ASDCP_CFLAGS = @ASDCP_CFLAGS@ ASDCP_LIBS = @ASDCP_LIBS@ ASM = @ASM@ @@ -508,6 +509,7 @@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAGS_access_mtp = @CFLAGS_access_mtp@ +CFLAGS_access_output_rist = @CFLAGS_access_output_rist@ CFLAGS_access_output_shout = @CFLAGS_access_output_shout@ CFLAGS_access_output_srt = @CFLAGS_access_output_srt@ CFLAGS_access_srt = @CFLAGS_access_srt@ @@ -547,13 +549,14 @@ CFLAGS_oggspots = @CFLAGS_oggspots@ CFLAGS_omxil = @CFLAGS_omxil@ CFLAGS_omxil_vout = @CFLAGS_omxil_vout@ +CFLAGS_openapv = @CFLAGS_openapv@ CFLAGS_opencv_example = @CFLAGS_opencv_example@ CFLAGS_opencv_wrapper = @CFLAGS_opencv_wrapper@ CFLAGS_opus = @CFLAGS_opus@ CFLAGS_qsv = @CFLAGS_qsv@ CFLAGS_rdp = @CFLAGS_rdp@ +CFLAGS_rist = @CFLAGS_rist@ CFLAGS_samplerate = @CFLAGS_samplerate@ -CFLAGS_schroedinger = @CFLAGS_schroedinger@ CFLAGS_secret = @CFLAGS_secret@ CFLAGS_sftp = @CFLAGS_sftp@ CFLAGS_shine = @CFLAGS_shine@ @@ -588,6 +591,7 @@ CPPFLAGS = @CPPFLAGS@ CPPFLAGS_a52 = @CPPFLAGS_a52@ CPPFLAGS_access_mtp = @CPPFLAGS_access_mtp@ +CPPFLAGS_access_output_rist = @CPPFLAGS_access_output_rist@ CPPFLAGS_access_output_shout = @CPPFLAGS_access_output_shout@ CPPFLAGS_access_output_srt = @CPPFLAGS_access_output_srt@ CPPFLAGS_access_srt = @CPPFLAGS_access_srt@ @@ -624,13 +628,14 @@ CPPFLAGS_notify = @CPPFLAGS_notify@ CPPFLAGS_ogg = @CPPFLAGS_ogg@ CPPFLAGS_oggspots = @CPPFLAGS_oggspots@ +CPPFLAGS_openapv = @CPPFLAGS_openapv@ CPPFLAGS_opencv_example = @CPPFLAGS_opencv_example@ CPPFLAGS_opencv_wrapper = @CPPFLAGS_opencv_wrapper@ CPPFLAGS_opus = @CPPFLAGS_opus@ CPPFLAGS_qsv = @CPPFLAGS_qsv@ CPPFLAGS_rdp = @CPPFLAGS_rdp@ +CPPFLAGS_rist = @CPPFLAGS_rist@ CPPFLAGS_samplerate = @CPPFLAGS_samplerate@ -CPPFLAGS_schroedinger = @CPPFLAGS_schroedinger@ CPPFLAGS_secret = @CPPFLAGS_secret@ CPPFLAGS_sftp = @CPPFLAGS_sftp@ CPPFLAGS_shine = @CPPFLAGS_shine@ @@ -732,6 +737,8 @@ GNUTLS_LIBS = @GNUTLS_LIBS@ GOOM_CFLAGS = @GOOM_CFLAGS@ GOOM_LIBS = @GOOM_LIBS@ +GPGERROR_CFLAGS = @GPGERROR_CFLAGS@ +GPGERROR_LIBS = @GPGERROR_LIBS@ GREP = @GREP@ GST_APP_CFLAGS = @GST_APP_CFLAGS@ GST_APP_LIBS = @GST_APP_LIBS@ @@ -785,10 +792,13 @@ LIBPLACEBO_CFLAGS = @LIBPLACEBO_CFLAGS@ LIBPLACEBO_LIBS = @LIBPLACEBO_LIBS@ LIBPTHREAD = @LIBPTHREAD@ +LIBRIST_CFLAGS = @LIBRIST_CFLAGS@ +LIBRIST_LIBS = @LIBRIST_LIBS@ LIBRT = @LIBRT@ LIBS = @LIBS@ LIBS_a52 = @LIBS_a52@ LIBS_access_mtp = @LIBS_access_mtp@ +LIBS_access_output_rist = @LIBS_access_output_rist@ LIBS_access_output_shout = @LIBS_access_output_shout@ LIBS_access_output_srt = @LIBS_access_output_srt@ LIBS_access_srt = @LIBS_access_srt@ @@ -834,15 +844,16 @@ LIBS_notify = @LIBS_notify@ LIBS_ogg = @LIBS_ogg@ LIBS_oggspots = @LIBS_oggspots@ +LIBS_openapv = @LIBS_openapv@ LIBS_opencv_example = @LIBS_opencv_example@ LIBS_opencv_wrapper = @LIBS_opencv_wrapper@ LIBS_opus = @LIBS_opus@ LIBS_osx_notifications = @LIBS_osx_notifications@ LIBS_qsv = @LIBS_qsv@ LIBS_rdp = @LIBS_rdp@ +LIBS_rist = @LIBS_rist@ LIBS_samplerate = @LIBS_samplerate@ LIBS_sap = @LIBS_sap@ -LIBS_schroedinger = @LIBS_schroedinger@ LIBS_secret = @LIBS_secret@ LIBS_sftp = @LIBS_sftp@ LIBS_shine = @LIBS_shine@ @@ -896,6 +907,7 @@ LTLIBa52 = @LTLIBa52@ LTLIBaa = @LTLIBaa@ LTLIBaccess_mtp = @LTLIBaccess_mtp@ +LTLIBaccess_output_rist = @LTLIBaccess_output_rist@ LTLIBaccess_output_shout = @LTLIBaccess_output_shout@ LTLIBaccess_output_srt = @LTLIBaccess_output_srt@ LTLIBaccess_realrtsp = @LTLIBaccess_realrtsp@ @@ -959,6 +971,7 @@ LTLIBoggspots = @LTLIBoggspots@ LTLIBomxil = @LTLIBomxil@ LTLIBomxil_vout = @LTLIBomxil_vout@ +LTLIBopenapv = @LTLIBopenapv@ LTLIBopencv_example = @LTLIBopencv_example@ LTLIBopencv_wrapper = @LTLIBopencv_wrapper@ LTLIBopensles_android = @LTLIBopensles_android@ @@ -969,8 +982,8 @@ LTLIBprojectm = @LTLIBprojectm@ LTLIBqsv = @LTLIBqsv@ LTLIBrdp = @LTLIBrdp@ +LTLIBrist = @LTLIBrist@ LTLIBsamplerate = @LTLIBsamplerate@ -LTLIBschroedinger = @LTLIBschroedinger@ LTLIBscreen = @LTLIBscreen@ LTLIBsdl_image = @LTLIBsdl_image@ LTLIBsecret = @LTLIBsecret@ @@ -1020,8 +1033,6 @@ MANIFEST_TOOL = @MANIFEST_TOOL@ MATROSKA_CFLAGS = @MATROSKA_CFLAGS@ MATROSKA_LIBS = @MATROSKA_LIBS@ -MFX_CFLAGS = @MFX_CFLAGS@ -MFX_LIBS = @MFX_LIBS@ MICRODNS_CFLAGS = @MICRODNS_CFLAGS@ MICRODNS_LIBS = @MICRODNS_LIBS@ MINIZIP_CFLAGS = @MINIZIP_CFLAGS@ @@ -1054,6 +1065,8 @@ OGGSPOTS_LIBS = @OGGSPOTS_LIBS@ OGG_CFLAGS = @OGG_CFLAGS@ OGG_LIBS = @OGG_LIBS@ +OPENAPV_CFLAGS = @OPENAPV_CFLAGS@ +OPENAPV_LIBS = @OPENAPV_LIBS@ OPENCV_CFLAGS = @OPENCV_CFLAGS@ OPENCV_LIBS = @OPENCV_LIBS@ OPUS_CFLAGS = @OPUS_CFLAGS@ @@ -1080,6 +1093,7 @@ PROGRAMFILES = @PROGRAMFILES@ PROJECTM_CFLAGS = @PROJECTM_CFLAGS@ PROJECTM_LIBS = @PROJECTM_LIBS@ +PROTOBUF_VERSION = @PROTOBUF_VERSION@ PROTOC = @PROTOC@ PULSE_CFLAGS = @PULSE_CFLAGS@ PULSE_LIBS = @PULSE_LIBS@ @@ -1096,8 +1110,6 @@ RCC = @RCC@ SAMPLERATE_CFLAGS = @SAMPLERATE_CFLAGS@ SAMPLERATE_LIBS = @SAMPLERATE_LIBS@ -SCHROEDINGER_CFLAGS = @SCHROEDINGER_CFLAGS@ -SCHROEDINGER_LIBS = @SCHROEDINGER_LIBS@ SDL_IMAGE_CFLAGS = @SDL_IMAGE_CFLAGS@ SDL_IMAGE_LIBS = @SDL_IMAGE_LIBS@ SECRET_CFLAGS = @SECRET_CFLAGS@ @@ -1122,6 +1134,8 @@ SOCKET_LIBS = @SOCKET_LIBS@ SOXR_CFLAGS = @SOXR_CFLAGS@ SOXR_LIBS = @SOXR_LIBS@ +SPATIALAUDIO_040_CFLAGS = @SPATIALAUDIO_040_CFLAGS@ +SPATIALAUDIO_040_LIBS = @SPATIALAUDIO_040_LIBS@ SPATIALAUDIO_CFLAGS = @SPATIALAUDIO_CFLAGS@ SPATIALAUDIO_LIBS = @SPATIALAUDIO_LIBS@ SPEEXDSP_CFLAGS = @SPEEXDSP_CFLAGS@ @@ -1159,6 +1173,7 @@ VDPAU_CFLAGS = @VDPAU_CFLAGS@ VDPAU_LIBS = @VDPAU_LIBS@ VERSION = @VERSION@ +VERSION_DATE = @VERSION_DATE@ VERSION_EXTRA = @VERSION_EXTRA@ VERSION_MAJOR = @VERSION_MAJOR@ VERSION_MESSAGE = @VERSION_MESSAGE@ @@ -1168,6 +1183,8 @@ VNC_LIBS = @VNC_LIBS@ VORBIS_CFLAGS = @VORBIS_CFLAGS@ VORBIS_LIBS = @VORBIS_LIBS@ +VPL_CFLAGS = @VPL_CFLAGS@ +VPL_LIBS = @VPL_LIBS@ VPX_CFLAGS = @VPX_CFLAGS@ VPX_LIBS = @VPX_LIBS@ VSXU_CFLAGS = @VSXU_CFLAGS@ diff -Nru vlc-3.0.23/compat/gai_strerror.c vlc-3.0.24/compat/gai_strerror.c --- vlc-3.0.23/compat/gai_strerror.c 2025-12-23 10:49:19.000000000 +0000 +++ vlc-3.0.24/compat/gai_strerror.c 2026-09-17 12:37:40.000000000 +0000 @@ -27,6 +27,26 @@ # include "config.h" #endif +const char *gai_strerror (int); + +#ifdef _WIN32 +# include +# undef gai_strerror /* mapped to gai_strerrorA or gai_strerrorW */ + +#ifdef _MSC_VER +/* EAI_NODATA was removed in RFC 3493 + * The Windows SDK defines EAI_NODATA as EAI_NONAME, aka WSAHOST_NOT_FOUND. + * It used to be WSANO_DATA. Remap it locally so we have strings for all the + * WSA errors that getaddrinfo() can return. + * + * In mingw-w64 EAI_NODATA is still mapped to WSANO_DATA. + */ +# undef EAI_NODATA +# define EAI_NODATA WSANO_DATA +#endif + +#endif /* _WIN32 */ + /* GAI error codes. See include/vlc_network.h. */ #ifndef EAI_BADFLAGS # define EAI_BADFLAGS -1 @@ -84,6 +104,12 @@ { EAI_MEMORY, "Memory allocation failure" }, { EAI_OVERFLOW, "Buffer overflow" }, { EAI_SYSTEM, "System error" }, + +#ifdef _WIN32 + { WSAEFAULT, "Invalid memory address" }, + { WSANOTINITIALISED, "WSAStartup not called or failed" }, +#endif + { 0, "" }, }; diff -Nru vlc-3.0.23/config.h.in vlc-3.0.24/config.h.in --- vlc-3.0.23/config.h.in 2025-12-23 10:59:13.000000000 +0000 +++ vlc-3.0.24/config.h.in 2026-09-17 12:50:39.000000000 +0000 @@ -417,12 +417,12 @@ /* Define to 1 if you have the `memalign' function. */ #undef HAVE_MEMALIGN -/* Define to 1 if you have the header file. */ -#undef HAVE_MEMORY_H - /* Define to 1 if you have the `memrchr' function. */ #undef HAVE_MEMRCHR +/* Define to 1 if you have the header file. */ +#undef HAVE_MINIX_CONFIG_H + /* Define to 1 if you have the `mkostemp' function. */ #undef HAVE_MKOSTEMP @@ -553,6 +553,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H +/* Define to 1 if you have the header file. */ +#undef HAVE_STDIO_H + /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H @@ -704,6 +707,9 @@ /* Define to 1 if you have the `vmsplice' function. */ #undef HAVE_VMSPLICE +/* Define to 1 if you have the header file. */ +#undef HAVE_WCHAR_H + /* Define to 1 if you have the header file. */ #undef HAVE_X11_XLIB_H @@ -767,7 +773,9 @@ /* version revision number */ #undef PACKAGE_VERSION_REVISION -/* Define to 1 if you have the ANSI C header files. */ +/* Define to 1 if all of the C90 standard headers exist (not just the ones + required in a freestanding environment). This macro is provided for + backward compatibility; new code need not use it. */ #undef STDC_HEADERS /* Define to 1 for Unicode (Wide Chars) APIs. */ @@ -777,21 +785,87 @@ #ifndef _ALL_SOURCE # undef _ALL_SOURCE #endif +/* Enable general extensions on macOS. */ +#ifndef _DARWIN_C_SOURCE +# undef _DARWIN_C_SOURCE +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# undef __EXTENSIONS__ +#endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # undef _GNU_SOURCE #endif -/* Enable threading extensions on Solaris. */ +/* Enable X/Open compliant socket functions that do not require linking + with -lxnet on HP-UX 11.11. */ +#ifndef _HPUX_ALT_XOPEN_SOCKET_API +# undef _HPUX_ALT_XOPEN_SOCKET_API +#endif +/* Identify the host operating system as Minix. + This macro does not affect the system headers' behavior. + A future release of Autoconf may stop defining this macro. */ +#ifndef _MINIX +# undef _MINIX +#endif +/* Enable general extensions on NetBSD. + Enable NetBSD compatibility extensions on Minix. */ +#ifndef _NETBSD_SOURCE +# undef _NETBSD_SOURCE +#endif +/* Enable OpenBSD compatibility extensions on NetBSD. + Oddly enough, this does nothing on OpenBSD. */ +#ifndef _OPENBSD_SOURCE +# undef _OPENBSD_SOURCE +#endif +/* Define to 1 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_SOURCE +# undef _POSIX_SOURCE +#endif +/* Define to 2 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_1_SOURCE +# undef _POSIX_1_SOURCE +#endif +/* Enable POSIX-compatible threading on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # undef _POSIX_PTHREAD_SEMANTICS #endif +/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ +#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +# undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ +#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ +# undef __STDC_WANT_IEC_60559_BFP_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ +#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ +# undef __STDC_WANT_IEC_60559_DFP_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ +#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ +# undef __STDC_WANT_IEC_60559_FUNCS_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-3:2015. */ +#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ +# undef __STDC_WANT_IEC_60559_TYPES_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ +#ifndef __STDC_WANT_LIB_EXT2__ +# undef __STDC_WANT_LIB_EXT2__ +#endif +/* Enable extensions specified by ISO/IEC 24747:2009. */ +#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ +# undef __STDC_WANT_MATH_SPEC_FUNCS__ +#endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE # undef _TANDEM_SOURCE #endif -/* Enable general extensions on Solaris. */ -#ifndef __EXTENSIONS__ -# undef __EXTENSIONS__ +/* Enable X/Open extensions. Define to 500 only if necessary + to make mbstate_t available. */ +#ifndef _XOPEN_SOURCE +# undef _XOPEN_SOURCE #endif @@ -853,13 +927,6 @@ /* Extensions to ISO C89 from ISO C99. */ #undef _ISOC99_SOURCE -/* Define to 1 if on MINIX. */ -#undef _MINIX - -/* Define to 2 if the system does not provide POSIX.1 features except with - this defined. */ -#undef _POSIX_1_SOURCE - /* IEEE Std 1003.1. */ #undef _POSIX_C_SOURCE @@ -904,14 +971,15 @@ /* Define to the equivalent of the C99 'restrict' keyword, or to nothing if this is not supported. Do not define if restrict is - supported directly. */ + supported only directly. */ #undef restrict -/* Work around a bug in Sun C++: it does not support _Restrict or - __restrict__, even though the corresponding Sun C compiler ends up with - "#define restrict _Restrict" or "#define restrict __restrict__" in the - previous line. Perhaps some future version of Sun C++ will work with - restrict; if so, hopefully it defines __RESTRICT like Sun C does. */ -#if defined __SUNPRO_CC && !defined __RESTRICT +/* Work around a bug in older versions of Sun C++, which did not + #define __restrict__ or support _Restrict or __restrict__ + even though the corresponding Sun C compiler ended up with + "#define restrict _Restrict" or "#define restrict __restrict__" + in the previous line. This workaround can be removed once + we assume Oracle Developer Studio 12.5 (2016) or later. */ +#if defined __SUNPRO_CC && !defined __RESTRICT && !defined __restrict__ # define _Restrict # define __restrict__ #endif diff -Nru vlc-3.0.23/configure vlc-3.0.24/configure --- vlc-3.0.23/configure 2025-12-23 10:59:11.000000000 +0000 +++ vlc-3.0.24/configure 2026-09-17 12:56:03.000000000 +0000 @@ -1,11 +1,12 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for vlc 3.0.23. +# Generated by GNU Autoconf 2.71 for vlc 3.0.24. # # Copyright 1999-2025 VLC authors and VideoLAN # # -# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. +# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, +# Inc. # # # This configure script is free software; the Free Software Foundation @@ -16,14 +17,16 @@ # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : +as_nop=: +if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 +then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST -else +else $as_nop case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( @@ -33,46 +36,46 @@ fi + +# Reset variables that may have inherited troublesome values from +# the environment. + +# IFS needs to be set, to space, tab, and newline, in precisely that order. +# (If _AS_PATH_WALK were called with IFS unset, it would have the +# side effect of setting IFS to empty, thus disabling word splitting.) +# Quoting is to prevent editors from complaining about space-tab. as_nl=' ' export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='print -r --' - as_echo_n='print -rn --' -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in #( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi +IFS=" "" $as_nl" + +PS1='$ ' +PS2='> ' +PS4='+ ' + +# Ensure predictable behavior from utilities with locale-dependent output. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# We cannot yet rely on "unset" to work, but we need these variables +# to be unset--not just set to an empty or harmless value--now, to +# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct +# also avoids known problems related to "unset" and subshell syntax +# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). +for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH +do eval test \${$as_var+y} \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done + +# Ensure that fds 0, 1, and 2 are open. +if (exec 3>&0) 2>/dev/null; then :; else exec 0&1) 2>/dev/null; then :; else exec 1>/dev/null; fi +if (exec 3>&2) ; then :; else exec 2>/dev/null; fi # The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then +if ${PATH_SEPARATOR+false} :; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || @@ -81,13 +84,6 @@ fi -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( @@ -96,8 +92,12 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + test -r "$as_dir$0" && as_myself=$as_dir$0 && break done IFS=$as_save_IFS @@ -109,30 +109,10 @@ as_myself=$0 fi if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} = xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH # Use a proper internal environment variable to ensure we don't fall # into an infinite loop, continuously re-executing ourselves. @@ -154,20 +134,22 @@ exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. -$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 -as_fn_exit 255 +printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 +exit 255 fi # We don't want this to propagate to other subprocesses. { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then - as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : + as_bourne_compatible="as_nop=: +if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 +then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST -else +else \$as_nop case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( @@ -187,12 +169,15 @@ as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } -if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : +if ( set x; as_fn_ret_success y && test x = \"\$1\" ) +then : -else +else \$as_nop exitcode=1; echo positional parameters were not saved. fi test x\$exitcode = x0 || exit 1 +blah=\$(echo \$(echo blah)) +test x\"\$blah\" = xblah || exit 1 test -x / || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO @@ -207,30 +192,38 @@ PATH=/empty FPATH=/empty; export PATH FPATH test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" - if (eval "$as_required") 2>/dev/null; then : + if (eval "$as_required") 2>/dev/null +then : as_have_required=yes -else +else $as_nop as_have_required=no fi - if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null +then : -else +else $as_nop as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac as_found=: case $as_dir in #( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. - as_shell=$as_dir/$as_base + as_shell=$as_dir$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : + as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null +then : CONFIG_SHELL=$as_shell as_have_required=yes - if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : + if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null +then : break 2 fi fi @@ -238,14 +231,21 @@ esac as_found=false done -$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : - CONFIG_SHELL=$SHELL as_have_required=yes -fi; } IFS=$as_save_IFS +if $as_found +then : + +else $as_nop + if { test -f "$SHELL" || test -f "$SHELL.exe"; } && + as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null +then : + CONFIG_SHELL=$SHELL as_have_required=yes +fi +fi - if test "x$CONFIG_SHELL" != x; then : + if test "x$CONFIG_SHELL" != x +then : export CONFIG_SHELL # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also @@ -263,18 +263,19 @@ exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. -$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi - if test x$as_have_required = xno; then : - $as_echo "$0: This script requires a shell more modern than all" - $as_echo "$0: the shells that I found on your system." - if test x${ZSH_VERSION+set} = xset ; then - $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" - $as_echo "$0: be upgraded to zsh 4.3.4 or later." + if test x$as_have_required = xno +then : + printf "%s\n" "$0: This script requires a shell more modern than all" + printf "%s\n" "$0: the shells that I found on your system." + if test ${ZSH_VERSION+y} ; then + printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" + printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." else - $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, + printf "%s\n" "$0: Please tell bug-autoconf@gnu.org about your system, $0: including any error possibly output before this $0: message. Then install a modern shell, or manually run $0: the script under such a shell if you do have one." @@ -301,6 +302,7 @@ } as_unset=as_fn_unset + # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. @@ -318,6 +320,14 @@ as_fn_set_status $1 exit $1 } # as_fn_exit +# as_fn_nop +# --------- +# Do nothing but, unlike ":", preserve the value of $?. +as_fn_nop () +{ + return $? +} +as_nop=as_fn_nop # as_fn_mkdir_p # ------------- @@ -332,7 +342,7 @@ as_dirs= while :; do case $as_dir in #( - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" @@ -341,7 +351,7 @@ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | +printf "%s\n" X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -380,12 +390,13 @@ # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null +then : eval 'as_fn_append () { eval $1+=\$2 }' -else +else $as_nop as_fn_append () { eval $1=\$$1\$2 @@ -397,18 +408,27 @@ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null +then : eval 'as_fn_arith () { as_val=$(( $* )) }' -else +else $as_nop as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith +# as_fn_nop +# --------- +# Do nothing but, unlike ":", preserve the value of $?. +as_fn_nop () +{ + return $? +} +as_nop=as_fn_nop # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- @@ -420,9 +440,9 @@ as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi - $as_echo "$as_me: error: $2" >&2 + printf "%s\n" "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error @@ -449,7 +469,7 @@ $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | +printf "%s\n" X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q @@ -493,7 +513,7 @@ s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } # If we had to re-execute with $CONFIG_SHELL, we're ensured to have # already done that, so ensure we don't try to do so again and fall @@ -507,6 +527,10 @@ exit } + +# Determine whether it's possible to make 'echo' print without a newline. +# These variables are no longer used directly by Autoconf, but are AC_SUBSTed +# for compatibility with existing Makefiles. ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) @@ -520,6 +544,13 @@ ECHO_N='-n';; esac +# For backward compatibility with old third-party macros, we provide +# the shell variables $as_echo and $as_echo_n. New code should use +# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. +as_echo='printf %s\n' +as_echo_n='printf %s' + + rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file @@ -589,8 +620,8 @@ # Identity of this package. PACKAGE_NAME='vlc' PACKAGE_TARNAME='vlc' -PACKAGE_VERSION='3.0.23' -PACKAGE_STRING='vlc 3.0.23' +PACKAGE_VERSION='3.0.24' +PACKAGE_STRING='vlc 3.0.24' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -598,40 +629,36 @@ ac_config_libobj_dir=compat # Factoring default headers for most tests. ac_includes_default="\ -#include -#ifdef HAVE_SYS_TYPES_H -# include +#include +#ifdef HAVE_STDIO_H +# include #endif -#ifdef HAVE_SYS_STAT_H -# include -#endif -#ifdef STDC_HEADERS +#ifdef HAVE_STDLIB_H # include -# include -#else -# ifdef HAVE_STDLIB_H -# include -# endif #endif #ifdef HAVE_STRING_H -# if !defined STDC_HEADERS && defined HAVE_MEMORY_H -# include -# endif # include #endif -#ifdef HAVE_STRINGS_H -# include -#endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif +#ifdef HAVE_STRINGS_H +# include +#endif +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_SYS_STAT_H +# include +#endif #ifdef HAVE_UNISTD_H # include #endif" +ac_header_c_list= gt_needs= ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE @@ -691,6 +718,8 @@ GNUTLS_CFLAGS HAVE_GCRYPT_FALSE HAVE_GCRYPT_TRUE +GPGERROR_LIBS +GPGERROR_CFLAGS GCRYPT_LIBS GCRYPT_CFLAGS LIBXML2_LIBS @@ -745,6 +774,16 @@ CFLAGS_goom CPPFLAGS_goom LTLIBgoom +LIBRIST_LIBS +LIBRIST_CFLAGS +LIBS_access_output_rist +LIBS_rist +CFLAGS_access_output_rist +CFLAGS_rist +CPPFLAGS_access_output_rist +CPPFLAGS_rist +LTLIBaccess_output_rist +LTLIBrist SRT_LIBS SRT_CFLAGS LIBS_access_output_srt @@ -792,6 +831,8 @@ HAVE_QT_GUI_PRIVATE_TRUE HAVE_QT5_X11_FALSE HAVE_QT5_X11_TRUE +HAVE_QT_X11_FALSE +HAVE_QT_X11_TRUE ENABLE_QT_FALSE ENABLE_QT_TRUE QT_VERSION @@ -807,9 +848,10 @@ QT_CFLAGS BUILD_CHROMECAST_FALSE BUILD_CHROMECAST_TRUE +PROTOBUF_VERSION +PROTOC CHROMECAST_LIBS CHROMECAST_CFLAGS -PROTOC CHROMAPRINT_LIBS CHROMAPRINT_CFLAGS LTLIBstream_out_chromaprint @@ -1009,8 +1051,8 @@ CFLAGS_fluidsynth CPPFLAGS_fluidsynth LTLIBfluidsynth -MFX_LIBS -MFX_CFLAGS +VPL_LIBS +VPL_CFLAGS LIBS_qsv CFLAGS_qsv CPPFLAGS_qsv @@ -1042,12 +1084,12 @@ LTLIBbpg LTLIBjpeg LTLIBpng -SCHROEDINGER_LIBS -SCHROEDINGER_CFLAGS -LIBS_schroedinger -CFLAGS_schroedinger -CPPFLAGS_schroedinger -LTLIBschroedinger +OPENAPV_LIBS +OPENAPV_CFLAGS +LIBS_openapv +CFLAGS_openapv +CPPFLAGS_openapv +LTLIBopenapv DAALA_LIBS DAALA_CFLAGS LIBS_daala @@ -1066,6 +1108,8 @@ CFLAGS_theora CPPFLAGS_theora LTLIBtheora +SPATIALAUDIO_040_LIBS +SPATIALAUDIO_040_CFLAGS SPATIALAUDIO_LIBS SPATIALAUDIO_CFLAGS LIBS_spatialaudio @@ -1265,6 +1309,7 @@ DVBPSI_CFLAGS HAVE_ASDCP_FALSE HAVE_ASDCP_TRUE +ASDCPLIB_FACTORY ASDCP_LIBS ASDCP_CFLAGS HAVE_AVFOUNDATION_FALSE @@ -1558,21 +1603,21 @@ CCASDEPMODE CCASFLAGS CCAS +EGREP +GREP am__fastdepOBJC_FALSE am__fastdepOBJC_TRUE OBJCDEPMODE ac_ct_OBJC OBJCFLAGS OBJC +CPP am__fastdepCXX_FALSE am__fastdepCXX_TRUE CXXDEPMODE ac_ct_CXX CXXFLAGS CXX -EGREP -GREP -CPP am__fastdepCC_FALSE am__fastdepCC_TRUE CCDEPMODE @@ -1630,6 +1675,7 @@ build_cpu build PKGDIR +VERSION_DATE target_alias host_alias build_alias @@ -1788,7 +1834,7 @@ enable_theora enable_oggspots enable_daala -enable_schroedinger +enable_openapv enable_png enable_jpeg enable_bpg @@ -1796,7 +1842,7 @@ enable_x265 enable_x264 enable_x26410b -enable_mfx +enable_vpl enable_fluidsynth enable_fluidlite enable_zvbi @@ -1853,6 +1899,7 @@ enable_ncurses enable_lirc enable_srt +enable_librist enable_goom enable_projectm enable_vsxu @@ -1882,10 +1929,10 @@ LDFLAGS LIBS CPPFLAGS -CPP CXX CXXFLAGS CCC +CPP OBJC OBJCFLAGS CCAS @@ -2012,14 +2059,16 @@ OPUS_LIBS SPATIALAUDIO_CFLAGS SPATIALAUDIO_LIBS +SPATIALAUDIO_040_CFLAGS +SPATIALAUDIO_040_LIBS THEORA_CFLAGS THEORA_LIBS OGGSPOTS_CFLAGS OGGSPOTS_LIBS DAALA_CFLAGS DAALA_LIBS -SCHROEDINGER_CFLAGS -SCHROEDINGER_LIBS +OPENAPV_CFLAGS +OPENAPV_LIBS X262_CFLAGS X262_LIBS X265_CFLAGS @@ -2028,8 +2077,8 @@ X264_LIBS X26410b_CFLAGS X26410b_LIBS -MFX_CFLAGS -MFX_LIBS +VPL_CFLAGS +VPL_LIBS FLUIDSYNTH_CFLAGS FLUIDSYNTH_LIBS FLUIDLITE_CFLAGS @@ -2105,9 +2154,9 @@ SOXR_LIBS CHROMAPRINT_CFLAGS CHROMAPRINT_LIBS -PROTOC CHROMECAST_CFLAGS CHROMECAST_LIBS +PROTOC QT_CFLAGS QT_LIBS QT5_X11_CFLAGS @@ -2125,6 +2174,8 @@ NCURSES_LIBS SRT_CFLAGS SRT_LIBS +LIBRIST_CFLAGS +LIBRIST_LIBS GOOM_CFLAGS GOOM_LIBS PROJECTM_CFLAGS @@ -2145,6 +2196,8 @@ LIBXML2_LIBS GCRYPT_CFLAGS GCRYPT_LIBS +GPGERROR_CFLAGS +GPGERROR_LIBS GNUTLS_CFLAGS GNUTLS_LIBS TAGLIB_CFLAGS @@ -2223,8 +2276,6 @@ *) ac_optarg=yes ;; esac - # Accept the important Cygnus configure options, so we can diagnose typos. - case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; @@ -2265,9 +2316,9 @@ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid feature name: $ac_useropt" + as_fn_error $? "invalid feature name: \`$ac_useropt'" ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" @@ -2291,9 +2342,9 @@ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid feature name: $ac_useropt" + as_fn_error $? "invalid feature name: \`$ac_useropt'" ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" @@ -2504,9 +2555,9 @@ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid package name: $ac_useropt" + as_fn_error $? "invalid package name: \`$ac_useropt'" ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" @@ -2520,9 +2571,9 @@ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid package name: $ac_useropt" + as_fn_error $? "invalid package name: \`$ac_useropt'" ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" @@ -2566,9 +2617,9 @@ *) # FIXME: should be removed in autoconf 3.0. - $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 + printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && - $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 + printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; @@ -2584,7 +2635,7 @@ case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; - *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; + *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi @@ -2648,7 +2699,7 @@ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_myself" | +printf "%s\n" X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -2705,7 +2756,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures vlc 3.0.23 to adapt to many kinds of systems. +\`configure' configures vlc 3.0.24 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -2780,7 +2831,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of vlc 3.0.23:";; + short | recursive ) echo "Configuration of vlc 3.0.24:";; esac cat <<\_ACEOF @@ -2944,8 +2995,7 @@ --enable-theora experimental theora codec [default=auto] --enable-oggspots experimental OggSpots codec [default=auto] --enable-daala experimental daala codec [default=disabled] - --enable-schroedinger dirac decoder and encoder using schroedinger - [default=auto] + --enable-openapv OpenAPV decoder [default=disabled] --enable-png PNG support (default enabled) --enable-jpeg JPEG support (default enabled) --enable-bpg BPG support (default disabled) @@ -2953,8 +3003,8 @@ --enable-x265 HEVC/H.265 encoder [default=auto] --enable-x264 H264 encoding support with libx264 (default enabled) --enable-x26410b H264 10-bit encoding support with libx264 (default enabled) - --enable-mfx Intel QuickSync MPEG4-Part10/MPEG2 (aka H.264/H.262) - encoder [default=auto] + --enable-vpl Intel Video Processing Library encoder + [default=auto] --enable-fluidsynth MIDI synthetiser with libfluidsynth [default=auto] --enable-fluidlite MIDI synthetiser with libfluidsynth [default=auto] --enable-zvbi VBI (inc. Teletext) decoding support with libzvbi @@ -3030,6 +3080,7 @@ --disable-ncurses ncurses text-based interface (default auto) --enable-lirc lirc support (default disabled) --enable-srt SRT input/output plugin [default=auto] + --enable-librist RIST input/output plugin [default=auto] Visualisations and Video filter plugins: --enable-goom goom visualization plugin [default=auto] --enable-projectm projectM visualization plugin (default enabled) @@ -3064,9 +3115,9 @@ LIBS libraries to pass to the linker, e.g. -l CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory - CPP C preprocessor CXX C++ compiler command CXXFLAGS C++ compiler flags + CPP C preprocessor OBJC Objective C compiler command OBJCFLAGS Objective C compiler flags CCAS assembler compiler command (defaults to CC) @@ -3266,6 +3317,10 @@ C compiler flags for SPATIALAUDIO, overriding pkg-config SPATIALAUDIO_LIBS linker flags for SPATIALAUDIO, overriding pkg-config + SPATIALAUDIO_040_CFLAGS + C compiler flags for SPATIALAUDIO_040, overriding pkg-config + SPATIALAUDIO_040_LIBS + linker flags for SPATIALAUDIO_040, overriding pkg-config THEORA_CFLAGS C compiler flags for THEORA, overriding pkg-config THEORA_LIBS linker flags for THEORA, overriding pkg-config @@ -3276,10 +3331,10 @@ DAALA_CFLAGS C compiler flags for DAALA, overriding pkg-config DAALA_LIBS linker flags for DAALA, overriding pkg-config - SCHROEDINGER_CFLAGS - C compiler flags for SCHROEDINGER, overriding pkg-config - SCHROEDINGER_LIBS - linker flags for SCHROEDINGER, overriding pkg-config + OPENAPV_CFLAGS + C compiler flags for OPENAPV, overriding pkg-config + OPENAPV_LIBS + linker flags for OPENAPV, overriding pkg-config X262_CFLAGS C compiler flags for X262, overriding pkg-config X262_LIBS linker flags for X262, overriding pkg-config X265_CFLAGS C compiler flags for X265, overriding pkg-config @@ -3290,8 +3345,8 @@ C compiler flags for X26410b, overriding pkg-config X26410b_LIBS linker flags for X26410b, overriding pkg-config - MFX_CFLAGS C compiler flags for MFX, overriding pkg-config - MFX_LIBS linker flags for MFX, overriding pkg-config + VPL_CFLAGS C compiler flags for VPL, overriding pkg-config + VPL_LIBS linker flags for VPL, overriding pkg-config FLUIDSYNTH_CFLAGS C compiler flags for FLUIDSYNTH, overriding pkg-config FLUIDSYNTH_LIBS @@ -3410,11 +3465,11 @@ C compiler flags for CHROMAPRINT, overriding pkg-config CHROMAPRINT_LIBS linker flags for CHROMAPRINT, overriding pkg-config - PROTOC protobuf compiler CHROMECAST_CFLAGS C compiler flags for CHROMECAST, overriding pkg-config CHROMECAST_LIBS linker flags for CHROMECAST, overriding pkg-config + PROTOC protobuf compiler QT_CFLAGS C compiler flags for QT, overriding pkg-config QT_LIBS linker flags for QT, overriding pkg-config QT5_X11_CFLAGS @@ -3440,6 +3495,10 @@ linker flags for NCURSES, overriding pkg-config SRT_CFLAGS C compiler flags for SRT, overriding pkg-config SRT_LIBS linker flags for SRT, overriding pkg-config + LIBRIST_CFLAGS + C compiler flags for LIBRIST, overriding pkg-config + LIBRIST_LIBS + linker flags for LIBRIST, overriding pkg-config GOOM_CFLAGS C compiler flags for GOOM, overriding pkg-config GOOM_LIBS linker flags for GOOM, overriding pkg-config PROJECTM_CFLAGS @@ -3468,6 +3527,10 @@ GCRYPT_CFLAGS C compiler flags for gcrypt GCRYPT_LIBS linker flags flags for gcrypt + GPGERROR_CFLAGS + C compiler flags for GPGERROR, overriding pkg-config + GPGERROR_LIBS + linker flags for GPGERROR, overriding pkg-config GNUTLS_CFLAGS C compiler flags for GNUTLS, overriding pkg-config GNUTLS_LIBS linker flags for GNUTLS, overriding pkg-config @@ -3504,9 +3567,9 @@ case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; @@ -3534,7 +3597,8 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } - # Check for guested configure. + # Check for configure.gnu first; this name is used for a wrapper for + # Metaconfig's "Configure" on case-insensitive file systems. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive @@ -3542,7 +3606,7 @@ echo && $SHELL "$ac_srcdir/configure" --help=recursive else - $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done @@ -3551,10 +3615,10 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -vlc configure 3.0.23 -generated by GNU Autoconf 2.69 +vlc configure 3.0.24 +generated by GNU Autoconf 2.71 -Copyright (C) 2012 Free Software Foundation, Inc. +Copyright (C) 2021 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. @@ -3573,14 +3637,14 @@ ac_fn_c_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - rm -f conftest.$ac_objext + rm -f conftest.$ac_objext conftest.beam if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -3588,14 +3652,15 @@ cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err - } && test -s conftest.$ac_objext; then : + } && test -s conftest.$ac_objext +then : ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 +else $as_nop + printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 @@ -3605,172 +3670,6 @@ } # ac_fn_c_try_compile -# ac_fn_c_try_cpp LINENO -# ---------------------- -# Try to preprocess conftest.$ac_ext, and return whether this succeeded. -ac_fn_c_try_cpp () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { { ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } > conftest.i && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - as_fn_set_status $ac_retval - -} # ac_fn_c_try_cpp - -# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists, giving a warning if it cannot be compiled using -# the include files in INCLUDES and setting the cache variable VAR -# accordingly. -ac_fn_c_check_header_mongrel () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if eval \${$3+:} false; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -else - # Is the header compilable? -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 -$as_echo_n "checking $2 usability... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_header_compiler=yes -else - ac_header_compiler=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 -$as_echo "$ac_header_compiler" >&6; } - -# Is the header present? -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 -$as_echo_n "checking $2 presence... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <$2> -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - ac_header_preproc=yes -else - ac_header_preproc=no -fi -rm -f conftest.err conftest.i conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 -$as_echo "$ac_header_preproc" >&6; } - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( - yes:no: ) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 -$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} - ;; - no:yes:* ) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 -$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 -$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 -$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 -$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} - ;; -esac - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else - eval "$3=\$ac_header_compiler" -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -fi - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_header_mongrel - -# ac_fn_c_try_run LINENO -# ---------------------- -# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes -# that executables *can* be run. -ac_fn_c_try_run () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' - { { case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; }; then : - ac_retval=0 -else - $as_echo "$as_me: program exited with status $ac_status" >&5 - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=$ac_status -fi - rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - as_fn_set_status $ac_retval - -} # ac_fn_c_try_run - # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists and can be compiled using the include files in @@ -3778,26 +3677,28 @@ ac_fn_c_check_header_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$3=yes" -else +else $as_nop eval "$3=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_compile @@ -3808,14 +3709,14 @@ ac_fn_cxx_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - rm -f conftest.$ac_objext + rm -f conftest.$ac_objext conftest.beam if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -3823,14 +3724,15 @@ cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_cxx_werror_flag" || test ! -s conftest.err - } && test -s conftest.$ac_objext; then : + } && test -s conftest.$ac_objext +then : ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 +else $as_nop + printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 @@ -3840,20 +3742,58 @@ } # ac_fn_cxx_try_compile +# ac_fn_c_try_cpp LINENO +# ---------------------- +# Try to preprocess conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_cpp () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +printf "%s\n" "$ac_try_echo"; } >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } > conftest.i && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + } +then : + ac_retval=0 +else $as_nop + printf "%s\n" "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_cpp + # ac_fn_objc_try_compile LINENO # ----------------------------- # Try to compile conftest.$ac_ext, and return whether this succeeded. ac_fn_objc_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - rm -f conftest.$ac_objext + rm -f conftest.$ac_objext conftest.beam if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -3861,14 +3801,15 @@ cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_objc_werror_flag" || test ! -s conftest.err - } && test -s conftest.$ac_objext; then : + } && test -s conftest.$ac_objext +then : ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 +else $as_nop + printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 @@ -3884,14 +3825,14 @@ ac_fn_c_try_link () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - rm -f conftest.$ac_objext conftest$ac_exeext + rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -3899,17 +3840,18 @@ cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || test -x conftest$ac_exeext - }; then : + } +then : ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 +else $as_nop + printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 @@ -3930,11 +3872,12 @@ ac_fn_c_check_func () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Define $2 to an innocuous variant, in case declares $2. @@ -3942,16 +3885,9 @@ #define $2 innocuous_$2 /* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $2 (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif + which can conflict with char $2 (); below. */ +#include #undef $2 /* Override any GCC internal prototype to avoid an error. @@ -3969,24 +3905,25 @@ #endif int -main () +main (void) { return $2 (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$3=yes" -else +else $as_nop eval "$3=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_func @@ -4003,7 +3940,7 @@ *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -4011,14 +3948,15 @@ cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } > conftest.i && { test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || test ! -s conftest.err - }; then : + } +then : ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 +else $as_nop + printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 @@ -4034,14 +3972,14 @@ ac_fn_cxx_try_link () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - rm -f conftest.$ac_objext conftest$ac_exeext + rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -4049,17 +3987,18 @@ cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_cxx_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || test -x conftest$ac_exeext - }; then : + } +then : ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 +else $as_nop + printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 @@ -4074,25 +4013,71 @@ } # ac_fn_cxx_try_link -# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES -# --------------------------------------------- +# ac_fn_c_try_run LINENO +# ---------------------- +# Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that +# executables *can* be run. +ac_fn_c_try_run () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +printf "%s\n" "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +printf "%s\n" "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; } +then : + ac_retval=0 +else $as_nop + printf "%s\n" "$as_me: program exited with status $ac_status" >&5 + printf "%s\n" "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=$ac_status +fi + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_run + +# ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR +# ------------------------------------------------------------------ # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR -# accordingly. -ac_fn_c_check_decl () +# accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR. +ac_fn_check_decl () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack as_decl_name=`echo $2|sed 's/ *(.*//'` + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 +printf %s "checking whether $as_decl_name is declared... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else $as_nop as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 -$as_echo_n "checking whether $as_decl_name is declared... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else + eval ac_save_FLAGS=\$$6 + as_fn_append $6 " $5" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int -main () +main (void) { #ifndef $as_decl_name #ifdef __cplusplus @@ -4106,19 +4091,22 @@ return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$3=yes" -else +else $as_nop eval "$3=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + eval $6=\$ac_save_FLAGS + fi eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno -} # ac_fn_c_check_decl +} # ac_fn_check_decl # ac_fn_c_check_type LINENO TYPE VAR INCLUDES # ------------------------------------------- @@ -4127,17 +4115,18 @@ ac_fn_c_check_type () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else $as_nop eval "$3=no" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int -main () +main (void) { if (sizeof ($2)) return 0; @@ -4145,12 +4134,13 @@ return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int -main () +main (void) { if (sizeof (($2))) return 0; @@ -4158,108 +4148,55 @@ return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : -else +else $as_nop eval "$3=yes" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_type -# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES +# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES # --------------------------------------------------------- -# Tests whether HEADER exists, giving a warning if it cannot be compiled using -# the include files in INCLUDES and setting the cache variable VAR -# accordingly. -ac_fn_cxx_check_header_mongrel () +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_cxx_check_header_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if eval \${$3+:} false; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -else - # Is the header compilable? -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 -$as_echo_n "checking $2 usability... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_header_compiler=yes -else - ac_header_compiler=no +if ac_fn_cxx_try_compile "$LINENO" +then : + eval "$3=yes" +else $as_nop + eval "$3=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 -$as_echo "$ac_header_compiler" >&6; } - -# Is the header present? -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 -$as_echo_n "checking $2 presence... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <$2> -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - ac_header_preproc=yes -else - ac_header_preproc=no -fi -rm -f conftest.err conftest.i conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 -$as_echo "$ac_header_preproc" >&6; } - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( - yes:no: ) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 -$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} - ;; - no:yes:* ) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 -$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 -$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 -$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 -$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} - ;; -esac - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else - eval "$3=\$ac_header_compiler" +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -fi + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno -} # ac_fn_cxx_check_header_mongrel +} # ac_fn_cxx_check_header_compile # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES # --------------------------------------------- @@ -4268,17 +4205,18 @@ ac_fn_cxx_check_type () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else $as_nop eval "$3=no" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int -main () +main (void) { if (sizeof ($2)) return 0; @@ -4286,12 +4224,13 @@ return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int -main () +main (void) { if (sizeof (($2))) return 0; @@ -4299,29 +4238,50 @@ return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : -else +else $as_nop eval "$3=yes" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_cxx_check_type +ac_configure_args_raw= +for ac_arg +do + case $ac_arg in + *\'*) + ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append ac_configure_args_raw " '$ac_arg'" +done + +case $ac_configure_args_raw in + *$as_nl*) + ac_safe_unquote= ;; + *) + ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. + ac_unsafe_a="$ac_unsafe_z#~" + ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" + ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; +esac + cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by vlc $as_me 3.0.23, which was -generated by GNU Autoconf 2.69. Invocation command line was +It was created by vlc $as_me 3.0.24, which was +generated by GNU Autoconf 2.71. Invocation command line was - $ $0 $@ + $ $0$ac_configure_args_raw _ACEOF exec 5>>config.log @@ -4354,8 +4314,12 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - $as_echo "PATH: $as_dir" + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + printf "%s\n" "PATH: $as_dir" done IFS=$as_save_IFS @@ -4390,7 +4354,7 @@ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) - ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; @@ -4425,11 +4389,13 @@ # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? + # Sanitize IFS. + IFS=" "" $as_nl" # Save into config.log some information that might help in debugging. { echo - $as_echo "## ---------------- ## + printf "%s\n" "## ---------------- ## ## Cache variables. ## ## ---------------- ##" echo @@ -4440,8 +4406,8 @@ case $ac_val in #( *${as_nl}*) case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( @@ -4465,7 +4431,7 @@ ) echo - $as_echo "## ----------------- ## + printf "%s\n" "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo @@ -4473,14 +4439,14 @@ do eval ac_val=\$$ac_var case $ac_val in - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac - $as_echo "$ac_var='\''$ac_val'\''" + printf "%s\n" "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then - $as_echo "## ------------------- ## + printf "%s\n" "## ------------------- ## ## File substitutions. ## ## ------------------- ##" echo @@ -4488,15 +4454,15 @@ do eval ac_val=\$$ac_var case $ac_val in - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac - $as_echo "$ac_var='\''$ac_val'\''" + printf "%s\n" "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then - $as_echo "## ----------- ## + printf "%s\n" "## ----------- ## ## confdefs.h. ## ## ----------- ##" echo @@ -4504,8 +4470,8 @@ echo fi test "$ac_signal" != 0 && - $as_echo "$as_me: caught signal $ac_signal" - $as_echo "$as_me: exit $exit_status" + printf "%s\n" "$as_me: caught signal $ac_signal" + printf "%s\n" "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && @@ -4519,63 +4485,48 @@ # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h -$as_echo "/* confdefs.h */" > confdefs.h +printf "%s\n" "/* confdefs.h */" > confdefs.h # Predefined preprocessor variables. -cat >>confdefs.h <<_ACEOF -#define PACKAGE_NAME "$PACKAGE_NAME" -_ACEOF +printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define PACKAGE_TARNAME "$PACKAGE_TARNAME" -_ACEOF +printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define PACKAGE_VERSION "$PACKAGE_VERSION" -_ACEOF +printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define PACKAGE_STRING "$PACKAGE_STRING" -_ACEOF +printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" -_ACEOF +printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define PACKAGE_URL "$PACKAGE_URL" -_ACEOF +printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. -ac_site_file1=NONE -ac_site_file2=NONE if test -n "$CONFIG_SITE"; then - # We do not want a PATH search for config.site. - case $CONFIG_SITE in #(( - -*) ac_site_file1=./$CONFIG_SITE;; - */*) ac_site_file1=$CONFIG_SITE;; - *) ac_site_file1=./$CONFIG_SITE;; - esac + ac_site_files="$CONFIG_SITE" elif test "x$prefix" != xNONE; then - ac_site_file1=$prefix/share/config.site - ac_site_file2=$prefix/etc/config.site + ac_site_files="$prefix/share/config.site $prefix/etc/config.site" else - ac_site_file1=$ac_default_prefix/share/config.site - ac_site_file2=$ac_default_prefix/etc/config.site + ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" fi -for ac_site_file in "$ac_site_file1" "$ac_site_file2" + +for ac_site_file in $ac_site_files do - test "x$ac_site_file" = xNONE && continue - if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 -$as_echo "$as_me: loading site script $ac_site_file" >&6;} + case $ac_site_file in #( + */*) : + ;; #( + *) : + ac_site_file=./$ac_site_file ;; +esac + if test -f "$ac_site_file" && test -r "$ac_site_file"; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 +printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ - || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file See \`config.log' for more details" "$LINENO" 5; } fi @@ -4585,20 +4536,653 @@ # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular file. if test /dev/null != "$cache_file" && test -f "$cache_file"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 -$as_echo "$as_me: loading cache $cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 +printf "%s\n" "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else - { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 -$as_echo "$as_me: creating cache $cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 +printf "%s\n" "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +# Test code for whether the C compiler supports C89 (global declarations) +ac_c_conftest_c89_globals=' +/* Does the compiler advertise C89 conformance? + Do not test the value of __STDC__, because some compilers set it to 0 + while being otherwise adequately conformant. */ +#if !defined __STDC__ +# error "Compiler does not advertise C89 conformance" +#endif + +#include +#include +struct stat; +/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ +struct buf { int x; }; +struct buf * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not \xHH hex character constants. + These do not provoke an error unfortunately, instead are silently treated + as an "x". The following induces an error, until -std is added to get + proper ANSI mode. Curiously \x00 != x always comes out true, for an + array size at least. It is necessary to write \x00 == 0 to get something + that is true only with -std. */ +int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1]; + +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters + inside strings and character constants. */ +#define FOO(x) '\''x'\'' +int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), + int, int);' + +# Test code for whether the C compiler supports C89 (body of main). +ac_c_conftest_c89_main=' +ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); +' + +# Test code for whether the C compiler supports C99 (global declarations) +ac_c_conftest_c99_globals=' +// Does the compiler advertise C99 conformance? +#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L +# error "Compiler does not advertise C99 conformance" +#endif + +#include +extern int puts (const char *); +extern int printf (const char *, ...); +extern int dprintf (int, const char *, ...); +extern void *malloc (size_t); + +// Check varargs macros. These examples are taken from C99 6.10.3.5. +// dprintf is used instead of fprintf to avoid needing to declare +// FILE and stderr. +#define debug(...) dprintf (2, __VA_ARGS__) +#define showlist(...) puts (#__VA_ARGS__) +#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) +static void +test_varargs_macros (void) +{ + int x = 1234; + int y = 5678; + debug ("Flag"); + debug ("X = %d\n", x); + showlist (The first, second, and third items.); + report (x>y, "x is %d but y is %d", x, y); +} + +// Check long long types. +#define BIG64 18446744073709551615ull +#define BIG32 4294967295ul +#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) +#if !BIG_OK + #error "your preprocessor is broken" +#endif +#if BIG_OK +#else + #error "your preprocessor is broken" +#endif +static long long int bignum = -9223372036854775807LL; +static unsigned long long int ubignum = BIG64; + +struct incomplete_array +{ + int datasize; + double data[]; +}; + +struct named_init { + int number; + const wchar_t *name; + double average; +}; + +typedef const char *ccp; + +static inline int +test_restrict (ccp restrict text) +{ + // See if C++-style comments work. + // Iterate through items via the restricted pointer. + // Also check for declarations in for loops. + for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) + continue; + return 0; +} + +// Check varargs and va_copy. +static bool +test_varargs (const char *format, ...) +{ + va_list args; + va_start (args, format); + va_list args_copy; + va_copy (args_copy, args); + + const char *str = ""; + int number = 0; + float fnumber = 0; + + while (*format) + { + switch (*format++) + { + case '\''s'\'': // string + str = va_arg (args_copy, const char *); + break; + case '\''d'\'': // int + number = va_arg (args_copy, int); + break; + case '\''f'\'': // float + fnumber = va_arg (args_copy, double); + break; + default: + break; + } + } + va_end (args_copy); + va_end (args); + + return *str && number && fnumber; +} +' + +# Test code for whether the C compiler supports C99 (body of main). +ac_c_conftest_c99_main=' + // Check bool. + _Bool success = false; + success |= (argc != 0); + + // Check restrict. + if (test_restrict ("String literal") == 0) + success = true; + char *restrict newvar = "Another string"; + + // Check varargs. + success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234); + test_varargs_macros (); + + // Check flexible array members. + struct incomplete_array *ia = + malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); + ia->datasize = 10; + for (int i = 0; i < ia->datasize; ++i) + ia->data[i] = i * 1.234; + + // Check named initializers. + struct named_init ni = { + .number = 34, + .name = L"Test wide string", + .average = 543.34343, + }; + + ni.number = 58; + + int dynamic_array[ni.number]; + dynamic_array[0] = argv[0][0]; + dynamic_array[ni.number - 1] = 543; + + // work around unused variable warnings + ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' + || dynamic_array[ni.number - 1] != 543); +' + +# Test code for whether the C compiler supports C11 (global declarations) +ac_c_conftest_c11_globals=' +// Does the compiler advertise C11 conformance? +#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L +# error "Compiler does not advertise C11 conformance" +#endif + +// Check _Alignas. +char _Alignas (double) aligned_as_double; +char _Alignas (0) no_special_alignment; +extern char aligned_as_int; +char _Alignas (0) _Alignas (int) aligned_as_int; + +// Check _Alignof. +enum +{ + int_alignment = _Alignof (int), + int_array_alignment = _Alignof (int[100]), + char_alignment = _Alignof (char) +}; +_Static_assert (0 < -_Alignof (int), "_Alignof is signed"); + +// Check _Noreturn. +int _Noreturn does_not_return (void) { for (;;) continue; } + +// Check _Static_assert. +struct test_static_assert +{ + int x; + _Static_assert (sizeof (int) <= sizeof (long int), + "_Static_assert does not work in struct"); + long int y; +}; + +// Check UTF-8 literals. +#define u8 syntax error! +char const utf8_literal[] = u8"happens to be ASCII" "another string"; + +// Check duplicate typedefs. +typedef long *long_ptr; +typedef long int *long_ptr; +typedef long_ptr long_ptr; + +// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. +struct anonymous +{ + union { + struct { int i; int j; }; + struct { int k; long int l; } w; + }; + int m; +} v1; +' + +# Test code for whether the C compiler supports C11 (body of main). +ac_c_conftest_c11_main=' + _Static_assert ((offsetof (struct anonymous, i) + == offsetof (struct anonymous, w.k)), + "Anonymous union alignment botch"); + v1.i = 2; + v1.w.k = 5; + ok |= v1.i != 5; +' + +# Test code for whether the C compiler supports C11 (complete). +ac_c_conftest_c11_program="${ac_c_conftest_c89_globals} +${ac_c_conftest_c99_globals} +${ac_c_conftest_c11_globals} + +int +main (int argc, char **argv) +{ + int ok = 0; + ${ac_c_conftest_c89_main} + ${ac_c_conftest_c99_main} + ${ac_c_conftest_c11_main} + return ok; +} +" + +# Test code for whether the C compiler supports C99 (complete). +ac_c_conftest_c99_program="${ac_c_conftest_c89_globals} +${ac_c_conftest_c99_globals} + +int +main (int argc, char **argv) +{ + int ok = 0; + ${ac_c_conftest_c89_main} + ${ac_c_conftest_c99_main} + return ok; +} +" + +# Test code for whether the C compiler supports C89 (complete). +ac_c_conftest_c89_program="${ac_c_conftest_c89_globals} + +int +main (int argc, char **argv) +{ + int ok = 0; + ${ac_c_conftest_c89_main} + return ok; +} +" + +as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" +as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" +as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" +as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" +as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" +as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" +as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" +as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" +as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" +as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H" +as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H" +# Test code for whether the C++ compiler supports C++98 (global declarations) +ac_cxx_conftest_cxx98_globals=' +// Does the compiler advertise C++98 conformance? +#if !defined __cplusplus || __cplusplus < 199711L +# error "Compiler does not advertise C++98 conformance" +#endif + +// These inclusions are to reject old compilers that +// lack the unsuffixed header files. +#include +#include + +// and are *not* freestanding headers in C++98. +extern void assert (int); +namespace std { + extern int strcmp (const char *, const char *); +} + +// Namespaces, exceptions, and templates were all added after "C++ 2.0". +using std::exception; +using std::strcmp; + +namespace { + +void test_exception_syntax() +{ + try { + throw "test"; + } catch (const char *s) { + // Extra parentheses suppress a warning when building autoconf itself, + // due to lint rules shared with more typical C programs. + assert (!(strcmp) (s, "test")); + } +} + +template struct test_template +{ + T const val; + explicit test_template(T t) : val(t) {} + template T add(U u) { return static_cast(u) + val; } +}; + +} // anonymous namespace +' + +# Test code for whether the C++ compiler supports C++98 (body of main) +ac_cxx_conftest_cxx98_main=' + assert (argc); + assert (! argv[0]); +{ + test_exception_syntax (); + test_template tt (2.0); + assert (tt.add (4) == 6.0); + assert (true && !false); +} +' + +# Test code for whether the C++ compiler supports C++11 (global declarations) +ac_cxx_conftest_cxx11_globals=' +// Does the compiler advertise C++ 2011 conformance? +#if !defined __cplusplus || __cplusplus < 201103L +# error "Compiler does not advertise C++11 conformance" +#endif + +namespace cxx11test +{ + constexpr int get_val() { return 20; } + + struct testinit + { + int i; + double d; + }; + + class delegate + { + public: + delegate(int n) : n(n) {} + delegate(): delegate(2354) {} + + virtual int getval() { return this->n; }; + protected: + int n; + }; + + class overridden : public delegate + { + public: + overridden(int n): delegate(n) {} + virtual int getval() override final { return this->n * 2; } + }; + + class nocopy + { + public: + nocopy(int i): i(i) {} + nocopy() = default; + nocopy(const nocopy&) = delete; + nocopy & operator=(const nocopy&) = delete; + private: + int i; + }; + + // for testing lambda expressions + template Ret eval(Fn f, Ret v) + { + return f(v); + } + + // for testing variadic templates and trailing return types + template auto sum(V first) -> V + { + return first; + } + template auto sum(V first, Args... rest) -> V + { + return first + sum(rest...); + } +} +' + +# Test code for whether the C++ compiler supports C++11 (body of main) +ac_cxx_conftest_cxx11_main=' +{ + // Test auto and decltype + auto a1 = 6538; + auto a2 = 48573953.4; + auto a3 = "String literal"; + + int total = 0; + for (auto i = a3; *i; ++i) { total += *i; } + + decltype(a2) a4 = 34895.034; +} +{ + // Test constexpr + short sa[cxx11test::get_val()] = { 0 }; +} +{ + // Test initializer lists + cxx11test::testinit il = { 4323, 435234.23544 }; +} +{ + // Test range-based for + int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, + 14, 19, 17, 8, 6, 20, 16, 2, 11, 1}; + for (auto &x : array) { x += 23; } +} +{ + // Test lambda expressions + using cxx11test::eval; + assert (eval ([](int x) { return x*2; }, 21) == 42); + double d = 2.0; + assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0); + assert (d == 5.0); + assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0); + assert (d == 5.0); +} +{ + // Test use of variadic templates + using cxx11test::sum; + auto a = sum(1); + auto b = sum(1, 2); + auto c = sum(1.0, 2.0, 3.0); +} +{ + // Test constructor delegation + cxx11test::delegate d1; + cxx11test::delegate d2(); + cxx11test::delegate d3(45); +} +{ + // Test override and final + cxx11test::overridden o1(55464); +} +{ + // Test nullptr + char *c = nullptr; +} +{ + // Test template brackets + test_template<::test_template> v(test_template(12)); +} +{ + // Unicode literals + char const *utf8 = u8"UTF-8 string \u2500"; + char16_t const *utf16 = u"UTF-8 string \u2500"; + char32_t const *utf32 = U"UTF-32 string \u2500"; +} +' + +# Test code for whether the C compiler supports C++11 (complete). +ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals} +${ac_cxx_conftest_cxx11_globals} + +int +main (int argc, char **argv) +{ + int ok = 0; + ${ac_cxx_conftest_cxx98_main} + ${ac_cxx_conftest_cxx11_main} + return ok; +} +" + +# Test code for whether the C compiler supports C++98 (complete). +ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals} +int +main (int argc, char **argv) +{ + int ok = 0; + ${ac_cxx_conftest_cxx98_main} + return ok; +} +" + gt_needs="$gt_needs need-formatstring-macros" + +# Auxiliary files required by this configure script. +ac_aux_files="config.rpath ltmain.sh compile missing install-sh config.guess config.sub" + +# Locations in which to look for auxiliary files. +ac_aux_dir_candidates="${srcdir}/autotools" + +# Search for a directory containing all of the required auxiliary files, +# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. +# If we don't find one directory that contains all the files we need, +# we report the set of missing files from the *first* directory in +# $ac_aux_dir_candidates and give up. +ac_missing_aux_files="" +ac_first_candidate=: +printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_found=false +for as_dir in $ac_aux_dir_candidates +do + IFS=$as_save_IFS + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + as_found=: + + printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 + ac_aux_dir_found=yes + ac_install_sh= + for ac_aux in $ac_aux_files + do + # As a special case, if "install-sh" is required, that requirement + # can be satisfied by any of "install-sh", "install.sh", or "shtool", + # and $ac_install_sh is set appropriately for whichever one is found. + if test x"$ac_aux" = x"install-sh" + then + if test -f "${as_dir}install-sh"; then + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 + ac_install_sh="${as_dir}install-sh -c" + elif test -f "${as_dir}install.sh"; then + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 + ac_install_sh="${as_dir}install.sh -c" + elif test -f "${as_dir}shtool"; then + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 + ac_install_sh="${as_dir}shtool install -c" + else + ac_aux_dir_found=no + if $ac_first_candidate; then + ac_missing_aux_files="${ac_missing_aux_files} install-sh" + else + break + fi + fi + else + if test -f "${as_dir}${ac_aux}"; then + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 + else + ac_aux_dir_found=no + if $ac_first_candidate; then + ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" + else + break + fi + fi + fi + done + if test "$ac_aux_dir_found" = yes; then + ac_aux_dir="$as_dir" + break + fi + ac_first_candidate=false + + as_found=false +done +IFS=$as_save_IFS +if $as_found +then : + +else $as_nop + as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 +fi + + +# These three variables are undocumented and unsupported, +# and are intended to be withdrawn in a future Autoconf release. +# They can cause serious problems if a builder's source tree is in a directory +# whose full name contains unusual characters. +if test -f "${ac_aux_dir}config.guess"; then + ac_config_guess="$SHELL ${ac_aux_dir}config.guess" +fi +if test -f "${ac_aux_dir}config.sub"; then + ac_config_sub="$SHELL ${ac_aux_dir}config.sub" +fi +if test -f "$ac_aux_dir/configure"; then + ac_configure="$SHELL ${ac_aux_dir}configure" +fi + # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -4609,12 +5193,12 @@ eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 +printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 +printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) @@ -4623,24 +5207,24 @@ ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 -$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 +printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else - { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 -$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 +printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi - { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 -$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 -$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 +printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 +printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in - *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; + *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in @@ -4650,11 +5234,12 @@ fi done if $ac_cache_corrupted; then - { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 -$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} - as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 +printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} + as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' + and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## @@ -4669,69 +5254,49 @@ VERSION_MAJOR=3 VERSION_MINOR=0 -VERSION_REVISION=23 +VERSION_REVISION=24 VERSION_EXTRA=0 VERSION_DEV= +VERSION_DATE=2026-09-17 + + + PKGDIR="vlc" CONFIGURE_LINE="`echo "$0 $ac_configure_args" | sed -e 's/\\\/\\\\\\\/g'`" CODENAME="Vetinari" -COPYRIGHT_YEARS="1996-2025" +COPYRIGHT_YEARS="1996-2026" -ac_aux_dir= -for ac_dir in autotools "$srcdir"/autotools; do - if test -f "$ac_dir/install-sh"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install-sh -c" - break - elif test -f "$ac_dir/install.sh"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install.sh -c" - break - elif test -f "$ac_dir/shtool"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/shtool install -c" - break - fi -done -if test -z "$ac_aux_dir"; then - as_fn_error $? "cannot find install-sh, install.sh, or shtool in autotools \"$srcdir\"/autotools" "$LINENO" 5 -fi -# These three variables are undocumented and unsupported, -# and are intended to be withdrawn in a future Autoconf release. -# They can cause serious problems if a builder's source tree is in a directory -# whose full name contains unusual characters. -ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. -ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. -ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. -# Make sure we can run config.sub. -$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || - as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 -$as_echo_n "checking build system type... " >&6; } -if ${ac_cv_build+:} false; then : - $as_echo_n "(cached) " >&6 -else + # Make sure we can run config.sub. +$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || + as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 + +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 +printf %s "checking build system type... " >&6; } +if test ${ac_cv_build+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_build_alias=$build_alias test "x$ac_build_alias" = x && - ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` + ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` test "x$ac_build_alias" = x && as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 -ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 +ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || + as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 -$as_echo "$ac_cv_build" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 +printf "%s\n" "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; @@ -4750,21 +5315,22 @@ case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 -$as_echo_n "checking host system type... " >&6; } -if ${ac_cv_host+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 +printf %s "checking host system type... " >&6; } +if test ${ac_cv_host+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else - ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 + ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || + as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 -$as_echo "$ac_cv_host" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 +printf "%s\n" "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; @@ -4789,7 +5355,8 @@ am__api_version='1.16' -# Find a good install program. We prefer a C program (faster), + + # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install @@ -4803,20 +5370,25 @@ # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 -$as_echo_n "checking for a BSD-compatible install... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 +printf %s "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then -if ${ac_cv_path_install+:} false; then : - $as_echo_n "(cached) " >&6 -else +if test ${ac_cv_path_install+y} +then : + printf %s "(cached) " >&6 +else $as_nop as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - # Account for people who put trailing slashes in PATH elements. -case $as_dir/ in #(( - ./ | .// | /[cC]/* | \ + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + # Account for fact that we put trailing slashes in our PATH walk. +case $as_dir in #(( + ./ | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; @@ -4826,13 +5398,13 @@ # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then if test $ac_prog = install && - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else @@ -4840,12 +5412,12 @@ echo one > conftest.one echo two > conftest.two mkdir conftest.dir - if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && + if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" + ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" break 3 fi fi @@ -4861,7 +5433,7 @@ rm -rf conftest.one conftest.two conftest.dir fi - if test "${ac_cv_path_install+set}" = set; then + if test ${ac_cv_path_install+y}; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a @@ -4871,8 +5443,8 @@ INSTALL=$ac_install_sh fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 -$as_echo "$INSTALL" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 +printf "%s\n" "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. @@ -4882,8 +5454,8 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 -$as_echo_n "checking whether build environment is sane... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 +printf %s "checking whether build environment is sane... " >&6; } # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' @@ -4937,8 +5509,8 @@ as_fn_error $? "newly created file is older than distributed files! Check your system clock" "$LINENO" 5 fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= @@ -4957,12 +5529,14 @@ # Double any \ or $. # By default was `s,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' -program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` +program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"` + # Expand $ac_aux_dir to an absolute path. am_aux_dir=`cd "$ac_aux_dir" && pwd` -if test x"${MISSING+set}" != xset; then + + if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; @@ -4975,8 +5549,8 @@ am_missing_run="$MISSING " else am_missing_run= - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 -$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 +printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;} fi if test x"${install_sh+set}" != xset; then @@ -4996,11 +5570,12 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_STRIP+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_STRIP+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else @@ -5008,11 +5583,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -5023,11 +5602,11 @@ fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 -$as_echo "$STRIP" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +printf "%s\n" "$STRIP" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -5036,11 +5615,12 @@ ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_STRIP+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_STRIP+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else @@ -5048,11 +5628,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -5063,11 +5647,11 @@ fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 -$as_echo "$ac_ct_STRIP" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +printf "%s\n" "$ac_ct_STRIP" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then @@ -5075,8 +5659,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP @@ -5088,25 +5672,31 @@ fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 -$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 +printf %s "checking for a race-free mkdir -p... " >&6; } if test -z "$MKDIR_P"; then - if ${ac_cv_path_mkdir+:} false; then : - $as_echo_n "(cached) " >&6 -else + if test ${ac_cv_path_mkdir+y} +then : + printf %s "(cached) " >&6 +else $as_nop as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do - as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue - case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( - 'mkdir (GNU coreutils) '* | \ - 'mkdir (coreutils) '* | \ + as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue + case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( + 'mkdir ('*'coreutils) '* | \ + 'BusyBox '* | \ 'mkdir (fileutils) '4.1*) - ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext + ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext break 3;; esac done @@ -5117,7 +5707,7 @@ fi test -d ./--version && rmdir ./--version - if test "${ac_cv_path_mkdir+set}" = set; then + if test ${ac_cv_path_mkdir+y}; then MKDIR_P="$ac_cv_path_mkdir -p" else # As a last resort, use the slow shell script. Don't cache a @@ -5127,18 +5717,19 @@ MKDIR_P="$ac_install_sh -d" fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 -$as_echo "$MKDIR_P" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 +printf "%s\n" "$MKDIR_P" >&6; } for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AWK+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_AWK+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else @@ -5146,11 +5737,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -5161,24 +5756,25 @@ fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 -$as_echo "$AWK" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 +printf "%s\n" "$AWK" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi test -n "$AWK" && break done -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 -$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} -ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` -if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : - $as_echo_n "(cached) " >&6 -else +ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +if eval test \${ac_cv_prog_make_${ac_make}_set+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @@ -5194,12 +5790,12 @@ rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } SET_MAKE= else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi @@ -5213,7 +5809,8 @@ rmdir .tst 2>/dev/null # Check whether --enable-silent-rules was given. -if test "${enable_silent_rules+set}" = set; then : +if test ${enable_silent_rules+y} +then : enableval=$enable_silent_rules; fi @@ -5223,12 +5820,13 @@ *) AM_DEFAULT_VERBOSITY=1;; esac am_make=${MAKE-make} -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 -$as_echo_n "checking whether $am_make supports nested variables... " >&6; } -if ${am_cv_make_support_nested_variables+:} false; then : - $as_echo_n "(cached) " >&6 -else - if $as_echo 'TRUE=$(BAR$(V)) +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 +printf %s "checking whether $am_make supports nested variables... " >&6; } +if test ${am_cv_make_support_nested_variables+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if printf "%s\n" 'TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 @@ -5240,8 +5838,8 @@ am_cv_make_support_nested_variables=no fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 -$as_echo "$am_cv_make_support_nested_variables" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 +printf "%s\n" "$am_cv_make_support_nested_variables" >&6; } if test $am_cv_make_support_nested_variables = yes; then AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' @@ -5273,17 +5871,13 @@ # Define the identity of the package. PACKAGE='vlc' - VERSION='3.0.23' + VERSION='3.0.24' -cat >>confdefs.h <<_ACEOF -#define PACKAGE "$PACKAGE" -_ACEOF +printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define VERSION "$VERSION" -_ACEOF +printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h # Some tools Automake needs. @@ -5329,29 +5923,29 @@ # (that is, avoid stderr redirection). am_uid=`id -u || echo unknown` am_gid=`id -g || echo unknown` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5 -$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5 +printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; } if test $am_uid -le $am_max_uid; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } _am_tools=none fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5 -$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5 +printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; } if test $am_gid -le $am_max_gid; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } _am_tools=none fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 -$as_echo_n "checking how to create a ustar tar archive... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 +printf %s "checking how to create a ustar tar archive... " >&6; } # Go ahead even if we have the value already cached. We do so because we # need to set the values for the 'am__tar' and 'am__untar' variables. @@ -5426,14 +6020,15 @@ done rm -rf conftest.dir - if ${am_cv_prog_tar_ustar+:} false; then : - $as_echo_n "(cached) " >&6 -else + if test ${am_cv_prog_tar_ustar+y} +then : + printf %s "(cached) " >&6 +else $as_nop am_cv_prog_tar_ustar=$_am_tool fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 -$as_echo "$am_cv_prog_tar_ustar" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 +printf "%s\n" "$am_cv_prog_tar_ustar" >&6; } @@ -5486,7 +6081,8 @@ # Check whether --enable-silent-rules was given. -if test "${enable_silent_rules+set}" = set; then : +if test ${enable_silent_rules+y} +then : enableval=$enable_silent_rules; fi @@ -5496,12 +6092,13 @@ *) AM_DEFAULT_VERBOSITY=0;; esac am_make=${MAKE-make} -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 -$as_echo_n "checking whether $am_make supports nested variables... " >&6; } -if ${am_cv_make_support_nested_variables+:} false; then : - $as_echo_n "(cached) " >&6 -else - if $as_echo 'TRUE=$(BAR$(V)) +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 +printf %s "checking whether $am_make supports nested variables... " >&6; } +if test ${am_cv_make_support_nested_variables+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if printf "%s\n" 'TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 @@ -5513,8 +6110,8 @@ am_cv_make_support_nested_variables=no fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 -$as_echo "$am_cv_make_support_nested_variables" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 +printf "%s\n" "$am_cv_make_support_nested_variables" >&6; } if test $am_cv_make_support_nested_variables = yes; then AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' @@ -5525,17 +6122,18 @@ AM_BACKSLASH='\' -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 -$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 +printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. -if test "${enable_maintainer_mode+set}" = set; then : +if test ${enable_maintainer_mode+y} +then : enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval -else +else $as_nop USE_MAINTAINER_MODE=yes fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 -$as_echo "$USE_MAINTAINER_MODE" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 +printf "%s\n" "$USE_MAINTAINER_MODE" >&6; } if test $USE_MAINTAINER_MODE = yes; then MAINTAINER_MODE_TRUE= MAINTAINER_MODE_FALSE='#' @@ -5553,6 +6151,15 @@ vlclibdir="\${libdir}/\${PKGDIR}" + + + + + + + + + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -5561,11 +6168,12 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else @@ -5573,11 +6181,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -5588,11 +6200,11 @@ fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf "%s\n" "$CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -5601,11 +6213,12 @@ ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else @@ -5613,11 +6226,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -5628,11 +6245,11 @@ fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +printf "%s\n" "$ac_ct_CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_CC" = x; then @@ -5640,8 +6257,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC @@ -5654,11 +6271,12 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else @@ -5666,11 +6284,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -5681,11 +6303,11 @@ fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf "%s\n" "$CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -5694,11 +6316,12 @@ if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else @@ -5707,15 +6330,19 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -5731,18 +6358,18 @@ # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf "%s\n" "$CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -5753,11 +6380,12 @@ do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else @@ -5765,11 +6393,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -5780,11 +6412,11 @@ fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf "%s\n" "$CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -5797,11 +6429,12 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else @@ -5809,11 +6442,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -5824,11 +6461,11 @@ fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +printf "%s\n" "$ac_ct_CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -5840,8 +6477,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC @@ -5849,25 +6486,129 @@ fi fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. +set dummy ${ac_tool_prefix}clang; ac_word=$2 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}clang" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf "%s\n" "$CC" >&6; } +else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "clang", so it can be a program name with args. +set dummy clang; ac_word=$2 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="clang" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +printf "%s\n" "$ac_ct_CC" >&6; } +else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } +fi -test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +else + CC="$ac_cv_prog_CC" +fi + +fi + + +test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 -for ac_option in --version -v -V -qversion; do +for ac_option in --version -v -V -qversion -version; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -5877,7 +6618,7 @@ cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done @@ -5885,7 +6626,7 @@ /* end confdefs.h. */ int -main () +main (void) { ; @@ -5897,9 +6638,9 @@ # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 -$as_echo_n "checking whether the C compiler works... " >&6; } -ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 +printf %s "checking whether the C compiler works... " >&6; } +ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" @@ -5920,11 +6661,12 @@ *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +then : # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, @@ -5941,7 +6683,7 @@ # certainly right. break;; *.* ) - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; + if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi @@ -5957,44 +6699,46 @@ done test "$ac_cv_exeext" = no && ac_cv_exeext= -else +else $as_nop ac_file='' fi -if test -z "$ac_file"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -$as_echo "$as_me: failed program was:" >&5 +if test -z "$ac_file" +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } +printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "C compiler cannot create executables See \`config.log' for more details" "$LINENO" 5; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 -$as_echo_n "checking for C compiler default output file name... " >&6; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 -$as_echo "$ac_file" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 +printf %s "checking for C compiler default output file name... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 +printf "%s\n" "$ac_file" >&6; } ac_exeext=$ac_cv_exeext rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 -$as_echo_n "checking for suffix of executables... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 +printf %s "checking for suffix of executables... " >&6; } if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +then : # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with @@ -6008,15 +6752,15 @@ * ) break;; esac done -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +else $as_nop + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest conftest$ac_cv_exeext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 -$as_echo "$ac_cv_exeext" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 +printf "%s\n" "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext @@ -6025,7 +6769,7 @@ /* end confdefs.h. */ #include int -main () +main (void) { FILE *f = fopen ("conftest.out", "w"); return ferror (f) || fclose (f) != 0; @@ -6037,8 +6781,8 @@ ac_clean_files="$ac_clean_files conftest.out" # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 -$as_echo_n "checking whether we are cross compiling... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 +printf %s "checking whether we are cross compiling... " >&6; } if test "$cross_compiling" != yes; then { { ac_try="$ac_link" case "(($ac_try" in @@ -6046,10 +6790,10 @@ *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if { ac_try='./conftest$ac_cv_exeext' { { case "(($ac_try" in @@ -6057,39 +6801,40 @@ *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot run C compiled programs. + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details" "$LINENO" 5; } fi fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 -$as_echo "$cross_compiling" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 +printf "%s\n" "$cross_compiling" >&6; } rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ac_clean_files=$ac_clean_files_save -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 -$as_echo_n "checking for suffix of object files... " >&6; } -if ${ac_cv_objext+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 +printf %s "checking for suffix of object files... " >&6; } +if test ${ac_cv_objext+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; @@ -6103,11 +6848,12 @@ *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +then : for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in @@ -6116,31 +6862,32 @@ break;; esac done -else - $as_echo "$as_me: failed program was:" >&5 +else $as_nop + printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 -$as_echo "$ac_cv_objext" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 +printf "%s\n" "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 -$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } -if ${ac_cv_c_compiler_gnu+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 +printf %s "checking whether the compiler supports GNU C... " >&6; } +if test ${ac_cv_c_compiler_gnu+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __GNUC__ choke me @@ -6150,29 +6897,33 @@ return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_compiler_gnu=yes -else +else $as_nop ac_compiler_gnu=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 -$as_echo "$ac_cv_c_compiler_gnu" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 +printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } +ac_compiler_gnu=$ac_cv_c_compiler_gnu + if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi -ac_test_CFLAGS=${CFLAGS+set} +ac_test_CFLAGS=${CFLAGS+y} ac_save_CFLAGS=$CFLAGS -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 -$as_echo_n "checking whether $CC accepts -g... " >&6; } -if ${ac_cv_prog_cc_g+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 +printf %s "checking whether $CC accepts -g... " >&6; } +if test ${ac_cv_prog_cc_g+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no @@ -6181,57 +6932,60 @@ /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_prog_cc_g=yes -else +else $as_nop CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : -else +else $as_nop ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_prog_cc_g=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 -$as_echo "$ac_cv_prog_cc_g" >&6; } -if test "$ac_test_CFLAGS" = set; then +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +printf "%s\n" "$ac_cv_prog_cc_g" >&6; } +if test $ac_test_CFLAGS; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then @@ -6246,94 +7000,144 @@ CFLAGS= fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 -$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if ${ac_cv_prog_cc_c89+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_cv_prog_cc_c89=no +ac_prog_cc_stdc=no +if test x$ac_prog_cc_stdc = xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 +printf %s "checking for $CC option to enable C11 features... " >&6; } +if test ${ac_cv_prog_cc_c11+y} +then : + printf %s "(cached) " >&6 +else $as_nop + ac_cv_prog_cc_c11=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include -#include -struct stat; -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ -struct buf { int x; }; -FILE * (*rcsopen) (struct buf *, struct stat *, int); -static char *e (p, i) - char **p; - int i; -{ - return p[i]; -} -static char *f (char * (*g) (char **, int), char **p, ...) -{ - char *s; - va_list v; - va_start (v,p); - s = g (p, va_arg (v,int)); - va_end (v); - return s; -} - -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has - function prototypes and stuff, but not '\xHH' hex character constants. - These don't provoke an error unfortunately, instead are silently treated - as 'x'. The following induces an error, until -std is added to get - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an - array size at least. It's necessary to write '\x00'==0 to get something - that's true only with -std. */ -int osf4_cc_array ['\x00' == 0 ? 1 : -1]; +$ac_c_conftest_c11_program +_ACEOF +for ac_arg in '' -std=gnu11 +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_prog_cc_c11=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam + test "x$ac_cv_prog_cc_c11" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC +fi -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters - inside strings and character constants. */ -#define FOO(x) 'x' -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; +if test "x$ac_cv_prog_cc_c11" = xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +printf "%s\n" "unsupported" >&6; } +else $as_nop + if test "x$ac_cv_prog_cc_c11" = x +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +printf "%s\n" "none needed" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 +printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } + CC="$CC $ac_cv_prog_cc_c11" +fi + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 + ac_prog_cc_stdc=c11 +fi +fi +if test x$ac_prog_cc_stdc = xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 +printf %s "checking for $CC option to enable C99 features... " >&6; } +if test ${ac_cv_prog_cc_c99+y} +then : + printf %s "(cached) " >&6 +else $as_nop + ac_cv_prog_cc_c99=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_c_conftest_c99_program +_ACEOF +for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_prog_cc_c99=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam + test "x$ac_cv_prog_cc_c99" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC +fi -int test (int i, double x); -struct s1 {int (*f) (int a);}; -struct s2 {int (*f) (double a);}; -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); -int argc; -char **argv; -int -main () -{ -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; - ; - return 0; -} +if test "x$ac_cv_prog_cc_c99" = xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +printf "%s\n" "unsupported" >&6; } +else $as_nop + if test "x$ac_cv_prog_cc_c99" = x +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +printf "%s\n" "none needed" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 +printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } + CC="$CC $ac_cv_prog_cc_c99" +fi + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 + ac_prog_cc_stdc=c99 +fi +fi +if test x$ac_prog_cc_stdc = xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 +printf %s "checking for $CC option to enable C89 features... " >&6; } +if test ${ac_cv_prog_cc_c89+y} +then : + printf %s "(cached) " >&6 +else $as_nop + ac_cv_prog_cc_c89=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_c_conftest_c89_program _ACEOF -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" - if ac_fn_c_try_compile "$LINENO"; then : + if ac_fn_c_try_compile "$LINENO" +then : ac_cv_prog_cc_c89=$ac_arg fi -rm -f core conftest.err conftest.$ac_objext +rm -f core conftest.err conftest.$ac_objext conftest.beam test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC - fi -# AC_CACHE_VAL -case "x$ac_cv_prog_cc_c89" in - x) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -$as_echo "none needed" >&6; } ;; - xno) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -$as_echo "unsupported" >&6; } ;; - *) - CC="$CC $ac_cv_prog_cc_c89" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 -$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; -esac -if test "x$ac_cv_prog_cc_c89" != xno; then : +if test "x$ac_cv_prog_cc_c89" = xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +printf "%s\n" "unsupported" >&6; } +else $as_nop + if test "x$ac_cv_prog_cc_c89" = x +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +printf "%s\n" "none needed" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } + CC="$CC $ac_cv_prog_cc_c89" +fi + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 + ac_prog_cc_stdc=c89 +fi fi ac_ext=c @@ -6342,21 +7146,23 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -ac_ext=c + + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 -$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } -if ${am_cv_prog_cc_c_o+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 +printf %s "checking whether $CC understands -c and -o together... " >&6; } +if test ${am_cv_prog_cc_c_o+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; @@ -6384,8 +7190,8 @@ rm -f core conftest* unset am_i fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 -$as_echo "$am_cv_prog_cc_c_o" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 +printf "%s\n" "$am_cv_prog_cc_c_o" >&6; } if test "$am_cv_prog_cc_c_o" != yes; then # Losing compiler, so override with the script. # FIXME: It is wrong to rewrite CC. @@ -6404,8 +7210,8 @@ ac_config_commands="$ac_config_commands depfiles" -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 -$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 +printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; } cat > confinc.mk << 'END' am__doit: @echo this is the am__doit target >confinc.out @@ -6441,11 +7247,12 @@ fi done rm -f confinc.* confmf.* -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 -$as_echo "${_am_result}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 +printf "%s\n" "${_am_result}" >&6; } # Check whether --enable-dependency-tracking was given. -if test "${enable_dependency_tracking+set}" = set; then : +if test ${enable_dependency_tracking+y} +then : enableval=$enable_dependency_tracking; fi @@ -6466,11 +7273,12 @@ depcc="$CC" am_compiler_list= -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 -$as_echo_n "checking dependency style of $depcc... " >&6; } -if ${am_cv_CC_dependencies_compiler_type+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 +printf %s "checking dependency style of $depcc... " >&6; } +if test ${am_cv_CC_dependencies_compiler_type+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For @@ -6577,8 +7385,8 @@ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 -$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 +printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if @@ -6593,475 +7401,188 @@ -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 -$as_echo_n "checking how to run the C preprocessor... " >&6; } -# On Suns, sometimes $CPP names a directory. -if test -n "$CPP" && test -d "$CPP"; then - CPP= -fi -if test -z "$CPP"; then - if ${ac_cv_prog_CPP+:} false; then : - $as_echo_n "(cached) " >&6 -else - # Double quotes because CPP needs to be expanded - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" - do - ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes +ac_header= ac_cache= +for ac_item in $ac_header_c_list do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.i conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.i conftest.$ac_ext - + if test $ac_cache; then + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then + printf "%s\n" "#define $ac_item 1" >> confdefs.h + fi + ac_header= ac_cache= + elif test $ac_header; then + ac_cache=$ac_item + else + ac_header=$ac_item + fi done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.i conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - break -fi - done - ac_cv_prog_CPP=$CPP -fi - CPP=$ac_cv_prog_CPP -else - ac_cv_prog_CPP=$CPP -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 -$as_echo "$CPP" >&6; } -ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.i conftest.$ac_ext - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.i conftest.$ac_ext -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.i conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details" "$LINENO" 5; } -fi -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes +then : -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 -$as_echo_n "checking for grep that handles long lines and -e... " >&6; } -if ${ac_cv_path_GREP+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$GREP"; then - ac_path_GREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in grep ggrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" - as_fn_executable_p "$ac_path_GREP" || continue -# Check for GNU ac_path_GREP and select it if it is found. - # Check for GNU $ac_path_GREP -case `"$ac_path_GREP" --version 2>&1` in -*GNU*) - ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'GREP' >> "conftest.nl" - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=$as_val - if test $ac_count -gt ${ac_path_GREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_GREP="$ac_path_GREP" - ac_path_GREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac +printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h - $ac_path_GREP_found && break 3 - done - done - done -IFS=$as_save_IFS - if test -z "$ac_cv_path_GREP"; then - as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 - fi -else - ac_cv_path_GREP=$GREP fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 -$as_echo "$ac_cv_path_GREP" >&6; } - GREP="$ac_cv_path_GREP" -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 -$as_echo_n "checking for egrep... " >&6; } -if ${ac_cv_path_EGREP+:} false; then : - $as_echo_n "(cached) " >&6 -else - if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 - then ac_cv_path_EGREP="$GREP -E" - else - if test -z "$EGREP"; then - ac_path_EGREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in egrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" - as_fn_executable_p "$ac_path_EGREP" || continue -# Check for GNU ac_path_EGREP and select it if it is found. - # Check for GNU $ac_path_EGREP -case `"$ac_path_EGREP" --version 2>&1` in -*GNU*) - ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'EGREP' >> "conftest.nl" - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=$as_val - if test $ac_count -gt ${ac_path_EGREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_EGREP="$ac_path_EGREP" - ac_path_EGREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - $ac_path_EGREP_found && break 3 - done - done - done -IFS=$as_save_IFS - if test -z "$ac_cv_path_EGREP"; then - as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 - fi -else - ac_cv_path_EGREP=$EGREP -fi - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 -$as_echo "$ac_cv_path_EGREP" >&6; } - EGREP="$ac_cv_path_EGREP" - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 -$as_echo_n "checking for ANSI C header files... " >&6; } -if ${ac_cv_header_stdc+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 +printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; } +if test ${ac_cv_safe_to_define___extensions__+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include -#include -#include -#include +# define __EXTENSIONS__ 1 + $ac_includes_default int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_header_stdc=yes -else - ac_cv_header_stdc=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -if test $ac_cv_header_stdc = yes; then - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "memchr" >/dev/null 2>&1; then : - -else - ac_cv_header_stdc=no +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_safe_to_define___extensions__=yes +else $as_nop + ac_cv_safe_to_define___extensions__=no fi -rm -f conftest* - +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 +printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; } -if test $ac_cv_header_stdc = yes; then - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 +printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; } +if test ${ac_cv_should_define__xopen_source+y} +then : + printf %s "(cached) " >&6 +else $as_nop + ac_cv_should_define__xopen_source=no + if test $ac_cv_header_wchar_h = yes +then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "free" >/dev/null 2>&1; then : - -else - ac_cv_header_stdc=no -fi -rm -f conftest* + #include + mbstate_t x; +int +main (void) +{ -fi + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : -if test $ac_cv_header_stdc = yes; then - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. - if test "$cross_compiling" = yes; then : - : -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include -#include -#if ((' ' & 0x0FF) == 0x020) -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#else -# define ISLOWER(c) \ - (('a' <= (c) && (c) <= 'i') \ - || ('j' <= (c) && (c) <= 'r') \ - || ('s' <= (c) && (c) <= 'z')) -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) -#endif -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) + #define _XOPEN_SOURCE 500 + #include + mbstate_t x; int -main () +main (void) { - int i; - for (i = 0; i < 256; i++) - if (XOR (islower (i), ISLOWER (i)) - || toupper (i) != TOUPPER (i)) - return 2; + + ; return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : - -else - ac_cv_header_stdc=no +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_should_define__xopen_source=yes fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi - +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 -$as_echo "$ac_cv_header_stdc" >&6; } -if test $ac_cv_header_stdc = yes; then +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 +printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; } -$as_echo "#define STDC_HEADERS 1" >>confdefs.h + printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h -fi + printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h -# On IRIX 5.3, sys/types and inttypes.h are conflicting. -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ - inttypes.h stdint.h unistd.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default -" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF + printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h -fi + printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h -done + printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h + printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h + printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h - ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" -if test "x$ac_cv_header_minix_config_h" = xyes; then : - MINIX=yes -else - MINIX= -fi + printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h + printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h - if test "$MINIX" = yes; then + printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h -$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h + printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h + printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h -$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h + printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h + printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h -$as_echo "#define _MINIX 1" >>confdefs.h + printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h - fi + if test $ac_cv_header_minix_config_h = yes +then : + MINIX=yes + printf "%s\n" "#define _MINIX 1" >>confdefs.h + printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 -$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } -if ${ac_cv_safe_to_define___extensions__+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ + printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h -# define __EXTENSIONS__ 1 - $ac_includes_default -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_safe_to_define___extensions__=yes -else - ac_cv_safe_to_define___extensions__=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +else $as_nop + MINIX= fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 -$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } - test $ac_cv_safe_to_define___extensions__ = yes && - $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h - - $as_echo "#define _ALL_SOURCE 1" >>confdefs.h + if test $ac_cv_safe_to_define___extensions__ = yes +then : + printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h - $as_echo "#define _GNU_SOURCE 1" >>confdefs.h - - $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h - - $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h +fi + if test $ac_cv_should_define__xopen_source = yes +then : + printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h +fi for opt in "" -std=gnu11 -std=c11 -c11 do - cachevar=`$as_echo "ax_cv_c_compile_c11_$opt" | $as_tr_sh` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC $opt supports C11" >&5 -$as_echo_n "checking whether $CC $opt supports C11... " >&6; } -if eval \${$cachevar+:} false; then : - $as_echo_n "(cached) " >&6 -else + cachevar=`printf "%s\n" "ax_cv_c_compile_c11_$opt" | $as_tr_sh` + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC $opt supports C11" >&5 +printf %s "checking whether $CC $opt supports C11... " >&6; } +if eval test \${$cachevar+y} +then : + printf %s "(cached) " >&6 +else $as_nop CFLAGS_save="$CFLAGS" CFLAGS="$CFLAGS $opt" @@ -7078,22 +7599,23 @@ const int varname = _Generic(1, int: 1, default: 0); _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval $cachevar="yes" -else +else $as_nop eval $cachevar="no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS="$CFLAGS_save" fi eval ac_res=\$$cachevar - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } if eval test "\$$cachevar" = "yes" then CFLAGS="$CFLAGS $opt" @@ -7102,20 +7624,26 @@ done -$as_echo "#define _FORTIFY_SOURCE 2" >>confdefs.h +printf "%s\n" "#define _FORTIFY_SOURCE 2" >>confdefs.h + +printf "%s\n" "#define _FILE_OFFSET_BITS 64" >>confdefs.h -$as_echo "#define _FILE_OFFSET_BITS 64" >>confdefs.h +printf "%s\n" "#define _THREAD_SAFE /**/" >>confdefs.h + + +printf "%s\n" "#define __LIBVLC__ /**/" >>confdefs.h + + +printf "%s\n" "#define WIN32_LEAN_AND_MEAN /**/" >>confdefs.h + -$as_echo "#define _THREAD_SAFE /**/" >>confdefs.h -$as_echo "#define __LIBVLC__ /**/" >>confdefs.h -$as_echo "#define WIN32_LEAN_AND_MEAN /**/" >>confdefs.h @@ -7129,15 +7657,16 @@ CXX=$CCC else if test -n "$ac_tool_prefix"; then - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++ do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_CXX+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$CXX"; then ac_cv_prog_CXX="$CXX" # Let the user override the test. else @@ -7145,11 +7674,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -7160,11 +7693,11 @@ fi CXX=$ac_cv_prog_CXX if test -n "$CXX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 -$as_echo "$CXX" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 +printf "%s\n" "$CXX" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -7173,15 +7706,16 @@ fi if test -z "$CXX"; then ac_ct_CXX=$CXX - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_CXX+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_CXX"; then ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. else @@ -7189,11 +7723,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CXX="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -7204,11 +7742,11 @@ fi ac_ct_CXX=$ac_cv_prog_ac_ct_CXX if test -n "$ac_ct_CXX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 -$as_echo "$ac_ct_CXX" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 +printf "%s\n" "$ac_ct_CXX" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -7220,8 +7758,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CXX=$ac_ct_CXX @@ -7231,7 +7769,7 @@ fi fi # Provide some information about the compiler. -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 +printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion; do @@ -7241,7 +7779,7 @@ *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -7251,20 +7789,21 @@ cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 -$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } -if ${ac_cv_cxx_compiler_gnu+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5 +printf %s "checking whether the compiler supports GNU C++... " >&6; } +if test ${ac_cv_cxx_compiler_gnu+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __GNUC__ choke me @@ -7274,29 +7813,33 @@ return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : ac_compiler_gnu=yes -else +else $as_nop ac_compiler_gnu=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_cv_cxx_compiler_gnu=$ac_compiler_gnu fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 -$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 +printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; } +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + if test $ac_compiler_gnu = yes; then GXX=yes else GXX= fi -ac_test_CXXFLAGS=${CXXFLAGS+set} +ac_test_CXXFLAGS=${CXXFLAGS+y} ac_save_CXXFLAGS=$CXXFLAGS -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 -$as_echo_n "checking whether $CXX accepts -g... " >&6; } -if ${ac_cv_prog_cxx_g+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 +printf %s "checking whether $CXX accepts -g... " >&6; } +if test ${ac_cv_prog_cxx_g+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_save_cxx_werror_flag=$ac_cxx_werror_flag ac_cxx_werror_flag=yes ac_cv_prog_cxx_g=no @@ -7305,57 +7848,60 @@ /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : ac_cv_prog_cxx_g=yes -else +else $as_nop CXXFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : -else +else $as_nop ac_cxx_werror_flag=$ac_save_cxx_werror_flag CXXFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : ac_cv_prog_cxx_g=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_cxx_werror_flag=$ac_save_cxx_werror_flag fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 -$as_echo "$ac_cv_prog_cxx_g" >&6; } -if test "$ac_test_CXXFLAGS" = set; then +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 +printf "%s\n" "$ac_cv_prog_cxx_g" >&6; } +if test $ac_test_CXXFLAGS; then CXXFLAGS=$ac_save_CXXFLAGS elif test $ac_cv_prog_cxx_g = yes; then if test "$GXX" = yes; then @@ -7370,6 +7916,100 @@ CXXFLAGS= fi fi +ac_prog_cxx_stdcxx=no +if test x$ac_prog_cxx_stdcxx = xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5 +printf %s "checking for $CXX option to enable C++11 features... " >&6; } +if test ${ac_cv_prog_cxx_11+y} +then : + printf %s "(cached) " >&6 +else $as_nop + ac_cv_prog_cxx_11=no +ac_save_CXX=$CXX +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_cxx_conftest_cxx11_program +_ACEOF +for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA +do + CXX="$ac_save_CXX $ac_arg" + if ac_fn_cxx_try_compile "$LINENO" +then : + ac_cv_prog_cxx_cxx11=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam + test "x$ac_cv_prog_cxx_cxx11" != "xno" && break +done +rm -f conftest.$ac_ext +CXX=$ac_save_CXX +fi + +if test "x$ac_cv_prog_cxx_cxx11" = xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +printf "%s\n" "unsupported" >&6; } +else $as_nop + if test "x$ac_cv_prog_cxx_cxx11" = x +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +printf "%s\n" "none needed" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5 +printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; } + CXX="$CXX $ac_cv_prog_cxx_cxx11" +fi + ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11 + ac_prog_cxx_stdcxx=cxx11 +fi +fi +if test x$ac_prog_cxx_stdcxx = xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5 +printf %s "checking for $CXX option to enable C++98 features... " >&6; } +if test ${ac_cv_prog_cxx_98+y} +then : + printf %s "(cached) " >&6 +else $as_nop + ac_cv_prog_cxx_98=no +ac_save_CXX=$CXX +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_cxx_conftest_cxx98_program +_ACEOF +for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA +do + CXX="$ac_save_CXX $ac_arg" + if ac_fn_cxx_try_compile "$LINENO" +then : + ac_cv_prog_cxx_cxx98=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam + test "x$ac_cv_prog_cxx_cxx98" != "xno" && break +done +rm -f conftest.$ac_ext +CXX=$ac_save_CXX +fi + +if test "x$ac_cv_prog_cxx_cxx98" = xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +printf "%s\n" "unsupported" >&6; } +else $as_nop + if test "x$ac_cv_prog_cxx_cxx98" = x +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +printf "%s\n" "none needed" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5 +printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; } + CXX="$CXX $ac_cv_prog_cxx_cxx98" +fi + ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98 + ac_prog_cxx_stdcxx=cxx98 +fi +fi + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -7378,11 +8018,12 @@ depcc="$CXX" am_compiler_list= -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 -$as_echo_n "checking dependency style of $depcc... " >&6; } -if ${am_cv_CXX_dependencies_compiler_type+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 +printf %s "checking dependency style of $depcc... " >&6; } +if test ${am_cv_CXX_dependencies_compiler_type+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For @@ -7489,8 +8130,8 @@ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 -$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 +printf "%s\n" "$am_cv_CXX_dependencies_compiler_type" >&6; } CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type if @@ -7509,40 +8150,36 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 -$as_echo_n "checking how to run the C preprocessor... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 +printf %s "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then - if ${ac_cv_prog_CPP+:} false; then : - $as_echo_n "(cached) " >&6 -else - # Double quotes because CPP needs to be expanded - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" + if test ${ac_cv_prog_CPP+y} +then : + printf %s "(cached) " >&6 +else $as_nop + # Double quotes because $CC needs to be expanded + for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif +#include Syntax error _ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : +if ac_fn_c_try_cpp "$LINENO" +then : -else +else $as_nop # Broken: fails on valid input. continue fi @@ -7554,10 +8191,11 @@ /* end confdefs.h. */ #include _ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : +if ac_fn_c_try_cpp "$LINENO" +then : # Broken: success on invalid input. continue -else +else $as_nop # Passes both tests. ac_preproc_ok=: break @@ -7567,7 +8205,8 @@ done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : +if $ac_preproc_ok +then : break fi @@ -7579,29 +8218,24 @@ else ac_cv_prog_CPP=$CPP fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 -$as_echo "$CPP" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 +printf "%s\n" "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif +#include Syntax error _ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : +if ac_fn_c_try_cpp "$LINENO" +then : -else +else $as_nop # Broken: fails on valid input. continue fi @@ -7613,10 +8247,11 @@ /* end confdefs.h. */ #include _ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : +if ac_fn_c_try_cpp "$LINENO" +then : # Broken: success on invalid input. continue -else +else $as_nop # Passes both tests. ac_preproc_ok=: break @@ -7626,11 +8261,12 @@ done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : +if $ac_preproc_ok +then : -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +else $as_nop + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details" "$LINENO" 5; } fi @@ -7647,15 +8283,16 @@ ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_objc_compiler_gnu if test -n "$ac_tool_prefix"; then - for ac_prog in gcc objcc objc cc CC + for ac_prog in gcc objcc objc cc CC clang do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_OBJC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_OBJC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$OBJC"; then ac_cv_prog_OBJC="$OBJC" # Let the user override the test. else @@ -7663,11 +8300,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -7678,11 +8319,11 @@ fi OBJC=$ac_cv_prog_OBJC if test -n "$OBJC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5 -$as_echo "$OBJC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5 +printf "%s\n" "$OBJC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -7691,15 +8332,16 @@ fi if test -z "$OBJC"; then ac_ct_OBJC=$OBJC - for ac_prog in gcc objcc objc cc CC + for ac_prog in gcc objcc objc cc CC clang do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_OBJC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_OBJC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_OBJC"; then ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test. else @@ -7707,11 +8349,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OBJC="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -7722,11 +8368,11 @@ fi ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC if test -n "$ac_ct_OBJC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5 -$as_echo "$ac_ct_OBJC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5 +printf "%s\n" "$ac_ct_OBJC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -7738,8 +8384,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OBJC=$ac_ct_OBJC @@ -7747,7 +8393,7 @@ fi # Provide some information about the compiler. -$as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5 +printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion; do @@ -7757,7 +8403,7 @@ *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -7767,20 +8413,21 @@ cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5 -$as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; } -if ${ac_cv_objc_compiler_gnu+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5 +printf %s "checking whether the compiler supports GNU Objective C... " >&6; } +if test ${ac_cv_objc_compiler_gnu+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __GNUC__ choke me @@ -7790,29 +8437,33 @@ return 0; } _ACEOF -if ac_fn_objc_try_compile "$LINENO"; then : +if ac_fn_objc_try_compile "$LINENO" +then : ac_compiler_gnu=yes -else +else $as_nop ac_compiler_gnu=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_cv_objc_compiler_gnu=$ac_compiler_gnu fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5 -$as_echo "$ac_cv_objc_compiler_gnu" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5 +printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; } +ac_compiler_gnu=$ac_cv_objc_compiler_gnu + if test $ac_compiler_gnu = yes; then GOBJC=yes else GOBJC= fi -ac_test_OBJCFLAGS=${OBJCFLAGS+set} +ac_test_OBJCFLAGS=${OBJCFLAGS+y} ac_save_OBJCFLAGS=$OBJCFLAGS -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5 -$as_echo_n "checking whether $OBJC accepts -g... " >&6; } -if ${ac_cv_prog_objc_g+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5 +printf %s "checking whether $OBJC accepts -g... " >&6; } +if test ${ac_cv_prog_objc_g+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_save_objc_werror_flag=$ac_objc_werror_flag ac_objc_werror_flag=yes ac_cv_prog_objc_g=no @@ -7821,57 +8472,60 @@ /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_objc_try_compile "$LINENO"; then : +if ac_fn_objc_try_compile "$LINENO" +then : ac_cv_prog_objc_g=yes -else +else $as_nop OBJCFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_objc_try_compile "$LINENO"; then : +if ac_fn_objc_try_compile "$LINENO" +then : -else +else $as_nop ac_objc_werror_flag=$ac_save_objc_werror_flag OBJCFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_objc_try_compile "$LINENO"; then : +if ac_fn_objc_try_compile "$LINENO" +then : ac_cv_prog_objc_g=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_objc_werror_flag=$ac_save_objc_werror_flag fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5 -$as_echo "$ac_cv_prog_objc_g" >&6; } -if test "$ac_test_OBJCFLAGS" = set; then +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5 +printf "%s\n" "$ac_cv_prog_objc_g" >&6; } +if test $ac_test_OBJCFLAGS; then OBJCFLAGS=$ac_save_OBJCFLAGS elif test $ac_cv_prog_objc_g = yes; then if test "$GOBJC" = yes; then @@ -7894,11 +8548,12 @@ depcc="$OBJC" am_compiler_list='gcc3 gcc' -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 -$as_echo_n "checking dependency style of $depcc... " >&6; } -if ${am_cv_OBJC_dependencies_compiler_type+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 +printf %s "checking dependency style of $depcc... " >&6; } +if test ${am_cv_OBJC_dependencies_compiler_type+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For @@ -8003,8 +8658,8 @@ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5 -$as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5 +printf "%s\n" "$am_cv_OBJC_dependencies_compiler_type" >&6; } OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type if @@ -8018,11 +8673,81 @@ fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 -$as_echo_n "checking for egrep... " >&6; } -if ${ac_cv_path_EGREP+:} false; then : - $as_echo_n "(cached) " >&6 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 +printf %s "checking for grep that handles long lines and -e... " >&6; } +if test ${ac_cv_path_GREP+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test -z "$GREP"; then + ac_path_GREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + for ac_prog in grep ggrep + do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_GREP="$as_dir$ac_prog$ac_exec_ext" + as_fn_executable_p "$ac_path_GREP" || continue +# Check for GNU ac_path_GREP and select it if it is found. + # Check for GNU $ac_path_GREP +case `"$ac_path_GREP" --version 2>&1` in +*GNU*) + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; +*) + ac_count=0 + printf %s 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + printf "%s\n" 'GREP' >> "conftest.nl" + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_GREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_GREP="$ac_path_GREP" + ac_path_GREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_GREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_GREP"; then + as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi else + ac_cv_path_GREP=$GREP +fi + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 +printf "%s\n" "$ac_cv_path_GREP" >&6; } + GREP="$ac_cv_path_GREP" + + +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 +printf %s "checking for egrep... " >&6; } +if test ${ac_cv_path_EGREP+y} +then : + printf %s "(cached) " >&6 +else $as_nop if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else @@ -8033,10 +8758,15 @@ for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in egrep; do + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + for ac_prog in egrep + do for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" + ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_EGREP" || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP @@ -8045,13 +8775,13 @@ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; *) ac_count=0 - $as_echo_n 0123456789 >"conftest.in" + printf %s 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" - $as_echo 'EGREP' >> "conftest.nl" + printf "%s\n" 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val @@ -8080,18 +8810,19 @@ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 -$as_echo "$ac_cv_path_EGREP" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 +printf "%s\n" "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 -$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} -ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` -if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : - $as_echo_n "(cached) " >&6 -else +ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +if eval test \${ac_cv_prog_make_${ac_make}_set+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @@ -8107,12 +8838,12 @@ rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } SET_MAKE= else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi @@ -8126,11 +8857,12 @@ depcc="$CCAS" am_compiler_list= -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 -$as_echo_n "checking dependency style of $depcc... " >&6; } -if ${am_cv_CCAS_dependencies_compiler_type+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 +printf %s "checking dependency style of $depcc... " >&6; } +if test ${am_cv_CCAS_dependencies_compiler_type+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For @@ -8235,8 +8967,8 @@ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5 -$as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5 +printf "%s\n" "$am_cv_CCAS_dependencies_compiler_type" >&6; } CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type if @@ -8254,11 +8986,12 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_LEX+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_LEX+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$LEX"; then ac_cv_prog_LEX="$LEX" # Let the user override the test. else @@ -8266,11 +8999,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_LEX="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -8281,11 +9018,11 @@ fi LEX=$ac_cv_prog_LEX if test -n "$LEX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 -$as_echo "$LEX" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 +printf "%s\n" "$LEX" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -8293,15 +9030,26 @@ done test -n "$LEX" || LEX=":" -if test "x$LEX" != "x:"; then - cat >conftest.l <<_ACEOF + if test "x$LEX" != "x:"; then + cat >conftest.l <<_ACEOF +%{ +#ifdef __cplusplus +extern "C" +#endif +int yywrap(void); +%} %% a { ECHO; } b { REJECT; } c { yymore (); } d { yyless (1); } e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */ - yyless ((input () != 0)); } +#ifdef __cplusplus + yyless ((yyinput () != 0)); +#else + yyless ((input () != 0)); +#endif + } f { unput (yytext[0]); } . { BEGIN INITIAL; } %% @@ -8309,101 +9057,144 @@ extern char *yytext; #endif int +yywrap (void) +{ + return 1; +} +int main (void) { - return ! yylex () + ! yywrap (); + return ! yylex (); } _ACEOF +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lex output file root" >&5 +printf %s "checking for lex output file root... " >&6; } +if test ${ac_cv_prog_lex_root+y} +then : + printf %s "(cached) " >&6 +else $as_nop + +ac_cv_prog_lex_root=unknown { { ac_try="$LEX conftest.l" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$LEX conftest.l") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 -$as_echo_n "checking lex output file root... " >&6; } -if ${ac_cv_prog_lex_root+:} false; then : - $as_echo_n "(cached) " >&6 -else - + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && if test -f lex.yy.c; then ac_cv_prog_lex_root=lex.yy elif test -f lexyy.c; then ac_cv_prog_lex_root=lexyy -else - as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5 fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 -$as_echo "$ac_cv_prog_lex_root" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 +printf "%s\n" "$ac_cv_prog_lex_root" >&6; } +if test "$ac_cv_prog_lex_root" = unknown +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot find output from $LEX; giving up on $LEX" >&5 +printf "%s\n" "$as_me: WARNING: cannot find output from $LEX; giving up on $LEX" >&2;} + LEX=: LEXLIB= +fi LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root -if test -z "${LEXLIB+set}"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 -$as_echo_n "checking lex library... " >&6; } -if ${ac_cv_lib_lex+:} false; then : - $as_echo_n "(cached) " >&6 -else +if test ${LEXLIB+y} +then : + +else $as_nop + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lex library" >&5 +printf %s "checking for lex library... " >&6; } +if test ${ac_cv_lib_lex+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + ac_save_LIBS="$LIBS" + ac_found=false + for ac_cv_lib_lex in 'none needed' -lfl -ll 'not found'; do + case $ac_cv_lib_lex in #( + 'none needed') : + ;; #( + 'not found') : + break ;; #( + *) : + LIBS="$ac_cv_lib_lex $ac_save_LIBS" ;; #( + *) : + ;; +esac - ac_save_LIBS=$LIBS - ac_cv_lib_lex='none needed' - for ac_lib in '' -lfl -ll; do - LIBS="$ac_lib $ac_save_LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ `cat $LEX_OUTPUT_ROOT.c` _ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_lex=$ac_lib +if ac_fn_c_try_link "$LINENO" +then : + ac_found=: fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext - test "$ac_cv_lib_lex" != 'none needed' && break + if $ac_found; then + break + fi done - LIBS=$ac_save_LIBS + LIBS="$ac_save_LIBS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 -$as_echo "$ac_cv_lib_lex" >&6; } - test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 +printf "%s\n" "$ac_cv_lib_lex" >&6; } + if test "$ac_cv_lib_lex" = 'not found' +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: required lex library not found; giving up on $LEX" >&5 +printf "%s\n" "$as_me: WARNING: required lex library not found; giving up on $LEX" >&2;} + LEX=: LEXLIB= +elif test "$ac_cv_lib_lex" = 'none needed' +then : + LEXLIB='' +else $as_nop + LEXLIB=$ac_cv_lib_lex +fi + fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 -$as_echo_n "checking whether yytext is a pointer... " >&6; } -if ${ac_cv_prog_lex_yytext_pointer+:} false; then : - $as_echo_n "(cached) " >&6 -else +if test "$LEX" != : +then : + +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 +printf %s "checking whether yytext is a pointer... " >&6; } +if test ${ac_cv_prog_lex_yytext_pointer+y} +then : + printf %s "(cached) " >&6 +else $as_nop # POSIX says lex can declare yytext either as a pointer or an array; the # default is implementation-dependent. Figure out which it is, since # not all implementations provide the %pointer and %array declarations. ac_cv_prog_lex_yytext_pointer=no -ac_save_LIBS=$LIBS -LIBS="$LEXLIB $ac_save_LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define YYTEXT_POINTER 1 `cat $LEX_OUTPUT_ROOT.c` _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_prog_lex_yytext_pointer=yes fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_save_LIBS +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 -$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 +printf "%s\n" "$ac_cv_prog_lex_yytext_pointer" >&6; } if test $ac_cv_prog_lex_yytext_pointer = yes; then -$as_echo "#define YYTEXT_POINTER 1" >>confdefs.h +printf "%s\n" "#define YYTEXT_POINTER 1" >>confdefs.h + +fi fi rm -f conftest.l $LEX_OUTPUT_ROOT.c @@ -8413,11 +9204,12 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_YACC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_YACC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$YACC"; then ac_cv_prog_YACC="$YACC" # Let the user override the test. else @@ -8425,11 +9217,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_YACC="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -8440,11 +9236,11 @@ fi YACC=$ac_cv_prog_YACC if test -n "$YACC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 -$as_echo "$YACC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 +printf "%s\n" "$YACC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -8458,11 +9254,12 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_DESKTOP_FILE_VALIDATE+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_DESKTOP_FILE_VALIDATE+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$DESKTOP_FILE_VALIDATE"; then ac_cv_prog_DESKTOP_FILE_VALIDATE="$DESKTOP_FILE_VALIDATE" # Let the user override the test. else @@ -8470,11 +9267,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_DESKTOP_FILE_VALIDATE="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -8485,11 +9286,11 @@ fi DESKTOP_FILE_VALIDATE=$ac_cv_prog_DESKTOP_FILE_VALIDATE if test -n "$DESKTOP_FILE_VALIDATE"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DESKTOP_FILE_VALIDATE" >&5 -$as_echo "$DESKTOP_FILE_VALIDATE" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DESKTOP_FILE_VALIDATE" >&5 +printf "%s\n" "$DESKTOP_FILE_VALIDATE" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -8502,11 +9303,12 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_BUILDCC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_BUILDCC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$BUILDCC"; then ac_cv_prog_BUILDCC="$BUILDCC" # Let the user override the test. else @@ -8514,11 +9316,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_BUILDCC="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -8529,11 +9335,11 @@ fi BUILDCC=$ac_cv_prog_BUILDCC if test -n "$BUILDCC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILDCC" >&5 -$as_echo "$BUILDCC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BUILDCC" >&5 +printf "%s\n" "$BUILDCC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -8541,22 +9347,24 @@ done test -n "$BUILDCC" || BUILDCC="false" -if test "$BUILDCC" = "false"; then : +if test "$BUILDCC" = "false" +then : as_fn_error $? "Cannot find native C99 compiler: please define BUILDCC." "$LINENO" 5 fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 -$as_echo_n "checking for an ANSI C-conforming const... " >&6; } -if ${ac_cv_c_const+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 +printf %s "checking for an ANSI C-conforming const... " >&6; } +if test ${ac_cv_c_const+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __cplusplus @@ -8569,7 +9377,7 @@ /* NEC SVR4.0.2 mips cc rejects this. */ struct point {int x, y;}; static struct point const zero = {0,0}; - /* AIX XL C 1.02.0.0 rejects this. + /* IBM XL C 1.02.0.0 rejects this. It does not let you subtract one const X* pointer from another in an arm of an if-expression whose if-part is not a constant expression */ @@ -8597,7 +9405,7 @@ iptr p = 0; ++p; } - { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying + { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ struct s { int j; const int *ap[3]; } bx; struct s *b = &bx; b->j = 5; @@ -8613,47 +9421,50 @@ return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_c_const=yes -else +else $as_nop ac_cv_c_const=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 -$as_echo "$ac_cv_c_const" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 +printf "%s\n" "$ac_cv_c_const" >&6; } if test $ac_cv_c_const = no; then -$as_echo "#define const /**/" >>confdefs.h +printf "%s\n" "#define const /**/" >>confdefs.h fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 -$as_echo_n "checking for inline... " >&6; } -if ${ac_cv_c_inline+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 +printf %s "checking for inline... " >&6; } +if test ${ac_cv_c_inline+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __cplusplus typedef int foo_t; -static $ac_kw foo_t static_foo () {return 0; } -$ac_kw foo_t foo () {return 0; } +static $ac_kw foo_t static_foo (void) {return 0; } +$ac_kw foo_t foo (void) {return 0; } #endif _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_c_inline=$ac_kw fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext test "$ac_cv_c_inline" != no && break done fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 -$as_echo "$ac_cv_c_inline" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 +printf "%s\n" "$ac_cv_c_inline" >&6; } case $ac_cv_c_inline in inline | yes) ;; @@ -8670,49 +9481,53 @@ ;; esac -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5 -$as_echo_n "checking for C/C++ restrict keyword... " >&6; } -if ${ac_cv_c_restrict+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5 +printf %s "checking for C/C++ restrict keyword... " >&6; } +if test ${ac_cv_c_restrict+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_cv_c_restrict=no - # The order here caters to the fact that C++ does not require restrict. - for ac_kw in __restrict __restrict__ _Restrict restrict; do + # Put '__restrict__' first, to avoid problems with glibc and non-GCC; see: + # https://lists.gnu.org/archive/html/bug-autoconf/2016-02/msg00006.html + # Put 'restrict' last, because C++ lacks it. + for ac_kw in __restrict__ __restrict _Restrict restrict; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -typedef int * int_ptr; - int foo (int_ptr $ac_kw ip) { - return ip[0]; - } +typedef int *int_ptr; + int foo (int_ptr $ac_kw ip) { return ip[0]; } + int bar (int [$ac_kw]); /* Catch GCC bug 14050. */ + int bar (int ip[$ac_kw]) { return ip[0]; } + int -main () +main (void) { int s[1]; - int * $ac_kw t = s; - t[0] = 0; - return foo(t) + int *$ac_kw t = s; + t[0] = 0; + return foo (t) + bar (t); + ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_c_restrict=$ac_kw fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext test "$ac_cv_c_restrict" != no && break done fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5 -$as_echo "$ac_cv_c_restrict" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5 +printf "%s\n" "$ac_cv_c_restrict" >&6; } case $ac_cv_c_restrict in restrict) ;; - no) $as_echo "#define restrict /**/" >>confdefs.h + no) printf "%s\n" "#define restrict /**/" >>confdefs.h ;; - *) cat >>confdefs.h <<_ACEOF -#define restrict $ac_cv_c_restrict -_ACEOF + *) printf "%s\n" "#define restrict $ac_cv_c_restrict" >>confdefs.h ;; esac @@ -8724,11 +9539,12 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ac_success=no - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5 -$as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; } -if ${ax_cv_cxx_compile_cxx11+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5 +printf %s "checking whether $CXX supports C++11 features by default... " >&6; } +if test ${ax_cv_cxx_compile_cxx11+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -8786,15 +9602,16 @@ constexpr size_t constant_align = alignof (std::max_align_t); _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : ax_cv_cxx_compile_cxx11=yes -else +else $as_nop ax_cv_cxx_compile_cxx11=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5 -$as_echo "$ax_cv_cxx_compile_cxx11" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5 +printf "%s\n" "$ax_cv_cxx_compile_cxx11" >&6; } if test x$ax_cv_cxx_compile_cxx11 = xyes; then ac_success=yes fi @@ -8803,12 +9620,13 @@ if test x$ac_success = xno; then for switch in -std=c++11 -std=c++0x; do - cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5 -$as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; } -if eval \${$cachevar+:} false; then : - $as_echo_n "(cached) " >&6 -else + cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh` + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5 +printf %s "checking whether $CXX supports C++11 features with $switch... " >&6; } +if eval test \${$cachevar+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_save_CXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS $switch" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -8868,17 +9686,18 @@ constexpr size_t constant_align = alignof (std::max_align_t); _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : eval $cachevar=yes -else +else $as_nop eval $cachevar=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CXXFLAGS="$ac_save_CXXFLAGS" fi eval ac_res=\$$cachevar - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } if eval test x\$$cachevar = xyes; then CXXFLAGS="$CXXFLAGS $switch" ac_success=yes @@ -8899,12 +9718,12 @@ else if test x$ac_success = xno; then HAVE_CXX11=0 - { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5 -$as_echo "$as_me: No compiler with C++11 support was found" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5 +printf "%s\n" "$as_me: No compiler with C++11 support was found" >&6;} else HAVE_CXX11=1 -$as_echo "#define HAVE_CXX11 1" >>confdefs.h +printf "%s\n" "#define HAVE_CXX11 1" >>confdefs.h fi @@ -8916,16 +9735,16 @@ # Check whether --with-binary-version was given. -if test "${with_binary_version+set}" = set; then : +if test ${with_binary_version+y} +then : withval=$with_binary_version; fi -if test -n "${with_binary_version}"; then : +if test -n "${with_binary_version}" +then : -cat >>confdefs.h <<_ACEOF -#define DISTRO_VERSION "${with_binary_version}" -_ACEOF +printf "%s\n" "#define DISTRO_VERSION \"${with_binary_version}\"" >>confdefs.h fi @@ -8935,12 +9754,13 @@ for flag in -Werror=unknown-warning-option -Werror=invalid-command-line-argument; do - as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 -$as_echo_n "checking whether C compiler accepts $flag... " >&6; } -if eval \${$as_CACHEVAR+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 +printf %s "checking whether C compiler accepts $flag... " >&6; } +if eval test \${$as_CACHEVAR+y} +then : + printf %s "(cached) " >&6 +else $as_nop ax_check_save_flags=$CFLAGS CFLAGS="$CFLAGS $flag" @@ -8948,58 +9768,61 @@ /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$as_CACHEVAR=yes" -else +else $as_nop eval "$as_CACHEVAR=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$ax_check_save_flags fi eval ac_res=\$$as_CACHEVAR - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_CACHEVAR"\" = x"yes" +then : -if ${CFLAGS+:} false; then : +if test ${CFLAGS+y} +then : case " $CFLAGS " in #( *" $flag "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 (: CFLAGS already contains $flag) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append CFLAGS " $flag" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 (: CFLAGS="$CFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop CFLAGS=$flag - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 (: CFLAGS="$CFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi -else +else $as_nop : fi @@ -9010,12 +9833,13 @@ for flag in -Werror=unknown-warning-option -Werror=invalid-command-line-argument; do - as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 -$as_echo_n "checking whether C compiler accepts $flag... " >&6; } -if eval \${$as_CACHEVAR+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 +printf %s "checking whether C compiler accepts $flag... " >&6; } +if eval test \${$as_CACHEVAR+y} +then : + printf %s "(cached) " >&6 +else $as_nop ax_check_save_flags=$CFLAGS CFLAGS="$CFLAGS $flag" @@ -9023,58 +9847,61 @@ /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$as_CACHEVAR=yes" -else +else $as_nop eval "$as_CACHEVAR=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$ax_check_save_flags fi eval ac_res=\$$as_CACHEVAR - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_CACHEVAR"\" = x"yes" +then : -if ${CXXFLAGS+:} false; then : +if test ${CXXFLAGS+y} +then : case " $CXXFLAGS " in #( *" $flag "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$flag"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$flag"; } >&5 (: CXXFLAGS already contains $flag) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append CXXFLAGS " $flag" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 (: CXXFLAGS="$CXXFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop CXXFLAGS=$flag - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 (: CXXFLAGS="$CXXFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi -else +else $as_nop : fi @@ -9116,9 +9943,118 @@ SYS=dragonfly ;; darwin*) - CFLAGS="${CFLAGS} -fno-stack-check" - CXXFLAGS="${CXXFLAGS} -fno-stack-check" - OBJCFLAGS="${OBJCFLAGS} -fno-stack-check" + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if AppleClang requires -fno-stack-check" >&5 +printf %s "checking if AppleClang requires -fno-stack-check... " >&6; } + COMPILER_VERSION_MAJ="$(${CC} -dumpversion | cut -d '.' -f -1)" + if test ${COMPILER_VERSION_MAJ} -eq 11 +then : + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } + +if test ${CFLAGS+y} +then : + + case " $CFLAGS " in #( + *" -fno-stack-check "*) : + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains -fno-stack-check"; } >&5 + (: CFLAGS already contains -fno-stack-check) 2>&5 + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } ;; #( + *) : + + as_fn_append CFLAGS " -fno-stack-check" + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + (: CFLAGS="$CFLAGS") 2>&5 + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + ;; +esac + +else $as_nop + + CFLAGS=-fno-stack-check + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + (: CFLAGS="$CFLAGS") 2>&5 + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + +fi + + +if test ${CXXFLAGS+y} +then : + + case " $CXXFLAGS " in #( + *" -fno-stack-check "*) : + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains -fno-stack-check"; } >&5 + (: CXXFLAGS already contains -fno-stack-check) 2>&5 + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } ;; #( + *) : + + as_fn_append CXXFLAGS " -fno-stack-check" + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 + (: CXXFLAGS="$CXXFLAGS") 2>&5 + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + ;; +esac + +else $as_nop + + CXXFLAGS=-fno-stack-check + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 + (: CXXFLAGS="$CXXFLAGS") 2>&5 + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + +fi + + +if test ${OBJCFLAGS+y} +then : + + case " $OBJCFLAGS " in #( + *" -fno-stack-check "*) : + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : OBJCFLAGS already contains -fno-stack-check"; } >&5 + (: OBJCFLAGS already contains -fno-stack-check) 2>&5 + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } ;; #( + *) : + + as_fn_append OBJCFLAGS " -fno-stack-check" + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : OBJCFLAGS=\"\$OBJCFLAGS\""; } >&5 + (: OBJCFLAGS="$OBJCFLAGS") 2>&5 + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + ;; +esac + +else $as_nop + + OBJCFLAGS=-fno-stack-check + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : OBJCFLAGS=\"\$OBJCFLAGS\""; } >&5 + (: OBJCFLAGS="$OBJCFLAGS") 2>&5 + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + +fi + + +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } +fi ARCH_flag="" case "${host_cpu}" in @@ -9163,7 +10099,8 @@ - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #import #if TARGET_OS_IPHONE @@ -9171,12 +10108,13 @@ #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "yes" >/dev/null 2>&1; then : + $EGREP "yes" >/dev/null 2>&1 +then : HAVE_IOS="1" -else +else $as_nop HAVE_OSX="1" fi -rm -f conftest* +rm -rf conftest* cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -9187,18 +10125,20 @@ #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "yes" >/dev/null 2>&1; then : + $EGREP "yes" >/dev/null 2>&1 +then : HAVE_TVOS="1" HAVE_IOS="0" HAVE_OSX="0" fi -rm -f conftest* +rm -rf conftest* # Check whether --with-macosx-sdk was given. -if test "${with_macosx_sdk+set}" = set; then : +if test ${with_macosx_sdk+y} +then : withval=$with_macosx_sdk; fi @@ -9213,7 +10153,8 @@ fi # Check whether --with-macosx-version-min was given. -if test "${with_macosx_version_min+set}" = set; then : +if test ${with_macosx_version_min+y} +then : withval=$with_macosx_version_min; fi @@ -9238,12 +10179,13 @@ for flag in -static-libgcc; do - as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags_-Werror_$flag" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5 -$as_echo_n "checking whether C++ compiler accepts $flag... " >&6; } -if eval \${$as_CACHEVAR+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_CACHEVAR=`printf "%s\n" "ax_cv_check_cxxflags_-Werror_$flag" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5 +printf %s "checking whether C++ compiler accepts $flag... " >&6; } +if eval test \${$as_CACHEVAR+y} +then : + printf %s "(cached) " >&6 +else $as_nop ax_check_save_flags=$CXXFLAGS CXXFLAGS="$CXXFLAGS -Werror $flag" @@ -9251,58 +10193,61 @@ /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : eval "$as_CACHEVAR=yes" -else +else $as_nop eval "$as_CACHEVAR=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CXXFLAGS=$ax_check_save_flags fi eval ac_res=\$$as_CACHEVAR - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_CACHEVAR"\" = x"yes" +then : -if ${CXXFLAGS+:} false; then : +if test ${CXXFLAGS+y} +then : case " $CXXFLAGS " in #( *" $flag "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$flag"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$flag"; } >&5 (: CXXFLAGS already contains $flag) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append CXXFLAGS " $flag" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 (: CXXFLAGS="$CXXFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop CXXFLAGS=$flag - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 (: CXXFLAGS="$CXXFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi -else +else $as_nop : fi @@ -9317,11 +10262,12 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args. set dummy ${ac_tool_prefix}windres; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_WINDRES+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_WINDRES+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$WINDRES"; then ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test. else @@ -9329,11 +10275,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_WINDRES="${ac_tool_prefix}windres" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -9344,11 +10294,11 @@ fi WINDRES=$ac_cv_prog_WINDRES if test -n "$WINDRES"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5 -$as_echo "$WINDRES" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5 +printf "%s\n" "$WINDRES" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -9357,11 +10307,12 @@ ac_ct_WINDRES=$WINDRES # Extract the first word of "windres", so it can be a program name with args. set dummy windres; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_WINDRES+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_WINDRES+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_WINDRES"; then ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test. else @@ -9369,11 +10320,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_WINDRES="windres" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -9384,11 +10339,11 @@ fi ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES if test -n "$ac_ct_WINDRES"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5 -$as_echo "$ac_ct_WINDRES" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5 +printf "%s\n" "$ac_ct_WINDRES" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_WINDRES" = x; then @@ -9396,8 +10351,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac WINDRES=$ac_ct_WINDRES @@ -9409,11 +10364,12 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args. set dummy ${ac_tool_prefix}objcopy; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_OBJCOPY+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_OBJCOPY+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$OBJCOPY"; then ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test. else @@ -9421,11 +10377,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -9436,11 +10396,11 @@ fi OBJCOPY=$ac_cv_prog_OBJCOPY if test -n "$OBJCOPY"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5 -$as_echo "$OBJCOPY" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5 +printf "%s\n" "$OBJCOPY" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -9449,11 +10409,12 @@ ac_ct_OBJCOPY=$OBJCOPY # Extract the first word of "objcopy", so it can be a program name with args. set dummy objcopy; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_OBJCOPY+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_OBJCOPY+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_OBJCOPY"; then ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test. else @@ -9461,11 +10422,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OBJCOPY="objcopy" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -9476,11 +10441,11 @@ fi ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY if test -n "$ac_ct_OBJCOPY"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5 -$as_echo "$ac_ct_OBJCOPY" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5 +printf "%s\n" "$ac_ct_OBJCOPY" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_OBJCOPY" = x; then @@ -9488,8 +10453,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OBJCOPY=$ac_ct_OBJCOPY @@ -9510,7 +10475,7 @@ #endif int -main () +main (void) { ; ; @@ -9518,16 +10483,17 @@ } _ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : +if ac_fn_c_try_cpp "$LINENO" +then : -$as_echo "#define _WIN32_WINNT 0x0502" >>confdefs.h +printf "%s\n" "#define _WIN32_WINNT 0x0502" >>confdefs.h fi rm -f conftest.err conftest.i conftest.$ac_ext - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libsynchronization is needed" >&5 -$as_echo_n "checking if libsynchronization is needed... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libsynchronization is needed" >&5 +printf %s "checking if libsynchronization is needed... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if _WIN32_WINNT >= 0x0602 @@ -9535,7 +10501,7 @@ #endif int -main () +main (void) { ; ; @@ -9543,15 +10509,16 @@ } _ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : +if ac_fn_c_try_cpp "$LINENO" +then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } eval "LIBS_libvlccore="'"'"-lsynchronization "'$'"{LIBS_libvlccore}"'"' @@ -9562,58 +10529,61 @@ fi rm -f conftest.err conftest.i conftest.$ac_ext -$as_echo "#define _WIN32_IE 0x0600" >>confdefs.h +printf "%s\n" "#define _WIN32_IE 0x0600" >>confdefs.h -$as_echo "#define _UNICODE 1" >>confdefs.h +printf "%s\n" "#define _UNICODE 1" >>confdefs.h -$as_echo "#define UNICODE 1" >>confdefs.h +printf "%s\n" "#define UNICODE 1" >>confdefs.h -$as_echo "#define _ISOC99_SOURCE 1" >>confdefs.h +printf "%s\n" "#define _ISOC99_SOURCE 1" >>confdefs.h -$as_echo "#define _ISOC11_SOURCE 1" >>confdefs.h +printf "%s\n" "#define _ISOC11_SOURCE 1" >>confdefs.h -$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h +printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h -$as_echo "#define _POSIX_C_SOURCE 200809L" >>confdefs.h +printf "%s\n" "#define _POSIX_C_SOURCE 200809L" >>confdefs.h -$as_echo "#define _XOPEN_SOURCE 700" >>confdefs.h +printf "%s\n" "#define _XOPEN_SOURCE 700" >>confdefs.h -$as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h +printf "%s\n" "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h -$as_echo "#define _BSD_SOURCE 1" >>confdefs.h +printf "%s\n" "#define _BSD_SOURCE 1" >>confdefs.h -$as_echo "#define _SVID_SOURCE 1" >>confdefs.h +printf "%s\n" "#define _SVID_SOURCE 1" >>confdefs.h # Check whether --with-packagedir was given. -if test "${with_packagedir+set}" = set; then : +if test ${with_packagedir+y} +then : withval=$with_packagedir; fi - if test "${with_packagedir}" != ""; then : + if test "${with_packagedir}" != "" +then : - if test -d "${with_packagedir}"; then : + if test -d "${with_packagedir}" +then : PACKAGE_DIR=`cd "${with_packagedir}" && pwd -P` -else +else $as_nop PACKAGE_DIR="${with_packagedir}" fi -else +else $as_nop PACKAGE_DIR=`pwd -P`"/vlc-${PACKAGE_VERSION}" @@ -9632,12 +10602,13 @@ #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "yes" >/dev/null 2>&1; then : + $EGREP "yes" >/dev/null 2>&1 +then : SYS=mingw32 -else +else $as_nop as_fn_error $? "VLC requires -mno-cygwin" "$LINENO" 5 fi -rm -f conftest* +rm -rf conftest* ;; esac @@ -9650,11 +10621,12 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_U2D+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_U2D+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$U2D"; then ac_cv_prog_U2D="$U2D" # Let the user override the test. else @@ -9662,11 +10634,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_U2D="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -9677,11 +10653,11 @@ fi U2D=$ac_cv_prog_U2D if test -n "$U2D"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $U2D" >&5 -$as_echo "$U2D" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $U2D" >&5 +printf "%s\n" "$U2D" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -9713,33 +10689,34 @@ WINDOWS_ARCH="x86" PROGRAMFILES="PROGRAMFILES" -if ${LDFLAGS+:} false; then : +if test ${LDFLAGS+y} +then : case " $LDFLAGS " in #( *" -Wl,--large-address-aware "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : LDFLAGS already contains -Wl,--large-address-aware"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : LDFLAGS already contains -Wl,--large-address-aware"; } >&5 (: LDFLAGS already contains -Wl,--large-address-aware) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append LDFLAGS " -Wl,--large-address-aware" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : LDFLAGS=\"\$LDFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : LDFLAGS=\"\$LDFLAGS\""; } >&5 (: LDFLAGS="$LDFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop LDFLAGS=-Wl,--large-address-aware - { { $as_echo "$as_me:${as_lineno-$LINENO}: : LDFLAGS=\"\$LDFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : LDFLAGS=\"\$LDFLAGS\""; } >&5 (: LDFLAGS="$LDFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi @@ -9778,22 +10755,18 @@ ;; esac - for ac_func in if_nametoindex -do : - ac_fn_c_check_func "$LINENO" "if_nametoindex" "ac_cv_func_if_nametoindex" -if test "x$ac_cv_func_if_nametoindex" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_IF_NAMETOINDEX 1 -_ACEOF + ac_fn_c_check_func "$LINENO" "if_nametoindex" "ac_cv_func_if_nametoindex" +if test "x$ac_cv_func_if_nametoindex" = xyes +then : + printf "%s\n" "#define HAVE_IF_NAMETOINDEX 1" >>confdefs.h fi -done ;; *nacl*) SYS=nacl -$as_echo "#define _XOPEN_SOURCE 700" >>confdefs.h +printf "%s\n" "#define _XOPEN_SOURCE 700" >>confdefs.h case " $LIBOBJS " in *" sigwait.$ac_objext "* ) ;; @@ -9820,143 +10793,150 @@ esac # Check whether --enable-winstore_app was given. -if test "${enable_winstore_app+set}" = set; then : +if test ${enable_winstore_app+y} +then : enableval=$enable_winstore_app; fi vlc_winstore_app=0 -if test "${SYS}" = "mingw32"; then : +if test "${SYS}" = "mingw32" +then : LIBCOM="-lole32" - if test "${enable_winstore_app}" = "yes"; then : + if test "${enable_winstore_app}" = "yes" +then : vlc_winstore_app=1 LIBCOM="" -if ${CFLAGS+:} false; then : +if test ${CFLAGS+y} +then : case " $CFLAGS " in #( *" -DWINSTORECOMPAT "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains -DWINSTORECOMPAT"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains -DWINSTORECOMPAT"; } >&5 (: CFLAGS already contains -DWINSTORECOMPAT) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append CFLAGS " -DWINSTORECOMPAT" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 (: CFLAGS="$CFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop CFLAGS=-DWINSTORECOMPAT - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 (: CFLAGS="$CFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi -if ${CPPFLAGS+:} false; then : +if test ${CPPFLAGS+y} +then : case " $CPPFLAGS " in #( *" -DWINSTORECOMPAT "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CPPFLAGS already contains -DWINSTORECOMPAT"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CPPFLAGS already contains -DWINSTORECOMPAT"; } >&5 (: CPPFLAGS already contains -DWINSTORECOMPAT) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append CPPFLAGS " -DWINSTORECOMPAT" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CPPFLAGS=\"\$CPPFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CPPFLAGS=\"\$CPPFLAGS\""; } >&5 (: CPPFLAGS="$CPPFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop CPPFLAGS=-DWINSTORECOMPAT - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CPPFLAGS=\"\$CPPFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CPPFLAGS=\"\$CPPFLAGS\""; } >&5 (: CPPFLAGS="$CPPFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi -if ${CXXFLAGS+:} false; then : +if test ${CXXFLAGS+y} +then : case " $CXXFLAGS " in #( *" -DWINSTORECOMPAT "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains -DWINSTORECOMPAT"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains -DWINSTORECOMPAT"; } >&5 (: CXXFLAGS already contains -DWINSTORECOMPAT) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append CXXFLAGS " -DWINSTORECOMPAT" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 (: CXXFLAGS="$CXXFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop CXXFLAGS=-DWINSTORECOMPAT - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 (: CXXFLAGS="$CXXFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi -if ${LDFLAGS+:} false; then : +if test ${LDFLAGS+y} +then : case " $LDFLAGS " in #( *" -lwinstorecompat "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : LDFLAGS already contains -lwinstorecompat"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : LDFLAGS already contains -lwinstorecompat"; } >&5 (: LDFLAGS already contains -lwinstorecompat) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append LDFLAGS " -lwinstorecompat" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : LDFLAGS=\"\$LDFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : LDFLAGS=\"\$LDFLAGS\""; } >&5 (: LDFLAGS="$LDFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop LDFLAGS=-lwinstorecompat - { { $as_echo "$as_me:${as_lineno-$LINENO}: : LDFLAGS=\"\$LDFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : LDFLAGS=\"\$LDFLAGS\""; } >&5 (: LDFLAGS="$LDFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi @@ -9967,62 +10947,64 @@ - case " $LIBOBJS " in + +fi + case " $LIBOBJS " in *" gai_strerror.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS gai_strerror.$ac_objext" ;; esac -fi - fi -cat >>confdefs.h <<_ACEOF -#define VLC_WINSTORE_APP ${vlc_winstore_app} -_ACEOF +printf "%s\n" "#define VLC_WINSTORE_APP ${vlc_winstore_app}" >>confdefs.h vlc_build_pdb=0 # Check whether --enable-pdb was given. -if test "${enable_pdb+set}" = set; then : +if test ${enable_pdb+y} +then : enableval=$enable_pdb; fi -if test "${SYS}" = "mingw32"; then : +if test "${SYS}" = "mingw32" +then : - if test "${enable_pdb}" = "yes"; then : + if test "${enable_pdb}" = "yes" +then : vlc_build_pdb=1 -if ${CPPFLAGS+:} false; then : +if test ${CPPFLAGS+y} +then : case " $CPPFLAGS " in #( *" -g -gcodeview "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CPPFLAGS already contains -g -gcodeview"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CPPFLAGS already contains -g -gcodeview"; } >&5 (: CPPFLAGS already contains -g -gcodeview) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append CPPFLAGS " -g -gcodeview" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CPPFLAGS=\"\$CPPFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CPPFLAGS=\"\$CPPFLAGS\""; } >&5 (: CPPFLAGS="$CPPFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop CPPFLAGS=-g -gcodeview - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CPPFLAGS=\"\$CPPFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CPPFLAGS=\"\$CPPFLAGS\""; } >&5 (: CPPFLAGS="$CPPFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi @@ -10153,10 +11135,11 @@ esac -if test "$SYS" = linux; then : +if test "$SYS" = linux +then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an Android system" >&5 -$as_echo_n "checking for an Android system... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an Android system" >&5 +printf %s "checking for an Android system... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __ANDROID__ @@ -10164,7 +11147,7 @@ #endif int -main () +main (void) { ; ; @@ -10172,16 +11155,17 @@ } _ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : +if ac_fn_c_try_cpp "$LINENO" +then : HAVE_ANDROID="1" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi rm -f conftest.err conftest.i conftest.$ac_ext @@ -10196,16 +11180,17 @@ fi -if test "$SYS" = linux; then : +if test "$SYS" = linux +then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tizen" >&5 -$as_echo_n "checking for Tizen... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Tizen" >&5 +printf %s "checking for Tizen... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { ; ; @@ -10213,19 +11198,20 @@ } _ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : +if ac_fn_c_try_cpp "$LINENO" +then : HAVE_TIZEN="1" -$as_echo "#define HAVE_TIZEN_SDK 1" >>confdefs.h +printf "%s\n" "#define HAVE_TIZEN_SDK 1" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi rm -f conftest.err conftest.i conftest.$ac_ext @@ -10242,66 +11228,74 @@ # Check whether --with-contrib was given. -if test "${with_contrib+set}" = set; then : +if test ${with_contrib+y} +then : withval=$with_contrib; fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for 3rd party libraries path" >&5 -$as_echo_n "checking for 3rd party libraries path... " >&6; } -if test -z "${with_contrib}" || test "${with_contrib}" = "yes"; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 3rd party libraries path" >&5 +printf %s "checking for 3rd party libraries path... " >&6; } +if test -z "${with_contrib}" || test "${with_contrib}" = "yes" +then : CONTRIB_DIR="${srcdir}/contrib/${host}" - if test ! -d "${CONTRIB_DIR}"; then : + if test ! -d "${CONTRIB_DIR}" +then : echo "${CONTRIB_DIR} not found" >&5 CONTRIB_DIR="${srcdir}/contrib/`$CC -dumpmachine`" - if test ! -d "${CONTRIB_DIR}"; then : + if test ! -d "${CONTRIB_DIR}" +then : echo "${CONTRIB_DIR} not found" >&5 CONTRIB_DIR="" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 -$as_echo "not found" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +printf "%s\n" "not found" >&6; } fi fi -else +else $as_nop - if test "${with_contrib}" != "no"; then : + if test "${with_contrib}" != "no" +then : CONTRIB_DIR="${with_contrib}" -else +else $as_nop CONTRIB_DIR="" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 -$as_echo "disabled" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 +printf "%s\n" "disabled" >&6; } fi fi -if test -n "${CONTRIB_DIR}"; then : +if test -n "${CONTRIB_DIR}" +then : - if test -d "${CONTRIB_DIR}/lib"; then : + if test -d "${CONTRIB_DIR}/lib" +then : CONTRIB_DIR=`cd "${CONTRIB_DIR}" && pwd` -else +else $as_nop echo "${CONTRIB_DIR}/lib not found" >&5 CONTRIB_DIR="" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: not usable" >&5 -$as_echo "not usable" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not usable" >&5 +printf "%s\n" "not usable" >&6; } fi fi -if test -n "${CONTRIB_DIR}"; then : +if test -n "${CONTRIB_DIR}" +then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${CONTRIB_DIR}" >&5 -$as_echo "${CONTRIB_DIR}" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${CONTRIB_DIR}" >&5 +printf "%s\n" "${CONTRIB_DIR}" >&6; } CPPFLAGS="${CPPFLAGS} -I${CONTRIB_DIR}/include" CFLAGS="${CFLAGS} -I${CONTRIB_DIR}/include" CXXFLAGS="${CXXFLAGS} -I${CONTRIB_DIR}/include" @@ -10309,15 +11303,18 @@ export PKG_CONFIG_PATH="${CONTRIB_DIR}/lib/pkgconfig:$PKG_CONFIG_PATH" LDFLAGS="${LDFLAGS} -L${CONTRIB_DIR}/lib" - if test -z "$LUAC"; then : + if test -z "$LUAC" +then : - if test -x "${CONTRIB_DIR}/bin/luac${BUILDEXEEXT}"; then : + if test -x "${CONTRIB_DIR}/bin/luac${BUILDEXEEXT}" +then : LUAC="${CONTRIB_DIR}/bin/luac${BUILDEXEEXT}" fi - if test -x "${CONTRIB_DIR}/../bin/${host_alias}-luac${BUILDEXEEXT}"; then : + if test -x "${CONTRIB_DIR}/../bin/${host_alias}-luac${BUILDEXEEXT}" +then : LUAC="${CONTRIB_DIR}/../bin/${host_alias}-luac${BUILDEXEEXT}" @@ -10325,16 +11322,18 @@ fi - if test "${SYS}" = "darwin"; then : + if test "${SYS}" = "darwin" +then : export LD_LIBRARY_PATH="${CONTRIB_DIR}/lib:$LD_LIBRARY_PATH" export DYLD_LIBRARY_PATH="${CONTRIB_DIR}/lib:$DYLD_LIBRARY_PATH" fi -else +else $as_nop - if test -n "${with_contrib}" && test "${with_contrib}" != "no"; then : + if test -n "${with_contrib}" && test "${with_contrib}" != "no" +then : as_fn_error $? "Third party libraries not found!" "$LINENO" 5 @@ -10344,7 +11343,8 @@ TOOLS_DIR="${srcdir}/extras/tools/build/bin" -if test -d "${TOOLS_DIR}"; then : +if test -d "${TOOLS_DIR}" +then : TOOLS_DIR=`cd "${TOOLS_DIR}" && pwd` export PATH="${TOOLS_DIR}":$PATH @@ -10352,17 +11352,18 @@ fi -if ${lt_cv_deplibs_check_method+:} false; then : - $as_echo_n "(cached) " >&6 -else +if test ${lt_cv_deplibs_check_method+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_deplibs_check_method=pass_all fi case `pwd` in *\ * | *\ *) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 -$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 +printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; esac @@ -10382,6 +11383,7 @@ + ltmain=$ac_aux_dir/ltmain.sh # Backslashify metacharacters that are still active within @@ -10405,8 +11407,8 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 -$as_echo_n "checking how to print strings... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 +printf %s "checking how to print strings... " >&6; } # Test print first, because it will be a builtin if present. if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then @@ -10432,12 +11434,12 @@ } case $ECHO in - printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 -$as_echo "printf" >&6; } ;; - print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 -$as_echo "print -r" >&6; } ;; - *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 -$as_echo "cat" >&6; } ;; + printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5 +printf "%s\n" "printf" >&6; } ;; + print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 +printf "%s\n" "print -r" >&6; } ;; + *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5 +printf "%s\n" "cat" >&6; } ;; esac @@ -10453,11 +11455,12 @@ -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 -$as_echo_n "checking for a sed that does not truncate output... " >&6; } -if ${ac_cv_path_SED+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 +printf %s "checking for a sed that does not truncate output... " >&6; } +if test ${ac_cv_path_SED+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ for ac_i in 1 2 3 4 5 6 7; do ac_script="$ac_script$as_nl$ac_script" @@ -10471,10 +11474,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in sed gsed; do + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + for ac_prog in sed gsed + do for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" + ac_path_SED="$as_dir$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_SED" || continue # Check for GNU ac_path_SED and select it if it is found. # Check for GNU $ac_path_SED @@ -10483,13 +11491,13 @@ ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; *) ac_count=0 - $as_echo_n 0123456789 >"conftest.in" + printf %s 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" - $as_echo '' >> "conftest.nl" + printf "%s\n" '' >> "conftest.nl" "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val @@ -10517,8 +11525,8 @@ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 -$as_echo "$ac_cv_path_SED" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 +printf "%s\n" "$ac_cv_path_SED" >&6; } SED="$ac_cv_path_SED" rm -f conftest.sed @@ -10535,11 +11543,12 @@ -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 -$as_echo_n "checking for fgrep... " >&6; } -if ${ac_cv_path_FGREP+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 +printf %s "checking for fgrep... " >&6; } +if test ${ac_cv_path_FGREP+y} +then : + printf %s "(cached) " >&6 +else $as_nop if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 then ac_cv_path_FGREP="$GREP -F" else @@ -10550,10 +11559,15 @@ for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in fgrep; do + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + for ac_prog in fgrep + do for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" + ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_FGREP" || continue # Check for GNU ac_path_FGREP and select it if it is found. # Check for GNU $ac_path_FGREP @@ -10562,13 +11576,13 @@ ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; *) ac_count=0 - $as_echo_n 0123456789 >"conftest.in" + printf %s 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" - $as_echo 'FGREP' >> "conftest.nl" + printf "%s\n" 'FGREP' >> "conftest.nl" "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val @@ -10597,8 +11611,8 @@ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 -$as_echo "$ac_cv_path_FGREP" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 +printf "%s\n" "$ac_cv_path_FGREP" >&6; } FGREP="$ac_cv_path_FGREP" @@ -10623,17 +11637,18 @@ # Check whether --with-gnu-ld was given. -if test "${with_gnu_ld+set}" = set; then : +if test ${with_gnu_ld+y} +then : withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes -else +else $as_nop with_gnu_ld=no fi ac_prog=ld if test yes = "$GCC"; then # Check if gcc -print-prog-name=ld gives a path. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 -$as_echo_n "checking for ld used by $CC... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 +printf %s "checking for ld used by $CC... " >&6; } case $host in *-*-mingw*) # gcc leaves a trailing carriage return, which upsets mingw @@ -10662,15 +11677,16 @@ ;; esac elif test yes = "$with_gnu_ld"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 -$as_echo_n "checking for GNU ld... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 +printf %s "checking for GNU ld... " >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 -$as_echo_n "checking for non-GNU ld... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 +printf %s "checking for non-GNU ld... " >&6; } fi -if ${lt_cv_path_LD+:} false; then : - $as_echo_n "(cached) " >&6 -else +if test ${lt_cv_path_LD+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -z "$LD"; then lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do @@ -10699,18 +11715,19 @@ LD=$lt_cv_path_LD if test -n "$LD"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 -$as_echo "$LD" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 +printf "%s\n" "$LD" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 -$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } -if ${lt_cv_prog_gnu_ld+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 +printf %s "checking if the linker ($LD) is GNU ld... " >&6; } +if test ${lt_cv_prog_gnu_ld+y} +then : + printf %s "(cached) " >&6 +else $as_nop # I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 &5 -$as_echo "$lt_cv_prog_gnu_ld" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 +printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; } with_gnu_ld=$lt_cv_prog_gnu_ld @@ -10733,11 +11750,12 @@ -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 -$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } -if ${lt_cv_path_NM+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 +printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; } +if test ${lt_cv_path_NM+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM=$NM @@ -10787,8 +11805,8 @@ : ${lt_cv_path_NM=no} fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 -$as_echo "$lt_cv_path_NM" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 +printf "%s\n" "$lt_cv_path_NM" >&6; } if test no != "$lt_cv_path_NM"; then NM=$lt_cv_path_NM else @@ -10801,11 +11819,12 @@ do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_DUMPBIN+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_DUMPBIN+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$DUMPBIN"; then ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. else @@ -10813,11 +11832,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -10828,11 +11851,11 @@ fi DUMPBIN=$ac_cv_prog_DUMPBIN if test -n "$DUMPBIN"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 -$as_echo "$DUMPBIN" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 +printf "%s\n" "$DUMPBIN" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -10845,11 +11868,12 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_DUMPBIN+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_DUMPBIN"; then ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. else @@ -10857,11 +11881,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -10872,11 +11900,11 @@ fi ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN if test -n "$ac_ct_DUMPBIN"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 -$as_echo "$ac_ct_DUMPBIN" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 +printf "%s\n" "$ac_ct_DUMPBIN" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -10888,8 +11916,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DUMPBIN=$ac_ct_DUMPBIN @@ -10917,11 +11945,12 @@ -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 -$as_echo_n "checking the name lister ($NM) interface... " >&6; } -if ${lt_cv_nm_interface+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 +printf %s "checking the name lister ($NM) interface... " >&6; } +if test ${lt_cv_nm_interface+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) @@ -10937,26 +11966,27 @@ fi rm -f conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 -$as_echo "$lt_cv_nm_interface" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 +printf "%s\n" "$lt_cv_nm_interface" >&6; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 -$as_echo_n "checking whether ln -s works... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 +printf %s "checking whether ln -s works... " >&6; } LN_S=$as_ln_s if test "$LN_S" = "ln -s"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 -$as_echo "no, using $LN_S" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 +printf "%s\n" "no, using $LN_S" >&6; } fi # find the maximum length of command line arguments -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 -$as_echo_n "checking the maximum length of command line arguments... " >&6; } -if ${lt_cv_sys_max_cmd_len+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 +printf %s "checking the maximum length of command line arguments... " >&6; } +if test ${lt_cv_sys_max_cmd_len+y} +then : + printf %s "(cached) " >&6 +else $as_nop i=0 teststring=ABCD @@ -11083,11 +12113,11 @@ fi if test -n "$lt_cv_sys_max_cmd_len"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 -$as_echo "$lt_cv_sys_max_cmd_len" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 +printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 -$as_echo "none" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5 +printf "%s\n" "none" >&6; } fi max_cmd_len=$lt_cv_sys_max_cmd_len @@ -11131,11 +12161,12 @@ -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 -$as_echo_n "checking how to convert $build file names to $host format... " >&6; } -if ${lt_cv_to_host_file_cmd+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 +printf %s "checking how to convert $build file names to $host format... " >&6; } +if test ${lt_cv_to_host_file_cmd+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $host in *-*-mingw* ) case $build in @@ -11171,18 +12202,19 @@ fi to_host_file_cmd=$lt_cv_to_host_file_cmd -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 -$as_echo "$lt_cv_to_host_file_cmd" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 +printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 -$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } -if ${lt_cv_to_tool_file_cmd+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 +printf %s "checking how to convert $build file names to toolchain format... " >&6; } +if test ${lt_cv_to_tool_file_cmd+y} +then : + printf %s "(cached) " >&6 +else $as_nop #assume ordinary cross tools, or native build. lt_cv_to_tool_file_cmd=func_convert_file_noop case $host in @@ -11198,22 +12230,23 @@ fi to_tool_file_cmd=$lt_cv_to_tool_file_cmd -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 -$as_echo "$lt_cv_to_tool_file_cmd" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 +printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 -$as_echo_n "checking for $LD option to reload object files... " >&6; } -if ${lt_cv_ld_reload_flag+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 +printf %s "checking for $LD option to reload object files... " >&6; } +if test ${lt_cv_ld_reload_flag+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_ld_reload_flag='-r' fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 -$as_echo "$lt_cv_ld_reload_flag" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 +printf "%s\n" "$lt_cv_ld_reload_flag" >&6; } reload_flag=$lt_cv_ld_reload_flag case $reload_flag in "" | " "*) ;; @@ -11246,11 +12279,12 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. set dummy ${ac_tool_prefix}objdump; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_OBJDUMP+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_OBJDUMP+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$OBJDUMP"; then ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. else @@ -11258,11 +12292,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -11273,11 +12311,11 @@ fi OBJDUMP=$ac_cv_prog_OBJDUMP if test -n "$OBJDUMP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 -$as_echo "$OBJDUMP" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 +printf "%s\n" "$OBJDUMP" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -11286,11 +12324,12 @@ ac_ct_OBJDUMP=$OBJDUMP # Extract the first word of "objdump", so it can be a program name with args. set dummy objdump; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_OBJDUMP+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_OBJDUMP"; then ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. else @@ -11298,11 +12337,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OBJDUMP="objdump" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -11313,11 +12356,11 @@ fi ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP if test -n "$ac_ct_OBJDUMP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 -$as_echo "$ac_ct_OBJDUMP" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 +printf "%s\n" "$ac_ct_OBJDUMP" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_OBJDUMP" = x; then @@ -11325,8 +12368,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OBJDUMP=$ac_ct_OBJDUMP @@ -11342,11 +12385,12 @@ -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 -$as_echo_n "checking how to recognize dependent libraries... " >&6; } -if ${lt_cv_deplibs_check_method+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 +printf %s "checking how to recognize dependent libraries... " >&6; } +if test ${lt_cv_deplibs_check_method+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_deplibs_check_method='unknown' @@ -11542,8 +12586,8 @@ esac fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 -$as_echo "$lt_cv_deplibs_check_method" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 +printf "%s\n" "$lt_cv_deplibs_check_method" >&6; } file_magic_glob= want_nocaseglob=no @@ -11587,11 +12631,12 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. set dummy ${ac_tool_prefix}dlltool; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_DLLTOOL+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_DLLTOOL+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$DLLTOOL"; then ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. else @@ -11599,11 +12644,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -11614,11 +12663,11 @@ fi DLLTOOL=$ac_cv_prog_DLLTOOL if test -n "$DLLTOOL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 -$as_echo "$DLLTOOL" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 +printf "%s\n" "$DLLTOOL" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -11627,11 +12676,12 @@ ac_ct_DLLTOOL=$DLLTOOL # Extract the first word of "dlltool", so it can be a program name with args. set dummy dlltool; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_DLLTOOL+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_DLLTOOL"; then ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. else @@ -11639,11 +12689,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DLLTOOL="dlltool" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -11654,11 +12708,11 @@ fi ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL if test -n "$ac_ct_DLLTOOL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 -$as_echo "$ac_ct_DLLTOOL" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 +printf "%s\n" "$ac_ct_DLLTOOL" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_DLLTOOL" = x; then @@ -11666,8 +12720,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DLLTOOL=$ac_ct_DLLTOOL @@ -11684,11 +12738,12 @@ -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 -$as_echo_n "checking how to associate runtime and link libraries... " >&6; } -if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 +printf %s "checking how to associate runtime and link libraries... " >&6; } +if test ${lt_cv_sharedlib_from_linklib_cmd+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_sharedlib_from_linklib_cmd='unknown' case $host_os in @@ -11711,8 +12766,8 @@ esac fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 -$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 +printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; } sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO @@ -11727,11 +12782,12 @@ do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AR+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_AR+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. else @@ -11739,11 +12795,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_AR="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -11754,11 +12814,11 @@ fi AR=$ac_cv_prog_AR if test -n "$AR"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 -$as_echo "$AR" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 +printf "%s\n" "$AR" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -11771,11 +12831,12 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_AR+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_AR+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_AR"; then ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. else @@ -11783,11 +12844,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_AR="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -11798,11 +12863,11 @@ fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 -$as_echo "$ac_ct_AR" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 +printf "%s\n" "$ac_ct_AR" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -11814,8 +12879,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac AR=$ac_ct_AR @@ -11835,30 +12900,32 @@ -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 -$as_echo_n "checking for archiver @FILE support... " >&6; } -if ${lt_cv_ar_at_file+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 +printf %s "checking for archiver @FILE support... " >&6; } +if test ${lt_cv_ar_at_file+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_ar_at_file=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : echo conftest.$ac_objext > conftest.lst lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 (eval $lt_ar_try) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if test 0 -eq "$ac_status"; then # Ensure the archiver fails upon bogus file names. @@ -11866,7 +12933,7 @@ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 (eval $lt_ar_try) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if test 0 -ne "$ac_status"; then lt_cv_ar_at_file=@ @@ -11875,11 +12942,11 @@ rm -f conftest.* libconftest.a fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 -$as_echo "$lt_cv_ar_at_file" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 +printf "%s\n" "$lt_cv_ar_at_file" >&6; } if test no = "$lt_cv_ar_at_file"; then archiver_list_spec= @@ -11896,11 +12963,12 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_STRIP+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_STRIP+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else @@ -11908,11 +12976,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -11923,11 +12995,11 @@ fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 -$as_echo "$STRIP" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +printf "%s\n" "$STRIP" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -11936,11 +13008,12 @@ ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_STRIP+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_STRIP+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else @@ -11948,11 +13021,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -11963,11 +13040,11 @@ fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 -$as_echo "$ac_ct_STRIP" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +printf "%s\n" "$ac_ct_STRIP" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then @@ -11975,8 +13052,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP @@ -11995,11 +13072,12 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_RANLIB+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_RANLIB+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else @@ -12007,11 +13085,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -12022,11 +13104,11 @@ fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 -$as_echo "$RANLIB" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 +printf "%s\n" "$RANLIB" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -12035,11 +13117,12 @@ ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_RANLIB+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. else @@ -12047,11 +13130,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_RANLIB="ranlib" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -12062,11 +13149,11 @@ fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 -$as_echo "$ac_ct_RANLIB" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 +printf "%s\n" "$ac_ct_RANLIB" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_RANLIB" = x; then @@ -12074,8 +13161,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac RANLIB=$ac_ct_RANLIB @@ -12164,11 +13251,12 @@ # Check for command to grab the raw symbol name followed by C symbol from nm. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 -$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } -if ${lt_cv_sys_global_symbol_pipe+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 +printf %s "checking command to parse $NM output from $compiler object... " >&6; } +if test ${lt_cv_sys_global_symbol_pipe+y} +then : + printf %s "(cached) " >&6 +else $as_nop # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] @@ -12320,7 +13408,7 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then # Now try to grab the symbols. nlist=conftest.nm @@ -12393,7 +13481,7 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest$ac_exeext; then pipe_works=yes fi @@ -12428,11 +13516,11 @@ lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 -$as_echo "failed" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5 +printf "%s\n" "failed" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 -$as_echo "ok" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5 +printf "%s\n" "ok" >&6; } fi # Response file support. @@ -12478,13 +13566,14 @@ -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 -$as_echo_n "checking for sysroot... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 +printf %s "checking for sysroot... " >&6; } # Check whether --with-sysroot was given. -if test "${with_sysroot+set}" = set; then : +if test ${with_sysroot+y} +then : withval=$with_sysroot; -else +else $as_nop with_sysroot=no fi @@ -12502,24 +13591,25 @@ no|'') ;; #( *) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 -$as_echo "$with_sysroot" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 +printf "%s\n" "$with_sysroot" >&6; } as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 ;; esac - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 -$as_echo "${lt_sysroot:-no}" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 +printf "%s\n" "${lt_sysroot:-no}" >&6; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 -$as_echo_n "checking for a working dd... " >&6; } -if ${ac_cv_path_lt_DD+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 +printf %s "checking for a working dd... " >&6; } +if test ${ac_cv_path_lt_DD+y} +then : + printf %s "(cached) " >&6 +else $as_nop printf 0123456789abcdef0123456789abcdef >conftest.i cat conftest.i conftest.i >conftest2.i : ${lt_DD:=$DD} @@ -12530,10 +13620,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in dd; do + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + for ac_prog in dd + do for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" + ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_lt_DD" || continue if "$ac_path_lt_DD" bs=32 count=1 conftest.out 2>/dev/null; then cmp -s conftest.i conftest.out \ @@ -12553,15 +13648,16 @@ rm -f conftest.i conftest2.i conftest.out fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 -$as_echo "$ac_cv_path_lt_DD" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 +printf "%s\n" "$ac_cv_path_lt_DD" >&6; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 -$as_echo_n "checking how to truncate binary pipes... " >&6; } -if ${lt_cv_truncate_bin+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 +printf %s "checking how to truncate binary pipes... " >&6; } +if test ${lt_cv_truncate_bin+y} +then : + printf %s "(cached) " >&6 +else $as_nop printf 0123456789abcdef0123456789abcdef >conftest.i cat conftest.i conftest.i >conftest2.i lt_cv_truncate_bin= @@ -12572,8 +13668,8 @@ rm -f conftest.i conftest2.i conftest.out test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 -$as_echo "$lt_cv_truncate_bin" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 +printf "%s\n" "$lt_cv_truncate_bin" >&6; } @@ -12596,7 +13692,8 @@ } # Check whether --enable-libtool-lock was given. -if test "${enable_libtool_lock+set}" = set; then : +if test ${enable_libtool_lock+y} +then : enableval=$enable_libtool_lock; fi @@ -12612,7 +13709,7 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) @@ -12632,7 +13729,7 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then if test yes = "$lt_cv_prog_gnu_ld"; then case `/usr/bin/file conftest.$ac_objext` in @@ -12670,7 +13767,7 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then emul=elf case `/usr/bin/file conftest.$ac_objext` in @@ -12711,7 +13808,7 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then case `/usr/bin/file conftest.o` in *32-bit*) @@ -12774,11 +13871,12 @@ # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS=$CFLAGS CFLAGS="$CFLAGS -belf" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 -$as_echo_n "checking whether the C compiler needs -belf... " >&6; } -if ${lt_cv_cc_needs_belf+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 +printf %s "checking whether the C compiler needs -belf... " >&6; } +if test ${lt_cv_cc_needs_belf+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -12789,19 +13887,20 @@ /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : lt_cv_cc_needs_belf=yes -else +else $as_nop lt_cv_cc_needs_belf=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -12810,8 +13909,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 -$as_echo "$lt_cv_cc_needs_belf" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 +printf "%s\n" "$lt_cv_cc_needs_belf" >&6; } if test yes != "$lt_cv_cc_needs_belf"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS=$SAVE_CFLAGS @@ -12824,7 +13923,7 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then case `/usr/bin/file conftest.o` in *64-bit*) @@ -12861,11 +13960,12 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. set dummy ${ac_tool_prefix}mt; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_MANIFEST_TOOL+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$MANIFEST_TOOL"; then ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. else @@ -12873,11 +13973,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -12888,11 +13992,11 @@ fi MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL if test -n "$MANIFEST_TOOL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 -$as_echo "$MANIFEST_TOOL" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 +printf "%s\n" "$MANIFEST_TOOL" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -12901,11 +14005,12 @@ ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL # Extract the first word of "mt", so it can be a program name with args. set dummy mt; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_MANIFEST_TOOL"; then ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. else @@ -12913,11 +14018,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -12928,11 +14037,11 @@ fi ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL if test -n "$ac_ct_MANIFEST_TOOL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 -$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 +printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_MANIFEST_TOOL" = x; then @@ -12940,8 +14049,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL @@ -12951,11 +14060,12 @@ fi test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 -$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } -if ${lt_cv_path_mainfest_tool+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 +printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } +if test ${lt_cv_path_mainfest_tool+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_path_mainfest_tool=no echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out @@ -12965,8 +14075,8 @@ fi rm -f conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 -$as_echo "$lt_cv_path_mainfest_tool" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 +printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; } if test yes != "$lt_cv_path_mainfest_tool"; then MANIFEST_TOOL=: fi @@ -12981,11 +14091,12 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_DSYMUTIL+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_DSYMUTIL+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$DSYMUTIL"; then ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. else @@ -12993,11 +14104,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -13008,11 +14123,11 @@ fi DSYMUTIL=$ac_cv_prog_DSYMUTIL if test -n "$DSYMUTIL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 -$as_echo "$DSYMUTIL" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 +printf "%s\n" "$DSYMUTIL" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -13021,11 +14136,12 @@ ac_ct_DSYMUTIL=$DSYMUTIL # Extract the first word of "dsymutil", so it can be a program name with args. set dummy dsymutil; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_DSYMUTIL+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_DSYMUTIL"; then ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. else @@ -13033,11 +14149,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -13048,11 +14168,11 @@ fi ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL if test -n "$ac_ct_DSYMUTIL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 -$as_echo "$ac_ct_DSYMUTIL" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 +printf "%s\n" "$ac_ct_DSYMUTIL" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_DSYMUTIL" = x; then @@ -13060,8 +14180,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DSYMUTIL=$ac_ct_DSYMUTIL @@ -13073,11 +14193,12 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. set dummy ${ac_tool_prefix}nmedit; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_NMEDIT+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_NMEDIT+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$NMEDIT"; then ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. else @@ -13085,11 +14206,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -13100,11 +14225,11 @@ fi NMEDIT=$ac_cv_prog_NMEDIT if test -n "$NMEDIT"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 -$as_echo "$NMEDIT" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 +printf "%s\n" "$NMEDIT" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -13113,11 +14238,12 @@ ac_ct_NMEDIT=$NMEDIT # Extract the first word of "nmedit", so it can be a program name with args. set dummy nmedit; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_NMEDIT+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_NMEDIT"; then ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. else @@ -13125,11 +14251,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_NMEDIT="nmedit" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -13140,11 +14270,11 @@ fi ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT if test -n "$ac_ct_NMEDIT"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 -$as_echo "$ac_ct_NMEDIT" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 +printf "%s\n" "$ac_ct_NMEDIT" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_NMEDIT" = x; then @@ -13152,8 +14282,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac NMEDIT=$ac_ct_NMEDIT @@ -13165,11 +14295,12 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. set dummy ${ac_tool_prefix}lipo; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_LIPO+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_LIPO+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$LIPO"; then ac_cv_prog_LIPO="$LIPO" # Let the user override the test. else @@ -13177,11 +14308,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_LIPO="${ac_tool_prefix}lipo" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -13192,11 +14327,11 @@ fi LIPO=$ac_cv_prog_LIPO if test -n "$LIPO"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 -$as_echo "$LIPO" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 +printf "%s\n" "$LIPO" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -13205,11 +14340,12 @@ ac_ct_LIPO=$LIPO # Extract the first word of "lipo", so it can be a program name with args. set dummy lipo; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_LIPO+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_LIPO+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_LIPO"; then ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. else @@ -13217,11 +14353,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_LIPO="lipo" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -13232,11 +14372,11 @@ fi ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO if test -n "$ac_ct_LIPO"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 -$as_echo "$ac_ct_LIPO" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 +printf "%s\n" "$ac_ct_LIPO" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_LIPO" = x; then @@ -13244,8 +14384,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac LIPO=$ac_ct_LIPO @@ -13257,11 +14397,12 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. set dummy ${ac_tool_prefix}otool; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_OTOOL+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_OTOOL+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$OTOOL"; then ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. else @@ -13269,11 +14410,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_OTOOL="${ac_tool_prefix}otool" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -13284,11 +14429,11 @@ fi OTOOL=$ac_cv_prog_OTOOL if test -n "$OTOOL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 -$as_echo "$OTOOL" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 +printf "%s\n" "$OTOOL" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -13297,11 +14442,12 @@ ac_ct_OTOOL=$OTOOL # Extract the first word of "otool", so it can be a program name with args. set dummy otool; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_OTOOL+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_OTOOL"; then ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. else @@ -13309,11 +14455,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OTOOL="otool" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -13324,11 +14474,11 @@ fi ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL if test -n "$ac_ct_OTOOL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 -$as_echo "$ac_ct_OTOOL" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 +printf "%s\n" "$ac_ct_OTOOL" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_OTOOL" = x; then @@ -13336,8 +14486,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OTOOL=$ac_ct_OTOOL @@ -13349,11 +14499,12 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. set dummy ${ac_tool_prefix}otool64; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_OTOOL64+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_OTOOL64+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$OTOOL64"; then ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. else @@ -13361,11 +14512,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -13376,11 +14531,11 @@ fi OTOOL64=$ac_cv_prog_OTOOL64 if test -n "$OTOOL64"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 -$as_echo "$OTOOL64" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 +printf "%s\n" "$OTOOL64" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -13389,11 +14544,12 @@ ac_ct_OTOOL64=$OTOOL64 # Extract the first word of "otool64", so it can be a program name with args. set dummy otool64; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_OTOOL64+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_OTOOL64"; then ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. else @@ -13401,11 +14557,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OTOOL64="otool64" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -13416,11 +14576,11 @@ fi ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 if test -n "$ac_ct_OTOOL64"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 -$as_echo "$ac_ct_OTOOL64" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 +printf "%s\n" "$ac_ct_OTOOL64" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_OTOOL64" = x; then @@ -13428,8 +14588,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OTOOL64=$ac_ct_OTOOL64 @@ -13464,11 +14624,12 @@ - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 -$as_echo_n "checking for -single_module linker flag... " >&6; } -if ${lt_cv_apple_cc_single_mod+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 +printf %s "checking for -single_module linker flag... " >&6; } +if test ${lt_cv_apple_cc_single_mod+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_apple_cc_single_mod=no if test -z "$LT_MULTI_MODULE"; then # By default we will add the -single_module flag. You can override @@ -13497,14 +14658,15 @@ rm -f conftest.* fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 -$as_echo "$lt_cv_apple_cc_single_mod" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 +printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 -$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } -if ${lt_cv_ld_exported_symbols_list+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 +printf %s "checking for -exported_symbols_list linker flag... " >&6; } +if test ${lt_cv_ld_exported_symbols_list+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_ld_exported_symbols_list=no save_LDFLAGS=$LDFLAGS echo "_main" > conftest.sym @@ -13513,31 +14675,33 @@ /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : lt_cv_ld_exported_symbols_list=yes -else +else $as_nop lt_cv_ld_exported_symbols_list=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LDFLAGS=$save_LDFLAGS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 -$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 +printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 -$as_echo_n "checking for -force_load linker flag... " >&6; } -if ${lt_cv_ld_force_load+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 +printf %s "checking for -force_load linker flag... " >&6; } +if test ${lt_cv_ld_force_load+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_ld_force_load=no cat > conftest.c << _LT_EOF int forced_loaded() { return 2;} @@ -13565,8 +14729,8 @@ rm -rf conftest.dSYM fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 -$as_echo "$lt_cv_ld_force_load" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 +printf "%s\n" "$lt_cv_ld_force_load" >&6; } case $host_os in rhapsody* | darwin1.[012]) _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; @@ -13637,19 +14801,14 @@ esac } -for ac_header in dlfcn.h -do : - ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default +ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default " -if test "x$ac_cv_header_dlfcn_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_DLFCN_H 1 -_ACEOF +if test "x$ac_cv_header_dlfcn_h" = xyes +then : + printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h fi -done - func_stripname_cnf () @@ -13673,11 +14832,12 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. set dummy ${ac_tool_prefix}as; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AS+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_AS+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$AS"; then ac_cv_prog_AS="$AS" # Let the user override the test. else @@ -13685,11 +14845,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_AS="${ac_tool_prefix}as" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -13700,11 +14864,11 @@ fi AS=$ac_cv_prog_AS if test -n "$AS"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 -$as_echo "$AS" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 +printf "%s\n" "$AS" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -13713,11 +14877,12 @@ ac_ct_AS=$AS # Extract the first word of "as", so it can be a program name with args. set dummy as; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_AS+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_AS+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_AS"; then ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. else @@ -13725,11 +14890,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_AS="as" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -13740,11 +14909,11 @@ fi ac_ct_AS=$ac_cv_prog_ac_ct_AS if test -n "$ac_ct_AS"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 -$as_echo "$ac_ct_AS" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 +printf "%s\n" "$ac_ct_AS" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_AS" = x; then @@ -13752,8 +14921,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac AS=$ac_ct_AS @@ -13765,11 +14934,12 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. set dummy ${ac_tool_prefix}dlltool; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_DLLTOOL+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_DLLTOOL+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$DLLTOOL"; then ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. else @@ -13777,11 +14947,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -13792,11 +14966,11 @@ fi DLLTOOL=$ac_cv_prog_DLLTOOL if test -n "$DLLTOOL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 -$as_echo "$DLLTOOL" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 +printf "%s\n" "$DLLTOOL" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -13805,11 +14979,12 @@ ac_ct_DLLTOOL=$DLLTOOL # Extract the first word of "dlltool", so it can be a program name with args. set dummy dlltool; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_DLLTOOL+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_DLLTOOL"; then ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. else @@ -13817,11 +14992,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DLLTOOL="dlltool" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -13832,11 +15011,11 @@ fi ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL if test -n "$ac_ct_DLLTOOL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 -$as_echo "$ac_ct_DLLTOOL" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 +printf "%s\n" "$ac_ct_DLLTOOL" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_DLLTOOL" = x; then @@ -13844,8 +15023,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DLLTOOL=$ac_ct_DLLTOOL @@ -13857,11 +15036,12 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. set dummy ${ac_tool_prefix}objdump; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_OBJDUMP+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_OBJDUMP+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$OBJDUMP"; then ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. else @@ -13869,11 +15049,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -13884,11 +15068,11 @@ fi OBJDUMP=$ac_cv_prog_OBJDUMP if test -n "$OBJDUMP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 -$as_echo "$OBJDUMP" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 +printf "%s\n" "$OBJDUMP" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -13897,11 +15081,12 @@ ac_ct_OBJDUMP=$OBJDUMP # Extract the first word of "objdump", so it can be a program name with args. set dummy objdump; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_OBJDUMP+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_OBJDUMP"; then ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. else @@ -13909,11 +15094,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OBJDUMP="objdump" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -13924,11 +15113,11 @@ fi ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP if test -n "$ac_ct_OBJDUMP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 -$as_echo "$ac_ct_OBJDUMP" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 +printf "%s\n" "$ac_ct_OBJDUMP" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_OBJDUMP" = x; then @@ -13936,8 +15125,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OBJDUMP=$ac_ct_OBJDUMP @@ -13967,7 +15156,8 @@ # Check whether --enable-shared was given. -if test "${enable_shared+set}" = set; then : +if test ${enable_shared+y} +then : enableval=$enable_shared; p=${PACKAGE-default} case $enableval in yes) enable_shared=yes ;; @@ -13985,7 +15175,7 @@ IFS=$lt_save_ifs ;; esac -else +else $as_nop enable_shared=yes fi @@ -13996,7 +15186,8 @@ # Check whether --enable-static was given. -if test "${enable_static+set}" = set; then : +if test ${enable_static+y} +then : enableval=$enable_static; p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; @@ -14014,7 +15205,7 @@ IFS=$lt_save_ifs ;; esac -else +else $as_nop enable_static=no fi @@ -14033,7 +15224,8 @@ # Check whether --with-pic was given. -if test "${with_pic+set}" = set; then : +if test ${with_pic+y} +then : withval=$with_pic; lt_p=${PACKAGE-default} case $withval in yes|no) pic_mode=$withval ;; @@ -14050,7 +15242,7 @@ IFS=$lt_save_ifs ;; esac -else +else $as_nop pic_mode=default fi @@ -14062,7 +15254,8 @@ # Check whether --enable-fast-install was given. -if test "${enable_fast_install+set}" = set; then : +if test ${enable_fast_install+y} +then : enableval=$enable_fast_install; p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; @@ -14080,7 +15273,7 @@ IFS=$lt_save_ifs ;; esac -else +else $as_nop enable_fast_install=yes fi @@ -14094,11 +15287,12 @@ shared_archive_member_spec= case $host,$enable_shared in power*-*-aix[5-9]*,yes) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 -$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 +printf %s "checking which variant of shared library versioning to provide... " >&6; } # Check whether --with-aix-soname was given. -if test "${with_aix_soname+set}" = set; then : +if test ${with_aix_soname+y} +then : withval=$with_aix_soname; case $withval in aix|svr4|both) ;; @@ -14107,18 +15301,19 @@ ;; esac lt_cv_with_aix_soname=$with_aix_soname -else - if ${lt_cv_with_aix_soname+:} false; then : - $as_echo_n "(cached) " >&6 -else +else $as_nop + if test ${lt_cv_with_aix_soname+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_with_aix_soname=aix fi with_aix_soname=$lt_cv_with_aix_soname fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 -$as_echo "$with_aix_soname" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 +printf "%s\n" "$with_aix_soname" >&6; } if test aix != "$with_aix_soname"; then # For the AIX way of multilib, we name the shared archive member # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', @@ -14200,11 +15395,12 @@ setopt NO_GLOB_SUBST fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 -$as_echo_n "checking for objdir... " >&6; } -if ${lt_cv_objdir+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 +printf %s "checking for objdir... " >&6; } +if test ${lt_cv_objdir+y} +then : + printf %s "(cached) " >&6 +else $as_nop rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then @@ -14215,17 +15411,15 @@ fi rmdir .libs 2>/dev/null fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 -$as_echo "$lt_cv_objdir" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 +printf "%s\n" "$lt_cv_objdir" >&6; } objdir=$lt_cv_objdir -cat >>confdefs.h <<_ACEOF -#define LT_OBJDIR "$lt_cv_objdir/" -_ACEOF +printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h @@ -14271,11 +15465,12 @@ case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 -$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } -if ${lt_cv_path_MAGIC_CMD+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 +printf %s "checking for ${ac_tool_prefix}file... " >&6; } +if test ${lt_cv_path_MAGIC_CMD+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $MAGIC_CMD in [\\/*] | ?:[\\/]*) lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. @@ -14324,11 +15519,11 @@ MAGIC_CMD=$lt_cv_path_MAGIC_CMD if test -n "$MAGIC_CMD"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 -$as_echo "$MAGIC_CMD" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 +printf "%s\n" "$MAGIC_CMD" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -14337,11 +15532,12 @@ if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 -$as_echo_n "checking for file... " >&6; } -if ${lt_cv_path_MAGIC_CMD+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5 +printf %s "checking for file... " >&6; } +if test ${lt_cv_path_MAGIC_CMD+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $MAGIC_CMD in [\\/*] | ?:[\\/]*) lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. @@ -14390,11 +15586,11 @@ MAGIC_CMD=$lt_cv_path_MAGIC_CMD if test -n "$MAGIC_CMD"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 -$as_echo "$MAGIC_CMD" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 +printf "%s\n" "$MAGIC_CMD" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -14479,11 +15675,12 @@ lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; esac - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 -$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } -if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 +printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } +if test ${lt_cv_prog_compiler_rtti_exceptions+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_prog_compiler_rtti_exceptions=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext @@ -14514,8 +15711,8 @@ $RM conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 -$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 +printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; } if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" @@ -14878,26 +16075,28 @@ ;; esac -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 -$as_echo_n "checking for $compiler option to produce PIC... " >&6; } -if ${lt_cv_prog_compiler_pic+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 +printf %s "checking for $compiler option to produce PIC... " >&6; } +if test ${lt_cv_prog_compiler_pic+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_prog_compiler_pic=$lt_prog_compiler_pic fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 -$as_echo "$lt_cv_prog_compiler_pic" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 +printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; } lt_prog_compiler_pic=$lt_cv_prog_compiler_pic # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 -$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } -if ${lt_cv_prog_compiler_pic_works+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 +printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } +if test ${lt_cv_prog_compiler_pic_works+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_prog_compiler_pic_works=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext @@ -14928,8 +16127,8 @@ $RM conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 -$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 +printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; } if test yes = "$lt_cv_prog_compiler_pic_works"; then case $lt_prog_compiler_pic in @@ -14957,11 +16156,12 @@ # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 -$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } -if ${lt_cv_prog_compiler_static_works+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 +printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } +if test ${lt_cv_prog_compiler_static_works+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_prog_compiler_static_works=no save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS $lt_tmp_static_flag" @@ -14985,8 +16185,8 @@ LDFLAGS=$save_LDFLAGS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 -$as_echo "$lt_cv_prog_compiler_static_works" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 +printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; } if test yes = "$lt_cv_prog_compiler_static_works"; then : @@ -15000,11 +16200,12 @@ - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 -$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -if ${lt_cv_prog_compiler_c_o+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 +printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +if test ${lt_cv_prog_compiler_c_o+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_prog_compiler_c_o=no $RM -r conftest 2>/dev/null mkdir conftest @@ -15047,19 +16248,20 @@ $RM conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 -$as_echo "$lt_cv_prog_compiler_c_o" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 +printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 -$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -if ${lt_cv_prog_compiler_c_o+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 +printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +if test ${lt_cv_prog_compiler_c_o+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_prog_compiler_c_o=no $RM -r conftest 2>/dev/null mkdir conftest @@ -15102,8 +16304,8 @@ $RM conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 -$as_echo "$lt_cv_prog_compiler_c_o" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 +printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; } @@ -15111,19 +16313,19 @@ hard_links=nottested if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then # do not overwrite the value of need_locks provided by the user - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 -$as_echo_n "checking if we can lock with hard links... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 +printf %s "checking if we can lock with hard links... " >&6; } hard_links=yes $RM conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 -$as_echo "$hard_links" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 +printf "%s\n" "$hard_links" >&6; } if test no = "$hard_links"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 -$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 +printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} need_locks=warn fi else @@ -15135,8 +16337,8 @@ - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 -$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } runpath_var= allow_undefined_flag= @@ -15694,21 +16896,23 @@ if test set = "${lt_cv_aix_libpath+set}"; then aix_libpath=$lt_cv_aix_libpath else - if ${lt_cv_aix_libpath_+:} false; then : - $as_echo_n "(cached) " >&6 -else + if test ${lt_cv_aix_libpath_+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : lt_aix_libpath_sed=' /Import File Strings/,/^$/ { @@ -15723,7 +16927,7 @@ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_=/usr/lib:/lib @@ -15747,21 +16951,23 @@ if test set = "${lt_cv_aix_libpath+set}"; then aix_libpath=$lt_cv_aix_libpath else - if ${lt_cv_aix_libpath_+:} false; then : - $as_echo_n "(cached) " >&6 -else + if test ${lt_cv_aix_libpath_+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : lt_aix_libpath_sed=' /Import File Strings/,/^$/ { @@ -15776,7 +16982,7 @@ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_=/usr/lib:/lib @@ -16027,11 +17233,12 @@ # Older versions of the 11.00 compiler do not understand -b yet # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 -$as_echo_n "checking if $CC understands -b... " >&6; } -if ${lt_cv_prog_compiler__b+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 +printf %s "checking if $CC understands -b... " >&6; } +if test ${lt_cv_prog_compiler__b+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_prog_compiler__b=no save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS -b" @@ -16055,8 +17262,8 @@ LDFLAGS=$save_LDFLAGS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 -$as_echo "$lt_cv_prog_compiler__b" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 +printf "%s\n" "$lt_cv_prog_compiler__b" >&6; } if test yes = "$lt_cv_prog_compiler__b"; then archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' @@ -16096,28 +17303,30 @@ # work, assume that -exports_file does not work either and # implicitly export all symbols. # This should be the same for all languages, so no per-tag cache variable. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 -$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } -if ${lt_cv_irix_exported_symbol+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 +printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; } +if test ${lt_cv_irix_exported_symbol+y} +then : + printf %s "(cached) " >&6 +else $as_nop save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int foo (void) { return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : lt_cv_irix_exported_symbol=yes -else +else $as_nop lt_cv_irix_exported_symbol=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LDFLAGS=$save_LDFLAGS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 -$as_echo "$lt_cv_irix_exported_symbol" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 +printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; } if test yes = "$lt_cv_irix_exported_symbol"; then archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib' fi @@ -16398,8 +17607,8 @@ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 -$as_echo "$ld_shlibs" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 +printf "%s\n" "$ld_shlibs" >&6; } test no = "$ld_shlibs" && can_build_shared=no with_gnu_ld=$with_gnu_ld @@ -16435,18 +17644,19 @@ # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 -$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } -if ${lt_cv_archive_cmds_need_lc+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 +printf %s "checking whether -lc should be explicitly linked in... " >&6; } +if test ${lt_cv_archive_cmds_need_lc+y} +then : + printf %s "(cached) " >&6 +else $as_nop $RM conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } 2>conftest.err; then soname=conftest lib=conftest @@ -16464,7 +17674,7 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } then lt_cv_archive_cmds_need_lc=no @@ -16478,8 +17688,8 @@ $RM conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 -$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 +printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; } archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc ;; esac @@ -16638,8 +17848,8 @@ - { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 -$as_echo_n "checking dynamic linker characteristics... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 +printf %s "checking dynamic linker characteristics... " >&6; } if test yes = "$GCC"; then case $host_os in @@ -17200,9 +18410,10 @@ shlibpath_overrides_runpath=no # Some binutils ld are patched to set DT_RUNPATH - if ${lt_cv_shlibpath_overrides_runpath+:} false; then : - $as_echo_n "(cached) " >&6 -else + if test ${lt_cv_shlibpath_overrides_runpath+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_shlibpath_overrides_runpath=no save_LDFLAGS=$LDFLAGS save_libdir=$libdir @@ -17212,19 +18423,21 @@ /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : - if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : +if ac_fn_c_try_link "$LINENO" +then : + if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null +then : lt_cv_shlibpath_overrides_runpath=yes fi fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LDFLAGS=$save_LDFLAGS libdir=$save_libdir @@ -17468,8 +18681,8 @@ dynamic_linker=no ;; esac -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 -$as_echo "$dynamic_linker" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 +printf "%s\n" "$dynamic_linker" >&6; } test no = "$dynamic_linker" && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" @@ -17590,8 +18803,8 @@ - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 -$as_echo_n "checking how to hardcode library paths into programs... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 +printf %s "checking how to hardcode library paths into programs... " >&6; } hardcode_action= if test -n "$hardcode_libdir_flag_spec" || test -n "$runpath_var" || @@ -17615,8 +18828,8 @@ # directories. hardcode_action=unsupported fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 -$as_echo "$hardcode_action" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 +printf "%s\n" "$hardcode_action" >&6; } if test relink = "$hardcode_action" || test yes = "$inherit_rpath"; then @@ -17660,11 +18873,12 @@ darwin*) # if libdl is installed we need to link against it - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 -$as_echo_n "checking for dlopen in -ldl... " >&6; } -if ${ac_cv_lib_dl_dlopen+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 +printf %s "checking for dlopen in -ldl... " >&6; } +if test ${ac_cv_lib_dl_dlopen+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -17673,32 +18887,31 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char dlopen (); int -main () +main (void) { return dlopen (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_dl_dlopen=yes -else +else $as_nop ac_cv_lib_dl_dlopen=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 -$as_echo "$ac_cv_lib_dl_dlopen" >&6; } -if test "x$ac_cv_lib_dl_dlopen" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 +printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; } +if test "x$ac_cv_lib_dl_dlopen" = xyes +then : lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl -else +else $as_nop lt_cv_dlopen=dyld lt_cv_dlopen_libs= @@ -17718,14 +18931,16 @@ *) ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" -if test "x$ac_cv_func_shl_load" = xyes; then : +if test "x$ac_cv_func_shl_load" = xyes +then : lt_cv_dlopen=shl_load -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 -$as_echo_n "checking for shl_load in -ldld... " >&6; } -if ${ac_cv_lib_dld_shl_load+:} false; then : - $as_echo_n "(cached) " >&6 -else +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 +printf %s "checking for shl_load in -ldld... " >&6; } +if test ${ac_cv_lib_dld_shl_load+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -17734,41 +18949,42 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char shl_load (); int -main () +main (void) { return shl_load (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_dld_shl_load=yes -else +else $as_nop ac_cv_lib_dld_shl_load=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 -$as_echo "$ac_cv_lib_dld_shl_load" >&6; } -if test "x$ac_cv_lib_dld_shl_load" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 +printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; } +if test "x$ac_cv_lib_dld_shl_load" = xyes +then : lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld -else +else $as_nop ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" -if test "x$ac_cv_func_dlopen" = xyes; then : +if test "x$ac_cv_func_dlopen" = xyes +then : lt_cv_dlopen=dlopen -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 -$as_echo_n "checking for dlopen in -ldl... " >&6; } -if ${ac_cv_lib_dl_dlopen+:} false; then : - $as_echo_n "(cached) " >&6 -else +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 +printf %s "checking for dlopen in -ldl... " >&6; } +if test ${ac_cv_lib_dl_dlopen+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -17777,37 +18993,37 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char dlopen (); int -main () +main (void) { return dlopen (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_dl_dlopen=yes -else +else $as_nop ac_cv_lib_dl_dlopen=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 -$as_echo "$ac_cv_lib_dl_dlopen" >&6; } -if test "x$ac_cv_lib_dl_dlopen" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 +printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; } +if test "x$ac_cv_lib_dl_dlopen" = xyes +then : lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 -$as_echo_n "checking for dlopen in -lsvld... " >&6; } -if ${ac_cv_lib_svld_dlopen+:} false; then : - $as_echo_n "(cached) " >&6 -else +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 +printf %s "checking for dlopen in -lsvld... " >&6; } +if test ${ac_cv_lib_svld_dlopen+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lsvld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -17816,37 +19032,37 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char dlopen (); int -main () +main (void) { return dlopen (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_svld_dlopen=yes -else +else $as_nop ac_cv_lib_svld_dlopen=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 -$as_echo "$ac_cv_lib_svld_dlopen" >&6; } -if test "x$ac_cv_lib_svld_dlopen" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 +printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; } +if test "x$ac_cv_lib_svld_dlopen" = xyes +then : lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 -$as_echo_n "checking for dld_link in -ldld... " >&6; } -if ${ac_cv_lib_dld_dld_link+:} false; then : - $as_echo_n "(cached) " >&6 -else +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 +printf %s "checking for dld_link in -ldld... " >&6; } +if test ${ac_cv_lib_dld_dld_link+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -17855,30 +19071,29 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char dld_link (); int -main () +main (void) { return dld_link (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_dld_dld_link=yes -else +else $as_nop ac_cv_lib_dld_dld_link=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 -$as_echo "$ac_cv_lib_dld_dld_link" >&6; } -if test "x$ac_cv_lib_dld_dld_link" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 +printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; } +if test "x$ac_cv_lib_dld_dld_link" = xyes +then : lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld fi @@ -17917,11 +19132,12 @@ save_LIBS=$LIBS LIBS="$lt_cv_dlopen_libs $LIBS" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 -$as_echo_n "checking whether a program can dlopen itself... " >&6; } -if ${lt_cv_dlopen_self+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 +printf %s "checking whether a program can dlopen itself... " >&6; } +if test ${lt_cv_dlopen_self+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test yes = "$cross_compiling"; then : lt_cv_dlopen_self=cross else @@ -18000,7 +19216,7 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? @@ -18018,16 +19234,17 @@ fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 -$as_echo "$lt_cv_dlopen_self" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 +printf "%s\n" "$lt_cv_dlopen_self" >&6; } if test yes = "$lt_cv_dlopen_self"; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 -$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } -if ${lt_cv_dlopen_self_static+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 +printf %s "checking whether a statically linked program can dlopen itself... " >&6; } +if test ${lt_cv_dlopen_self_static+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test yes = "$cross_compiling"; then : lt_cv_dlopen_self_static=cross else @@ -18106,7 +19323,7 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? @@ -18124,8 +19341,8 @@ fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 -$as_echo "$lt_cv_dlopen_self_static" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 +printf "%s\n" "$lt_cv_dlopen_self_static" >&6; } fi CPPFLAGS=$save_CPPFLAGS @@ -18163,13 +19380,13 @@ striplib= old_striplib= -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 -$as_echo_n "checking whether stripping libraries is possible... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 +printf %s "checking whether stripping libraries is possible... " >&6; } if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in @@ -18177,16 +19394,16 @@ if test -n "$STRIP"; then striplib="$STRIP -x" old_striplib="$STRIP -S" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi ;; *) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } ;; esac fi @@ -18203,13 +19420,13 @@ # Report what library types will actually be built - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 -$as_echo_n "checking if libtool supports shared libraries... " >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 -$as_echo "$can_build_shared" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 +printf %s "checking if libtool supports shared libraries... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 +printf "%s\n" "$can_build_shared" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 -$as_echo_n "checking whether to build shared libraries... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 +printf %s "checking whether to build shared libraries... " >&6; } test no = "$can_build_shared" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and @@ -18233,15 +19450,15 @@ fi ;; esac - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 -$as_echo "$enable_shared" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 +printf "%s\n" "$enable_shared" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 -$as_echo_n "checking whether to build static libraries... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 +printf %s "checking whether to build static libraries... " >&6; } # Make sure either enable_shared or enable_static is yes. test yes = "$enable_shared" || enable_static=yes - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 -$as_echo "$enable_static" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 +printf "%s\n" "$enable_static" >&6; } @@ -18263,36 +19480,32 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 -$as_echo_n "checking how to run the C++ preprocessor... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 +printf %s "checking how to run the C++ preprocessor... " >&6; } if test -z "$CXXCPP"; then - if ${ac_cv_prog_CXXCPP+:} false; then : - $as_echo_n "(cached) " >&6 -else - # Double quotes because CXXCPP needs to be expanded - for CXXCPP in "$CXX -E" "/lib/cpp" + if test ${ac_cv_prog_CXXCPP+y} +then : + printf %s "(cached) " >&6 +else $as_nop + # Double quotes because $CXX needs to be expanded + for CXXCPP in "$CXX -E" cpp /lib/cpp do ac_preproc_ok=false for ac_cxx_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif +#include Syntax error _ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : +if ac_fn_cxx_try_cpp "$LINENO" +then : -else +else $as_nop # Broken: fails on valid input. continue fi @@ -18304,10 +19517,11 @@ /* end confdefs.h. */ #include _ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : +if ac_fn_cxx_try_cpp "$LINENO" +then : # Broken: success on invalid input. continue -else +else $as_nop # Passes both tests. ac_preproc_ok=: break @@ -18317,7 +19531,8 @@ done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : +if $ac_preproc_ok +then : break fi @@ -18329,29 +19544,24 @@ else ac_cv_prog_CXXCPP=$CXXCPP fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 -$as_echo "$CXXCPP" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 +printf "%s\n" "$CXXCPP" >&6; } ac_preproc_ok=false for ac_cxx_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif +#include Syntax error _ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : +if ac_fn_cxx_try_cpp "$LINENO" +then : -else +else $as_nop # Broken: fails on valid input. continue fi @@ -18363,10 +19573,11 @@ /* end confdefs.h. */ #include _ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : +if ac_fn_cxx_try_cpp "$LINENO" +then : # Broken: success on invalid input. continue -else +else $as_nop # Passes both tests. ac_preproc_ok=: break @@ -18376,11 +19587,12 @@ done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : +if $ac_preproc_ok +then : -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +else $as_nop + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check See \`config.log' for more details" "$LINENO" 5; } fi @@ -18516,17 +19728,18 @@ # Check whether --with-gnu-ld was given. -if test "${with_gnu_ld+set}" = set; then : +if test ${with_gnu_ld+y} +then : withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes -else +else $as_nop with_gnu_ld=no fi ac_prog=ld if test yes = "$GCC"; then # Check if gcc -print-prog-name=ld gives a path. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 -$as_echo_n "checking for ld used by $CC... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 +printf %s "checking for ld used by $CC... " >&6; } case $host in *-*-mingw*) # gcc leaves a trailing carriage return, which upsets mingw @@ -18555,15 +19768,16 @@ ;; esac elif test yes = "$with_gnu_ld"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 -$as_echo_n "checking for GNU ld... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 +printf %s "checking for GNU ld... " >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 -$as_echo_n "checking for non-GNU ld... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 +printf %s "checking for non-GNU ld... " >&6; } fi -if ${lt_cv_path_LD+:} false; then : - $as_echo_n "(cached) " >&6 -else +if test ${lt_cv_path_LD+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -z "$LD"; then lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do @@ -18592,18 +19806,19 @@ LD=$lt_cv_path_LD if test -n "$LD"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 -$as_echo "$LD" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 +printf "%s\n" "$LD" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 -$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } -if ${lt_cv_prog_gnu_ld+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 +printf %s "checking if the linker ($LD) is GNU ld... " >&6; } +if test ${lt_cv_prog_gnu_ld+y} +then : + printf %s "(cached) " >&6 +else $as_nop # I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 &5 -$as_echo "$lt_cv_prog_gnu_ld" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 +printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; } with_gnu_ld=$lt_cv_prog_gnu_ld @@ -18669,8 +19884,8 @@ fi # PORTME: fill in a description of your system's C++ link characteristics - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 -$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } ld_shlibs_CXX=yes case $host_os in aix3*) @@ -18808,21 +20023,23 @@ if test set = "${lt_cv_aix_libpath+set}"; then aix_libpath=$lt_cv_aix_libpath else - if ${lt_cv_aix_libpath__CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else + if test ${lt_cv_aix_libpath__CXX+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : +if ac_fn_cxx_try_link "$LINENO" +then : lt_aix_libpath_sed=' /Import File Strings/,/^$/ { @@ -18837,7 +20054,7 @@ lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if test -z "$lt_cv_aix_libpath__CXX"; then lt_cv_aix_libpath__CXX=/usr/lib:/lib @@ -18862,21 +20079,23 @@ if test set = "${lt_cv_aix_libpath+set}"; then aix_libpath=$lt_cv_aix_libpath else - if ${lt_cv_aix_libpath__CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else + if test ${lt_cv_aix_libpath__CXX+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : +if ac_fn_cxx_try_link "$LINENO" +then : lt_aix_libpath_sed=' /Import File Strings/,/^$/ { @@ -18891,7 +20110,7 @@ lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if test -z "$lt_cv_aix_libpath__CXX"; then lt_cv_aix_libpath__CXX=/usr/lib:/lib @@ -19742,8 +20961,8 @@ ;; esac - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 -$as_echo "$ld_shlibs_CXX" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 +printf "%s\n" "$ld_shlibs_CXX" >&6; } test no = "$ld_shlibs_CXX" && can_build_shared=no GCC_CXX=$GXX @@ -19781,7 +21000,7 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then # Parse the compiler output and extract the necessary # objects, libraries and library flags. @@ -20262,26 +21481,28 @@ ;; esac -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 -$as_echo_n "checking for $compiler option to produce PIC... " >&6; } -if ${lt_cv_prog_compiler_pic_CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 +printf %s "checking for $compiler option to produce PIC... " >&6; } +if test ${lt_cv_prog_compiler_pic_CXX+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 -$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 +printf "%s\n" "$lt_cv_prog_compiler_pic_CXX" >&6; } lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic_CXX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 -$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } -if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 +printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } +if test ${lt_cv_prog_compiler_pic_works_CXX+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_prog_compiler_pic_works_CXX=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext @@ -20312,8 +21533,8 @@ $RM conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 -$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 +printf "%s\n" "$lt_cv_prog_compiler_pic_works_CXX" >&6; } if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then case $lt_prog_compiler_pic_CXX in @@ -20335,11 +21556,12 @@ # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 -$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } -if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 +printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } +if test ${lt_cv_prog_compiler_static_works_CXX+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_prog_compiler_static_works_CXX=no save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS $lt_tmp_static_flag" @@ -20363,8 +21585,8 @@ LDFLAGS=$save_LDFLAGS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 -$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 +printf "%s\n" "$lt_cv_prog_compiler_static_works_CXX" >&6; } if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then : @@ -20375,11 +21597,12 @@ - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 -$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 +printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +if test ${lt_cv_prog_compiler_c_o_CXX+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_prog_compiler_c_o_CXX=no $RM -r conftest 2>/dev/null mkdir conftest @@ -20422,16 +21645,17 @@ $RM conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 -$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 +printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 -$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 +printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +if test ${lt_cv_prog_compiler_c_o_CXX+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_prog_compiler_c_o_CXX=no $RM -r conftest 2>/dev/null mkdir conftest @@ -20474,8 +21698,8 @@ $RM conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 -$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 +printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; } @@ -20483,19 +21707,19 @@ hard_links=nottested if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then # do not overwrite the value of need_locks provided by the user - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 -$as_echo_n "checking if we can lock with hard links... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 +printf %s "checking if we can lock with hard links... " >&6; } hard_links=yes $RM conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 -$as_echo "$hard_links" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 +printf "%s\n" "$hard_links" >&6; } if test no = "$hard_links"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 -$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 +printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} need_locks=warn fi else @@ -20504,8 +21728,8 @@ - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 -$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' @@ -20547,8 +21771,8 @@ ;; esac -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 -$as_echo "$ld_shlibs_CXX" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 +printf "%s\n" "$ld_shlibs_CXX" >&6; } test no = "$ld_shlibs_CXX" && can_build_shared=no with_gnu_ld_CXX=$with_gnu_ld @@ -20575,18 +21799,19 @@ # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 -$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } -if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 +printf %s "checking whether -lc should be explicitly linked in... " >&6; } +if test ${lt_cv_archive_cmds_need_lc_CXX+y} +then : + printf %s "(cached) " >&6 +else $as_nop $RM conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } 2>conftest.err; then soname=conftest lib=conftest @@ -20604,7 +21829,7 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } then lt_cv_archive_cmds_need_lc_CXX=no @@ -20618,8 +21843,8 @@ $RM conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 -$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 +printf "%s\n" "$lt_cv_archive_cmds_need_lc_CXX" >&6; } archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX ;; esac @@ -20688,8 +21913,8 @@ - { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 -$as_echo_n "checking dynamic linker characteristics... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 +printf %s "checking dynamic linker characteristics... " >&6; } library_names_spec= libname_spec='lib$name' @@ -21177,9 +22402,10 @@ shlibpath_overrides_runpath=no # Some binutils ld are patched to set DT_RUNPATH - if ${lt_cv_shlibpath_overrides_runpath+:} false; then : - $as_echo_n "(cached) " >&6 -else + if test ${lt_cv_shlibpath_overrides_runpath+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_shlibpath_overrides_runpath=no save_LDFLAGS=$LDFLAGS save_libdir=$libdir @@ -21189,19 +22415,21 @@ /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : +if ac_fn_cxx_try_link "$LINENO" +then : + if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null +then : lt_cv_shlibpath_overrides_runpath=yes fi fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LDFLAGS=$save_LDFLAGS libdir=$save_libdir @@ -21445,8 +22673,8 @@ dynamic_linker=no ;; esac -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 -$as_echo "$dynamic_linker" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 +printf "%s\n" "$dynamic_linker" >&6; } test no = "$dynamic_linker" && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" @@ -21510,8 +22738,8 @@ - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 -$as_echo_n "checking how to hardcode library paths into programs... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 +printf %s "checking how to hardcode library paths into programs... " >&6; } hardcode_action_CXX= if test -n "$hardcode_libdir_flag_spec_CXX" || test -n "$runpath_var_CXX" || @@ -21535,8 +22763,8 @@ # directories. hardcode_action_CXX=unsupported fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 -$as_echo "$hardcode_action_CXX" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 +printf "%s\n" "$hardcode_action_CXX" >&6; } if test relink = "$hardcode_action_CXX" || test yes = "$inherit_rpath_CXX"; then @@ -21600,11 +22828,12 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args. set dummy ${ac_tool_prefix}windres; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_RC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_RC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$RC"; then ac_cv_prog_RC="$RC" # Let the user override the test. else @@ -21612,11 +22841,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_RC="${ac_tool_prefix}windres" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -21627,11 +22860,11 @@ fi RC=$ac_cv_prog_RC if test -n "$RC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC" >&5 -$as_echo "$RC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RC" >&5 +printf "%s\n" "$RC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -21640,11 +22873,12 @@ ac_ct_RC=$RC # Extract the first word of "windres", so it can be a program name with args. set dummy windres; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_RC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_RC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_RC"; then ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test. else @@ -21652,11 +22886,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_RC="windres" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -21667,11 +22905,11 @@ fi ac_ct_RC=$ac_cv_prog_ac_ct_RC if test -n "$ac_ct_RC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5 -$as_echo "$ac_ct_RC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5 +printf "%s\n" "$ac_ct_RC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_RC" = x; then @@ -21679,8 +22917,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac RC=$ac_ct_RC @@ -21774,11 +23012,12 @@ # Josh Triplett # Extract the first word of "bash", so it can be a program name with args. set dummy bash; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_DOLT_BASH+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_DOLT_BASH+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $DOLT_BASH in [\\/]* | ?:[\\/]*) ac_cv_path_DOLT_BASH="$DOLT_BASH" # Let the user override the test with a path. @@ -21788,11 +23027,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_DOLT_BASH="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_DOLT_BASH="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -21804,21 +23047,23 @@ fi DOLT_BASH=$ac_cv_path_DOLT_BASH if test -n "$DOLT_BASH"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOLT_BASH" >&5 -$as_echo "$DOLT_BASH" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DOLT_BASH" >&5 +printf "%s\n" "$DOLT_BASH" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if dolt supports this host" >&5 -$as_echo_n "checking if dolt supports this host... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if dolt supports this host" >&5 +printf %s "checking if dolt supports this host... " >&6; } dolt_supported=yes -if test x$DOLT_BASH = x; then : +if test x$DOLT_BASH = x +then : dolt_supported=no fi -if test x$GCC != xyes; then : +if test x$GCC != xyes +then : dolt_supported=no fi @@ -21834,18 +23079,19 @@ dolt_supported=no ;; esac -if test x$dolt_supported = xno; then : +if test x$dolt_supported = xno +then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, falling back to libtool" >&5 -$as_echo "no, falling back to libtool" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, falling back to libtool" >&5 +printf "%s\n" "no, falling back to libtool" >&6; } LTCOMPILE='$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(COMPILE)' LTCXXCOMPILE='$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXXCOMPILE)' -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, replacing libtool" >&5 -$as_echo "yes, replacing libtool" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes, replacing libtool" >&5 +printf "%s\n" "yes, replacing libtool" >&6; } cat <<__DOLTCOMPILE__EOF__ >doltcompile #!$DOLT_BASH @@ -21985,7 +23231,8 @@ lt_cv_deplibs_check_method=pass_all -if test "${enable_shared}" = "no" -a "${enable_vlc}" != "no"; then : +if test "${enable_shared}" = "no" -a "${enable_vlc}" != "no" +then : as_fn_error $? "VLC is based on plugins. Shared libraries cannot be disabled." "$LINENO" 5 @@ -21993,17 +23240,18 @@ - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 -$as_echo_n "checking whether NLS is requested... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 +printf %s "checking whether NLS is requested... " >&6; } # Check whether --enable-nls was given. -if test "${enable_nls+set}" = set; then : +if test ${enable_nls+y} +then : enableval=$enable_nls; USE_NLS=$enableval -else +else $as_nop USE_NLS=yes fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 -$as_echo "$USE_NLS" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +printf "%s\n" "$USE_NLS" >&6; } @@ -22042,11 +23290,12 @@ # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_MSGFMT+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_MSGFMT+y} +then : + printf %s "(cached) " >&6 +else $as_nop case "$MSGFMT" in [\\/]* | ?:[\\/]*) ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. @@ -22074,20 +23323,21 @@ fi MSGFMT="$ac_cv_path_MSGFMT" if test "$MSGFMT" != ":"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 -$as_echo "$MSGFMT" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 +printf "%s\n" "$MSGFMT" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_GMSGFMT+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_GMSGFMT+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $GMSGFMT in [\\/]* | ?:[\\/]*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. @@ -22097,11 +23347,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_GMSGFMT="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -22114,11 +23368,11 @@ fi GMSGFMT=$ac_cv_path_GMSGFMT if test -n "$GMSGFMT"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 -$as_echo "$GMSGFMT" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 +printf "%s\n" "$GMSGFMT" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -22164,11 +23418,12 @@ # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_XGETTEXT+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_XGETTEXT+y} +then : + printf %s "(cached) " >&6 +else $as_nop case "$XGETTEXT" in [\\/]* | ?:[\\/]*) ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. @@ -22196,11 +23451,11 @@ fi XGETTEXT="$ac_cv_path_XGETTEXT" if test "$XGETTEXT" != ":"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 -$as_echo "$XGETTEXT" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 +printf "%s\n" "$XGETTEXT" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi rm -f messages.po @@ -22241,11 +23496,12 @@ # Extract the first word of "msgmerge", so it can be a program name with args. set dummy msgmerge; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_MSGMERGE+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_MSGMERGE+y} +then : + printf %s "(cached) " >&6 +else $as_nop case "$MSGMERGE" in [\\/]* | ?:[\\/]*) ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. @@ -22272,11 +23528,11 @@ fi MSGMERGE="$ac_cv_path_MSGMERGE" if test "$MSGMERGE" != ":"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 -$as_echo "$MSGMERGE" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 +printf "%s\n" "$MSGMERGE" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -22308,9 +23564,10 @@ # Check whether --with-gnu-ld was given. -if test "${with_gnu_ld+set}" = set; then : +if test ${with_gnu_ld+y} +then : withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes -else +else $as_nop with_gnu_ld=no fi @@ -22330,8 +23587,8 @@ ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 -$as_echo_n "checking for ld used by $CC... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 +printf %s "checking for ld used by $CC... " >&6; } case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw @@ -22360,15 +23617,16 @@ ;; esac elif test "$with_gnu_ld" = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 -$as_echo_n "checking for GNU ld... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 +printf %s "checking for GNU ld... " >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 -$as_echo_n "checking for non-GNU ld... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 +printf %s "checking for non-GNU ld... " >&6; } fi -if ${acl_cv_path_LD+:} false; then : - $as_echo_n "(cached) " >&6 -else +if test ${acl_cv_path_LD+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -z "$LD"; then acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do @@ -22397,18 +23655,19 @@ LD="$acl_cv_path_LD" if test -n "$LD"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 -$as_echo "$LD" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 +printf "%s\n" "$LD" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 -$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } -if ${acl_cv_prog_gnu_ld+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 +printf %s "checking if the linker ($LD) is GNU ld... " >&6; } +if test ${acl_cv_prog_gnu_ld+y} +then : + printf %s "(cached) " >&6 +else $as_nop # I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 &5 -$as_echo "$acl_cv_prog_gnu_ld" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 +printf "%s\n" "$acl_cv_prog_gnu_ld" >&6; } with_gnu_ld=$acl_cv_prog_gnu_ld - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 -$as_echo_n "checking for shared library run path origin... " >&6; } -if ${acl_cv_rpath+:} false; then : - $as_echo_n "(cached) " >&6 -else + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 +printf %s "checking for shared library run path origin... " >&6; } +if test ${acl_cv_rpath+y} +then : + printf %s "(cached) " >&6 +else $as_nop CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh @@ -22439,8 +23700,8 @@ acl_cv_rpath=done fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 -$as_echo "$acl_cv_rpath" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 +printf "%s\n" "$acl_cv_rpath" >&6; } wl="$acl_cv_wl" acl_libext="$acl_cv_libext" acl_shlibext="$acl_cv_shlibext" @@ -22451,9 +23712,10 @@ acl_hardcode_direct="$acl_cv_hardcode_direct" acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" # Check whether --enable-rpath was given. -if test "${enable_rpath+set}" = set; then : +if test ${enable_rpath+y} +then : enableval=$enable_rpath; : -else +else $as_nop enable_rpath=yes fi @@ -22464,11 +23726,12 @@ acl_libdirstem2= case "$host_os" in solaris*) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 -$as_echo_n "checking for 64-bit host... " >&6; } -if ${gl_cv_solaris_64bit+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 +printf %s "checking for 64-bit host... " >&6; } +if test ${gl_cv_solaris_64bit+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -22478,17 +23741,18 @@ _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "sixtyfour bits" >/dev/null 2>&1; then : + $EGREP "sixtyfour bits" >/dev/null 2>&1 +then : gl_cv_solaris_64bit=yes -else +else $as_nop gl_cv_solaris_64bit=no fi -rm -f conftest* +rm -rf conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 -$as_echo "$gl_cv_solaris_64bit" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 +printf "%s\n" "$gl_cv_solaris_64bit" >&6; } if test $gl_cv_solaris_64bit = yes; then acl_libdirstem=lib/64 case "$host_cpu" in @@ -22547,7 +23811,8 @@ # Check whether --with-libiconv-prefix was given. -if test "${with_libiconv_prefix+set}" = set; then : +if test ${with_libiconv_prefix+y} +then : withval=$with_libiconv_prefix; if test "X$withval" = "Xno"; then use_additional=no @@ -23011,72 +24276,76 @@ - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 -$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } -if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 +printf %s "checking for CFPreferencesCopyAppValue... " >&6; } +if test ${gt_cv_func_CFPreferencesCopyAppValue+y} +then : + printf %s "(cached) " >&6 +else $as_nop gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { CFPreferencesCopyAppValue(NULL, NULL) ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : gt_cv_func_CFPreferencesCopyAppValue=yes -else +else $as_nop gt_cv_func_CFPreferencesCopyAppValue=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$gt_save_LIBS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 -$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 +printf "%s\n" "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then -$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h +printf "%s\n" "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 -$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } -if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 +printf %s "checking for CFLocaleCopyCurrent... " >&6; } +if test ${gt_cv_func_CFLocaleCopyCurrent+y} +then : + printf %s "(cached) " >&6 +else $as_nop gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { CFLocaleCopyCurrent(); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : gt_cv_func_CFLocaleCopyCurrent=yes -else +else $as_nop gt_cv_func_CFLocaleCopyCurrent=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$gt_save_LIBS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 -$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 +printf "%s\n" "$gt_cv_func_CFLocaleCopyCurrent" >&6; } if test $gt_cv_func_CFLocaleCopyCurrent = yes; then -$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h +printf "%s\n" "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h fi INTL_MACOSX_LIBS= @@ -23121,11 +24390,12 @@ gt_expression_test_code= fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 -$as_echo_n "checking for GNU gettext in libc... " >&6; } -if eval \${$gt_func_gnugettext_libc+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 +printf %s "checking for GNU gettext in libc... " >&6; } +if eval test \${$gt_func_gnugettext_libc+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -23140,7 +24410,7 @@ $gt_revision_test_code int -main () +main (void) { bindtextdomain ("", ""); @@ -23150,17 +24420,18 @@ return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$gt_func_gnugettext_libc=yes" -else +else $as_nop eval "$gt_func_gnugettext_libc=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$$gt_func_gnugettext_libc - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then @@ -23193,11 +24464,12 @@ done - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 -$as_echo_n "checking for iconv... " >&6; } -if ${am_cv_func_iconv+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 +printf %s "checking for iconv... " >&6; } +if test ${am_cv_func_iconv+y} +then : + printf %s "(cached) " >&6 +else $as_nop am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no @@ -23208,7 +24480,7 @@ #include int -main () +main (void) { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); @@ -23217,10 +24489,11 @@ return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : am_cv_func_iconv=yes fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if test "$am_cv_func_iconv" != yes; then am_save_LIBS="$LIBS" @@ -23232,7 +24505,7 @@ #include int -main () +main (void) { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); @@ -23241,24 +24514,26 @@ return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : am_cv_lib_iconv=yes am_cv_func_iconv=yes fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$am_save_LIBS" fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 -$as_echo "$am_cv_func_iconv" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 +printf "%s\n" "$am_cv_func_iconv" >&6; } if test "$am_cv_func_iconv" = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 -$as_echo_n "checking for working iconv... " >&6; } -if ${am_cv_func_iconv_works+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 +printf %s "checking for working iconv... " >&6; } +if test ${am_cv_func_iconv_works+y} +then : + printf %s "(cached) " >&6 +else $as_nop am_save_LIBS="$LIBS" if test $am_cv_lib_iconv = yes; then @@ -23266,12 +24541,13 @@ fi am_cv_func_iconv_works=no for ac_iconv_const in '' 'const'; do - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes +then : case "$host_os" in aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; *) am_cv_func_iconv_works="guessing yes" ;; esac -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -23283,7 +24559,7 @@ #endif int -main () +main (void) { int result = 0; /* Test against AIX 5.1 bug: Failures are not distinguishable from successful @@ -23385,7 +24661,8 @@ return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : am_cv_func_iconv_works=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -23397,8 +24674,8 @@ LIBS="$am_save_LIBS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 -$as_echo "$am_cv_func_iconv_works" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 +printf "%s\n" "$am_cv_func_iconv_works" >&6; } case "$am_cv_func_iconv_works" in *no) am_func_iconv=no am_cv_lib_iconv=no ;; *) am_func_iconv=yes ;; @@ -23408,14 +24685,14 @@ fi if test "$am_func_iconv" = yes; then -$as_echo "#define HAVE_ICONV 1" >>confdefs.h +printf "%s\n" "#define HAVE_ICONV 1" >>confdefs.h fi if test "$am_cv_lib_iconv" = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 -$as_echo_n "checking how to link with libiconv... " >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 -$as_echo "$LIBICONV" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 +printf %s "checking how to link with libiconv... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 +printf "%s\n" "$LIBICONV" >&6; } else CPPFLAGS="$am_save_CPPFLAGS" LIBICONV= @@ -23447,7 +24724,8 @@ # Check whether --with-libintl-prefix was given. -if test "${with_libintl_prefix+set}" = set; then : +if test ${with_libintl_prefix+y} +then : withval=$with_libintl_prefix; if test "X$withval" = "Xno"; then use_additional=no @@ -23886,11 +25164,12 @@ - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 -$as_echo_n "checking for GNU gettext in libintl... " >&6; } -if eval \${$gt_func_gnugettext_libintl+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 +printf %s "checking for GNU gettext in libintl... " >&6; } +if eval test \${$gt_func_gnugettext_libintl+y} +then : + printf %s "(cached) " >&6 +else $as_nop gt_save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $INCINTL" gt_save_LIBS="$LIBS" @@ -23913,7 +25192,7 @@ $gt_revision_test_code int -main () +main (void) { bindtextdomain ("", ""); @@ -23923,12 +25202,13 @@ return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$gt_func_gnugettext_libintl=yes" -else +else $as_nop eval "$gt_func_gnugettext_libintl=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then LIBS="$LIBS $LIBICONV" @@ -23950,7 +25230,7 @@ $gt_revision_test_code int -main () +main (void) { bindtextdomain ("", ""); @@ -23960,21 +25240,22 @@ return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : LIBINTL="$LIBINTL $LIBICONV" LTLIBINTL="$LTLIBINTL $LTLIBICONV" eval "$gt_func_gnugettext_libintl=yes" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi CPPFLAGS="$gt_save_CPPFLAGS" LIBS="$gt_save_LIBS" fi eval ac_res=\$$gt_func_gnugettext_libintl - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } fi if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ @@ -24001,20 +25282,20 @@ if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then -$as_echo "#define ENABLE_NLS 1" >>confdefs.h +printf "%s\n" "#define ENABLE_NLS 1" >>confdefs.h else USE_NLS=no fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 -$as_echo_n "checking whether to use NLS... " >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 -$as_echo "$USE_NLS" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 +printf %s "checking whether to use NLS... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +printf "%s\n" "$USE_NLS" >&6; } if test "$USE_NLS" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 -$as_echo_n "checking where the gettext function comes from... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 +printf %s "checking where the gettext function comes from... " >&6; } if test "$gt_use_preinstalled_gnugettext" = "yes"; then if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then gt_source="external libintl" @@ -24024,18 +25305,18 @@ else gt_source="included intl directory" fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 -$as_echo "$gt_source" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 +printf "%s\n" "$gt_source" >&6; } fi if test "$USE_NLS" = "yes"; then if test "$gt_use_preinstalled_gnugettext" = "yes"; then if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 -$as_echo_n "checking how to link with libintl... " >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 -$as_echo "$LIBINTL" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 +printf %s "checking how to link with libintl... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 +printf "%s\n" "$LIBINTL" >&6; } for element in $INCINTL; do haveit= @@ -24062,10 +25343,10 @@ fi -$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h +printf "%s\n" "#define HAVE_GETTEXT 1" >>confdefs.h -$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h +printf "%s\n" "#define HAVE_DCGETTEXT 1" >>confdefs.h fi @@ -24112,11 +25393,12 @@ done - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 -$as_echo_n "checking for iconv... " >&6; } -if ${am_cv_func_iconv+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 +printf %s "checking for iconv... " >&6; } +if test ${am_cv_func_iconv+y} +then : + printf %s "(cached) " >&6 +else $as_nop am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no @@ -24127,7 +25409,7 @@ #include int -main () +main (void) { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); @@ -24136,10 +25418,11 @@ return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : am_cv_func_iconv=yes fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if test "$am_cv_func_iconv" != yes; then am_save_LIBS="$LIBS" @@ -24151,7 +25434,7 @@ #include int -main () +main (void) { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); @@ -24160,24 +25443,26 @@ return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : am_cv_lib_iconv=yes am_cv_func_iconv=yes fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$am_save_LIBS" fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 -$as_echo "$am_cv_func_iconv" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 +printf "%s\n" "$am_cv_func_iconv" >&6; } if test "$am_cv_func_iconv" = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 -$as_echo_n "checking for working iconv... " >&6; } -if ${am_cv_func_iconv_works+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 +printf %s "checking for working iconv... " >&6; } +if test ${am_cv_func_iconv_works+y} +then : + printf %s "(cached) " >&6 +else $as_nop am_save_LIBS="$LIBS" if test $am_cv_lib_iconv = yes; then @@ -24185,12 +25470,13 @@ fi am_cv_func_iconv_works=no for ac_iconv_const in '' 'const'; do - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes +then : case "$host_os" in aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; *) am_cv_func_iconv_works="guessing yes" ;; esac -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -24202,7 +25488,7 @@ #endif int -main () +main (void) { int result = 0; /* Test against AIX 5.1 bug: Failures are not distinguishable from successful @@ -24304,7 +25590,8 @@ return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : am_cv_func_iconv_works=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -24316,8 +25603,8 @@ LIBS="$am_save_LIBS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 -$as_echo "$am_cv_func_iconv_works" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 +printf "%s\n" "$am_cv_func_iconv_works" >&6; } case "$am_cv_func_iconv_works" in *no) am_func_iconv=no am_cv_lib_iconv=no ;; *) am_func_iconv=yes ;; @@ -24327,14 +25614,14 @@ fi if test "$am_func_iconv" = yes; then -$as_echo "#define HAVE_ICONV 1" >>confdefs.h +printf "%s\n" "#define HAVE_ICONV 1" >>confdefs.h fi if test "$am_cv_lib_iconv" = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 -$as_echo_n "checking how to link with libiconv... " >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 -$as_echo "$LIBICONV" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 +printf %s "checking how to link with libiconv... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 +printf "%s\n" "$LIBICONV" >&6; } else CPPFLAGS="$am_save_CPPFLAGS" LIBICONV= @@ -24344,11 +25631,12 @@ if test "$am_cv_func_iconv" = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5 -$as_echo_n "checking for iconv declaration... " >&6; } - if ${am_cv_proto_iconv+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5 +printf %s "checking for iconv declaration... " >&6; } + if test ${am_cv_proto_iconv+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -24366,37 +25654,37 @@ #endif int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : am_cv_proto_iconv_arg1="" -else +else $as_nop am_cv_proto_iconv_arg1="const" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);" fi am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` - { $as_echo "$as_me:${as_lineno-$LINENO}: result: + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_proto_iconv" >&5 -$as_echo " +printf "%s\n" " $am_cv_proto_iconv" >&6; } -cat >>confdefs.h <<_ACEOF -#define ICONV_CONST $am_cv_proto_iconv_arg1 -_ACEOF +printf "%s\n" "#define ICONV_CONST $am_cv_proto_iconv_arg1" >>confdefs.h fi -if test "${SYS}" = "mingw32"; then : +if test "${SYS}" = "mingw32" +then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -24407,11 +25695,12 @@ #endif _ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : +if ac_fn_c_try_cpp "$LINENO" +then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken mingw-runtime" >&5 -$as_echo_n "checking for broken mingw-runtime... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken mingw-runtime" >&5 +printf %s "checking for broken mingw-runtime... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -24425,15 +25714,16 @@ #endif _ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : +if ac_fn_c_try_cpp "$LINENO" +then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 -$as_echo "ok" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5 +printf "%s\n" "ok" >&6; } -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: result: present" >&5 -$as_echo "present" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: present" >&5 +printf "%s\n" "present" >&6; } as_fn_error $? "LibVLC requires mingw-runtime version 3.15 or higher, or mingw-w64 version 3.0 or higher!" "$LINENO" 5 fi @@ -24449,11 +25739,12 @@ LDFLAGS_save="${LDFLAGS}" LIBS_save="${LIBS}" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for opendir in -lmingwex" >&5 -$as_echo_n "checking for opendir in -lmingwex... " >&6; } -if ${ac_cv_lib_mingwex_opendir+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for opendir in -lmingwex" >&5 +printf %s "checking for opendir in -lmingwex... " >&6; } +if test ${ac_cv_lib_mingwex_opendir+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lmingwex $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -24462,35 +25753,35 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char opendir (); int -main () +main (void) { return opendir (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_mingwex_opendir=yes -else +else $as_nop ac_cv_lib_mingwex_opendir=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mingwex_opendir" >&5 -$as_echo "$ac_cv_lib_mingwex_opendir" >&6; } -if test "x$ac_cv_lib_mingwex_opendir" = xyes; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for opendir in -lmingw32" >&5 -$as_echo_n "checking for opendir in -lmingw32... " >&6; } -if ${ac_cv_lib_mingw32_opendir+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mingwex_opendir" >&5 +printf "%s\n" "$ac_cv_lib_mingwex_opendir" >&6; } +if test "x$ac_cv_lib_mingwex_opendir" = xyes +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for opendir in -lmingw32" >&5 +printf %s "checking for opendir in -lmingw32... " >&6; } +if test ${ac_cv_lib_mingw32_opendir+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lmingw32 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -24499,37 +25790,34 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char opendir (); int -main () +main (void) { return opendir (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_mingw32_opendir=yes -else +else $as_nop ac_cv_lib_mingw32_opendir=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mingw32_opendir" >&5 -$as_echo "$ac_cv_lib_mingw32_opendir" >&6; } -if test "x$ac_cv_lib_mingw32_opendir" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBMINGW32 1 -_ACEOF +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mingw32_opendir" >&5 +printf "%s\n" "$ac_cv_lib_mingw32_opendir" >&6; } +if test "x$ac_cv_lib_mingw32_opendir" = xyes +then : + printf "%s\n" "#define HAVE_LIBMINGW32 1" >>confdefs.h LIBS="-lmingw32 $LIBS" -else +else $as_nop eval "LIBS_libvlccore="'"'"-lmingwex "'$'"{LIBS_libvlccore}"'"' @@ -24550,19 +25838,20 @@ LIBS="${LIBS_save}" -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not compiling with mingw" >&5 -$as_echo "Not compiling with mingw" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Not compiling with mingw" >&5 +printf "%s\n" "Not compiling with mingw" >&6; } fi rm -f conftest.err conftest.i conftest.$ac_ext - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mms-bitfields" >&5 -$as_echo_n "checking whether C compiler accepts -mms-bitfields... " >&6; } -if ${ax_cv_check_cflags___mms_bitfields+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mms-bitfields" >&5 +printf %s "checking whether C compiler accepts -mms-bitfields... " >&6; } +if test ${ax_cv_check_cflags___mms_bitfields+y} +then : + printf %s "(cached) " >&6 +else $as_nop ax_check_save_flags=$CFLAGS CFLAGS="$CFLAGS -mms-bitfields" @@ -24570,85 +25859,89 @@ /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ax_cv_check_cflags___mms_bitfields=yes -else +else $as_nop ax_cv_check_cflags___mms_bitfields=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$ax_check_save_flags fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mms_bitfields" >&5 -$as_echo "$ax_cv_check_cflags___mms_bitfields" >&6; } -if test "x$ax_cv_check_cflags___mms_bitfields" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mms_bitfields" >&5 +printf "%s\n" "$ax_cv_check_cflags___mms_bitfields" >&6; } +if test "x$ax_cv_check_cflags___mms_bitfields" = xyes +then : -if ${CFLAGS+:} false; then : +if test ${CFLAGS+y} +then : case " $CFLAGS " in #( *" -mms-bitfields "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains -mms-bitfields"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains -mms-bitfields"; } >&5 (: CFLAGS already contains -mms-bitfields) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append CFLAGS " -mms-bitfields" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 (: CFLAGS="$CFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop CFLAGS=-mms-bitfields - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 (: CFLAGS="$CFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi -if ${CXXFLAGS+:} false; then : +if test ${CXXFLAGS+y} +then : case " $CXXFLAGS " in #( *" -mms-bitfields "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains -mms-bitfields"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains -mms-bitfields"; } >&5 (: CXXFLAGS already contains -mms-bitfields) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append CXXFLAGS " -mms-bitfields" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 (: CXXFLAGS="$CXXFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop CXXFLAGS=-mms-bitfields - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 (: CXXFLAGS="$CXXFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi @@ -24656,11 +25949,12 @@ # Check for the warning flag without "-Wno-", GCC accepts # -Wno- for unsupported warnings, which can trigger # other warnings instead. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wincompatible-ms-struct" >&5 -$as_echo_n "checking whether C compiler accepts -Wincompatible-ms-struct... " >&6; } -if ${ax_cv_check_cflags___Wincompatible_ms_struct+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wincompatible-ms-struct" >&5 +printf %s "checking whether C compiler accepts -Wincompatible-ms-struct... " >&6; } +if test ${ax_cv_check_cflags___Wincompatible_ms_struct+y} +then : + printf %s "(cached) " >&6 +else $as_nop ax_check_save_flags=$CFLAGS CFLAGS="$CFLAGS -Wincompatible-ms-struct" @@ -24668,102 +25962,107 @@ /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ax_cv_check_cflags___Wincompatible_ms_struct=yes -else +else $as_nop ax_cv_check_cflags___Wincompatible_ms_struct=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$ax_check_save_flags fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Wincompatible_ms_struct" >&5 -$as_echo "$ax_cv_check_cflags___Wincompatible_ms_struct" >&6; } -if test "x$ax_cv_check_cflags___Wincompatible_ms_struct" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Wincompatible_ms_struct" >&5 +printf "%s\n" "$ax_cv_check_cflags___Wincompatible_ms_struct" >&6; } +if test "x$ax_cv_check_cflags___Wincompatible_ms_struct" = xyes +then : -if ${CFLAGS+:} false; then : +if test ${CFLAGS+y} +then : case " $CFLAGS " in #( *" -Wno-incompatible-ms-struct "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains -Wno-incompatible-ms-struct"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains -Wno-incompatible-ms-struct"; } >&5 (: CFLAGS already contains -Wno-incompatible-ms-struct) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append CFLAGS " -Wno-incompatible-ms-struct" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 (: CFLAGS="$CFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop CFLAGS=-Wno-incompatible-ms-struct - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 (: CFLAGS="$CFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi -if ${CXXFLAGS+:} false; then : +if test ${CXXFLAGS+y} +then : case " $CXXFLAGS " in #( *" -Wno-incompatible-ms-struct "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains -Wno-incompatible-ms-struct"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains -Wno-incompatible-ms-struct"; } >&5 (: CXXFLAGS already contains -Wno-incompatible-ms-struct) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append CXXFLAGS " -Wno-incompatible-ms-struct" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 (: CXXFLAGS="$CXXFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop CXXFLAGS=-Wno-incompatible-ms-struct - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 (: CXXFLAGS="$CXXFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi -else +else $as_nop : fi -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fnative-struct" >&5 -$as_echo_n "checking whether C compiler accepts -fnative-struct... " >&6; } -if ${ax_cv_check_cflags___fnative_struct+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fnative-struct" >&5 +printf %s "checking whether C compiler accepts -fnative-struct... " >&6; } +if test ${ax_cv_check_cflags___fnative_struct+y} +then : + printf %s "(cached) " >&6 +else $as_nop ax_check_save_flags=$CFLAGS CFLAGS="$CFLAGS -fnative-struct" @@ -24771,91 +26070,95 @@ /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ax_cv_check_cflags___fnative_struct=yes -else +else $as_nop ax_cv_check_cflags___fnative_struct=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$ax_check_save_flags fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fnative_struct" >&5 -$as_echo "$ax_cv_check_cflags___fnative_struct" >&6; } -if test "x$ax_cv_check_cflags___fnative_struct" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fnative_struct" >&5 +printf "%s\n" "$ax_cv_check_cflags___fnative_struct" >&6; } +if test "x$ax_cv_check_cflags___fnative_struct" = xyes +then : -if ${CFLAGS+:} false; then : +if test ${CFLAGS+y} +then : case " $CFLAGS " in #( *" -fnative-struct "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains -fnative-struct"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains -fnative-struct"; } >&5 (: CFLAGS already contains -fnative-struct) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append CFLAGS " -fnative-struct" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 (: CFLAGS="$CFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop CFLAGS=-fnative-struct - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 (: CFLAGS="$CFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi -if ${CXXFLAGS+:} false; then : +if test ${CXXFLAGS+y} +then : case " $CXXFLAGS " in #( *" -fnative-struct "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains -fnative-struct"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains -fnative-struct"; } >&5 (: CXXFLAGS already contains -fnative-struct) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append CXXFLAGS " -fnative-struct" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 (: CXXFLAGS="$CXXFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop CXXFLAGS=-fnative-struct - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 (: CXXFLAGS="$CXXFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi -else +else $as_nop : fi @@ -24866,8 +26169,8 @@ fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for buggy GNU/libc versions" >&5 -$as_echo_n "checking for buggy GNU/libc versions... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for buggy GNU/libc versions" >&5 +printf %s "checking for buggy GNU/libc versions... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -24878,16 +26181,18 @@ #endif _ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : +if ac_fn_c_try_cpp "$LINENO" +then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: not present" >&5 -$as_echo "not present" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not present" >&5 +printf "%s\n" "not present" >&6; } -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 -$as_echo "found" >&6; } - if test "x${enable_nls}" != "xno"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5 +printf "%s\n" "found" >&6; } + if test "x${enable_nls}" != "xno" +then : as_fn_error $? "Buggy GNU/libc (version 2.5 - 2.7) present. VLC would crash; there is no viable work-around for this. Check with your distribution vendor on how to update the @@ -24900,8 +26205,8 @@ - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared objects suffix" >&5 -$as_echo_n "checking for shared objects suffix... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shared objects suffix" >&5 +printf %s "checking for shared objects suffix... " >&6; } case "${host_os}" in darwin*) LIBEXT=".dylib" @@ -24916,34 +26221,184 @@ LIBEXT=".so" ;; esac - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${LIBEXT}" >&5 -$as_echo "${LIBEXT}" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${LIBEXT}" >&5 +printf "%s\n" "${LIBEXT}" >&6; } -cat >>confdefs.h <<_ACEOF -#define LIBEXT "${LIBEXT}" -_ACEOF +printf "%s\n" "#define LIBEXT \"${LIBEXT}\"" >>confdefs.h need_libc=false -for ac_func in accept4 daemon fcntl flock fstatvfs fork getenv getmntent_r getpwuid_r isatty lstat memalign mkostemp mmap newlocale open_memstream openat pipe2 pread posix_fadvise posix_madvise posix_memalign setlocale stricmp strnicmp strptime uselocale -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF +ac_fn_c_check_func "$LINENO" "accept4" "ac_cv_func_accept4" +if test "x$ac_cv_func_accept4" = xyes +then : + printf "%s\n" "#define HAVE_ACCEPT4 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "daemon" "ac_cv_func_daemon" +if test "x$ac_cv_func_daemon" = xyes +then : + printf "%s\n" "#define HAVE_DAEMON 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "fcntl" "ac_cv_func_fcntl" +if test "x$ac_cv_func_fcntl" = xyes +then : + printf "%s\n" "#define HAVE_FCNTL 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "flock" "ac_cv_func_flock" +if test "x$ac_cv_func_flock" = xyes +then : + printf "%s\n" "#define HAVE_FLOCK 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "fstatvfs" "ac_cv_func_fstatvfs" +if test "x$ac_cv_func_fstatvfs" = xyes +then : + printf "%s\n" "#define HAVE_FSTATVFS 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "fork" "ac_cv_func_fork" +if test "x$ac_cv_func_fork" = xyes +then : + printf "%s\n" "#define HAVE_FORK 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "getenv" "ac_cv_func_getenv" +if test "x$ac_cv_func_getenv" = xyes +then : + printf "%s\n" "#define HAVE_GETENV 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "getmntent_r" "ac_cv_func_getmntent_r" +if test "x$ac_cv_func_getmntent_r" = xyes +then : + printf "%s\n" "#define HAVE_GETMNTENT_R 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "getpwuid_r" "ac_cv_func_getpwuid_r" +if test "x$ac_cv_func_getpwuid_r" = xyes +then : + printf "%s\n" "#define HAVE_GETPWUID_R 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "isatty" "ac_cv_func_isatty" +if test "x$ac_cv_func_isatty" = xyes +then : + printf "%s\n" "#define HAVE_ISATTY 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "lstat" "ac_cv_func_lstat" +if test "x$ac_cv_func_lstat" = xyes +then : + printf "%s\n" "#define HAVE_LSTAT 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "memalign" "ac_cv_func_memalign" +if test "x$ac_cv_func_memalign" = xyes +then : + printf "%s\n" "#define HAVE_MEMALIGN 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "mkostemp" "ac_cv_func_mkostemp" +if test "x$ac_cv_func_mkostemp" = xyes +then : + printf "%s\n" "#define HAVE_MKOSTEMP 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" +if test "x$ac_cv_func_mmap" = xyes +then : + printf "%s\n" "#define HAVE_MMAP 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "newlocale" "ac_cv_func_newlocale" +if test "x$ac_cv_func_newlocale" = xyes +then : + printf "%s\n" "#define HAVE_NEWLOCALE 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "open_memstream" "ac_cv_func_open_memstream" +if test "x$ac_cv_func_open_memstream" = xyes +then : + printf "%s\n" "#define HAVE_OPEN_MEMSTREAM 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "openat" "ac_cv_func_openat" +if test "x$ac_cv_func_openat" = xyes +then : + printf "%s\n" "#define HAVE_OPENAT 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2" +if test "x$ac_cv_func_pipe2" = xyes +then : + printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "pread" "ac_cv_func_pread" +if test "x$ac_cv_func_pread" = xyes +then : + printf "%s\n" "#define HAVE_PREAD 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise" +if test "x$ac_cv_func_posix_fadvise" = xyes +then : + printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "posix_madvise" "ac_cv_func_posix_madvise" +if test "x$ac_cv_func_posix_madvise" = xyes +then : + printf "%s\n" "#define HAVE_POSIX_MADVISE 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "posix_memalign" "ac_cv_func_posix_memalign" +if test "x$ac_cv_func_posix_memalign" = xyes +then : + printf "%s\n" "#define HAVE_POSIX_MEMALIGN 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale" +if test "x$ac_cv_func_setlocale" = xyes +then : + printf "%s\n" "#define HAVE_SETLOCALE 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "stricmp" "ac_cv_func_stricmp" +if test "x$ac_cv_func_stricmp" = xyes +then : + printf "%s\n" "#define HAVE_STRICMP 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "strnicmp" "ac_cv_func_strnicmp" +if test "x$ac_cv_func_strnicmp" = xyes +then : + printf "%s\n" "#define HAVE_STRNICMP 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "strptime" "ac_cv_func_strptime" +if test "x$ac_cv_func_strptime" = xyes +then : + printf "%s\n" "#define HAVE_STRPTIME 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale" +if test "x$ac_cv_func_uselocale" = xyes +then : + printf "%s\n" "#define HAVE_USELOCALE 1" >>confdefs.h fi -done ac_fn_c_check_func "$LINENO" "aligned_alloc" "ac_cv_func_aligned_alloc" -if test "x$ac_cv_func_aligned_alloc" = xyes; then : - $as_echo "#define HAVE_ALIGNED_ALLOC 1" >>confdefs.h +if test "x$ac_cv_func_aligned_alloc" = xyes +then : + printf "%s\n" "#define HAVE_ALIGNED_ALLOC 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" aligned_alloc.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS aligned_alloc.$ac_objext" @@ -24951,12 +26406,12 @@ esac fi - ac_fn_c_check_func "$LINENO" "atof" "ac_cv_func_atof" -if test "x$ac_cv_func_atof" = xyes; then : - $as_echo "#define HAVE_ATOF 1" >>confdefs.h +if test "x$ac_cv_func_atof" = xyes +then : + printf "%s\n" "#define HAVE_ATOF 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" atof.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS atof.$ac_objext" @@ -24964,12 +26419,12 @@ esac fi - ac_fn_c_check_func "$LINENO" "atoll" "ac_cv_func_atoll" -if test "x$ac_cv_func_atoll" = xyes; then : - $as_echo "#define HAVE_ATOLL 1" >>confdefs.h +if test "x$ac_cv_func_atoll" = xyes +then : + printf "%s\n" "#define HAVE_ATOLL 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" atoll.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS atoll.$ac_objext" @@ -24977,12 +26432,12 @@ esac fi - ac_fn_c_check_func "$LINENO" "dirfd" "ac_cv_func_dirfd" -if test "x$ac_cv_func_dirfd" = xyes; then : - $as_echo "#define HAVE_DIRFD 1" >>confdefs.h +if test "x$ac_cv_func_dirfd" = xyes +then : + printf "%s\n" "#define HAVE_DIRFD 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" dirfd.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS dirfd.$ac_objext" @@ -24990,12 +26445,12 @@ esac fi - ac_fn_c_check_func "$LINENO" "fdopendir" "ac_cv_func_fdopendir" -if test "x$ac_cv_func_fdopendir" = xyes; then : - $as_echo "#define HAVE_FDOPENDIR 1" >>confdefs.h +if test "x$ac_cv_func_fdopendir" = xyes +then : + printf "%s\n" "#define HAVE_FDOPENDIR 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" fdopendir.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS fdopendir.$ac_objext" @@ -25003,12 +26458,12 @@ esac fi - ac_fn_c_check_func "$LINENO" "flockfile" "ac_cv_func_flockfile" -if test "x$ac_cv_func_flockfile" = xyes; then : - $as_echo "#define HAVE_FLOCKFILE 1" >>confdefs.h +if test "x$ac_cv_func_flockfile" = xyes +then : + printf "%s\n" "#define HAVE_FLOCKFILE 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" flockfile.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS flockfile.$ac_objext" @@ -25016,12 +26471,12 @@ esac fi - ac_fn_c_check_func "$LINENO" "fsync" "ac_cv_func_fsync" -if test "x$ac_cv_func_fsync" = xyes; then : - $as_echo "#define HAVE_FSYNC 1" >>confdefs.h +if test "x$ac_cv_func_fsync" = xyes +then : + printf "%s\n" "#define HAVE_FSYNC 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" fsync.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS fsync.$ac_objext" @@ -25029,12 +26484,12 @@ esac fi - ac_fn_c_check_func "$LINENO" "getdelim" "ac_cv_func_getdelim" -if test "x$ac_cv_func_getdelim" = xyes; then : - $as_echo "#define HAVE_GETDELIM 1" >>confdefs.h +if test "x$ac_cv_func_getdelim" = xyes +then : + printf "%s\n" "#define HAVE_GETDELIM 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" getdelim.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS getdelim.$ac_objext" @@ -25042,12 +26497,12 @@ esac fi - ac_fn_c_check_func "$LINENO" "getpid" "ac_cv_func_getpid" -if test "x$ac_cv_func_getpid" = xyes; then : - $as_echo "#define HAVE_GETPID 1" >>confdefs.h +if test "x$ac_cv_func_getpid" = xyes +then : + printf "%s\n" "#define HAVE_GETPID 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" getpid.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS getpid.$ac_objext" @@ -25055,12 +26510,12 @@ esac fi - ac_fn_c_check_func "$LINENO" "lfind" "ac_cv_func_lfind" -if test "x$ac_cv_func_lfind" = xyes; then : - $as_echo "#define HAVE_LFIND 1" >>confdefs.h +if test "x$ac_cv_func_lfind" = xyes +then : + printf "%s\n" "#define HAVE_LFIND 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" lfind.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS lfind.$ac_objext" @@ -25068,12 +26523,12 @@ esac fi - ac_fn_c_check_func "$LINENO" "lldiv" "ac_cv_func_lldiv" -if test "x$ac_cv_func_lldiv" = xyes; then : - $as_echo "#define HAVE_LLDIV 1" >>confdefs.h +if test "x$ac_cv_func_lldiv" = xyes +then : + printf "%s\n" "#define HAVE_LLDIV 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" lldiv.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS lldiv.$ac_objext" @@ -25081,12 +26536,12 @@ esac fi - ac_fn_c_check_func "$LINENO" "memrchr" "ac_cv_func_memrchr" -if test "x$ac_cv_func_memrchr" = xyes; then : - $as_echo "#define HAVE_MEMRCHR 1" >>confdefs.h +if test "x$ac_cv_func_memrchr" = xyes +then : + printf "%s\n" "#define HAVE_MEMRCHR 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" memrchr.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS memrchr.$ac_objext" @@ -25094,12 +26549,12 @@ esac fi - ac_fn_c_check_func "$LINENO" "nrand48" "ac_cv_func_nrand48" -if test "x$ac_cv_func_nrand48" = xyes; then : - $as_echo "#define HAVE_NRAND48 1" >>confdefs.h +if test "x$ac_cv_func_nrand48" = xyes +then : + printf "%s\n" "#define HAVE_NRAND48 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" nrand48.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS nrand48.$ac_objext" @@ -25107,12 +26562,12 @@ esac fi - ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll" -if test "x$ac_cv_func_poll" = xyes; then : - $as_echo "#define HAVE_POLL 1" >>confdefs.h +if test "x$ac_cv_func_poll" = xyes +then : + printf "%s\n" "#define HAVE_POLL 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" poll.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS poll.$ac_objext" @@ -25120,12 +26575,12 @@ esac fi - ac_fn_c_check_func "$LINENO" "recvmsg" "ac_cv_func_recvmsg" -if test "x$ac_cv_func_recvmsg" = xyes; then : - $as_echo "#define HAVE_RECVMSG 1" >>confdefs.h +if test "x$ac_cv_func_recvmsg" = xyes +then : + printf "%s\n" "#define HAVE_RECVMSG 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" recvmsg.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS recvmsg.$ac_objext" @@ -25133,12 +26588,12 @@ esac fi - ac_fn_c_check_func "$LINENO" "rewind" "ac_cv_func_rewind" -if test "x$ac_cv_func_rewind" = xyes; then : - $as_echo "#define HAVE_REWIND 1" >>confdefs.h +if test "x$ac_cv_func_rewind" = xyes +then : + printf "%s\n" "#define HAVE_REWIND 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" rewind.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS rewind.$ac_objext" @@ -25146,12 +26601,12 @@ esac fi - ac_fn_c_check_func "$LINENO" "sendmsg" "ac_cv_func_sendmsg" -if test "x$ac_cv_func_sendmsg" = xyes; then : - $as_echo "#define HAVE_SENDMSG 1" >>confdefs.h +if test "x$ac_cv_func_sendmsg" = xyes +then : + printf "%s\n" "#define HAVE_SENDMSG 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" sendmsg.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS sendmsg.$ac_objext" @@ -25159,12 +26614,12 @@ esac fi - ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv" -if test "x$ac_cv_func_setenv" = xyes; then : - $as_echo "#define HAVE_SETENV 1" >>confdefs.h +if test "x$ac_cv_func_setenv" = xyes +then : + printf "%s\n" "#define HAVE_SETENV 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" setenv.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS setenv.$ac_objext" @@ -25172,12 +26627,12 @@ esac fi - ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp" -if test "x$ac_cv_func_strcasecmp" = xyes; then : - $as_echo "#define HAVE_STRCASECMP 1" >>confdefs.h +if test "x$ac_cv_func_strcasecmp" = xyes +then : + printf "%s\n" "#define HAVE_STRCASECMP 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" strcasecmp.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS strcasecmp.$ac_objext" @@ -25185,12 +26640,12 @@ esac fi - ac_fn_c_check_func "$LINENO" "strcasestr" "ac_cv_func_strcasestr" -if test "x$ac_cv_func_strcasestr" = xyes; then : - $as_echo "#define HAVE_STRCASESTR 1" >>confdefs.h +if test "x$ac_cv_func_strcasestr" = xyes +then : + printf "%s\n" "#define HAVE_STRCASESTR 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" strcasestr.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS strcasestr.$ac_objext" @@ -25198,12 +26653,12 @@ esac fi - ac_fn_c_check_func "$LINENO" "strdup" "ac_cv_func_strdup" -if test "x$ac_cv_func_strdup" = xyes; then : - $as_echo "#define HAVE_STRDUP 1" >>confdefs.h +if test "x$ac_cv_func_strdup" = xyes +then : + printf "%s\n" "#define HAVE_STRDUP 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" strdup.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS strdup.$ac_objext" @@ -25211,12 +26666,12 @@ esac fi - ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy" -if test "x$ac_cv_func_strlcpy" = xyes; then : - $as_echo "#define HAVE_STRLCPY 1" >>confdefs.h +if test "x$ac_cv_func_strlcpy" = xyes +then : + printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" strlcpy.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS strlcpy.$ac_objext" @@ -25224,12 +26679,12 @@ esac fi - ac_fn_c_check_func "$LINENO" "strndup" "ac_cv_func_strndup" -if test "x$ac_cv_func_strndup" = xyes; then : - $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h +if test "x$ac_cv_func_strndup" = xyes +then : + printf "%s\n" "#define HAVE_STRNDUP 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" strndup.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS strndup.$ac_objext" @@ -25237,12 +26692,12 @@ esac fi - ac_fn_c_check_func "$LINENO" "strnlen" "ac_cv_func_strnlen" -if test "x$ac_cv_func_strnlen" = xyes; then : - $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h +if test "x$ac_cv_func_strnlen" = xyes +then : + printf "%s\n" "#define HAVE_STRNLEN 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" strnlen.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS strnlen.$ac_objext" @@ -25250,12 +26705,12 @@ esac fi - ac_fn_c_check_func "$LINENO" "strnstr" "ac_cv_func_strnstr" -if test "x$ac_cv_func_strnstr" = xyes; then : - $as_echo "#define HAVE_STRNSTR 1" >>confdefs.h +if test "x$ac_cv_func_strnstr" = xyes +then : + printf "%s\n" "#define HAVE_STRNSTR 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" strnstr.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS strnstr.$ac_objext" @@ -25263,12 +26718,12 @@ esac fi - ac_fn_c_check_func "$LINENO" "strsep" "ac_cv_func_strsep" -if test "x$ac_cv_func_strsep" = xyes; then : - $as_echo "#define HAVE_STRSEP 1" >>confdefs.h +if test "x$ac_cv_func_strsep" = xyes +then : + printf "%s\n" "#define HAVE_STRSEP 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" strsep.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS strsep.$ac_objext" @@ -25276,12 +26731,12 @@ esac fi - ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof" -if test "x$ac_cv_func_strtof" = xyes; then : - $as_echo "#define HAVE_STRTOF 1" >>confdefs.h +if test "x$ac_cv_func_strtof" = xyes +then : + printf "%s\n" "#define HAVE_STRTOF 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" strtof.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS strtof.$ac_objext" @@ -25289,12 +26744,12 @@ esac fi - ac_fn_c_check_func "$LINENO" "strtok_r" "ac_cv_func_strtok_r" -if test "x$ac_cv_func_strtok_r" = xyes; then : - $as_echo "#define HAVE_STRTOK_R 1" >>confdefs.h +if test "x$ac_cv_func_strtok_r" = xyes +then : + printf "%s\n" "#define HAVE_STRTOK_R 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" strtok_r.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS strtok_r.$ac_objext" @@ -25302,12 +26757,12 @@ esac fi - ac_fn_c_check_func "$LINENO" "strtoll" "ac_cv_func_strtoll" -if test "x$ac_cv_func_strtoll" = xyes; then : - $as_echo "#define HAVE_STRTOLL 1" >>confdefs.h +if test "x$ac_cv_func_strtoll" = xyes +then : + printf "%s\n" "#define HAVE_STRTOLL 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" strtoll.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS strtoll.$ac_objext" @@ -25315,12 +26770,12 @@ esac fi - ac_fn_c_check_func "$LINENO" "swab" "ac_cv_func_swab" -if test "x$ac_cv_func_swab" = xyes; then : - $as_echo "#define HAVE_SWAB 1" >>confdefs.h +if test "x$ac_cv_func_swab" = xyes +then : + printf "%s\n" "#define HAVE_SWAB 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" swab.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS swab.$ac_objext" @@ -25328,12 +26783,12 @@ esac fi - ac_fn_c_check_func "$LINENO" "tdestroy" "ac_cv_func_tdestroy" -if test "x$ac_cv_func_tdestroy" = xyes; then : - $as_echo "#define HAVE_TDESTROY 1" >>confdefs.h +if test "x$ac_cv_func_tdestroy" = xyes +then : + printf "%s\n" "#define HAVE_TDESTROY 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" tdestroy.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS tdestroy.$ac_objext" @@ -25341,12 +26796,12 @@ esac fi - ac_fn_c_check_func "$LINENO" "tfind" "ac_cv_func_tfind" -if test "x$ac_cv_func_tfind" = xyes; then : - $as_echo "#define HAVE_TFIND 1" >>confdefs.h +if test "x$ac_cv_func_tfind" = xyes +then : + printf "%s\n" "#define HAVE_TFIND 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" tfind.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS tfind.$ac_objext" @@ -25354,12 +26809,12 @@ esac fi - ac_fn_c_check_func "$LINENO" "timegm" "ac_cv_func_timegm" -if test "x$ac_cv_func_timegm" = xyes; then : - $as_echo "#define HAVE_TIMEGM 1" >>confdefs.h +if test "x$ac_cv_func_timegm" = xyes +then : + printf "%s\n" "#define HAVE_TIMEGM 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" timegm.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS timegm.$ac_objext" @@ -25367,12 +26822,12 @@ esac fi - ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get" -if test "x$ac_cv_func_timespec_get" = xyes; then : - $as_echo "#define HAVE_TIMESPEC_GET 1" >>confdefs.h +if test "x$ac_cv_func_timespec_get" = xyes +then : + printf "%s\n" "#define HAVE_TIMESPEC_GET 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" timespec_get.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS timespec_get.$ac_objext" @@ -25380,12 +26835,12 @@ esac fi - ac_fn_c_check_func "$LINENO" "strverscmp" "ac_cv_func_strverscmp" -if test "x$ac_cv_func_strverscmp" = xyes; then : - $as_echo "#define HAVE_STRVERSCMP 1" >>confdefs.h +if test "x$ac_cv_func_strverscmp" = xyes +then : + printf "%s\n" "#define HAVE_STRVERSCMP 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" strverscmp.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS strverscmp.$ac_objext" @@ -25393,12 +26848,12 @@ esac fi - ac_fn_c_check_func "$LINENO" "pathconf" "ac_cv_func_pathconf" -if test "x$ac_cv_func_pathconf" = xyes; then : - $as_echo "#define HAVE_PATHCONF 1" >>confdefs.h +if test "x$ac_cv_func_pathconf" = xyes +then : + printf "%s\n" "#define HAVE_PATHCONF 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" pathconf.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS pathconf.$ac_objext" @@ -25407,12 +26862,12 @@ fi - ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday" -if test "x$ac_cv_func_gettimeofday" = xyes; then : - $as_echo "#define HAVE_GETTIMEOFDAY 1" >>confdefs.h +if test "x$ac_cv_func_gettimeofday" = xyes +then : + printf "%s\n" "#define HAVE_GETTIMEOFDAY 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" gettimeofday.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS gettimeofday.$ac_objext" @@ -25421,41 +26876,123 @@ fi - ac_fn_c_check_func "$LINENO" "fdatasync" "ac_cv_func_fdatasync" -if test "x$ac_cv_func_fdatasync" = xyes; then : +if test "x$ac_cv_func_fdatasync" = xyes +then : -else +else $as_nop -$as_echo "#define fdatasync fsync" >>confdefs.h +printf "%s\n" "#define fdatasync fsync" >>confdefs.h fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5 +printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; } +if test ${ac_cv_c_undeclared_builtin_options+y} +then : + printf %s "(cached) " >&6 +else $as_nop + ac_save_CFLAGS=$CFLAGS + ac_cv_c_undeclared_builtin_options='cannot detect' + for ac_arg in '' -fno-builtin; do + CFLAGS="$ac_save_CFLAGS $ac_arg" + # This test program should *not* compile successfully. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +int +main (void) +{ +(void) strchr; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : - if ${vlc_cv_replace_decl_realpath+:} false; then : - $as_echo_n "(cached) " >&6 -else +else $as_nop + # This test program should compile successfully. + # No library function is consistently available on + # freestanding implementations, so test against a dummy + # declaration. Include always-available headers on the + # off chance that they somehow elicit warnings. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include +extern void ac_decl (int, char *); - ac_fn_c_check_decl "$LINENO" "realpath" "ac_cv_have_decl_realpath" "#include +int +main (void) +{ +(void) ac_decl (0, (char *) 0); + (void) ac_decl; -" -if test "x$ac_cv_have_decl_realpath" = xyes; then : + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + if test x"$ac_arg" = x +then : + ac_cv_c_undeclared_builtin_options='none needed' +else $as_nop + ac_cv_c_undeclared_builtin_options=$ac_arg +fi + break +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + done + CFLAGS=$ac_save_CFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5 +printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; } + case $ac_cv_c_undeclared_builtin_options in #( + 'cannot detect') : + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot make $CC report undeclared builtins +See \`config.log' for more details" "$LINENO" 5; } ;; #( + 'none needed') : + ac_c_undeclared_builtin_options='' ;; #( + *) : + ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;; +esac + + + + if test ${vlc_cv_replace_decl_realpath+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + ac_fn_check_decl "$LINENO" "realpath" "ac_cv_have_decl_realpath" "#include + +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_realpath" = xyes +then : vlc_cv_replace_decl_realpath=yes -else +else $as_nop vlc_cv_replace_decl_realpath=no fi - fi - if test x"$vlc_cv_replace_decl_realpath" = xyes; then : + if test x"$vlc_cv_replace_decl_realpath" = xyes +then : -$as_echo "#define HAVE_REALPATH 1" >>confdefs.h +printf "%s\n" "#define HAVE_REALPATH 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" realpath.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS realpath.$ac_objext" @@ -25468,27 +27005,29 @@ - if ${vlc_cv_replace_decl_asprintf+:} false; then : - $as_echo_n "(cached) " >&6 -else - - ac_fn_c_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "#include - -" -if test "x$ac_cv_have_decl_asprintf" = xyes; then : + if test ${vlc_cv_replace_decl_asprintf+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + ac_fn_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "#include + +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_asprintf" = xyes +then : vlc_cv_replace_decl_asprintf=yes -else +else $as_nop vlc_cv_replace_decl_asprintf=no fi - fi - if test x"$vlc_cv_replace_decl_asprintf" = xyes; then : + if test x"$vlc_cv_replace_decl_asprintf" = xyes +then : -$as_echo "#define HAVE_ASPRINTF 1" >>confdefs.h +printf "%s\n" "#define HAVE_ASPRINTF 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" asprintf.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS asprintf.$ac_objext" @@ -25500,27 +27039,29 @@ - if ${vlc_cv_replace_decl_vasprintf+:} false; then : - $as_echo_n "(cached) " >&6 -else - - ac_fn_c_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "#include - -" -if test "x$ac_cv_have_decl_vasprintf" = xyes; then : + if test ${vlc_cv_replace_decl_vasprintf+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + ac_fn_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "#include + +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_vasprintf" = xyes +then : vlc_cv_replace_decl_vasprintf=yes -else +else $as_nop vlc_cv_replace_decl_vasprintf=no fi - fi - if test x"$vlc_cv_replace_decl_vasprintf" = xyes; then : + if test x"$vlc_cv_replace_decl_vasprintf" = xyes +then : -$as_echo "#define HAVE_VASPRINTF 1" >>confdefs.h +printf "%s\n" "#define HAVE_VASPRINTF 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" vasprintf.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS vasprintf.$ac_objext" @@ -25532,27 +27073,29 @@ - if ${vlc_cv_replace_decl_gmtime_r+:} false; then : - $as_echo_n "(cached) " >&6 -else - - ac_fn_c_check_decl "$LINENO" "gmtime_r" "ac_cv_have_decl_gmtime_r" "#include - -" -if test "x$ac_cv_have_decl_gmtime_r" = xyes; then : + if test ${vlc_cv_replace_decl_gmtime_r+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + ac_fn_check_decl "$LINENO" "gmtime_r" "ac_cv_have_decl_gmtime_r" "#include + +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_gmtime_r" = xyes +then : vlc_cv_replace_decl_gmtime_r=yes -else +else $as_nop vlc_cv_replace_decl_gmtime_r=no fi - fi - if test x"$vlc_cv_replace_decl_gmtime_r" = xyes; then : + if test x"$vlc_cv_replace_decl_gmtime_r" = xyes +then : -$as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h +printf "%s\n" "#define HAVE_GMTIME_R 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" gmtime_r.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS gmtime_r.$ac_objext" @@ -25564,27 +27107,29 @@ - if ${vlc_cv_replace_decl_localtime_r+:} false; then : - $as_echo_n "(cached) " >&6 -else - - ac_fn_c_check_decl "$LINENO" "localtime_r" "ac_cv_have_decl_localtime_r" "#include - -" -if test "x$ac_cv_have_decl_localtime_r" = xyes; then : + if test ${vlc_cv_replace_decl_localtime_r+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + ac_fn_check_decl "$LINENO" "localtime_r" "ac_cv_have_decl_localtime_r" "#include + +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_localtime_r" = xyes +then : vlc_cv_replace_decl_localtime_r=yes -else +else $as_nop vlc_cv_replace_decl_localtime_r=no fi - fi - if test x"$vlc_cv_replace_decl_localtime_r" = xyes; then : + if test x"$vlc_cv_replace_decl_localtime_r" = xyes +then : -$as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h +printf "%s\n" "#define HAVE_LOCALTIME_R 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" localtime_r.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS localtime_r.$ac_objext" @@ -25597,27 +27142,29 @@ - if ${vlc_cv_replace_decl_swab+:} false; then : - $as_echo_n "(cached) " >&6 -else - - ac_fn_c_check_decl "$LINENO" "swab" "ac_cv_have_decl_swab" "#include - -" -if test "x$ac_cv_have_decl_swab" = xyes; then : + if test ${vlc_cv_replace_decl_swab+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + ac_fn_check_decl "$LINENO" "swab" "ac_cv_have_decl_swab" "#include + +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_swab" = xyes +then : vlc_cv_replace_decl_swab=yes -else +else $as_nop vlc_cv_replace_decl_swab=no fi - fi - if test x"$vlc_cv_replace_decl_swab" = xyes; then : + if test x"$vlc_cv_replace_decl_swab" = xyes +then : -$as_echo "#define HAVE_SWAB 1" >>confdefs.h +printf "%s\n" "#define HAVE_SWAB 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" swab.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS swab.$ac_objext" @@ -25629,27 +27176,29 @@ - if ${vlc_cv_replace_decl_ffsll+:} false; then : - $as_echo_n "(cached) " >&6 -else - - ac_fn_c_check_decl "$LINENO" "ffsll" "ac_cv_have_decl_ffsll" "#include - -" -if test "x$ac_cv_have_decl_ffsll" = xyes; then : + if test ${vlc_cv_replace_decl_ffsll+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + ac_fn_check_decl "$LINENO" "ffsll" "ac_cv_have_decl_ffsll" "#include + +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_ffsll" = xyes +then : vlc_cv_replace_decl_ffsll=yes -else +else $as_nop vlc_cv_replace_decl_ffsll=no fi - fi - if test x"$vlc_cv_replace_decl_ffsll" = xyes; then : + if test x"$vlc_cv_replace_decl_ffsll" = xyes +then : -$as_echo "#define HAVE_FFSLL 1" >>confdefs.h +printf "%s\n" "#define HAVE_FFSLL 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" ffsll.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS ffsll.$ac_objext" @@ -25660,13 +27209,13 @@ -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for static_assert in assert.h" >&5 -$as_echo_n "checking for static_assert in assert.h... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for static_assert in assert.h" >&5 +printf %s "checking for static_assert in assert.h... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { static_assert(1, "The impossible happened."); @@ -25675,37 +27224,45 @@ return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } -$as_echo "#define HAVE_STATIC_ASSERT 1" >>confdefs.h +printf "%s\n" "#define HAVE_STATIC_ASSERT 1" >>confdefs.h -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext # Windows CE does not have strcoll() -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5 -$as_echo_n "checking for working strcoll... " >&6; } -if ${ac_cv_func_strcoll_works+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : - ac_cv_func_strcoll_works=no -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5 +printf %s "checking for working strcoll... " >&6; } +if test ${ac_cv_func_strcoll_works+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test "$cross_compiling" = yes +then : + case "$host_os" in # (( + # Guess yes on glibc systems. + *-gnu*) ac_cv_func_strcoll_works=yes ;; + # If we don't know, assume the worst. + *) ac_cv_func_strcoll_works=no ;; + esac +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int -main () +main (void) { return (strcoll ("abc", "def") >= 0 || strcoll ("ABC", "DEF") >= 0 || @@ -25714,9 +27271,10 @@ return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : ac_cv_func_strcoll_works=yes -else +else $as_nop ac_cv_func_strcoll_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -25724,41 +27282,50 @@ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5 -$as_echo "$ac_cv_func_strcoll_works" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5 +printf "%s\n" "$ac_cv_func_strcoll_works" >&6; } if test $ac_cv_func_strcoll_works = yes; then -$as_echo "#define HAVE_STRCOLL 1" >>confdefs.h +printf "%s\n" "#define HAVE_STRCOLL 1" >>confdefs.h fi case "$SYS" in "linux") - for ac_func in eventfd vmsplice sched_getaffinity recvmmsg -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF + ac_fn_c_check_func "$LINENO" "eventfd" "ac_cv_func_eventfd" +if test "x$ac_cv_func_eventfd" = xyes +then : + printf "%s\n" "#define HAVE_EVENTFD 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "vmsplice" "ac_cv_func_vmsplice" +if test "x$ac_cv_func_vmsplice" = xyes +then : + printf "%s\n" "#define HAVE_VMSPLICE 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "sched_getaffinity" "ac_cv_func_sched_getaffinity" +if test "x$ac_cv_func_sched_getaffinity" = xyes +then : + printf "%s\n" "#define HAVE_SCHED_GETAFFINITY 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "recvmmsg" "ac_cv_func_recvmmsg" +if test "x$ac_cv_func_recvmmsg" = xyes +then : + printf "%s\n" "#define HAVE_RECVMMSG 1" >>confdefs.h fi -done ;; "mingw32") - for ac_func in _lock_file -do : - ac_fn_c_check_func "$LINENO" "_lock_file" "ac_cv_func__lock_file" -if test "x$ac_cv_func__lock_file" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__LOCK_FILE 1 -_ACEOF + ac_fn_c_check_func "$LINENO" "_lock_file" "ac_cv_func__lock_file" +if test "x$ac_cv_func__lock_file" = xyes +then : + printf "%s\n" "#define HAVE__LOCK_FILE 1" >>confdefs.h fi -done ;; esac @@ -25773,11 +27340,10 @@ #endif " -if test "x$ac_cv_type_struct_pollfd" = xyes; then : +if test "x$ac_cv_type_struct_pollfd" = xyes +then : -cat >>confdefs.h <<_ACEOF -#define HAVE_STRUCT_POLLFD 1 -_ACEOF +printf "%s\n" "#define HAVE_STRUCT_POLLFD 1" >>confdefs.h fi @@ -25785,11 +27351,10 @@ ac_fn_c_check_type "$LINENO" "struct timespec" "ac_cv_type_struct_timespec" "#include " -if test "x$ac_cv_type_struct_timespec" = xyes; then : +if test "x$ac_cv_type_struct_timespec" = xyes +then : -cat >>confdefs.h <<_ACEOF -#define HAVE_STRUCT_TIMESPEC 1 -_ACEOF +printf "%s\n" "#define HAVE_STRUCT_TIMESPEC 1" >>confdefs.h fi @@ -25797,22 +27362,22 @@ ac_fn_c_check_type "$LINENO" "max_align_t" "ac_cv_type_max_align_t" "#include " -if test "x$ac_cv_type_max_align_t" = xyes; then : +if test "x$ac_cv_type_max_align_t" = xyes +then : -cat >>confdefs.h <<_ACEOF -#define HAVE_MAX_ALIGN_T 1 -_ACEOF +printf "%s\n" "#define HAVE_MAX_ALIGN_T 1" >>confdefs.h fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t in sys/socket.h" >&5 -$as_echo_n "checking for socklen_t in sys/socket.h... " >&6; } -if ${ac_cv_type_socklen_t+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socklen_t in sys/socket.h" >&5 +printf %s "checking for socklen_t in sys/socket.h... " >&6; } +if test ${ac_cv_type_socklen_t+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -25824,32 +27389,35 @@ # include #endif int -main () +main (void) { socklen_t len; len = 0; ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_type_socklen_t=yes -else +else $as_nop ac_cv_type_socklen_t=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_socklen_t" >&5 -$as_echo "$ac_cv_type_socklen_t" >&6; } -if test "$ac_cv_type_socklen_t" = no; then : - $as_echo "#define socklen_t int" >>confdefs.h +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_socklen_t" >&5 +printf "%s\n" "$ac_cv_type_socklen_t" >&6; } +if test "$ac_cv_type_socklen_t" = no +then : + printf "%s\n" "#define socklen_t int" >>confdefs.h fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct sockaddr_storage" >&5 -$as_echo_n "checking for struct sockaddr_storage... " >&6; } -if ${ac_cv_struct_sockaddr_storage+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct sockaddr_storage" >&5 +printf %s "checking for struct sockaddr_storage... " >&6; } +if test ${ac_cv_struct_sockaddr_storage+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -25859,42 +27427,46 @@ # include #endif int -main () +main (void) { struct sockaddr_storage addr; ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_struct_sockaddr_storage=yes -else +else $as_nop ac_cv_struct_sockaddr_storage=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_sockaddr_storage" >&5 -$as_echo "$ac_cv_struct_sockaddr_storage" >&6; } -if test "${ac_cv_struct_sockaddr_storage}" = no; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_sockaddr_storage" >&5 +printf "%s\n" "$ac_cv_struct_sockaddr_storage" >&6; } +if test "${ac_cv_struct_sockaddr_storage}" = no +then : - $as_echo "#define sockaddr_storage sockaddr" >>confdefs.h + printf "%s\n" "#define sockaddr_storage sockaddr" >>confdefs.h - $as_echo "#define ss_family sa_family" >>confdefs.h + printf "%s\n" "#define ss_family sa_family" >>confdefs.h fi GNUGETOPT_LIBS="" ac_fn_c_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long" -if test "x$ac_cv_func_getopt_long" = xyes; then : +if test "x$ac_cv_func_getopt_long" = xyes +then : -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getopt_long in -lgnugetopt" >&5 -$as_echo_n "checking for getopt_long in -lgnugetopt... " >&6; } -if ${ac_cv_lib_gnugetopt_getopt_long+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getopt_long in -lgnugetopt" >&5 +printf %s "checking for getopt_long in -lgnugetopt... " >&6; } +if test ${ac_cv_lib_gnugetopt_getopt_long+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lgnugetopt $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -25903,30 +27475,29 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char getopt_long (); int -main () +main (void) { return getopt_long (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_gnugetopt_getopt_long=yes -else +else $as_nop ac_cv_lib_gnugetopt_getopt_long=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnugetopt_getopt_long" >&5 -$as_echo "$ac_cv_lib_gnugetopt_getopt_long" >&6; } -if test "x$ac_cv_lib_gnugetopt_getopt_long" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnugetopt_getopt_long" >&5 +printf "%s\n" "$ac_cv_lib_gnugetopt_getopt_long" >&6; } +if test "x$ac_cv_lib_gnugetopt_getopt_long" = xyes +then : GNUGETOPT_LIBS="-lgnugetopt" @@ -25937,11 +27508,12 @@ -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5 -$as_echo_n "checking for cos in -lm... " >&6; } -if ${ac_cv_lib_m_cos+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5 +printf %s "checking for cos in -lm... " >&6; } +if test ${ac_cv_lib_m_cos+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -25950,34 +27522,33 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char cos (); int -main () +main (void) { return cos (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_m_cos=yes -else +else $as_nop ac_cv_lib_m_cos=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5 -$as_echo "$ac_cv_lib_m_cos" >&6; } -if test "x$ac_cv_lib_m_cos" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5 +printf "%s\n" "$ac_cv_lib_m_cos" >&6; } +if test "x$ac_cv_lib_m_cos" = xyes +then : LIBM="-lm" -else +else $as_nop LIBM="" @@ -25985,11 +27556,12 @@ -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lrintf in -lm" >&5 -$as_echo_n "checking for lrintf in -lm... " >&6; } -if ${ac_cv_lib_m_lrintf+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lrintf in -lm" >&5 +printf %s "checking for lrintf in -lm... " >&6; } +if test ${ac_cv_lib_m_lrintf+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -25998,33 +27570,32 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char lrintf (); int -main () +main (void) { return lrintf (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_m_lrintf=yes -else +else $as_nop ac_cv_lib_m_lrintf=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lrintf" >&5 -$as_echo "$ac_cv_lib_m_lrintf" >&6; } -if test "x$ac_cv_lib_m_lrintf" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lrintf" >&5 +printf "%s\n" "$ac_cv_lib_m_lrintf" >&6; } +if test "x$ac_cv_lib_m_lrintf" = xyes +then : -$as_echo "#define HAVE_LRINTF 1" >>confdefs.h +printf "%s\n" "#define HAVE_LRINTF 1" >>confdefs.h @@ -26035,11 +27606,12 @@ fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanf in -lm" >&5 -$as_echo_n "checking for nanf in -lm... " >&6; } -if ${ac_cv_lib_m_nanf+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for nanf in -lm" >&5 +printf %s "checking for nanf in -lm... " >&6; } +if test ${ac_cv_lib_m_nanf+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -26048,41 +27620,41 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char nanf (); int -main () +main (void) { return nanf (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_m_nanf=yes -else +else $as_nop ac_cv_lib_m_nanf=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nanf" >&5 -$as_echo "$ac_cv_lib_m_nanf" >&6; } -if test "x$ac_cv_lib_m_nanf" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nanf" >&5 +printf "%s\n" "$ac_cv_lib_m_nanf" >&6; } +if test "x$ac_cv_lib_m_nanf" = xyes +then : -$as_echo "#define HAVE_NANF 1" >>confdefs.h +printf "%s\n" "#define HAVE_NANF 1" >>confdefs.h fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos in -lm" >&5 -$as_echo_n "checking for sincos in -lm... " >&6; } -if ${ac_cv_lib_m_sincos+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sincos in -lm" >&5 +printf %s "checking for sincos in -lm... " >&6; } +if test ${ac_cv_lib_m_sincos+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -26091,36 +27663,35 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char sincos (); int -main () +main (void) { return sincos (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_m_sincos=yes -else +else $as_nop ac_cv_lib_m_sincos=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sincos" >&5 -$as_echo "$ac_cv_lib_m_sincos" >&6; } -if test "x$ac_cv_lib_m_sincos" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sincos" >&5 +printf "%s\n" "$ac_cv_lib_m_sincos" >&6; } +if test "x$ac_cv_lib_m_sincos" = xyes +then : -$as_echo "#define HAVE_SINCOS 1" >>confdefs.h +printf "%s\n" "#define HAVE_SINCOS 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" sincos.$ac_objext "* ) ;; @@ -26132,45 +27703,42 @@ fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking _Thread_local support" >&5 -$as_echo_n "checking _Thread_local support... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking _Thread_local support" >&5 +printf %s "checking _Thread_local support... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ _Thread_local int foo = 0; int main() {} _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 -$as_echo "ok" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5 +printf "%s\n" "ok" >&6; } -$as_echo "#define HAVE_THREAD_LOCAL 1" >>confdefs.h +printf "%s\n" "#define HAVE_THREAD_LOCAL 1" >>confdefs.h -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext -for ac_header in threads.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "threads.h" "ac_cv_header_threads_h" "$ac_includes_default" -if test "x$ac_cv_header_threads_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_THREADS_H 1 -_ACEOF +ac_fn_c_check_header_compile "$LINENO" "threads.h" "ac_cv_header_threads_h" "$ac_includes_default" +if test "x$ac_cv_header_threads_h" = xyes +then : + printf "%s\n" "#define HAVE_THREADS_H 1" >>confdefs.h fi -done - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo_a in -lanl" >&5 -$as_echo_n "checking for getaddrinfo_a in -lanl... " >&6; } -if ${ac_cv_lib_anl_getaddrinfo_a+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo_a in -lanl" >&5 +printf %s "checking for getaddrinfo_a in -lanl... " >&6; } +if test ${ac_cv_lib_anl_getaddrinfo_a+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lanl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -26179,33 +27747,32 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char getaddrinfo_a (); int -main () +main (void) { return getaddrinfo_a (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_anl_getaddrinfo_a=yes -else +else $as_nop ac_cv_lib_anl_getaddrinfo_a=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_anl_getaddrinfo_a" >&5 -$as_echo "$ac_cv_lib_anl_getaddrinfo_a" >&6; } -if test "x$ac_cv_lib_anl_getaddrinfo_a" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_anl_getaddrinfo_a" >&5 +printf "%s\n" "$ac_cv_lib_anl_getaddrinfo_a" >&6; } +if test "x$ac_cv_lib_anl_getaddrinfo_a" = xyes +then : -$as_echo "#define HAVE_LIBANL 1" >>confdefs.h +printf "%s\n" "#define HAVE_LIBANL 1" >>confdefs.h fi @@ -26221,11 +27788,12 @@ LDFLAGS_save="${LDFLAGS}" LIBS_save="${LIBS}" -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5 -$as_echo_n "checking for library containing dlsym... " >&6; } -if ${ac_cv_search_dlsym+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5 +printf %s "checking for library containing dlsym... " >&6; } +if test ${ac_cv_search_dlsym+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -26233,49 +27801,52 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char dlsym (); int -main () +main (void) { return dlsym (); ; return 0; } _ACEOF -for ac_lib in '' dl svld; do +for ac_lib in '' dl svld +do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi - if ac_fn_c_try_link "$LINENO"; then : + if ac_fn_c_try_link "$LINENO" +then : ac_cv_search_dlsym=$ac_res fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext - if ${ac_cv_search_dlsym+:} false; then : + if test ${ac_cv_search_dlsym+y} +then : break fi done -if ${ac_cv_search_dlsym+:} false; then : +if test ${ac_cv_search_dlsym+y} +then : -else +else $as_nop ac_cv_search_dlsym=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5 -$as_echo "$ac_cv_search_dlsym" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5 +printf "%s\n" "$ac_cv_search_dlsym" >&6; } ac_res=$ac_cv_search_dlsym -if test "$ac_res" != no; then : +if test "$ac_res" != no +then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - if test "$ac_cv_search_dlsym" != "none required"; then : + if test "$ac_cv_search_dlsym" != "none required" +then : LIBDL="$ac_cv_search_dlsym" @@ -26294,7 +27865,8 @@ # Windows -if test "${SYS}" = "mingw32"; then : +if test "${SYS}" = "mingw32" +then : LIBDL="" have_dynamic_objects="yes" #assume we can use shared objects @@ -26303,15 +27875,17 @@ # Check whether --with-libfuzzer was given. -if test "${with_libfuzzer+set}" = set; then : +if test ${with_libfuzzer+y} +then : withval=$with_libfuzzer; -else +else $as_nop with_libfuzzer=no fi -if test "x$with_libfuzzer" = xno; then : +if test "x$with_libfuzzer" = xno +then : -else +else $as_nop enable_shared=no enable_static=yes @@ -26327,7 +27901,8 @@ fi -if test "${enable_shared}" = "no"; then : +if test "${enable_shared}" = "no" +then : have_dynamic_objects=no @@ -26344,7 +27919,8 @@ LIBPTHREAD="" -if test "${SYS}" != "mingw32"; then : +if test "${SYS}" != "mingw32" +then : CPPFLAGS_save="${CPPFLAGS}" @@ -26355,11 +27931,12 @@ LIBS_save="${LIBS}" LIBS="" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_rwlock_init" >&5 -$as_echo_n "checking for library containing pthread_rwlock_init... " >&6; } -if ${ac_cv_search_pthread_rwlock_init+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_rwlock_init" >&5 +printf %s "checking for library containing pthread_rwlock_init... " >&6; } +if test ${ac_cv_search_pthread_rwlock_init+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -26367,49 +27944,52 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char pthread_rwlock_init (); int -main () +main (void) { return pthread_rwlock_init (); ; return 0; } _ACEOF -for ac_lib in '' pthread pthreads c_r; do +for ac_lib in '' pthread pthreads c_r +do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi - if ac_fn_c_try_link "$LINENO"; then : + if ac_fn_c_try_link "$LINENO" +then : ac_cv_search_pthread_rwlock_init=$ac_res fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext - if ${ac_cv_search_pthread_rwlock_init+:} false; then : + if test ${ac_cv_search_pthread_rwlock_init+y} +then : break fi done -if ${ac_cv_search_pthread_rwlock_init+:} false; then : +if test ${ac_cv_search_pthread_rwlock_init+y} +then : -else +else $as_nop ac_cv_search_pthread_rwlock_init=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_rwlock_init" >&5 -$as_echo "$ac_cv_search_pthread_rwlock_init" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_rwlock_init" >&5 +printf "%s\n" "$ac_cv_search_pthread_rwlock_init" >&6; } ac_res=$ac_cv_search_pthread_rwlock_init -if test "$ac_res" != no; then : +if test "$ac_res" != no +then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - if test "$ac_cv_search_pthread_rwlock_init" != "none required"; then : + if test "$ac_cv_search_pthread_rwlock_init" != "none required" +then : LIBPTHREAD="$ac_cv_search_pthread_rwlock_init" @@ -26429,11 +28009,12 @@ fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_nanosleep" >&5 -$as_echo_n "checking for library containing clock_nanosleep... " >&6; } -if ${ac_cv_search_clock_nanosleep+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_nanosleep" >&5 +printf %s "checking for library containing clock_nanosleep... " >&6; } +if test ${ac_cv_search_clock_nanosleep+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -26441,61 +28022,65 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char clock_nanosleep (); int -main () +main (void) { return clock_nanosleep (); ; return 0; } _ACEOF -for ac_lib in '' rt pthread; do +for ac_lib in '' rt pthread +do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi - if ac_fn_c_try_link "$LINENO"; then : + if ac_fn_c_try_link "$LINENO" +then : ac_cv_search_clock_nanosleep=$ac_res fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext - if ${ac_cv_search_clock_nanosleep+:} false; then : + if test ${ac_cv_search_clock_nanosleep+y} +then : break fi done -if ${ac_cv_search_clock_nanosleep+:} false; then : +if test ${ac_cv_search_clock_nanosleep+y} +then : -else +else $as_nop ac_cv_search_clock_nanosleep=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_nanosleep" >&5 -$as_echo "$ac_cv_search_clock_nanosleep" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_nanosleep" >&5 +printf "%s\n" "$ac_cv_search_clock_nanosleep" >&6; } ac_res=$ac_cv_search_clock_nanosleep -if test "$ac_res" != no; then : +if test "$ac_res" != no +then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - if test "$ac_cv_search_clock_nanosleep" != "none required"; then : + if test "$ac_cv_search_clock_nanosleep" != "none required" +then : LIBRT="$ac_cv_search_clock_nanosleep" fi -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5 -$as_echo_n "checking for library containing nanosleep... " >&6; } -if ${ac_cv_search_nanosleep+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5 +printf %s "checking for library containing nanosleep... " >&6; } +if test ${ac_cv_search_nanosleep+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -26503,49 +28088,52 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char nanosleep (); int -main () +main (void) { return nanosleep (); ; return 0; } _ACEOF -for ac_lib in '' rt pthread posix4; do +for ac_lib in '' rt pthread posix4 +do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi - if ac_fn_c_try_link "$LINENO"; then : + if ac_fn_c_try_link "$LINENO" +then : ac_cv_search_nanosleep=$ac_res fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext - if ${ac_cv_search_nanosleep+:} false; then : + if test ${ac_cv_search_nanosleep+y} +then : break fi done -if ${ac_cv_search_nanosleep+:} false; then : +if test ${ac_cv_search_nanosleep+y} +then : -else +else $as_nop ac_cv_search_nanosleep=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5 -$as_echo "$ac_cv_search_nanosleep" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5 +printf "%s\n" "$ac_cv_search_nanosleep" >&6; } ac_res=$ac_cv_search_nanosleep -if test "$ac_res" != no; then : +if test "$ac_res" != no +then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - if test "$ac_cv_search_nanosleep" != "none required"; then : + if test "$ac_cv_search_nanosleep" != "none required" +then : LIBRT="$ac_cv_search_nanosleep" @@ -26560,18 +28148,18 @@ have_stdckdint="no" -ac_fn_c_check_header_mongrel "$LINENO" "stdckdint.h" "ac_cv_header_stdckdint_h" "$ac_includes_default" -if test "x$ac_cv_header_stdckdint_h" = xyes; then : +ac_fn_c_check_header_compile "$LINENO" "stdckdint.h" "ac_cv_header_stdckdint_h" "$ac_includes_default" +if test "x$ac_cv_header_stdckdint_h" = xyes +then : have_stdckdint="yes" -else +else $as_nop CPPFLAGS="${CPPFLAGS} -I\$(top_srcdir)/compat/stdckdint" fi - if test "${have_stdckdint}" = "yes"; then HAVE_STDCKDINT_TRUE= HAVE_STDCKDINT_FALSE='#' @@ -26581,43 +28169,62 @@ fi -for ac_header in arpa/inet.h pthread.h search.h sys/shm.h sys/socket.h sys/uio.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF +ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" +if test "x$ac_cv_header_arpa_inet_h" = xyes +then : + printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h fi +ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" +if test "x$ac_cv_header_pthread_h" = xyes +then : + printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h -done +fi +ac_fn_c_check_header_compile "$LINENO" "search.h" "ac_cv_header_search_h" "$ac_includes_default" +if test "x$ac_cv_header_search_h" = xyes +then : + printf "%s\n" "#define HAVE_SEARCH_H 1" >>confdefs.h -for ac_header in net/if.h -do : - ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" " +fi +ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_shm_h" = xyes +then : + printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h + +fi +ac_fn_c_check_header_compile "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_socket_h" = xyes +then : + printf "%s\n" "#define HAVE_SYS_SOCKET_H 1" >>confdefs.h + +fi +ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_uio_h" = xyes +then : + printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h + +fi + +ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" " #include #include " -if test "x$ac_cv_header_net_if_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_NET_IF_H 1 -_ACEOF +if test "x$ac_cv_header_net_if_h" = xyes +then : + printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h fi -done - -ac_fn_c_check_header_mongrel "$LINENO" "syslog.h" "ac_cv_header_syslog_h" "$ac_includes_default" -if test "x$ac_cv_header_syslog_h" = xyes; then : +ac_fn_c_check_header_compile "$LINENO" "syslog.h" "ac_cv_header_syslog_h" "$ac_includes_default" +if test "x$ac_cv_header_syslog_h" = xyes +then : have_syslog="yes" -else +else $as_nop have_syslog="no" fi - if test "$have_syslog" = "yes"; then HAVE_SYSLOG_TRUE= HAVE_SYSLOG_FALSE='#' @@ -26627,45 +28234,70 @@ fi -for ac_header in netinet/tcp.h netinet/udplite.h sys/param.h sys/mount.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF +ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default" +if test "x$ac_cv_header_netinet_tcp_h" = xyes +then : + printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h fi +ac_fn_c_check_header_compile "$LINENO" "netinet/udplite.h" "ac_cv_header_netinet_udplite_h" "$ac_includes_default" +if test "x$ac_cv_header_netinet_udplite_h" = xyes +then : + printf "%s\n" "#define HAVE_NETINET_UDPLITE_H 1" >>confdefs.h -done +fi +ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_param_h" = xyes +then : + printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h +fi +ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_mount_h" = xyes +then : + printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h + +fi -for ac_header in features.h getopt.h linux/dccp.h linux/magic.h sys/eventfd.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF + +ac_fn_c_check_header_compile "$LINENO" "features.h" "ac_cv_header_features_h" "$ac_includes_default" +if test "x$ac_cv_header_features_h" = xyes +then : + printf "%s\n" "#define HAVE_FEATURES_H 1" >>confdefs.h fi +ac_fn_c_check_header_compile "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" +if test "x$ac_cv_header_getopt_h" = xyes +then : + printf "%s\n" "#define HAVE_GETOPT_H 1" >>confdefs.h -done +fi +ac_fn_c_check_header_compile "$LINENO" "linux/dccp.h" "ac_cv_header_linux_dccp_h" "$ac_includes_default" +if test "x$ac_cv_header_linux_dccp_h" = xyes +then : + printf "%s\n" "#define HAVE_LINUX_DCCP_H 1" >>confdefs.h +fi +ac_fn_c_check_header_compile "$LINENO" "linux/magic.h" "ac_cv_header_linux_magic_h" "$ac_includes_default" +if test "x$ac_cv_header_linux_magic_h" = xyes +then : + printf "%s\n" "#define HAVE_LINUX_MAGIC_H 1" >>confdefs.h -for ac_header in xlocale.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "xlocale.h" "ac_cv_header_xlocale_h" "$ac_includes_default" -if test "x$ac_cv_header_xlocale_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_XLOCALE_H 1 -_ACEOF +fi +ac_fn_c_check_header_compile "$LINENO" "sys/eventfd.h" "ac_cv_header_sys_eventfd_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_eventfd_h" = xyes +then : + printf "%s\n" "#define HAVE_SYS_EVENTFD_H 1" >>confdefs.h fi -done + +ac_fn_c_check_header_compile "$LINENO" "xlocale.h" "ac_cv_header_xlocale_h" "$ac_includes_default" +if test "x$ac_cv_header_xlocale_h" = xyes +then : + printf "%s\n" "#define HAVE_XLOCALE_H 1" >>confdefs.h + +fi ac_ext=cpp @@ -26674,33 +28306,35 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ headers define locale_t" >&5 -$as_echo_n "checking if C++ headers define locale_t... " >&6; } -if ${ac_cv_cxx_locale_t+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if C++ headers define locale_t" >&5 +printf %s "checking if C++ headers define locale_t... " >&6; } +if test ${ac_cv_cxx_locale_t+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_cv_cxx_locale_t=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { locale_t loc; ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : ac_cv_cxx_locale_t=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_locale_t" >&5 -$as_echo "$ac_cv_cxx_locale_t" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_locale_t" >&5 +printf "%s\n" "$ac_cv_cxx_locale_t" >&6; } if test "${ac_cv_cxx_locale_t}" != "no"; then -$as_echo "#define HAVE_CXX_LOCALE_T 1" >>confdefs.h +printf "%s\n" "#define HAVE_CXX_LOCALE_T 1" >>confdefs.h fi ac_ext=c @@ -26711,11 +28345,12 @@ ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default" -if test "x$ac_cv_type_ssize_t" = xyes; then : +if test "x$ac_cv_type_ssize_t" = xyes +then : -else +else $as_nop - $as_echo "#define ssize_t int" >>confdefs.h + printf "%s\n" "#define ssize_t int" >>confdefs.h fi @@ -26733,11 +28368,12 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PKG_CONFIG+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PKG_CONFIG+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. @@ -26747,11 +28383,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -26763,11 +28403,11 @@ fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 -$as_echo "$PKG_CONFIG" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +printf "%s\n" "$PKG_CONFIG" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -26776,11 +28416,12 @@ ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. @@ -26790,11 +28431,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -26806,11 +28451,11 @@ fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 -$as_echo "$ac_pt_PKG_CONFIG" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then @@ -26818,8 +28463,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG @@ -26831,21 +28476,23 @@ fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 -$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } PKG_CONFIG="" fi fi -if test -n "${PKG_CONFIG}" ; then : +if test -n "${PKG_CONFIG}" +then : - if test "${SYS}" = "mingw32" -o "${SYS}" = "darwin" -o "${SYS}" = "os2" ; then : + if test "${SYS}" = "mingw32" -o "${SYS}" = "darwin" -o "${SYS}" = "os2" +then : PKG_CONFIG="${PKG_CONFIG} --static" @@ -26854,20 +28501,18 @@ fi -for ac_header in zlib.h + for ac_header in zlib.h do : - ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" -if test "x$ac_cv_header_zlib_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_ZLIB_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" +if test "x$ac_cv_header_zlib_h" = xyes +then : + printf "%s\n" "#define HAVE_ZLIB_H 1" >>confdefs.h have_zlib=yes -else +else $as_nop have_zlib=no fi done - if test "${have_zlib}" = "yes" ; then HAVE_ZLIB_TRUE= HAVE_ZLIB_FALSE='#' @@ -26886,17 +28531,17 @@ pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MINIZIP" >&5 -$as_echo_n "checking for MINIZIP... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MINIZIP" >&5 +printf %s "checking for MINIZIP... " >&6; } if test -n "$MINIZIP_CFLAGS"; then pkg_cv_MINIZIP_CFLAGS="$MINIZIP_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"minizip \""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"minizip \""; } >&5 ($PKG_CONFIG --exists --print-errors "minizip ") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MINIZIP_CFLAGS=`$PKG_CONFIG --cflags "minizip " 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -26910,10 +28555,10 @@ pkg_cv_MINIZIP_LIBS="$MINIZIP_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"minizip \""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"minizip \""; } >&5 ($PKG_CONFIG --exists --print-errors "minizip ") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MINIZIP_LIBS=`$PKG_CONFIG --libs "minizip " 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -26927,8 +28572,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -26944,18 +28589,17 @@ echo "$MINIZIP_PKG_ERRORS" >&5 - for ac_header in unzip.h + for ac_header in unzip.h do : - ac_fn_c_check_header_mongrel "$LINENO" "unzip.h" "ac_cv_header_unzip_h" "$ac_includes_default" -if test "x$ac_cv_header_unzip_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_UNZIP_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "unzip.h" "ac_cv_header_unzip_h" "$ac_includes_default" +if test "x$ac_cv_header_unzip_h" = xyes +then : + printf "%s\n" "#define HAVE_UNZIP_H 1" >>confdefs.h have_minizip=yes MINIZIP_LIBS="-lminizip -lz" -else +else $as_nop have_minizip=no @@ -26963,23 +28607,21 @@ done - elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - for ac_header in unzip.h + for ac_header in unzip.h do : - ac_fn_c_check_header_mongrel "$LINENO" "unzip.h" "ac_cv_header_unzip_h" "$ac_includes_default" -if test "x$ac_cv_header_unzip_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_UNZIP_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "unzip.h" "ac_cv_header_unzip_h" "$ac_includes_default" +if test "x$ac_cv_header_unzip_h" = xyes +then : + printf "%s\n" "#define HAVE_UNZIP_H 1" >>confdefs.h have_minizip=yes MINIZIP_LIBS="-lminizip -lz" -else +else $as_nop have_minizip=no @@ -26987,12 +28629,11 @@ done - else MINIZIP_CFLAGS=$pkg_cv_MINIZIP_CFLAGS MINIZIP_LIBS=$pkg_cv_MINIZIP_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_minizip=yes fi fi @@ -27008,17 +28649,17 @@ pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for IDN" >&5 -$as_echo_n "checking for IDN... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IDN" >&5 +printf %s "checking for IDN... " >&6; } if test -n "$IDN_CFLAGS"; then pkg_cv_IDN_CFLAGS="$IDN_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libidn\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libidn\""; } >&5 ($PKG_CONFIG --exists --print-errors "libidn") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_IDN_CFLAGS=`$PKG_CONFIG --cflags "libidn" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -27032,10 +28673,10 @@ pkg_cv_IDN_LIBS="$IDN_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libidn\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libidn\""; } >&5 ($PKG_CONFIG --exists --print-errors "libidn") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_IDN_LIBS=`$PKG_CONFIG --libs "libidn" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -27049,8 +28690,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -27069,46 +28710,48 @@ have_libidn="no" elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } have_libidn="no" else IDN_CFLAGS=$pkg_cv_IDN_CFLAGS IDN_LIBS=$pkg_cv_IDN_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_libidn="yes" -$as_echo "#define HAVE_IDN 1" >>confdefs.h +printf "%s\n" "#define HAVE_IDN 1" >>confdefs.h fi # Check whether --enable-dbus was given. -if test "${enable_dbus+set}" = set; then : +if test ${enable_dbus+y} +then : enableval=$enable_dbus; fi have_dbus="no" -if test "${enable_dbus}" != "no"; then : +if test "${enable_dbus}" != "no" +then : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5 -$as_echo_n "checking for DBUS... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5 +printf %s "checking for DBUS... " >&6; } if test -n "$DBUS_CFLAGS"; then pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.6.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.6.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.6.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.6.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -27122,10 +28765,10 @@ pkg_cv_DBUS_LIBS="$DBUS_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.6.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.6.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.6.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.6.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -27139,8 +28782,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -27156,37 +28799,39 @@ echo "$DBUS_PKG_ERRORS" >&5 - if test -n "${enable_dbus}"; then : + if test -n "${enable_dbus}" +then : as_fn_error $? "${DBUS_PKG_ERRORS}." "$LINENO" 5 -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${DBUS_PKG_ERRORS}." >&5 -$as_echo "$as_me: WARNING: ${DBUS_PKG_ERRORS}." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${DBUS_PKG_ERRORS}." >&5 +printf "%s\n" "$as_me: WARNING: ${DBUS_PKG_ERRORS}." >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - if test -n "${enable_dbus}"; then : + if test -n "${enable_dbus}" +then : as_fn_error $? "${DBUS_PKG_ERRORS}." "$LINENO" 5 -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${DBUS_PKG_ERRORS}." >&5 -$as_echo "$as_me: WARNING: ${DBUS_PKG_ERRORS}." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${DBUS_PKG_ERRORS}." >&5 +printf "%s\n" "$as_me: WARNING: ${DBUS_PKG_ERRORS}." >&2;} fi else DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS DBUS_LIBS=$pkg_cv_DBUS_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_dbus="yes" @@ -27205,17 +28850,17 @@ pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5 -$as_echo_n "checking for SYSTEMD... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5 +printf %s "checking for SYSTEMD... " >&6; } if test -n "$SYSTEMD_CFLAGS"; then pkg_cv_SYSTEMD_CFLAGS="$SYSTEMD_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SYSTEMD_CFLAGS=`$PKG_CONFIG --cflags "libsystemd" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -27229,10 +28874,10 @@ pkg_cv_SYSTEMD_LIBS="$SYSTEMD_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SYSTEMD_LIBS=`$PKG_CONFIG --libs "libsystemd" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -27246,8 +28891,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -27263,21 +28908,21 @@ echo "$SYSTEMD_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${SYSTEMD_PKG_ERRORS}." >&5 -$as_echo "$as_me: WARNING: ${SYSTEMD_PKG_ERRORS}." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${SYSTEMD_PKG_ERRORS}." >&5 +printf "%s\n" "$as_me: WARNING: ${SYSTEMD_PKG_ERRORS}." >&2;} elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${SYSTEMD_PKG_ERRORS}." >&5 -$as_echo "$as_me: WARNING: ${SYSTEMD_PKG_ERRORS}." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${SYSTEMD_PKG_ERRORS}." >&5 +printf "%s\n" "$as_me: WARNING: ${SYSTEMD_PKG_ERRORS}." >&2;} else SYSTEMD_CFLAGS=$pkg_cv_SYSTEMD_CFLAGS SYSTEMD_LIBS=$pkg_cv_SYSTEMD_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_systemd="yes" @@ -27299,12 +28944,13 @@ for flag in -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -Wformat -Wformat-security; do - as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 -$as_echo_n "checking whether C compiler accepts $flag... " >&6; } -if eval \${$as_CACHEVAR+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 +printf %s "checking whether C compiler accepts $flag... " >&6; } +if eval test \${$as_CACHEVAR+y} +then : + printf %s "(cached) " >&6 +else $as_nop ax_check_save_flags=$CFLAGS CFLAGS="$CFLAGS $flag" @@ -27312,58 +28958,61 @@ /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$as_CACHEVAR=yes" -else +else $as_nop eval "$as_CACHEVAR=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$ax_check_save_flags fi eval ac_res=\$$as_CACHEVAR - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_CACHEVAR"\" = x"yes" +then : -if ${CFLAGS+:} false; then : +if test ${CFLAGS+y} +then : case " $CFLAGS " in #( *" $flag "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 (: CFLAGS already contains $flag) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append CFLAGS " $flag" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 (: CFLAGS="$CFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop CFLAGS=$flag - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 (: CFLAGS="$CFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi -else +else $as_nop : fi @@ -27374,12 +29023,13 @@ for flag in -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -Wformat -Wformat-security; do - as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 -$as_echo_n "checking whether C compiler accepts $flag... " >&6; } -if eval \${$as_CACHEVAR+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 +printf %s "checking whether C compiler accepts $flag... " >&6; } +if eval test \${$as_CACHEVAR+y} +then : + printf %s "(cached) " >&6 +else $as_nop ax_check_save_flags=$CFLAGS CFLAGS="$CFLAGS $flag" @@ -27387,58 +29037,61 @@ /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$as_CACHEVAR=yes" -else +else $as_nop eval "$as_CACHEVAR=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$ax_check_save_flags fi eval ac_res=\$$as_CACHEVAR - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_CACHEVAR"\" = x"yes" +then : -if ${CXXFLAGS+:} false; then : +if test ${CXXFLAGS+y} +then : case " $CXXFLAGS " in #( *" $flag "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$flag"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$flag"; } >&5 (: CXXFLAGS already contains $flag) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append CXXFLAGS " $flag" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 (: CXXFLAGS="$CXXFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop CXXFLAGS=$flag - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 (: CXXFLAGS="$CXXFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi -else +else $as_nop : fi @@ -27450,12 +29103,13 @@ for flag in -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Werror-implicit-function-declaration -Winit-self -Wlogical-op -Wshadow=local; do - as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 -$as_echo_n "checking whether C compiler accepts $flag... " >&6; } -if eval \${$as_CACHEVAR+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 +printf %s "checking whether C compiler accepts $flag... " >&6; } +if eval test \${$as_CACHEVAR+y} +then : + printf %s "(cached) " >&6 +else $as_nop ax_check_save_flags=$CFLAGS CFLAGS="$CFLAGS $flag" @@ -27463,58 +29117,61 @@ /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$as_CACHEVAR=yes" -else +else $as_nop eval "$as_CACHEVAR=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$ax_check_save_flags fi eval ac_res=\$$as_CACHEVAR - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_CACHEVAR"\" = x"yes" +then : -if ${CFLAGS+:} false; then : +if test ${CFLAGS+y} +then : case " $CFLAGS " in #( *" $flag "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 (: CFLAGS already contains $flag) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append CFLAGS " $flag" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 (: CFLAGS="$CFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop CFLAGS=$flag - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 (: CFLAGS="$CFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi -else +else $as_nop : fi @@ -27525,12 +29182,13 @@ for flag in -pipe; do - as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 -$as_echo_n "checking whether C compiler accepts $flag... " >&6; } -if eval \${$as_CACHEVAR+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 +printf %s "checking whether C compiler accepts $flag... " >&6; } +if eval test \${$as_CACHEVAR+y} +then : + printf %s "(cached) " >&6 +else $as_nop ax_check_save_flags=$CFLAGS CFLAGS="$CFLAGS $flag" @@ -27538,58 +29196,61 @@ /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$as_CACHEVAR=yes" -else +else $as_nop eval "$as_CACHEVAR=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$ax_check_save_flags fi eval ac_res=\$$as_CACHEVAR - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_CACHEVAR"\" = x"yes" +then : -if ${CFLAGS+:} false; then : +if test ${CFLAGS+y} +then : case " $CFLAGS " in #( *" $flag "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 (: CFLAGS already contains $flag) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append CFLAGS " $flag" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 (: CFLAGS="$CFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop CFLAGS=$flag - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 (: CFLAGS="$CFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi -else +else $as_nop : fi @@ -27605,11 +29266,19 @@ LIBS_save="${LIBS}" SOCKET_LIBS="" -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5 -$as_echo_n "checking for library containing connect... " >&6; } -if ${ac_cv_search_connect+:} false; then : - $as_echo_n "(cached) " >&6 -else +if test "${SYS}" = "mingw32" +then : + + SOCKET_LIBS="-lws2_32 -liphlpapi" + +else $as_nop + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5 +printf %s "checking for library containing connect... " >&6; } +if test ${ac_cv_search_connect+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -27617,70 +29286,68 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char connect (); int -main () +main (void) { return connect (); ; return 0; } _ACEOF -for ac_lib in '' socket; do +for ac_lib in '' socket +do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi - if ac_fn_c_try_link "$LINENO"; then : + if ac_fn_c_try_link "$LINENO" +then : ac_cv_search_connect=$ac_res fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext - if ${ac_cv_search_connect+:} false; then : + if test ${ac_cv_search_connect+y} +then : break fi done -if ${ac_cv_search_connect+:} false; then : +if test ${ac_cv_search_connect+y} +then : -else +else $as_nop ac_cv_search_connect=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5 -$as_echo "$ac_cv_search_connect" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5 +printf "%s\n" "$ac_cv_search_connect" >&6; } ac_res=$ac_cv_search_connect -if test "$ac_res" != no; then : +if test "$ac_res" != no +then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - if test "$ac_cv_search_connect" != "none required"; then : + if test "$ac_cv_search_connect" != "none required" +then : - SOCKET_LIBS="$ac_cv_search_connect" + SOCKET_LIBS="$ac_cv_search_connect" fi -else - - if test "${SYS}" = "mingw32"; then : - - SOCKET_LIBS="-lws2_32 -liphlpapi" - fi -fi +fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_pton" >&5 -$as_echo_n "checking for library containing inet_pton... " >&6; } -if ${ac_cv_search_inet_pton+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_pton" >&5 +printf %s "checking for library containing inet_pton... " >&6; } +if test ${ac_cv_search_inet_pton+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -27688,49 +29355,52 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char inet_pton (); int -main () +main (void) { return inet_pton (); ; return 0; } _ACEOF -for ac_lib in '' nsl; do +for ac_lib in '' nsl +do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib ${SOCKET_LIBS} $ac_func_search_save_LIBS" fi - if ac_fn_c_try_link "$LINENO"; then : + if ac_fn_c_try_link "$LINENO" +then : ac_cv_search_inet_pton=$ac_res fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext - if ${ac_cv_search_inet_pton+:} false; then : + if test ${ac_cv_search_inet_pton+y} +then : break fi done -if ${ac_cv_search_inet_pton+:} false; then : +if test ${ac_cv_search_inet_pton+y} +then : -else +else $as_nop ac_cv_search_inet_pton=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_pton" >&5 -$as_echo "$ac_cv_search_inet_pton" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_pton" >&5 +printf "%s\n" "$ac_cv_search_inet_pton" >&6; } ac_res=$ac_cv_search_inet_pton -if test "$ac_res" != no; then : +if test "$ac_res" != no +then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - if test "$ac_cv_search_inet_pton" != "none required"; then : + if test "$ac_cv_search_inet_pton" != "none required" +then : SOCKET_LIBS="$ac_cv_search_inet_pton $SOCKET_LIBS" @@ -27755,7 +29425,7 @@ #include #endif int -main () +main (void) { char dst[sizeof(struct in_addr)]; @@ -27765,11 +29435,12 @@ return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : -$as_echo "#define HAVE_INET_PTON 1" >>confdefs.h +printf "%s\n" "#define HAVE_INET_PTON 1" >>confdefs.h -else +else $as_nop case " $LIBOBJS " in *" inet_pton.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS inet_pton.$ac_objext" @@ -27777,7 +29448,7 @@ esac fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -27790,7 +29461,7 @@ #include #endif int -main () +main (void) { if_nametoindex(""); @@ -27799,34 +29470,30 @@ return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : -$as_echo "#define HAVE_IF_NAMETOINDEX 1" >>confdefs.h +printf "%s\n" "#define HAVE_IF_NAMETOINDEX 1" >>confdefs.h fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ac_fn_c_check_type "$LINENO" "struct if_nameindex" "ac_cv_type_struct_if_nameindex" "#include " -if test "x$ac_cv_type_struct_if_nameindex" = xyes; then : +if test "x$ac_cv_type_struct_if_nameindex" = xyes +then : -cat >>confdefs.h <<_ACEOF -#define HAVE_STRUCT_IF_NAMEINDEX 1 -_ACEOF +printf "%s\n" "#define HAVE_STRUCT_IF_NAMEINDEX 1" >>confdefs.h fi -for ac_func in if_nameindex -do : - ac_fn_c_check_func "$LINENO" "if_nameindex" "ac_cv_func_if_nameindex" -if test "x$ac_cv_func_if_nameindex" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_IF_NAMEINDEX 1 -_ACEOF +ac_fn_c_check_func "$LINENO" "if_nameindex" "ac_cv_func_if_nameindex" +if test "x$ac_cv_func_if_nameindex" = xyes +then : + printf "%s\n" "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h fi -done CPPFLAGS="${CPPFLAGS_save}" @@ -27839,43 +29506,42 @@ # Check whether --enable-debug was given. -if test "${enable_debug+set}" = set; then : +if test ${enable_debug+y} +then : enableval=$enable_debug; -else +else $as_nop enable_debug="no" fi -if test "${enable_debug}" != "no"; then : +if test "${enable_debug}" != "no" +then : - for ac_header in valgrind/valgrind.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default" -if test "x$ac_cv_header_valgrind_valgrind_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_VALGRIND_VALGRIND_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default" +if test "x$ac_cv_header_valgrind_valgrind_h" = xyes +then : + printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h fi -done - -else +else $as_nop - $as_echo "#define NDEBUG 1" >>confdefs.h + printf "%s\n" "#define NDEBUG 1" >>confdefs.h fi # Check whether --enable-gprof was given. -if test "${enable_gprof+set}" = set; then : +if test ${enable_gprof+y} +then : enableval=$enable_gprof; -else +else $as_nop enable_gprof="no" fi -if test "${enable_gprof}" != "no"; then : +if test "${enable_gprof}" != "no" +then : CFLAGS="${CFLAGS} -pg" CXXFLAGS="${CXXFLAGS} -pg" @@ -27885,13 +29551,15 @@ fi # Check whether --enable-cprof was given. -if test "${enable_cprof+set}" = set; then : +if test ${enable_cprof+y} +then : enableval=$enable_cprof; -else +else $as_nop enable_cprof="no" fi -if test "${enable_gprof}" != "no"; then : +if test "${enable_gprof}" != "no" +then : CFLAGS="${CFLAGS} -finstrument-functions" CXXFLAGS="${CXXFLAGS} -finstrument-functions" @@ -27901,13 +29569,15 @@ fi # Check whether --enable-coverage was given. -if test "${enable_coverage+set}" = set; then : +if test ${enable_coverage+y} +then : enableval=$enable_coverage; -else +else $as_nop enable_coverage="no" fi -if test "${enable_coverage}" != "no"; then : +if test "${enable_coverage}" != "no" +then : CFLAGS="-fprofile-arcs -ftest-coverage ${CFLAGS}" CXXFLAGS="-fprofile-arcs -ftest-coverage ${CXXFLAGS}" @@ -27915,7 +29585,8 @@ fi -if test "${SYS}" != "mingw32" -a "${SYS}" != "os2"; then : +if test "${SYS}" != "mingw32" -a "${SYS}" != "os2" +then : CPPFLAGS_save="${CPPFLAGS}" @@ -27928,38 +29599,41 @@ CFLAGS="${CFLAGS} -fvisibility=hidden" CXXFLAGS="${CXXFLAGS} -fvisibility=hidden" OBJCFLAGS="${OBJCFLAGS} -fvisibility=hidden" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -fvisibility=hidden" >&5 -$as_echo_n "checking if $CC accepts -fvisibility=hidden... " >&6; } -if ${ac_cv_c_visibility_hidden+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -fvisibility=hidden" >&5 +printf %s "checking if $CC accepts -fvisibility=hidden... " >&6; } +if test ${ac_cv_c_visibility_hidden+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_c_visibility_hidden=yes -else +else $as_nop ac_cv_c_visibility_hidden=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_visibility_hidden" >&5 -$as_echo "$ac_cv_c_visibility_hidden" >&6; } - if test "${ac_cv_c_visibility_hidden}" = "no"; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_visibility_hidden" >&5 +printf "%s\n" "$ac_cv_c_visibility_hidden" >&6; } + if test "${ac_cv_c_visibility_hidden}" = "no" +then : CPPFLAGS="${CPPFLAGS_save}" CFLAGS="${CFLAGS_save}" @@ -27974,23 +29648,26 @@ # Check whether --with-sanitizer was given. -if test "${with_sanitizer+set}" = set; then : +if test ${with_sanitizer+y} +then : withval=$with_sanitizer; -else +else $as_nop with_sanitizer=no fi -if test "x$with_sanitizer" = xno; then : +if test "x$with_sanitizer" = xno +then : -else +else $as_nop - as_CACHEVAR=`$as_echo "ax_cv_check_cflags__-fsanitize=${with_sanitizer}" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fsanitize=${with_sanitizer}" >&5 -$as_echo_n "checking whether C compiler accepts -fsanitize=${with_sanitizer}... " >&6; } -if eval \${$as_CACHEVAR+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__-fsanitize=${with_sanitizer}" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fsanitize=${with_sanitizer}" >&5 +printf %s "checking whether C compiler accepts -fsanitize=${with_sanitizer}... " >&6; } +if eval test \${$as_CACHEVAR+y} +then : + printf %s "(cached) " >&6 +else $as_nop ax_check_save_flags=$CFLAGS CFLAGS="$CFLAGS -fsanitize=${with_sanitizer}" @@ -27998,207 +29675,216 @@ /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$as_CACHEVAR=yes" -else +else $as_nop eval "$as_CACHEVAR=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$ax_check_save_flags fi eval ac_res=\$$as_CACHEVAR - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_CACHEVAR"\" = x"yes" +then : -if ${CFLAGS+:} false; then : +if test ${CFLAGS+y} +then : case " $CFLAGS " in #( *" -fsanitize=${with_sanitizer} "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains -fsanitize=\${with_sanitizer}"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains -fsanitize=\${with_sanitizer}"; } >&5 (: CFLAGS already contains -fsanitize=${with_sanitizer}) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append CFLAGS " -fsanitize=${with_sanitizer}" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 (: CFLAGS="$CFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop CFLAGS=-fsanitize=${with_sanitizer} - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 (: CFLAGS="$CFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi -if ${CXXFLAGS+:} false; then : +if test ${CXXFLAGS+y} +then : case " $CXXFLAGS " in #( *" -fsanitize=${with_sanitizer} "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains -fsanitize=\${with_sanitizer}"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains -fsanitize=\${with_sanitizer}"; } >&5 (: CXXFLAGS already contains -fsanitize=${with_sanitizer}) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append CXXFLAGS " -fsanitize=${with_sanitizer}" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 (: CXXFLAGS="$CXXFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop CXXFLAGS=-fsanitize=${with_sanitizer} - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 (: CXXFLAGS="$CXXFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi -if ${LDFLAGS+:} false; then : +if test ${LDFLAGS+y} +then : case " $LDFLAGS " in #( *" -fsanitize=${with_sanitizer} "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : LDFLAGS already contains -fsanitize=\${with_sanitizer}"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : LDFLAGS already contains -fsanitize=\${with_sanitizer}"; } >&5 (: LDFLAGS already contains -fsanitize=${with_sanitizer}) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append LDFLAGS " -fsanitize=${with_sanitizer}" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : LDFLAGS=\"\$LDFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : LDFLAGS=\"\$LDFLAGS\""; } >&5 (: LDFLAGS="$LDFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop LDFLAGS=-fsanitize=${with_sanitizer} - { { $as_echo "$as_me:${as_lineno-$LINENO}: : LDFLAGS=\"\$LDFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : LDFLAGS=\"\$LDFLAGS\""; } >&5 (: LDFLAGS="$LDFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi -else +else $as_nop as_fn_error $? "\"-fsanitize=${with_sanitizer} not supported!\"" "$LINENO" 5 fi -if ${CFLAGS+:} false; then : +if test ${CFLAGS+y} +then : case " $CFLAGS " in #( *" -g "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains -g"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains -g"; } >&5 (: CFLAGS already contains -g) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append CFLAGS " -g" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 (: CFLAGS="$CFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop CFLAGS=-g - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 (: CFLAGS="$CFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi -if ${CXXFLAGS+:} false; then : +if test ${CXXFLAGS+y} +then : case " $CXXFLAGS " in #( *" -g "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains -g"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains -g"; } >&5 (: CXXFLAGS already contains -g) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append CXXFLAGS " -g" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 (: CXXFLAGS="$CXXFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop CXXFLAGS=-g - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 (: CXXFLAGS="$CXXFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi - if test -z "${with_sanitizer##*address*}" ; then : + if test -z "${with_sanitizer##*address*}" +then : for flag in -fsanitize-address-use-after-scope -fno-omit-frame-pointer; do - as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 -$as_echo_n "checking whether C compiler accepts $flag... " >&6; } -if eval \${$as_CACHEVAR+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 +printf %s "checking whether C compiler accepts $flag... " >&6; } +if eval test \${$as_CACHEVAR+y} +then : + printf %s "(cached) " >&6 +else $as_nop ax_check_save_flags=$CFLAGS CFLAGS="$CFLAGS $flag" @@ -28206,58 +29892,61 @@ /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$as_CACHEVAR=yes" -else +else $as_nop eval "$as_CACHEVAR=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$ax_check_save_flags fi eval ac_res=\$$as_CACHEVAR - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_CACHEVAR"\" = x"yes" +then : -if ${CFLAGS+:} false; then : +if test ${CFLAGS+y} +then : case " $CFLAGS " in #( *" $flag "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 (: CFLAGS already contains $flag) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append CFLAGS " $flag" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 (: CFLAGS="$CFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop CFLAGS=$flag - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 (: CFLAGS="$CFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi -else +else $as_nop : fi @@ -28268,12 +29957,13 @@ for flag in -fsanitize-address-use-after-scope -fno-omit-frame-pointer; do - as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 -$as_echo_n "checking whether C compiler accepts $flag... " >&6; } -if eval \${$as_CACHEVAR+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 +printf %s "checking whether C compiler accepts $flag... " >&6; } +if eval test \${$as_CACHEVAR+y} +then : + printf %s "(cached) " >&6 +else $as_nop ax_check_save_flags=$CFLAGS CFLAGS="$CFLAGS $flag" @@ -28281,58 +29971,61 @@ /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$as_CACHEVAR=yes" -else +else $as_nop eval "$as_CACHEVAR=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$ax_check_save_flags fi eval ac_res=\$$as_CACHEVAR - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_CACHEVAR"\" = x"yes" +then : -if ${CXXFLAGS+:} false; then : +if test ${CXXFLAGS+y} +then : case " $CXXFLAGS " in #( *" $flag "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$flag"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$flag"; } >&5 (: CXXFLAGS already contains $flag) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append CXXFLAGS " $flag" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 (: CXXFLAGS="$CXXFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop CXXFLAGS=$flag - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 (: CXXFLAGS="$CXXFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi -else +else $as_nop : fi @@ -28340,19 +30033,21 @@ fi - if test -z "${with_sanitizer##*memory*}" ; then : + if test -z "${with_sanitizer##*memory*}" +then : for flag in -fPIE -pie; do - as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 -$as_echo_n "checking whether C compiler accepts $flag... " >&6; } -if eval \${$as_CACHEVAR+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 +printf %s "checking whether C compiler accepts $flag... " >&6; } +if eval test \${$as_CACHEVAR+y} +then : + printf %s "(cached) " >&6 +else $as_nop ax_check_save_flags=$CFLAGS CFLAGS="$CFLAGS $flag" @@ -28360,58 +30055,61 @@ /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$as_CACHEVAR=yes" -else +else $as_nop eval "$as_CACHEVAR=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$ax_check_save_flags fi eval ac_res=\$$as_CACHEVAR - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_CACHEVAR"\" = x"yes" +then : -if ${CFLAGS+:} false; then : +if test ${CFLAGS+y} +then : case " $CFLAGS " in #( *" $flag "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 (: CFLAGS already contains $flag) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append CFLAGS " $flag" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 (: CFLAGS="$CFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop CFLAGS=$flag - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 (: CFLAGS="$CFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi -else +else $as_nop : fi @@ -28422,12 +30120,13 @@ for flag in -fPIE -pie; do - as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 -$as_echo_n "checking whether C compiler accepts $flag... " >&6; } -if eval \${$as_CACHEVAR+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 +printf %s "checking whether C compiler accepts $flag... " >&6; } +if eval test \${$as_CACHEVAR+y} +then : + printf %s "(cached) " >&6 +else $as_nop ax_check_save_flags=$CFLAGS CFLAGS="$CFLAGS $flag" @@ -28435,58 +30134,61 @@ /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$as_CACHEVAR=yes" -else +else $as_nop eval "$as_CACHEVAR=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$ax_check_save_flags fi eval ac_res=\$$as_CACHEVAR - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_CACHEVAR"\" = x"yes" +then : -if ${CXXFLAGS+:} false; then : +if test ${CXXFLAGS+y} +then : case " $CXXFLAGS " in #( *" $flag "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$flag"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$flag"; } >&5 (: CXXFLAGS already contains $flag) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append CXXFLAGS " $flag" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 (: CXXFLAGS="$CXXFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop CXXFLAGS=$flag - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 (: CXXFLAGS="$CXXFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi -else +else $as_nop : fi @@ -28494,19 +30196,21 @@ fi - if test -z "${with_sanitizer##*thread*}" ; then : + if test -z "${with_sanitizer##*thread*}" +then : for flag in -fPIE -pie; do - as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 -$as_echo_n "checking whether C compiler accepts $flag... " >&6; } -if eval \${$as_CACHEVAR+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 +printf %s "checking whether C compiler accepts $flag... " >&6; } +if eval test \${$as_CACHEVAR+y} +then : + printf %s "(cached) " >&6 +else $as_nop ax_check_save_flags=$CFLAGS CFLAGS="$CFLAGS $flag" @@ -28514,58 +30218,61 @@ /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$as_CACHEVAR=yes" -else +else $as_nop eval "$as_CACHEVAR=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$ax_check_save_flags fi eval ac_res=\$$as_CACHEVAR - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_CACHEVAR"\" = x"yes" +then : -if ${CFLAGS+:} false; then : +if test ${CFLAGS+y} +then : case " $CFLAGS " in #( *" $flag "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 (: CFLAGS already contains $flag) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append CFLAGS " $flag" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 (: CFLAGS="$CFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop CFLAGS=$flag - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 (: CFLAGS="$CFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi -else +else $as_nop : fi @@ -28576,12 +30283,13 @@ for flag in -fPIE -pie; do - as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 -$as_echo_n "checking whether C compiler accepts $flag... " >&6; } -if eval \${$as_CACHEVAR+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 +printf %s "checking whether C compiler accepts $flag... " >&6; } +if eval test \${$as_CACHEVAR+y} +then : + printf %s "(cached) " >&6 +else $as_nop ax_check_save_flags=$CFLAGS CFLAGS="$CFLAGS $flag" @@ -28589,58 +30297,61 @@ /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$as_CACHEVAR=yes" -else +else $as_nop eval "$as_CACHEVAR=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$ax_check_save_flags fi eval ac_res=\$$as_CACHEVAR - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_CACHEVAR"\" = x"yes" +then : -if ${CXXFLAGS+:} false; then : +if test ${CXXFLAGS+y} +then : case " $CXXFLAGS " in #( *" $flag "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$flag"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$flag"; } >&5 (: CXXFLAGS already contains $flag) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append CXXFLAGS " $flag" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 (: CXXFLAGS="$CXXFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop CXXFLAGS=$flag - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 (: CXXFLAGS="$CXXFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi -else +else $as_nop : fi @@ -28652,17 +30363,20 @@ fi # Check whether --enable-optimizations was given. -if test "${enable_optimizations+set}" = set; then : +if test ${enable_optimizations+y} +then : enableval=$enable_optimizations; -else +else $as_nop enable_optimizations="yes" fi -if test "${enable_optimizations}" != "no"; then : +if test "${enable_optimizations}" != "no" +then : - if test "${enable_debug}" = "no"; then : + if test "${enable_debug}" = "no" +then : CPPFLAGS_save="${CPPFLAGS}" @@ -28675,38 +30389,41 @@ CFLAGS="${CFLAGS} -O3" CXXFLAGS="${CXXFLAGS} -O3" OBJCFLAGS="${OBJCFLAGS} -O3" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -O3" >&5 -$as_echo_n "checking if $CC accepts -O3... " >&6; } -if ${ac_cv_c_o3+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -O3" >&5 +printf %s "checking if $CC accepts -O3... " >&6; } +if test ${ac_cv_c_o3+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_c_o3=yes -else +else $as_nop ac_cv_c_o3=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_o3" >&5 -$as_echo "$ac_cv_c_o3" >&6; } - if test "${ac_cv_c_o3}" = "no"; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_o3" >&5 +printf "%s\n" "$ac_cv_c_o3" >&6; } + if test "${ac_cv_c_o3}" = "no" +then : CPPFLAGS="${CPPFLAGS_save}" CFLAGS="${CFLAGS_save}" @@ -28724,12 +30441,13 @@ for flag in -fno-math-errno -funsafe-math-optimizations -fno-rounding-math -fno-signaling-nans -fcx-limited-range; do - as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 -$as_echo_n "checking whether C compiler accepts $flag... " >&6; } -if eval \${$as_CACHEVAR+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 +printf %s "checking whether C compiler accepts $flag... " >&6; } +if eval test \${$as_CACHEVAR+y} +then : + printf %s "(cached) " >&6 +else $as_nop ax_check_save_flags=$CFLAGS CFLAGS="$CFLAGS $flag" @@ -28737,58 +30455,61 @@ /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$as_CACHEVAR=yes" -else +else $as_nop eval "$as_CACHEVAR=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$ax_check_save_flags fi eval ac_res=\$$as_CACHEVAR - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_CACHEVAR"\" = x"yes" +then : -if ${CFLAGS+:} false; then : +if test ${CFLAGS+y} +then : case " $CFLAGS " in #( *" $flag "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 (: CFLAGS already contains $flag) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append CFLAGS " $flag" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 (: CFLAGS="$CFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop CFLAGS=$flag - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 (: CFLAGS="$CFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi -else +else $as_nop : fi @@ -28799,12 +30520,13 @@ for flag in -fno-math-errno -funsafe-math-optimizations -fno-rounding-math -fno-signaling-nans -fcx-limited-range; do - as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 -$as_echo_n "checking whether C compiler accepts $flag... " >&6; } -if eval \${$as_CACHEVAR+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 +printf %s "checking whether C compiler accepts $flag... " >&6; } +if eval test \${$as_CACHEVAR+y} +then : + printf %s "(cached) " >&6 +else $as_nop ax_check_save_flags=$CFLAGS CFLAGS="$CFLAGS $flag" @@ -28812,58 +30534,61 @@ /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$as_CACHEVAR=yes" -else +else $as_nop eval "$as_CACHEVAR=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$ax_check_save_flags fi eval ac_res=\$$as_CACHEVAR - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_CACHEVAR"\" = x"yes" +then : -if ${CXXFLAGS+:} false; then : +if test ${CXXFLAGS+y} +then : case " $CXXFLAGS " in #( *" $flag "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$flag"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$flag"; } >&5 (: CXXFLAGS already contains $flag) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append CXXFLAGS " $flag" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 (: CXXFLAGS="$CXXFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop CXXFLAGS=$flag - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 (: CXXFLAGS="$CXXFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi -else +else $as_nop : fi @@ -28883,38 +30608,41 @@ CFLAGS="${CFLAGS} -funroll-loops" CXXFLAGS="${CXXFLAGS} -funroll-loops" OBJCFLAGS="${OBJCFLAGS} -funroll-loops" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -funroll-loops" >&5 -$as_echo_n "checking if $CC accepts -funroll-loops... " >&6; } -if ${ac_cv_c_unroll_loops+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -funroll-loops" >&5 +printf %s "checking if $CC accepts -funroll-loops... " >&6; } +if test ${ac_cv_c_unroll_loops+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_c_unroll_loops=yes -else +else $as_nop ac_cv_c_unroll_loops=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_unroll_loops" >&5 -$as_echo "$ac_cv_c_unroll_loops" >&6; } - if test "${ac_cv_c_unroll_loops}" = "no"; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_unroll_loops" >&5 +printf "%s\n" "$ac_cv_c_unroll_loops" >&6; } + if test "${ac_cv_c_unroll_loops}" = "no" +then : CPPFLAGS="${CPPFLAGS_save}" CFLAGS="${CFLAGS_save}" @@ -28925,7 +30653,8 @@ fi - if test "$enable_debug" = "no"; then : + if test "$enable_debug" = "no" +then : CPPFLAGS_save="${CPPFLAGS}" @@ -28938,38 +30667,41 @@ CFLAGS="${CFLAGS} -fomit-frame-pointer" CXXFLAGS="${CXXFLAGS} -fomit-frame-pointer" OBJCFLAGS="${OBJCFLAGS} -fomit-frame-pointer" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -fomit-frame-pointer" >&5 -$as_echo_n "checking if $CC accepts -fomit-frame-pointer... " >&6; } -if ${ac_cv_c_omit_frame_pointer+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -fomit-frame-pointer" >&5 +printf %s "checking if $CC accepts -fomit-frame-pointer... " >&6; } +if test ${ac_cv_c_omit_frame_pointer+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_c_omit_frame_pointer=yes -else +else $as_nop ac_cv_c_omit_frame_pointer=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_omit_frame_pointer" >&5 -$as_echo "$ac_cv_c_omit_frame_pointer" >&6; } - if test "${ac_cv_c_omit_frame_pointer}" = "no"; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_omit_frame_pointer" >&5 +printf "%s\n" "$ac_cv_c_omit_frame_pointer" >&6; } + if test "${ac_cv_c_omit_frame_pointer}" = "no" +then : CPPFLAGS="${CPPFLAGS_save}" CFLAGS="${CFLAGS_save}" @@ -28987,12 +30719,13 @@ for flag in -fstack-protector-strong; do - as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 -$as_echo_n "checking whether C compiler accepts $flag... " >&6; } -if eval \${$as_CACHEVAR+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 +printf %s "checking whether C compiler accepts $flag... " >&6; } +if eval test \${$as_CACHEVAR+y} +then : + printf %s "(cached) " >&6 +else $as_nop ax_check_save_flags=$CFLAGS CFLAGS="$CFLAGS $flag" @@ -29000,58 +30733,61 @@ /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$as_CACHEVAR=yes" -else +else $as_nop eval "$as_CACHEVAR=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$ax_check_save_flags fi eval ac_res=\$$as_CACHEVAR - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_CACHEVAR"\" = x"yes" +then : -if ${CFLAGS+:} false; then : +if test ${CFLAGS+y} +then : case " $CFLAGS " in #( *" $flag "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 (: CFLAGS already contains $flag) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append CFLAGS " $flag" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 (: CFLAGS="$CFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop CFLAGS=$flag - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 (: CFLAGS="$CFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi -else +else $as_nop : fi @@ -29062,12 +30798,13 @@ for flag in -fstack-protector-strong; do - as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 -$as_echo_n "checking whether C compiler accepts $flag... " >&6; } -if eval \${$as_CACHEVAR+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 +printf %s "checking whether C compiler accepts $flag... " >&6; } +if eval test \${$as_CACHEVAR+y} +then : + printf %s "(cached) " >&6 +else $as_nop ax_check_save_flags=$CFLAGS CFLAGS="$CFLAGS $flag" @@ -29075,68 +30812,75 @@ /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$as_CACHEVAR=yes" -else +else $as_nop eval "$as_CACHEVAR=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$ax_check_save_flags fi eval ac_res=\$$as_CACHEVAR - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_CACHEVAR"\" = x"yes" +then : -if ${CXXFLAGS+:} false; then : +if test ${CXXFLAGS+y} +then : case " $CXXFLAGS " in #( *" $flag "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$flag"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$flag"; } >&5 (: CXXFLAGS already contains $flag) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append CXXFLAGS " $flag" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 (: CXXFLAGS="$CXXFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop CXXFLAGS=$flag - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 (: CXXFLAGS="$CXXFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi -else +else $as_nop : fi done - if test "${SYS}" = "mingw32"; then : + if test "${SYS}" = "mingw32" +then : LDFLAGS="${LDFLAGS} -lssp" - if test "${vlc_winstore_app}" != 1; then : + if test "${vlc_winstore_app}" != 1 +then : LDFLAGS="${LDFLAGS} -ladvapi32" +else $as_nop + LDFLAGS="${LDFLAGS} -lbcrypt" fi fi @@ -29152,38 +30896,40 @@ LIBS_save="${LIBS}" LDFLAGS="${LDFLAGS} -Wl,-Bsymbolic" -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if linker supports -Bsymbolic" >&5 -$as_echo_n "checking if linker supports -Bsymbolic... " >&6; } -if ${ac_cv_ld_bsymbolic+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if linker supports -Bsymbolic" >&5 +printf %s "checking if linker supports -Bsymbolic... " >&6; } +if test ${ac_cv_ld_bsymbolic+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_ld_bsymbolic="-Wl,-Bsymbolic" -else +else $as_nop ac_cv_ld_bsymbolic="" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ld_bsymbolic" >&5 -$as_echo "$ac_cv_ld_bsymbolic" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ld_bsymbolic" >&5 +printf "%s\n" "$ac_cv_ld_bsymbolic" >&6; } CPPFLAGS="${CPPFLAGS_save}" CFLAGS="${CFLAGS_save}" @@ -29204,39 +30950,42 @@ LIBS_save="${LIBS}" LDFLAGS="${LDFLAGS} -Wl,-z,defs" -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if linker supports -z,defs" >&5 -$as_echo_n "checking if linker supports -z,defs... " >&6; } -if ${ac_cv_ld_z_defs+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if linker supports -z,defs" >&5 +printf %s "checking if linker supports -z,defs... " >&6; } +if test ${ac_cv_ld_z_defs+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_ld_z_defs="yes" -else +else $as_nop ac_cv_ld_z_defs="no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ld_z_defs" >&5 -$as_echo "$ac_cv_ld_z_defs" >&6; } -if test "${ac_cv_ld_z_defs}" = "no"; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ld_z_defs" >&5 +printf "%s\n" "$ac_cv_ld_z_defs" >&6; } +if test "${ac_cv_ld_z_defs}" = "no" +then : CPPFLAGS="${CPPFLAGS_save}" CFLAGS="${CFLAGS_save}" @@ -29247,41 +30996,44 @@ fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__((packed))" >&5 -$as_echo_n "checking for __attribute__((packed))... " >&6; } -if ${ac_cv_c_attribute_packed+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((packed))" >&5 +printf %s "checking for __attribute__((packed))... " >&6; } +if test ${ac_cv_c_attribute_packed+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_cv_c_attribute_packed=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { struct __attribute__((__packed__)) foo { int a; } b; (void)b; ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_c_attribute_packed=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_attribute_packed" >&5 -$as_echo "$ac_cv_c_attribute_packed" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_attribute_packed" >&5 +printf "%s\n" "$ac_cv_c_attribute_packed" >&6; } if test "${ac_cv_c_attribute_packed}" != "no"; then -$as_echo "#define HAVE_ATTRIBUTE_PACKED 1" >>confdefs.h +printf "%s\n" "#define HAVE_ATTRIBUTE_PACKED 1" >>confdefs.h fi WIN32_PATH_CMD= -if test "${SYS}" = "mingw32"; then : +if test "${SYS}" = "mingw32" +then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to transform windows pathes" >&5 -$as_echo_n "checking how to transform windows pathes... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to transform windows pathes" >&5 +printf %s "checking how to transform windows pathes... " >&6; } win32_path_cmd=no for win_path in "cygpath" "wslpath" "wine winepath" do @@ -29293,16 +31045,17 @@ break fi done - if test "${win32_path_cmd}" != "no"; then : + if test "${win32_path_cmd}" != "no" +then : WIN32_PATH_CMD=${win32_path_cmd} - { $as_echo "$as_me:${as_lineno-$LINENO}: result: using '${win32_path_cmd}'" >&5 -$as_echo "using '${win32_path_cmd}'" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: using '${win32_path_cmd}'" >&5 +printf "%s\n" "using '${win32_path_cmd}'" >&6; } -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: result: not possible" >&5 -$as_echo "not possible" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not possible" >&5 +printf "%s\n" "not possible" >&6; } fi @@ -29312,20 +31065,24 @@ # Check whether --with-wix was given. -if test "${with_wix+set}" = set; then : +if test ${with_wix+y} +then : withval=$with_wix; fi -if test -z "${with_wix}"; then : +if test -z "${with_wix}" +then : - if test -n "${CONTRIB_DIR}"; then : + if test -n "${CONTRIB_DIR}" +then : with_wix="${CONTRIB_DIR}/bin" fi fi -if test "${with_wix}" != "no"; then : +if test "${with_wix}" != "no" +then : WIXPATH="${with_wix}" @@ -29345,33 +31102,29 @@ ;; esac -for ac_header in execinfo.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "execinfo.h" "ac_cv_header_execinfo_h" "$ac_includes_default" -if test "x$ac_cv_header_execinfo_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_EXECINFO_H 1 -_ACEOF +ac_fn_c_check_header_compile "$LINENO" "execinfo.h" "ac_cv_header_execinfo_h" "$ac_includes_default" +if test "x$ac_cv_header_execinfo_h" = xyes +then : + printf "%s\n" "#define HAVE_EXECINFO_H 1" >>confdefs.h fi -done -for ac_func in backtrace + for ac_func in backtrace do : ac_fn_c_check_func "$LINENO" "backtrace" "ac_cv_func_backtrace" -if test "x$ac_cv_func_backtrace" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_BACKTRACE 1 -_ACEOF - -else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace in -lexecinfo" >&5 -$as_echo_n "checking for backtrace in -lexecinfo... " >&6; } -if ${ac_cv_lib_execinfo_backtrace+:} false; then : - $as_echo_n "(cached) " >&6 -else +if test "x$ac_cv_func_backtrace" = xyes +then : + printf "%s\n" "#define HAVE_BACKTRACE 1" >>confdefs.h + +else $as_nop + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for backtrace in -lexecinfo" >&5 +printf %s "checking for backtrace in -lexecinfo... " >&6; } +if test ${ac_cv_lib_execinfo_backtrace+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lexecinfo $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -29380,38 +31133,37 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char backtrace (); int -main () +main (void) { return backtrace (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_execinfo_backtrace=yes -else +else $as_nop ac_cv_lib_execinfo_backtrace=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_execinfo_backtrace" >&5 -$as_echo "$ac_cv_lib_execinfo_backtrace" >&6; } -if test "x$ac_cv_lib_execinfo_backtrace" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_execinfo_backtrace" >&5 +printf "%s\n" "$ac_cv_lib_execinfo_backtrace" >&6; } +if test "x$ac_cv_lib_execinfo_backtrace" = xyes +then : LIBEXECINFO="-lexecinfo" fi fi -done +done @@ -29419,9 +31171,10 @@ # Check whether --enable-mmx was given. -if test "${enable_mmx+set}" = set; then : +if test ${enable_mmx+y} +then : enableval=$enable_mmx; -else +else $as_nop case "${host_cpu}" in i?86|x86_64) @@ -29436,7 +31189,8 @@ have_mmx="no" have_mmxext="no" -if test "${enable_mmx}" != "no"; then : +if test "${enable_mmx}" != "no" +then : ARCH="${ARCH} mmx" @@ -29448,11 +31202,12 @@ LIBS_save="${LIBS}" CFLAGS="${CFLAGS} -mmmx" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC groks MMX intrinsics" >&5 -$as_echo_n "checking if $CC groks MMX intrinsics... " >&6; } -if ${ac_cv_c_mmx_intrinsics+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC groks MMX intrinsics" >&5 +printf %s "checking if $CC groks MMX intrinsics... " >&6; } +if test ${ac_cv_c_mmx_intrinsics+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -29461,7 +31216,7 @@ #include uint64_t frobzor; int -main () +main (void) { __m64 a, b, c; @@ -29477,20 +31232,21 @@ return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_c_mmx_intrinsics=yes -else +else $as_nop ac_cv_c_mmx_intrinsics=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_mmx_intrinsics" >&5 -$as_echo "$ac_cv_c_mmx_intrinsics" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_mmx_intrinsics" >&5 +printf "%s\n" "$ac_cv_c_mmx_intrinsics" >&6; } CPPFLAGS="${CPPFLAGS_save}" CFLAGS="${CFLAGS_save}" @@ -29499,10 +31255,11 @@ LDFLAGS="${LDFLAGS_save}" LIBS="${LIBS_save}" - if test "${ac_cv_c_mmx_intrinsics}" != "no"; then : + if test "${ac_cv_c_mmx_intrinsics}" != "no" +then : -$as_echo "#define HAVE_MMX_INTRINSICS 1" >>confdefs.h +printf "%s\n" "#define HAVE_MMX_INTRINSICS 1" >>confdefs.h fi @@ -29516,17 +31273,18 @@ LIBS_save="${LIBS}" CFLAGS="${CFLAGS} -mmmx" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC groks MMX inline assembly" >&5 -$as_echo_n "checking if $CC groks MMX inline assembly... " >&6; } -if ${ac_cv_mmx_inline+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC groks MMX inline assembly" >&5 +printf %s "checking if $CC groks MMX inline assembly... " >&6; } +if test ${ac_cv_mmx_inline+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { void *p; @@ -29537,40 +31295,43 @@ } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_mmx_inline=yes -else +else $as_nop ac_cv_mmx_inline=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mmx_inline" >&5 -$as_echo "$ac_cv_mmx_inline" >&6; } - if test "${ac_cv_mmx_inline}" != "no"; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mmx_inline" >&5 +printf "%s\n" "$ac_cv_mmx_inline" >&6; } + if test "${ac_cv_mmx_inline}" != "no" +then : -$as_echo "#define CAN_COMPILE_MMX 1" >>confdefs.h +printf "%s\n" "#define CAN_COMPILE_MMX 1" >>confdefs.h have_mmx="yes" fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC groks MMX EXT inline assembly" >&5 -$as_echo_n "checking if $CC groks MMX EXT inline assembly... " >&6; } -if ${ac_cv_mmxext_inline+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC groks MMX EXT inline assembly" >&5 +printf %s "checking if $CC groks MMX EXT inline assembly... " >&6; } +if test ${ac_cv_mmxext_inline+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { void *p; @@ -29581,20 +31342,21 @@ } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_mmxext_inline=yes -else +else $as_nop ac_cv_mmxext_inline=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mmxext_inline" >&5 -$as_echo "$ac_cv_mmxext_inline" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mmxext_inline" >&5 +printf "%s\n" "$ac_cv_mmxext_inline" >&6; } CPPFLAGS="${CPPFLAGS_save}" CFLAGS="${CFLAGS_save}" @@ -29603,10 +31365,11 @@ LDFLAGS="${LDFLAGS_save}" LIBS="${LIBS_save}" - if test "${ac_cv_mmxext_inline}" != "no"; then : + if test "${ac_cv_mmxext_inline}" != "no" +then : -$as_echo "#define CAN_COMPILE_MMXEXT 1" >>confdefs.h +printf "%s\n" "#define CAN_COMPILE_MMXEXT 1" >>confdefs.h have_mmxext="yes" @@ -29631,9 +31394,10 @@ # Check whether --enable-sse was given. -if test "${enable_sse+set}" = set; then : +if test ${enable_sse+y} +then : enableval=$enable_sse; -else +else $as_nop case "${host_cpu}" in i?86|x86_64) @@ -29647,7 +31411,8 @@ fi have_sse2="no" -if test "${enable_sse}" != "no"; then : +if test "${enable_sse}" != "no" +then : ARCH="${ARCH} sse sse2" @@ -29660,11 +31425,12 @@ LIBS_save="${LIBS}" CFLAGS="${CFLAGS} -msse2" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC groks SSE2 intrinsics" >&5 -$as_echo_n "checking if $CC groks SSE2 intrinsics... " >&6; } -if ${ac_cv_c_sse2_intrinsics+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC groks SSE2 intrinsics" >&5 +printf %s "checking if $CC groks SSE2 intrinsics... " >&6; } +if test ${ac_cv_c_sse2_intrinsics+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -29673,7 +31439,7 @@ #include uint64_t frobzor; int -main () +main (void) { __m128i a, b, c; @@ -29689,20 +31455,21 @@ return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_c_sse2_intrinsics=yes -else +else $as_nop ac_cv_c_sse2_intrinsics=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_sse2_intrinsics" >&5 -$as_echo "$ac_cv_c_sse2_intrinsics" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_sse2_intrinsics" >&5 +printf "%s\n" "$ac_cv_c_sse2_intrinsics" >&6; } CPPFLAGS="${CPPFLAGS_save}" CFLAGS="${CFLAGS_save}" @@ -29711,10 +31478,11 @@ LDFLAGS="${LDFLAGS_save}" LIBS="${LIBS_save}" - if test "${ac_cv_c_sse2_intrinsics}" != "no"; then : + if test "${ac_cv_c_sse2_intrinsics}" != "no" +then : -$as_echo "#define HAVE_SSE2_INTRINSICS 1" >>confdefs.h +printf "%s\n" "#define HAVE_SSE2_INTRINSICS 1" >>confdefs.h fi @@ -29728,17 +31496,18 @@ LIBS_save="${LIBS}" CFLAGS="${CFLAGS} -msse" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC groks SSE inline assembly" >&5 -$as_echo_n "checking if $CC groks SSE inline assembly... " >&6; } -if ${ac_cv_sse_inline+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC groks SSE inline assembly" >&5 +printf %s "checking if $CC groks SSE inline assembly... " >&6; } +if test ${ac_cv_sse_inline+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { void *p; @@ -29749,40 +31518,43 @@ } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_sse_inline=yes -else +else $as_nop ac_cv_sse_inline=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sse_inline" >&5 -$as_echo "$ac_cv_sse_inline" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sse_inline" >&5 +printf "%s\n" "$ac_cv_sse_inline" >&6; } - if test "${ac_cv_sse_inline}" != "no" -a "${SYS}" != "solaris"; then : + if test "${ac_cv_sse_inline}" != "no" -a "${SYS}" != "solaris" +then : -$as_echo "#define CAN_COMPILE_SSE 1" >>confdefs.h +printf "%s\n" "#define CAN_COMPILE_SSE 1" >>confdefs.h fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC groks SSE2 inline assembly" >&5 -$as_echo_n "checking if $CC groks SSE2 inline assembly... " >&6; } -if ${ac_cv_sse2_inline+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC groks SSE2 inline assembly" >&5 +printf %s "checking if $CC groks SSE2 inline assembly... " >&6; } +if test ${ac_cv_sse2_inline+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { void *p; @@ -29793,41 +31565,44 @@ } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_sse2_inline=yes -else +else $as_nop ac_cv_sse2_inline=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sse2_inline" >&5 -$as_echo "$ac_cv_sse2_inline" >&6; } - if test "${ac_cv_sse2_inline}" != "no" -a "${SYS}" != "solaris"; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sse2_inline" >&5 +printf "%s\n" "$ac_cv_sse2_inline" >&6; } + if test "${ac_cv_sse2_inline}" != "no" -a "${SYS}" != "solaris" +then : -$as_echo "#define CAN_COMPILE_SSE2 1" >>confdefs.h +printf "%s\n" "#define CAN_COMPILE_SSE2 1" >>confdefs.h have_sse2="yes" fi # SSE3 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC groks SSE3 inline assembly" >&5 -$as_echo_n "checking if $CC groks SSE3 inline assembly... " >&6; } -if ${ac_cv_sse3_inline+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC groks SSE3 inline assembly" >&5 +printf %s "checking if $CC groks SSE3 inline assembly... " >&6; } +if test ${ac_cv_sse3_inline+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { void *p; @@ -29838,39 +31613,42 @@ } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_sse3_inline=yes -else +else $as_nop ac_cv_sse3_inline=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sse3_inline" >&5 -$as_echo "$ac_cv_sse3_inline" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sse3_inline" >&5 +printf "%s\n" "$ac_cv_sse3_inline" >&6; } - if test "${ac_cv_sse3_inline}" != "no"; then : + if test "${ac_cv_sse3_inline}" != "no" +then : -$as_echo "#define CAN_COMPILE_SSE3 1" >>confdefs.h +printf "%s\n" "#define CAN_COMPILE_SSE3 1" >>confdefs.h fi # SSSE3 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC groks SSSE3 inline assembly" >&5 -$as_echo_n "checking if $CC groks SSSE3 inline assembly... " >&6; } -if ${ac_cv_ssse3_inline+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC groks SSSE3 inline assembly" >&5 +printf %s "checking if $CC groks SSSE3 inline assembly... " >&6; } +if test ${ac_cv_ssse3_inline+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { void *p; @@ -29881,40 +31659,43 @@ } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_ssse3_inline=yes -else +else $as_nop ac_cv_ssse3_inline=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ssse3_inline" >&5 -$as_echo "$ac_cv_ssse3_inline" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ssse3_inline" >&5 +printf "%s\n" "$ac_cv_ssse3_inline" >&6; } - if test "${ac_cv_ssse3_inline}" != "no"; then : + if test "${ac_cv_ssse3_inline}" != "no" +then : -$as_echo "#define CAN_COMPILE_SSSE3 1" >>confdefs.h +printf "%s\n" "#define CAN_COMPILE_SSSE3 1" >>confdefs.h fi # SSE4.1 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC groks SSE4.1 inline assembly" >&5 -$as_echo_n "checking if $CC groks SSE4.1 inline assembly... " >&6; } -if ${ac_cv_sse4_1_inline+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC groks SSE4.1 inline assembly" >&5 +printf %s "checking if $CC groks SSE4.1 inline assembly... " >&6; } +if test ${ac_cv_sse4_1_inline+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { void *p; @@ -29925,40 +31706,43 @@ } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_sse4_1_inline=yes -else +else $as_nop ac_cv_sse4_1_inline=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sse4_1_inline" >&5 -$as_echo "$ac_cv_sse4_1_inline" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sse4_1_inline" >&5 +printf "%s\n" "$ac_cv_sse4_1_inline" >&6; } - if test "${ac_cv_sse4_1_inline}" != "no"; then : + if test "${ac_cv_sse4_1_inline}" != "no" +then : -$as_echo "#define CAN_COMPILE_SSE4_1 1" >>confdefs.h +printf "%s\n" "#define CAN_COMPILE_SSE4_1 1" >>confdefs.h fi # SSE4.2 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC groks SSE4.2 inline assembly" >&5 -$as_echo_n "checking if $CC groks SSE4.2 inline assembly... " >&6; } -if ${ac_cv_sse4_2_inline+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC groks SSE4.2 inline assembly" >&5 +printf %s "checking if $CC groks SSE4.2 inline assembly... " >&6; } +if test ${ac_cv_sse4_2_inline+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { void *p; @@ -29969,40 +31753,43 @@ } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_sse4_2_inline=yes -else +else $as_nop ac_cv_sse4_2_inline=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sse4_2_inline" >&5 -$as_echo "$ac_cv_sse4_2_inline" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sse4_2_inline" >&5 +printf "%s\n" "$ac_cv_sse4_2_inline" >&6; } - if test "${ac_cv_sse4_2_inline}" != "no"; then : + if test "${ac_cv_sse4_2_inline}" != "no" +then : -$as_echo "#define CAN_COMPILE_SSE4_2 1" >>confdefs.h +printf "%s\n" "#define CAN_COMPILE_SSE4_2 1" >>confdefs.h fi # SSE4A - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC groks SSE4A inline assembly" >&5 -$as_echo_n "checking if $CC groks SSE4A inline assembly... " >&6; } -if ${ac_cv_sse4a_inline+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC groks SSE4A inline assembly" >&5 +printf %s "checking if $CC groks SSE4A inline assembly... " >&6; } +if test ${ac_cv_sse4a_inline+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { void *p; @@ -30013,20 +31800,21 @@ } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_sse4a_inline=yes -else +else $as_nop ac_cv_sse4a_inline=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sse4a_inline" >&5 -$as_echo "$ac_cv_sse4a_inline" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sse4a_inline" >&5 +printf "%s\n" "$ac_cv_sse4a_inline" >&6; } CPPFLAGS="${CPPFLAGS_save}" CFLAGS="${CFLAGS_save}" @@ -30035,10 +31823,11 @@ LDFLAGS="${LDFLAGS_save}" LIBS="${LIBS_save}" - if test "${ac_cv_sse4a_inline}" != "no"; then : + if test "${ac_cv_sse4a_inline}" != "no" +then : -$as_echo "#define CAN_COMPILE_SSE4A 1" >>confdefs.h +printf "%s\n" "#define CAN_COMPILE_SSE4A 1" >>confdefs.h fi @@ -30062,17 +31851,18 @@ CFLAGS="${CFLAGS} -mmmx" have_3dnow="no" -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC groks 3D Now! inline assembly" >&5 -$as_echo_n "checking if $CC groks 3D Now! inline assembly... " >&6; } -if ${ac_cv_3dnow_inline+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC groks 3D Now! inline assembly" >&5 +printf %s "checking if $CC groks 3D Now! inline assembly... " >&6; } +if test ${ac_cv_3dnow_inline+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { void *p; @@ -30083,20 +31873,21 @@ } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_3dnow_inline=yes -else +else $as_nop ac_cv_3dnow_inline=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_3dnow_inline" >&5 -$as_echo "$ac_cv_3dnow_inline" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_3dnow_inline" >&5 +printf "%s\n" "$ac_cv_3dnow_inline" >&6; } CPPFLAGS="${CPPFLAGS_save}" CFLAGS="${CFLAGS_save}" @@ -30105,10 +31896,11 @@ LDFLAGS="${LDFLAGS_save}" LIBS="${LIBS_save}" -if test "${ac_cv_3dnow_inline}" != "no"; then : +if test "${ac_cv_3dnow_inline}" != "no" +then : -$as_echo "#define CAN_COMPILE_3DNOW 1" >>confdefs.h +printf "%s\n" "#define CAN_COMPILE_3DNOW 1" >>confdefs.h have_3dnow="yes" @@ -30124,19 +31916,22 @@ # Check whether --enable-neon was given. -if test "${enable_neon+set}" = set; then : +if test ${enable_neon+y} +then : enableval=$enable_neon; -else +else $as_nop - if test "${host_cpu}" = "arm"; then : + if test "${host_cpu}" = "arm" +then : enable_neon="yes" -else +else $as_nop enable_neon="no" fi fi -if test "${enable_neon}" != "no"; then : +if test "${enable_neon}" != "no" +then : CPPFLAGS_save="${CPPFLAGS}" @@ -30147,18 +31942,19 @@ LIBS_save="${LIBS}" CFLAGS="${CFLAGS} -mfpu=neon -mhard-float" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CCAS groks ARM NEON assembly" >&5 -$as_echo_n "checking if $CCAS groks ARM NEON assembly... " >&6; } -if ${ac_cv_arm_neon+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CCAS groks ARM NEON assembly" >&5 +printf %s "checking if $CCAS groks ARM NEON assembly... " >&6; } +if test ${ac_cv_arm_neon+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { asm volatile("vqmovun.s64 d0, q1":::"d0"); @@ -30168,20 +31964,21 @@ } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_arm_neon="yes" -else +else $as_nop ac_cv_arm_neon="no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_arm_neon" >&5 -$as_echo "$ac_cv_arm_neon" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_arm_neon" >&5 +printf "%s\n" "$ac_cv_arm_neon" >&6; } CPPFLAGS="${CPPFLAGS_save}" CFLAGS="${CFLAGS_save}" @@ -30202,32 +31999,36 @@ # Check whether --enable-arm64 was given. -if test "${enable_arm64+set}" = set; then : +if test ${enable_arm64+y} +then : enableval=$enable_arm64; -else +else $as_nop - if test "${host_cpu}" = "aarch64"; then : + if test "${host_cpu}" = "aarch64" +then : enable_arm64="yes" -else +else $as_nop enable_arm64="no" fi fi -if test "${enable_arm64}" != "no"; then : +if test "${enable_arm64}" != "no" +then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CCAS groks ARM 64 SIMD assembly" >&5 -$as_echo_n "checking if $CCAS groks ARM 64 SIMD assembly... " >&6; } -if ${ac_cv_arm64+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CCAS groks ARM 64 SIMD assembly" >&5 +printf %s "checking if $CCAS groks ARM 64 SIMD assembly... " >&6; } +if test ${ac_cv_arm64+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { asm volatile("uhadd v0.8b, v0.8b, v1.8b":::"v0"); @@ -30237,20 +32038,21 @@ } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_arm64="yes" -else +else $as_nop ac_cv_arm64="no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_arm64" >&5 -$as_echo "$ac_cv_arm64" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_arm64" >&5 +printf "%s\n" "$ac_cv_arm64" >&6; } fi if test "${ac_cv_arm64}" = "yes"; then @@ -30264,9 +32066,10 @@ # Check whether --enable-altivec was given. -if test "${enable_altivec+set}" = set; then : +if test ${enable_altivec+y} +then : enableval=$enable_altivec; -else +else $as_nop case "${host_cpu}" in #( powerpc*) : @@ -30278,7 +32081,8 @@ fi have_altivec="no" -if test "${enable_altivec}" = "yes"; then : +if test "${enable_altivec}" = "yes" +then : ARCH="${ARCH} altivec"; @@ -30289,51 +32093,54 @@ LDFLAGS_save="${LDFLAGS}" LIBS_save="${LIBS}" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC groks AltiVec inline assembly" >&5 -$as_echo_n "checking if $CC groks AltiVec inline assembly... " >&6; } -if ${ac_cv_altivec_inline+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC groks AltiVec inline assembly" >&5 +printf %s "checking if $CC groks AltiVec inline assembly... " >&6; } +if test ${ac_cv_altivec_inline+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { asm volatile("vperm 0,1,2,3"); ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_altivec_inline="yes" -else +else $as_nop CFLAGS="${CFLAGS} -Wa,-maltivec" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { asm volatile("vperm 0,1,2,3"); ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_altivec_inline="-Wa,-maltivec" -else +else $as_nop ac_cv_altivec_inline=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_altivec_inline" >&5 -$as_echo "$ac_cv_altivec_inline" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_altivec_inline" >&5 +printf "%s\n" "$ac_cv_altivec_inline" >&6; } CPPFLAGS="${CPPFLAGS_save}" CFLAGS="${CFLAGS_save}" @@ -30342,10 +32149,11 @@ LDFLAGS="${LDFLAGS_save}" LIBS="${LIBS_save}" - if test "${ac_cv_altivec_inline}" != "no"; then : + if test "${ac_cv_altivec_inline}" != "no" +then : -$as_echo "#define CAN_COMPILE_ALTIVEC 1" >>confdefs.h +printf "%s\n" "#define CAN_COMPILE_ALTIVEC 1" >>confdefs.h fi @@ -30358,11 +32166,12 @@ LDFLAGS_save="${LDFLAGS}" LIBS_save="${LIBS}" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \$CC groks AltiVec C extensions" >&5 -$as_echo_n "checking if \$CC groks AltiVec C extensions... " >&6; } -if ${ac_cv_c_altivec+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if \$CC groks AltiVec C extensions" >&5 +printf %s "checking if \$CC groks AltiVec C extensions... " >&6; } +if test ${ac_cv_c_altivec+y} +then : + printf %s "(cached) " >&6 +else $as_nop CFLAGS="${CFLAGS} -maltivec" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -30370,7 +32179,7 @@ #include int -main () +main (void) { vec_ld(0, (unsigned char *)0); @@ -30378,20 +32187,21 @@ return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_c_altivec="-maltivec" -else +else $as_nop ac_cv_c_altivec="no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_altivec" >&5 -$as_echo "$ac_cv_c_altivec" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_altivec" >&5 +printf "%s\n" "$ac_cv_c_altivec" >&6; } CPPFLAGS="${CPPFLAGS_save}" CFLAGS="${CFLAGS_save}" @@ -30400,23 +32210,19 @@ LDFLAGS="${LDFLAGS_save}" LIBS="${LIBS_save}" - if test "${ac_cv_c_altivec}" != "no"; then : + if test "${ac_cv_c_altivec}" != "no" +then : have_altivec="yes" fi - for ac_header in altivec.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "altivec.h" "ac_cv_header_altivec_h" "$ac_includes_default" -if test "x$ac_cv_header_altivec_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_ALTIVEC_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "altivec.h" "ac_cv_header_altivec_h" "$ac_includes_default" +if test "x$ac_cv_header_altivec_h" = xyes +then : + printf "%s\n" "#define HAVE_ALTIVEC_H 1" >>confdefs.h fi -done - CPPFLAGS_save="${CPPFLAGS}" @@ -30427,32 +32233,34 @@ LIBS_save="${LIBS}" LDFLAGS="${LDFLAGS} -Wl,-framework,vecLib" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if linker needs -framework vecLib" >&5 -$as_echo_n "checking if linker needs -framework vecLib... " >&6; } -if ${ac_cv_ld_altivec+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if linker needs -framework vecLib" >&5 +printf %s "checking if linker needs -framework vecLib... " >&6; } +if test ${ac_cv_ld_altivec+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_ld_altivec=yes -else +else $as_nop ac_cv_ld_altivec=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ld_altivec" >&5 -$as_echo "$ac_cv_ld_altivec" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ld_altivec" >&5 +printf "%s\n" "$ac_cv_ld_altivec" >&6; } CPPFLAGS="${CPPFLAGS_save}" CFLAGS="${CFLAGS_save}" @@ -30461,7 +32269,8 @@ LDFLAGS="${LDFLAGS_save}" LIBS="${LIBS_save}" - if test "${ac_cv_ld_altivec}" != "no"; then : + if test "${ac_cv_ld_altivec}" != "no" +then : @@ -30483,38 +32292,43 @@ # Check whether --enable-optimize-memory was given. -if test "${enable_optimize_memory+set}" = set; then : +if test ${enable_optimize_memory+y} +then : enableval=$enable_optimize_memory; fi if test "${enable_optimize_memory}" = "yes"; then -$as_echo "#define OPTIMIZE_MEMORY 1" >>confdefs.h +printf "%s\n" "#define OPTIMIZE_MEMORY 1" >>confdefs.h fi # Check whether --enable-run-as-root was given. -if test "${enable_run_as_root+set}" = set; then : +if test ${enable_run_as_root+y} +then : enableval=$enable_run_as_root; fi -if test "${enable_run_as_root}" = "yes"; then : +if test "${enable_run_as_root}" = "yes" +then : -$as_echo "#define ALLOW_RUN_AS_ROOT 1" >>confdefs.h +printf "%s\n" "#define ALLOW_RUN_AS_ROOT 1" >>confdefs.h fi # Check whether --enable-sout was given. -if test "${enable_sout+set}" = set; then : +if test ${enable_sout+y} +then : enableval=$enable_sout; fi -if test "${enable_sout}" != "no"; then : +if test "${enable_sout}" != "no" +then : -$as_echo "#define ENABLE_SOUT 1" >>confdefs.h +printf "%s\n" "#define ENABLE_SOUT 1" >>confdefs.h fi @@ -30528,7 +32342,8 @@ # Check whether --enable-lua was given. -if test "${enable_lua+set}" = set; then : +if test ${enable_lua+y} +then : enableval=$enable_lua; fi @@ -30536,17 +32351,17 @@ then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5 -$as_echo_n "checking for LUA... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5 +printf %s "checking for LUA... " >&6; } if test -n "$LUA_CFLAGS"; then pkg_cv_LUA_CFLAGS="$LUA_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.2\""; } >&5 ($PKG_CONFIG --exists --print-errors "lua5.2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -30560,10 +32375,10 @@ pkg_cv_LUA_LIBS="$LUA_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.2\""; } >&5 ($PKG_CONFIG --exists --print-errors "lua5.2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -30577,8 +32392,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -30594,22 +32409,22 @@ echo "$LUA_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LUA_PKG_ERRORS}, trying lua 5.1 instead" >&5 -$as_echo "$as_me: WARNING: ${LUA_PKG_ERRORS}, trying lua 5.1 instead" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${LUA_PKG_ERRORS}, trying lua 5.1 instead" >&5 +printf "%s\n" "$as_me: WARNING: ${LUA_PKG_ERRORS}, trying lua 5.1 instead" >&2;} pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5 -$as_echo_n "checking for LUA... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5 +printf %s "checking for LUA... " >&6; } if test -n "$LUA_CFLAGS"; then pkg_cv_LUA_CFLAGS="$LUA_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "lua5.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -30623,10 +32438,10 @@ pkg_cv_LUA_LIBS="$LUA_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "lua5.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -30640,8 +32455,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -30657,21 +32472,21 @@ echo "$LUA_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LUA_PKG_ERRORS}, trying lua >= 5.1 instead" >&5 -$as_echo "$as_me: WARNING: ${LUA_PKG_ERRORS}, trying lua >= 5.1 instead" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${LUA_PKG_ERRORS}, trying lua >= 5.1 instead" >&5 +printf "%s\n" "$as_me: WARNING: ${LUA_PKG_ERRORS}, trying lua >= 5.1 instead" >&2;} pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5 -$as_echo_n "checking for LUA... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5 +printf %s "checking for LUA... " >&6; } if test -n "$LUA_CFLAGS"; then pkg_cv_LUA_CFLAGS="$LUA_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -30685,10 +32500,10 @@ pkg_cv_LUA_LIBS="$LUA_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -30702,8 +32517,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -30719,30 +32534,31 @@ echo "$LUA_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LUA_PKG_ERRORS}, trying manual detection instead" >&5 -$as_echo "$as_me: WARNING: ${LUA_PKG_ERRORS}, trying manual detection instead" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${LUA_PKG_ERRORS}, trying manual detection instead" >&5 +printf "%s\n" "$as_me: WARNING: ${LUA_PKG_ERRORS}, trying manual detection instead" >&2;} have_lua=yes - for ac_header in lua.h lauxlib.h lualib.h + for ac_header in lua.h lauxlib.h lualib.h do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +if eval test \"x\$"$as_ac_Header"\" = x"yes" +then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF -else +else $as_nop have_lua=no fi done - - as_ac_Lib=`$as_echo "ac_cv_lib_lua5.2 ''_luaL_newstate" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua5.2 " >&5 -$as_echo_n "checking for luaL_newstate in -llua5.2 ... " >&6; } -if eval \${$as_ac_Lib+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_ac_Lib=`printf "%s\n" "ac_cv_lib_lua5.2 ""_luaL_newstate" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua5.2 " >&5 +printf %s "checking for luaL_newstate in -llua5.2 ... " >&6; } +if eval test \${$as_ac_Lib+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-llua5.2 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -30751,39 +32567,39 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char luaL_newstate (); int -main () +main (void) { return luaL_newstate (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$as_ac_Lib=yes" -else +else $as_nop eval "$as_ac_Lib=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_ac_Lib"\" = x"yes" +then : LUA_LIBS="-llua5.2" -else - as_ac_Lib=`$as_echo "ac_cv_lib_lua5.1 ''_luaL_newstate" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua5.1 " >&5 -$as_echo_n "checking for luaL_newstate in -llua5.1 ... " >&6; } -if eval \${$as_ac_Lib+:} false; then : - $as_echo_n "(cached) " >&6 -else +else $as_nop + as_ac_Lib=`printf "%s\n" "ac_cv_lib_lua5.1 ""_luaL_newstate" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua5.1 " >&5 +printf %s "checking for luaL_newstate in -llua5.1 ... " >&6; } +if eval test \${$as_ac_Lib+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-llua5.1 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -30792,39 +32608,39 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char luaL_newstate (); int -main () +main (void) { return luaL_newstate (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$as_ac_Lib=yes" -else +else $as_nop eval "$as_ac_Lib=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_ac_Lib"\" = x"yes" +then : LUA_LIBS="-llua5.1" -else - as_ac_Lib=`$as_echo "ac_cv_lib_lua51 ''_luaL_newstate" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua51 " >&5 -$as_echo_n "checking for luaL_newstate in -llua51 ... " >&6; } -if eval \${$as_ac_Lib+:} false; then : - $as_echo_n "(cached) " >&6 -else +else $as_nop + as_ac_Lib=`printf "%s\n" "ac_cv_lib_lua51 ""_luaL_newstate" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua51 " >&5 +printf %s "checking for luaL_newstate in -llua51 ... " >&6; } +if eval test \${$as_ac_Lib+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-llua51 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -30833,39 +32649,39 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char luaL_newstate (); int -main () +main (void) { return luaL_newstate (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$as_ac_Lib=yes" -else +else $as_nop eval "$as_ac_Lib=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_ac_Lib"\" = x"yes" +then : LUA_LIBS="-llua51" -else - as_ac_Lib=`$as_echo "ac_cv_lib_lua ''_luaL_newstate" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua " >&5 -$as_echo_n "checking for luaL_newstate in -llua ... " >&6; } -if eval \${$as_ac_Lib+:} false; then : - $as_echo_n "(cached) " >&6 -else +else $as_nop + as_ac_Lib=`printf "%s\n" "ac_cv_lib_lua ""_luaL_newstate" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua " >&5 +printf %s "checking for luaL_newstate in -llua ... " >&6; } +if eval test \${$as_ac_Lib+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-llua -lm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -30874,33 +32690,32 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char luaL_newstate (); int -main () +main (void) { return luaL_newstate (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$as_ac_Lib=yes" -else +else $as_nop eval "$as_ac_Lib=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_ac_Lib"\" = x"yes" +then : LUA_LIBS="-llua" -else +else $as_nop have_lua=no fi @@ -30914,33 +32729,34 @@ elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LUA_PKG_ERRORS}, trying manual detection instead" >&5 -$as_echo "$as_me: WARNING: ${LUA_PKG_ERRORS}, trying manual detection instead" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${LUA_PKG_ERRORS}, trying manual detection instead" >&5 +printf "%s\n" "$as_me: WARNING: ${LUA_PKG_ERRORS}, trying manual detection instead" >&2;} have_lua=yes - for ac_header in lua.h lauxlib.h lualib.h + for ac_header in lua.h lauxlib.h lualib.h do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +if eval test \"x\$"$as_ac_Header"\" = x"yes" +then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF -else +else $as_nop have_lua=no fi done - - as_ac_Lib=`$as_echo "ac_cv_lib_lua5.2 ''_luaL_newstate" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua5.2 " >&5 -$as_echo_n "checking for luaL_newstate in -llua5.2 ... " >&6; } -if eval \${$as_ac_Lib+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_ac_Lib=`printf "%s\n" "ac_cv_lib_lua5.2 ""_luaL_newstate" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua5.2 " >&5 +printf %s "checking for luaL_newstate in -llua5.2 ... " >&6; } +if eval test \${$as_ac_Lib+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-llua5.2 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -30949,39 +32765,39 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char luaL_newstate (); int -main () +main (void) { return luaL_newstate (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$as_ac_Lib=yes" -else +else $as_nop eval "$as_ac_Lib=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_ac_Lib"\" = x"yes" +then : LUA_LIBS="-llua5.2" -else - as_ac_Lib=`$as_echo "ac_cv_lib_lua5.1 ''_luaL_newstate" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua5.1 " >&5 -$as_echo_n "checking for luaL_newstate in -llua5.1 ... " >&6; } -if eval \${$as_ac_Lib+:} false; then : - $as_echo_n "(cached) " >&6 -else +else $as_nop + as_ac_Lib=`printf "%s\n" "ac_cv_lib_lua5.1 ""_luaL_newstate" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua5.1 " >&5 +printf %s "checking for luaL_newstate in -llua5.1 ... " >&6; } +if eval test \${$as_ac_Lib+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-llua5.1 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -30990,39 +32806,39 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char luaL_newstate (); int -main () +main (void) { return luaL_newstate (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$as_ac_Lib=yes" -else +else $as_nop eval "$as_ac_Lib=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_ac_Lib"\" = x"yes" +then : LUA_LIBS="-llua5.1" -else - as_ac_Lib=`$as_echo "ac_cv_lib_lua51 ''_luaL_newstate" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua51 " >&5 -$as_echo_n "checking for luaL_newstate in -llua51 ... " >&6; } -if eval \${$as_ac_Lib+:} false; then : - $as_echo_n "(cached) " >&6 -else +else $as_nop + as_ac_Lib=`printf "%s\n" "ac_cv_lib_lua51 ""_luaL_newstate" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua51 " >&5 +printf %s "checking for luaL_newstate in -llua51 ... " >&6; } +if eval test \${$as_ac_Lib+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-llua51 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -31031,39 +32847,39 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char luaL_newstate (); int -main () +main (void) { return luaL_newstate (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$as_ac_Lib=yes" -else +else $as_nop eval "$as_ac_Lib=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_ac_Lib"\" = x"yes" +then : LUA_LIBS="-llua51" -else - as_ac_Lib=`$as_echo "ac_cv_lib_lua ''_luaL_newstate" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua " >&5 -$as_echo_n "checking for luaL_newstate in -llua ... " >&6; } -if eval \${$as_ac_Lib+:} false; then : - $as_echo_n "(cached) " >&6 -else +else $as_nop + as_ac_Lib=`printf "%s\n" "ac_cv_lib_lua ""_luaL_newstate" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua " >&5 +printf %s "checking for luaL_newstate in -llua ... " >&6; } +if eval test \${$as_ac_Lib+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-llua -lm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -31072,33 +32888,32 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char luaL_newstate (); int -main () +main (void) { return luaL_newstate (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$as_ac_Lib=yes" -else +else $as_nop eval "$as_ac_Lib=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_ac_Lib"\" = x"yes" +then : LUA_LIBS="-llua" -else +else $as_nop have_lua=no fi @@ -31114,30 +32929,30 @@ else LUA_CFLAGS=$pkg_cv_LUA_CFLAGS LUA_LIBS=$pkg_cv_LUA_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_lua=yes fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LUA_PKG_ERRORS}, trying lua >= 5.1 instead" >&5 -$as_echo "$as_me: WARNING: ${LUA_PKG_ERRORS}, trying lua >= 5.1 instead" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${LUA_PKG_ERRORS}, trying lua >= 5.1 instead" >&5 +printf "%s\n" "$as_me: WARNING: ${LUA_PKG_ERRORS}, trying lua >= 5.1 instead" >&2;} pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5 -$as_echo_n "checking for LUA... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5 +printf %s "checking for LUA... " >&6; } if test -n "$LUA_CFLAGS"; then pkg_cv_LUA_CFLAGS="$LUA_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -31151,10 +32966,10 @@ pkg_cv_LUA_LIBS="$LUA_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -31168,8 +32983,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -31185,30 +33000,31 @@ echo "$LUA_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LUA_PKG_ERRORS}, trying manual detection instead" >&5 -$as_echo "$as_me: WARNING: ${LUA_PKG_ERRORS}, trying manual detection instead" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${LUA_PKG_ERRORS}, trying manual detection instead" >&5 +printf "%s\n" "$as_me: WARNING: ${LUA_PKG_ERRORS}, trying manual detection instead" >&2;} have_lua=yes - for ac_header in lua.h lauxlib.h lualib.h + for ac_header in lua.h lauxlib.h lualib.h do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +if eval test \"x\$"$as_ac_Header"\" = x"yes" +then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF -else +else $as_nop have_lua=no fi done - - as_ac_Lib=`$as_echo "ac_cv_lib_lua5.2 ''_luaL_newstate" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua5.2 " >&5 -$as_echo_n "checking for luaL_newstate in -llua5.2 ... " >&6; } -if eval \${$as_ac_Lib+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_ac_Lib=`printf "%s\n" "ac_cv_lib_lua5.2 ""_luaL_newstate" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua5.2 " >&5 +printf %s "checking for luaL_newstate in -llua5.2 ... " >&6; } +if eval test \${$as_ac_Lib+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-llua5.2 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -31217,39 +33033,39 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char luaL_newstate (); int -main () +main (void) { return luaL_newstate (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$as_ac_Lib=yes" -else +else $as_nop eval "$as_ac_Lib=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_ac_Lib"\" = x"yes" +then : LUA_LIBS="-llua5.2" -else - as_ac_Lib=`$as_echo "ac_cv_lib_lua5.1 ''_luaL_newstate" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua5.1 " >&5 -$as_echo_n "checking for luaL_newstate in -llua5.1 ... " >&6; } -if eval \${$as_ac_Lib+:} false; then : - $as_echo_n "(cached) " >&6 -else +else $as_nop + as_ac_Lib=`printf "%s\n" "ac_cv_lib_lua5.1 ""_luaL_newstate" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua5.1 " >&5 +printf %s "checking for luaL_newstate in -llua5.1 ... " >&6; } +if eval test \${$as_ac_Lib+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-llua5.1 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -31258,39 +33074,39 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char luaL_newstate (); int -main () +main (void) { return luaL_newstate (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$as_ac_Lib=yes" -else +else $as_nop eval "$as_ac_Lib=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_ac_Lib"\" = x"yes" +then : LUA_LIBS="-llua5.1" -else - as_ac_Lib=`$as_echo "ac_cv_lib_lua51 ''_luaL_newstate" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua51 " >&5 -$as_echo_n "checking for luaL_newstate in -llua51 ... " >&6; } -if eval \${$as_ac_Lib+:} false; then : - $as_echo_n "(cached) " >&6 -else +else $as_nop + as_ac_Lib=`printf "%s\n" "ac_cv_lib_lua51 ""_luaL_newstate" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua51 " >&5 +printf %s "checking for luaL_newstate in -llua51 ... " >&6; } +if eval test \${$as_ac_Lib+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-llua51 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -31299,39 +33115,39 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char luaL_newstate (); int -main () +main (void) { return luaL_newstate (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$as_ac_Lib=yes" -else +else $as_nop eval "$as_ac_Lib=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_ac_Lib"\" = x"yes" +then : LUA_LIBS="-llua51" -else - as_ac_Lib=`$as_echo "ac_cv_lib_lua ''_luaL_newstate" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua " >&5 -$as_echo_n "checking for luaL_newstate in -llua ... " >&6; } -if eval \${$as_ac_Lib+:} false; then : - $as_echo_n "(cached) " >&6 -else +else $as_nop + as_ac_Lib=`printf "%s\n" "ac_cv_lib_lua ""_luaL_newstate" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua " >&5 +printf %s "checking for luaL_newstate in -llua ... " >&6; } +if eval test \${$as_ac_Lib+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-llua -lm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -31340,33 +33156,32 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char luaL_newstate (); int -main () +main (void) { return luaL_newstate (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$as_ac_Lib=yes" -else +else $as_nop eval "$as_ac_Lib=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_ac_Lib"\" = x"yes" +then : LUA_LIBS="-llua" -else +else $as_nop have_lua=no fi @@ -31380,33 +33195,34 @@ elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LUA_PKG_ERRORS}, trying manual detection instead" >&5 -$as_echo "$as_me: WARNING: ${LUA_PKG_ERRORS}, trying manual detection instead" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${LUA_PKG_ERRORS}, trying manual detection instead" >&5 +printf "%s\n" "$as_me: WARNING: ${LUA_PKG_ERRORS}, trying manual detection instead" >&2;} have_lua=yes - for ac_header in lua.h lauxlib.h lualib.h + for ac_header in lua.h lauxlib.h lualib.h do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +if eval test \"x\$"$as_ac_Header"\" = x"yes" +then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF -else +else $as_nop have_lua=no fi done - - as_ac_Lib=`$as_echo "ac_cv_lib_lua5.2 ''_luaL_newstate" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua5.2 " >&5 -$as_echo_n "checking for luaL_newstate in -llua5.2 ... " >&6; } -if eval \${$as_ac_Lib+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_ac_Lib=`printf "%s\n" "ac_cv_lib_lua5.2 ""_luaL_newstate" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua5.2 " >&5 +printf %s "checking for luaL_newstate in -llua5.2 ... " >&6; } +if eval test \${$as_ac_Lib+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-llua5.2 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -31415,39 +33231,39 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char luaL_newstate (); int -main () +main (void) { return luaL_newstate (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$as_ac_Lib=yes" -else +else $as_nop eval "$as_ac_Lib=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_ac_Lib"\" = x"yes" +then : LUA_LIBS="-llua5.2" -else - as_ac_Lib=`$as_echo "ac_cv_lib_lua5.1 ''_luaL_newstate" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua5.1 " >&5 -$as_echo_n "checking for luaL_newstate in -llua5.1 ... " >&6; } -if eval \${$as_ac_Lib+:} false; then : - $as_echo_n "(cached) " >&6 -else +else $as_nop + as_ac_Lib=`printf "%s\n" "ac_cv_lib_lua5.1 ""_luaL_newstate" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua5.1 " >&5 +printf %s "checking for luaL_newstate in -llua5.1 ... " >&6; } +if eval test \${$as_ac_Lib+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-llua5.1 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -31456,39 +33272,39 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char luaL_newstate (); int -main () +main (void) { return luaL_newstate (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$as_ac_Lib=yes" -else +else $as_nop eval "$as_ac_Lib=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_ac_Lib"\" = x"yes" +then : LUA_LIBS="-llua5.1" -else - as_ac_Lib=`$as_echo "ac_cv_lib_lua51 ''_luaL_newstate" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua51 " >&5 -$as_echo_n "checking for luaL_newstate in -llua51 ... " >&6; } -if eval \${$as_ac_Lib+:} false; then : - $as_echo_n "(cached) " >&6 -else +else $as_nop + as_ac_Lib=`printf "%s\n" "ac_cv_lib_lua51 ""_luaL_newstate" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua51 " >&5 +printf %s "checking for luaL_newstate in -llua51 ... " >&6; } +if eval test \${$as_ac_Lib+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-llua51 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -31497,39 +33313,39 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char luaL_newstate (); int -main () +main (void) { return luaL_newstate (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$as_ac_Lib=yes" -else +else $as_nop eval "$as_ac_Lib=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_ac_Lib"\" = x"yes" +then : LUA_LIBS="-llua51" -else - as_ac_Lib=`$as_echo "ac_cv_lib_lua ''_luaL_newstate" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua " >&5 -$as_echo_n "checking for luaL_newstate in -llua ... " >&6; } -if eval \${$as_ac_Lib+:} false; then : - $as_echo_n "(cached) " >&6 -else +else $as_nop + as_ac_Lib=`printf "%s\n" "ac_cv_lib_lua ""_luaL_newstate" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua " >&5 +printf %s "checking for luaL_newstate in -llua ... " >&6; } +if eval test \${$as_ac_Lib+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-llua -lm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -31538,33 +33354,32 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char luaL_newstate (); int -main () +main (void) { return luaL_newstate (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$as_ac_Lib=yes" -else +else $as_nop eval "$as_ac_Lib=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_ac_Lib"\" = x"yes" +then : LUA_LIBS="-llua" -else +else $as_nop have_lua=no fi @@ -31580,39 +33395,39 @@ else LUA_CFLAGS=$pkg_cv_LUA_CFLAGS LUA_LIBS=$pkg_cv_LUA_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_lua=yes fi else LUA_CFLAGS=$pkg_cv_LUA_CFLAGS LUA_LIBS=$pkg_cv_LUA_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_lua=yes fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LUA_PKG_ERRORS}, trying lua 5.1 instead" >&5 -$as_echo "$as_me: WARNING: ${LUA_PKG_ERRORS}, trying lua 5.1 instead" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${LUA_PKG_ERRORS}, trying lua 5.1 instead" >&5 +printf "%s\n" "$as_me: WARNING: ${LUA_PKG_ERRORS}, trying lua 5.1 instead" >&2;} pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5 -$as_echo_n "checking for LUA... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5 +printf %s "checking for LUA... " >&6; } if test -n "$LUA_CFLAGS"; then pkg_cv_LUA_CFLAGS="$LUA_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "lua5.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -31626,10 +33441,10 @@ pkg_cv_LUA_LIBS="$LUA_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "lua5.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -31643,8 +33458,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -31660,21 +33475,21 @@ echo "$LUA_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LUA_PKG_ERRORS}, trying lua >= 5.1 instead" >&5 -$as_echo "$as_me: WARNING: ${LUA_PKG_ERRORS}, trying lua >= 5.1 instead" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${LUA_PKG_ERRORS}, trying lua >= 5.1 instead" >&5 +printf "%s\n" "$as_me: WARNING: ${LUA_PKG_ERRORS}, trying lua >= 5.1 instead" >&2;} pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5 -$as_echo_n "checking for LUA... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5 +printf %s "checking for LUA... " >&6; } if test -n "$LUA_CFLAGS"; then pkg_cv_LUA_CFLAGS="$LUA_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -31688,10 +33503,10 @@ pkg_cv_LUA_LIBS="$LUA_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -31705,8 +33520,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -31722,30 +33537,31 @@ echo "$LUA_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LUA_PKG_ERRORS}, trying manual detection instead" >&5 -$as_echo "$as_me: WARNING: ${LUA_PKG_ERRORS}, trying manual detection instead" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${LUA_PKG_ERRORS}, trying manual detection instead" >&5 +printf "%s\n" "$as_me: WARNING: ${LUA_PKG_ERRORS}, trying manual detection instead" >&2;} have_lua=yes - for ac_header in lua.h lauxlib.h lualib.h + for ac_header in lua.h lauxlib.h lualib.h do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +if eval test \"x\$"$as_ac_Header"\" = x"yes" +then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF -else +else $as_nop have_lua=no fi done - - as_ac_Lib=`$as_echo "ac_cv_lib_lua5.2 ''_luaL_newstate" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua5.2 " >&5 -$as_echo_n "checking for luaL_newstate in -llua5.2 ... " >&6; } -if eval \${$as_ac_Lib+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_ac_Lib=`printf "%s\n" "ac_cv_lib_lua5.2 ""_luaL_newstate" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua5.2 " >&5 +printf %s "checking for luaL_newstate in -llua5.2 ... " >&6; } +if eval test \${$as_ac_Lib+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-llua5.2 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -31754,39 +33570,39 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char luaL_newstate (); int -main () +main (void) { return luaL_newstate (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$as_ac_Lib=yes" -else +else $as_nop eval "$as_ac_Lib=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_ac_Lib"\" = x"yes" +then : LUA_LIBS="-llua5.2" -else - as_ac_Lib=`$as_echo "ac_cv_lib_lua5.1 ''_luaL_newstate" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua5.1 " >&5 -$as_echo_n "checking for luaL_newstate in -llua5.1 ... " >&6; } -if eval \${$as_ac_Lib+:} false; then : - $as_echo_n "(cached) " >&6 -else +else $as_nop + as_ac_Lib=`printf "%s\n" "ac_cv_lib_lua5.1 ""_luaL_newstate" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua5.1 " >&5 +printf %s "checking for luaL_newstate in -llua5.1 ... " >&6; } +if eval test \${$as_ac_Lib+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-llua5.1 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -31795,39 +33611,39 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char luaL_newstate (); int -main () +main (void) { return luaL_newstate (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$as_ac_Lib=yes" -else +else $as_nop eval "$as_ac_Lib=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_ac_Lib"\" = x"yes" +then : LUA_LIBS="-llua5.1" -else - as_ac_Lib=`$as_echo "ac_cv_lib_lua51 ''_luaL_newstate" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua51 " >&5 -$as_echo_n "checking for luaL_newstate in -llua51 ... " >&6; } -if eval \${$as_ac_Lib+:} false; then : - $as_echo_n "(cached) " >&6 -else +else $as_nop + as_ac_Lib=`printf "%s\n" "ac_cv_lib_lua51 ""_luaL_newstate" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua51 " >&5 +printf %s "checking for luaL_newstate in -llua51 ... " >&6; } +if eval test \${$as_ac_Lib+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-llua51 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -31836,39 +33652,39 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char luaL_newstate (); int -main () +main (void) { return luaL_newstate (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$as_ac_Lib=yes" -else +else $as_nop eval "$as_ac_Lib=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_ac_Lib"\" = x"yes" +then : LUA_LIBS="-llua51" -else - as_ac_Lib=`$as_echo "ac_cv_lib_lua ''_luaL_newstate" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua " >&5 -$as_echo_n "checking for luaL_newstate in -llua ... " >&6; } -if eval \${$as_ac_Lib+:} false; then : - $as_echo_n "(cached) " >&6 -else +else $as_nop + as_ac_Lib=`printf "%s\n" "ac_cv_lib_lua ""_luaL_newstate" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua " >&5 +printf %s "checking for luaL_newstate in -llua ... " >&6; } +if eval test \${$as_ac_Lib+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-llua -lm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -31877,33 +33693,32 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char luaL_newstate (); int -main () +main (void) { return luaL_newstate (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$as_ac_Lib=yes" -else +else $as_nop eval "$as_ac_Lib=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_ac_Lib"\" = x"yes" +then : LUA_LIBS="-llua" -else +else $as_nop have_lua=no fi @@ -31917,33 +33732,34 @@ elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LUA_PKG_ERRORS}, trying manual detection instead" >&5 -$as_echo "$as_me: WARNING: ${LUA_PKG_ERRORS}, trying manual detection instead" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${LUA_PKG_ERRORS}, trying manual detection instead" >&5 +printf "%s\n" "$as_me: WARNING: ${LUA_PKG_ERRORS}, trying manual detection instead" >&2;} have_lua=yes - for ac_header in lua.h lauxlib.h lualib.h + for ac_header in lua.h lauxlib.h lualib.h do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +if eval test \"x\$"$as_ac_Header"\" = x"yes" +then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF -else +else $as_nop have_lua=no fi done - - as_ac_Lib=`$as_echo "ac_cv_lib_lua5.2 ''_luaL_newstate" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua5.2 " >&5 -$as_echo_n "checking for luaL_newstate in -llua5.2 ... " >&6; } -if eval \${$as_ac_Lib+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_ac_Lib=`printf "%s\n" "ac_cv_lib_lua5.2 ""_luaL_newstate" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua5.2 " >&5 +printf %s "checking for luaL_newstate in -llua5.2 ... " >&6; } +if eval test \${$as_ac_Lib+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-llua5.2 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -31952,39 +33768,39 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char luaL_newstate (); int -main () +main (void) { return luaL_newstate (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$as_ac_Lib=yes" -else +else $as_nop eval "$as_ac_Lib=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_ac_Lib"\" = x"yes" +then : LUA_LIBS="-llua5.2" -else - as_ac_Lib=`$as_echo "ac_cv_lib_lua5.1 ''_luaL_newstate" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua5.1 " >&5 -$as_echo_n "checking for luaL_newstate in -llua5.1 ... " >&6; } -if eval \${$as_ac_Lib+:} false; then : - $as_echo_n "(cached) " >&6 -else +else $as_nop + as_ac_Lib=`printf "%s\n" "ac_cv_lib_lua5.1 ""_luaL_newstate" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua5.1 " >&5 +printf %s "checking for luaL_newstate in -llua5.1 ... " >&6; } +if eval test \${$as_ac_Lib+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-llua5.1 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -31993,39 +33809,39 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char luaL_newstate (); int -main () +main (void) { return luaL_newstate (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$as_ac_Lib=yes" -else +else $as_nop eval "$as_ac_Lib=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_ac_Lib"\" = x"yes" +then : LUA_LIBS="-llua5.1" -else - as_ac_Lib=`$as_echo "ac_cv_lib_lua51 ''_luaL_newstate" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua51 " >&5 -$as_echo_n "checking for luaL_newstate in -llua51 ... " >&6; } -if eval \${$as_ac_Lib+:} false; then : - $as_echo_n "(cached) " >&6 -else +else $as_nop + as_ac_Lib=`printf "%s\n" "ac_cv_lib_lua51 ""_luaL_newstate" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua51 " >&5 +printf %s "checking for luaL_newstate in -llua51 ... " >&6; } +if eval test \${$as_ac_Lib+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-llua51 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -32034,39 +33850,39 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char luaL_newstate (); int -main () +main (void) { return luaL_newstate (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$as_ac_Lib=yes" -else +else $as_nop eval "$as_ac_Lib=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_ac_Lib"\" = x"yes" +then : LUA_LIBS="-llua51" -else - as_ac_Lib=`$as_echo "ac_cv_lib_lua ''_luaL_newstate" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua " >&5 -$as_echo_n "checking for luaL_newstate in -llua ... " >&6; } -if eval \${$as_ac_Lib+:} false; then : - $as_echo_n "(cached) " >&6 -else +else $as_nop + as_ac_Lib=`printf "%s\n" "ac_cv_lib_lua ""_luaL_newstate" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua " >&5 +printf %s "checking for luaL_newstate in -llua ... " >&6; } +if eval test \${$as_ac_Lib+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-llua -lm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -32075,33 +33891,32 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char luaL_newstate (); int -main () +main (void) { return luaL_newstate (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$as_ac_Lib=yes" -else +else $as_nop eval "$as_ac_Lib=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_ac_Lib"\" = x"yes" +then : LUA_LIBS="-llua" -else +else $as_nop have_lua=no fi @@ -32117,30 +33932,30 @@ else LUA_CFLAGS=$pkg_cv_LUA_CFLAGS LUA_LIBS=$pkg_cv_LUA_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_lua=yes fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LUA_PKG_ERRORS}, trying lua >= 5.1 instead" >&5 -$as_echo "$as_me: WARNING: ${LUA_PKG_ERRORS}, trying lua >= 5.1 instead" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${LUA_PKG_ERRORS}, trying lua >= 5.1 instead" >&5 +printf "%s\n" "$as_me: WARNING: ${LUA_PKG_ERRORS}, trying lua >= 5.1 instead" >&2;} pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5 -$as_echo_n "checking for LUA... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5 +printf %s "checking for LUA... " >&6; } if test -n "$LUA_CFLAGS"; then pkg_cv_LUA_CFLAGS="$LUA_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -32154,10 +33969,10 @@ pkg_cv_LUA_LIBS="$LUA_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -32171,8 +33986,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -32188,30 +34003,31 @@ echo "$LUA_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LUA_PKG_ERRORS}, trying manual detection instead" >&5 -$as_echo "$as_me: WARNING: ${LUA_PKG_ERRORS}, trying manual detection instead" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${LUA_PKG_ERRORS}, trying manual detection instead" >&5 +printf "%s\n" "$as_me: WARNING: ${LUA_PKG_ERRORS}, trying manual detection instead" >&2;} have_lua=yes - for ac_header in lua.h lauxlib.h lualib.h + for ac_header in lua.h lauxlib.h lualib.h do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +if eval test \"x\$"$as_ac_Header"\" = x"yes" +then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF -else +else $as_nop have_lua=no fi done - - as_ac_Lib=`$as_echo "ac_cv_lib_lua5.2 ''_luaL_newstate" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua5.2 " >&5 -$as_echo_n "checking for luaL_newstate in -llua5.2 ... " >&6; } -if eval \${$as_ac_Lib+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_ac_Lib=`printf "%s\n" "ac_cv_lib_lua5.2 ""_luaL_newstate" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua5.2 " >&5 +printf %s "checking for luaL_newstate in -llua5.2 ... " >&6; } +if eval test \${$as_ac_Lib+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-llua5.2 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -32220,39 +34036,39 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char luaL_newstate (); int -main () +main (void) { return luaL_newstate (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$as_ac_Lib=yes" -else +else $as_nop eval "$as_ac_Lib=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_ac_Lib"\" = x"yes" +then : LUA_LIBS="-llua5.2" -else - as_ac_Lib=`$as_echo "ac_cv_lib_lua5.1 ''_luaL_newstate" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua5.1 " >&5 -$as_echo_n "checking for luaL_newstate in -llua5.1 ... " >&6; } -if eval \${$as_ac_Lib+:} false; then : - $as_echo_n "(cached) " >&6 -else +else $as_nop + as_ac_Lib=`printf "%s\n" "ac_cv_lib_lua5.1 ""_luaL_newstate" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua5.1 " >&5 +printf %s "checking for luaL_newstate in -llua5.1 ... " >&6; } +if eval test \${$as_ac_Lib+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-llua5.1 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -32261,39 +34077,39 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char luaL_newstate (); int -main () +main (void) { return luaL_newstate (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$as_ac_Lib=yes" -else +else $as_nop eval "$as_ac_Lib=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_ac_Lib"\" = x"yes" +then : LUA_LIBS="-llua5.1" -else - as_ac_Lib=`$as_echo "ac_cv_lib_lua51 ''_luaL_newstate" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua51 " >&5 -$as_echo_n "checking for luaL_newstate in -llua51 ... " >&6; } -if eval \${$as_ac_Lib+:} false; then : - $as_echo_n "(cached) " >&6 -else +else $as_nop + as_ac_Lib=`printf "%s\n" "ac_cv_lib_lua51 ""_luaL_newstate" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua51 " >&5 +printf %s "checking for luaL_newstate in -llua51 ... " >&6; } +if eval test \${$as_ac_Lib+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-llua51 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -32302,39 +34118,39 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char luaL_newstate (); int -main () +main (void) { return luaL_newstate (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$as_ac_Lib=yes" -else +else $as_nop eval "$as_ac_Lib=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_ac_Lib"\" = x"yes" +then : LUA_LIBS="-llua51" -else - as_ac_Lib=`$as_echo "ac_cv_lib_lua ''_luaL_newstate" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua " >&5 -$as_echo_n "checking for luaL_newstate in -llua ... " >&6; } -if eval \${$as_ac_Lib+:} false; then : - $as_echo_n "(cached) " >&6 -else +else $as_nop + as_ac_Lib=`printf "%s\n" "ac_cv_lib_lua ""_luaL_newstate" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua " >&5 +printf %s "checking for luaL_newstate in -llua ... " >&6; } +if eval test \${$as_ac_Lib+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-llua -lm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -32343,33 +34159,32 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char luaL_newstate (); int -main () +main (void) { return luaL_newstate (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$as_ac_Lib=yes" -else +else $as_nop eval "$as_ac_Lib=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_ac_Lib"\" = x"yes" +then : LUA_LIBS="-llua" -else +else $as_nop have_lua=no fi @@ -32383,33 +34198,34 @@ elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LUA_PKG_ERRORS}, trying manual detection instead" >&5 -$as_echo "$as_me: WARNING: ${LUA_PKG_ERRORS}, trying manual detection instead" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${LUA_PKG_ERRORS}, trying manual detection instead" >&5 +printf "%s\n" "$as_me: WARNING: ${LUA_PKG_ERRORS}, trying manual detection instead" >&2;} have_lua=yes - for ac_header in lua.h lauxlib.h lualib.h + for ac_header in lua.h lauxlib.h lualib.h do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +if eval test \"x\$"$as_ac_Header"\" = x"yes" +then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF -else +else $as_nop have_lua=no fi done - - as_ac_Lib=`$as_echo "ac_cv_lib_lua5.2 ''_luaL_newstate" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua5.2 " >&5 -$as_echo_n "checking for luaL_newstate in -llua5.2 ... " >&6; } -if eval \${$as_ac_Lib+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_ac_Lib=`printf "%s\n" "ac_cv_lib_lua5.2 ""_luaL_newstate" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua5.2 " >&5 +printf %s "checking for luaL_newstate in -llua5.2 ... " >&6; } +if eval test \${$as_ac_Lib+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-llua5.2 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -32418,39 +34234,39 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char luaL_newstate (); int -main () +main (void) { return luaL_newstate (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$as_ac_Lib=yes" -else +else $as_nop eval "$as_ac_Lib=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_ac_Lib"\" = x"yes" +then : LUA_LIBS="-llua5.2" -else - as_ac_Lib=`$as_echo "ac_cv_lib_lua5.1 ''_luaL_newstate" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua5.1 " >&5 -$as_echo_n "checking for luaL_newstate in -llua5.1 ... " >&6; } -if eval \${$as_ac_Lib+:} false; then : - $as_echo_n "(cached) " >&6 -else +else $as_nop + as_ac_Lib=`printf "%s\n" "ac_cv_lib_lua5.1 ""_luaL_newstate" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua5.1 " >&5 +printf %s "checking for luaL_newstate in -llua5.1 ... " >&6; } +if eval test \${$as_ac_Lib+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-llua5.1 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -32459,39 +34275,39 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char luaL_newstate (); int -main () +main (void) { return luaL_newstate (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$as_ac_Lib=yes" -else +else $as_nop eval "$as_ac_Lib=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_ac_Lib"\" = x"yes" +then : LUA_LIBS="-llua5.1" -else - as_ac_Lib=`$as_echo "ac_cv_lib_lua51 ''_luaL_newstate" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua51 " >&5 -$as_echo_n "checking for luaL_newstate in -llua51 ... " >&6; } -if eval \${$as_ac_Lib+:} false; then : - $as_echo_n "(cached) " >&6 -else +else $as_nop + as_ac_Lib=`printf "%s\n" "ac_cv_lib_lua51 ""_luaL_newstate" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua51 " >&5 +printf %s "checking for luaL_newstate in -llua51 ... " >&6; } +if eval test \${$as_ac_Lib+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-llua51 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -32500,39 +34316,39 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char luaL_newstate (); int -main () +main (void) { return luaL_newstate (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$as_ac_Lib=yes" -else +else $as_nop eval "$as_ac_Lib=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_ac_Lib"\" = x"yes" +then : LUA_LIBS="-llua51" -else - as_ac_Lib=`$as_echo "ac_cv_lib_lua ''_luaL_newstate" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua " >&5 -$as_echo_n "checking for luaL_newstate in -llua ... " >&6; } -if eval \${$as_ac_Lib+:} false; then : - $as_echo_n "(cached) " >&6 -else +else $as_nop + as_ac_Lib=`printf "%s\n" "ac_cv_lib_lua ""_luaL_newstate" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua " >&5 +printf %s "checking for luaL_newstate in -llua ... " >&6; } +if eval test \${$as_ac_Lib+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-llua -lm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -32541,33 +34357,32 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char luaL_newstate (); int -main () +main (void) { return luaL_newstate (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$as_ac_Lib=yes" -else +else $as_nop eval "$as_ac_Lib=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_ac_Lib"\" = x"yes" +then : LUA_LIBS="-llua" -else +else $as_nop have_lua=no fi @@ -32583,40 +34398,42 @@ else LUA_CFLAGS=$pkg_cv_LUA_CFLAGS LUA_LIBS=$pkg_cv_LUA_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_lua=yes fi else LUA_CFLAGS=$pkg_cv_LUA_CFLAGS LUA_LIBS=$pkg_cv_LUA_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_lua=yes fi else LUA_CFLAGS=$pkg_cv_LUA_CFLAGS LUA_LIBS=$pkg_cv_LUA_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_lua=yes fi if test "x${have_lua}" != "xyes" ; then as_fn_error $? "Could not find lua. Lua is needed for some interfaces (rc, telnet, http) as well as many other custom scripts. Use --disable-lua to ignore this error." "$LINENO" 5 fi - if test -z "$LUAC"; then : + if test -z "$LUAC" +then : if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}luac", so it can be a program name with args. set dummy ${ac_tool_prefix}luac; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_LUAC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_LUAC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$LUAC"; then ac_cv_prog_LUAC="$LUAC" # Let the user override the test. else @@ -32624,11 +34441,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_LUAC="${ac_tool_prefix}luac" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -32639,11 +34460,11 @@ fi LUAC=$ac_cv_prog_LUAC if test -n "$LUAC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LUAC" >&5 -$as_echo "$LUAC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LUAC" >&5 +printf "%s\n" "$LUAC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -32652,11 +34473,12 @@ ac_ct_LUAC=$LUAC # Extract the first word of "luac", so it can be a program name with args. set dummy luac; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_LUAC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_LUAC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_LUAC"; then ac_cv_prog_ac_ct_LUAC="$ac_ct_LUAC" # Let the user override the test. else @@ -32664,11 +34486,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_LUAC="luac" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -32679,11 +34505,11 @@ fi ac_ct_LUAC=$ac_cv_prog_ac_ct_LUAC if test -n "$ac_ct_LUAC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LUAC" >&5 -$as_echo "$ac_ct_LUAC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LUAC" >&5 +printf "%s\n" "$ac_ct_LUAC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_LUAC" = x; then @@ -32691,8 +34517,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac LUAC=$ac_ct_LUAC @@ -32703,12 +34529,14 @@ fi - if test "${LUAC}" = "false"; then : + if test "${LUAC}" = "false" +then : as_fn_error $? "Could not find the LUA byte compiler." "$LINENO" 5 fi - if test -d "${CONTRIB_DIR}" -a -f "${CONTRIB_DIR}/lib/liblua.a" -a `echo|${LUAC} -o - -|od -j 8 -N 2 -t x2|head -n 1|tr -s ' '|cut -d' ' -f2` != 0404; then : + if test -d "${CONTRIB_DIR}" -a -f "${CONTRIB_DIR}/lib/liblua.a" -a `echo|${LUAC} -o - -|od -j 8 -N 2 -t x2|head -n 1|tr -s ' '|cut -d' ' -f2` != 0404 +then : as_fn_error $? "You need 32-bits luac when using lua from contrib." "$LINENO" 5 @@ -32725,21 +34553,24 @@ # Check whether --enable-vlm was given. -if test "${enable_vlm+set}" = set; then : +if test ${enable_vlm+y} +then : enableval=$enable_vlm; -else +else $as_nop enable_vlm="${enable_sout}" fi -if test "${enable_vlm}" != "no"; then : +if test "${enable_vlm}" != "no" +then : - if test "${enable_sout}" = "no"; then : + if test "${enable_sout}" = "no" +then : as_fn_error $? "VLM requires the stream output. Do not use --disable-sout." "$LINENO" 5 fi -$as_echo "#define ENABLE_VLM 1" >>confdefs.h +printf "%s\n" "#define ENABLE_VLM 1" >>confdefs.h fi @@ -32754,14 +34585,15 @@ # Check whether --enable-addonmanagermodules was given. -if test "${enable_addonmanagermodules+set}" = set; then : +if test ${enable_addonmanagermodules+y} +then : enableval=$enable_addonmanagermodules; fi if test "${enable_addonmanagermodules}" != "no" then -$as_echo "#define ENABLE_ADDONMANAGERMODULES 1" >>confdefs.h +printf "%s\n" "#define ENABLE_ADDONMANAGERMODULES 1" >>confdefs.h fi if test "${enable_addonmanagermodules}" != "no"; then @@ -32794,9 +34626,10 @@ # Check whether --enable-archive was given. -if test "${enable_archive+set}" = set; then : +if test ${enable_archive+y} +then : enableval=$enable_archive; -else +else $as_nop enable_archive=auto fi @@ -32805,17 +34638,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ARCHIVE" >&5 -$as_echo_n "checking for ARCHIVE... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ARCHIVE" >&5 +printf %s "checking for ARCHIVE... " >&6; } if test -n "$ARCHIVE_CFLAGS"; then pkg_cv_ARCHIVE_CFLAGS="$ARCHIVE_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libarchive >= 3.1.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libarchive >= 3.1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libarchive >= 3.1.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ARCHIVE_CFLAGS=`$PKG_CONFIG --cflags "libarchive >= 3.1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -32829,10 +34662,10 @@ pkg_cv_ARCHIVE_LIBS="$ARCHIVE_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libarchive >= 3.1.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libarchive >= 3.1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libarchive >= 3.1.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ARCHIVE_LIBS=`$PKG_CONFIG --libs "libarchive >= 3.1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -32846,8 +34679,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -32862,28 +34695,30 @@ # Put the nasty error message in config.log where it belongs echo "$ARCHIVE_PKG_ERRORS" >&5 - if test x"$enable_archive" = "xyes"; then : + if test x"$enable_archive" = "xyes" +then : as_fn_error $? "Library libarchive >= 3.1.0 needed for archive was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libarchive >= 3.1.0 needed for archive was not found" >&5 -$as_echo "$as_me: WARNING: Library libarchive >= 3.1.0 needed for archive was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libarchive >= 3.1.0 needed for archive was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libarchive >= 3.1.0 needed for archive was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_archive" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_archive" = "xyes" +then : as_fn_error $? "Library libarchive >= 3.1.0 needed for archive was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libarchive >= 3.1.0 needed for archive was not found" >&5 -$as_echo "$as_me: WARNING: Library libarchive >= 3.1.0 needed for archive was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libarchive >= 3.1.0 needed for archive was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libarchive >= 3.1.0 needed for archive was not found" >&2;} fi else ARCHIVE_CFLAGS=$pkg_cv_ARCHIVE_CFLAGS ARCHIVE_LIBS=$pkg_cv_ARCHIVE_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBarchive=libarchive_plugin.la @@ -32905,17 +34740,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ARCHIVE" >&5 -$as_echo_n "checking for ARCHIVE... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ARCHIVE" >&5 +printf %s "checking for ARCHIVE... " >&6; } if test -n "$ARCHIVE_CFLAGS"; then pkg_cv_ARCHIVE_CFLAGS="$ARCHIVE_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libarchive >= 3.1.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libarchive >= 3.1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libarchive >= 3.1.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ARCHIVE_CFLAGS=`$PKG_CONFIG --cflags "libarchive >= 3.1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -32929,10 +34764,10 @@ pkg_cv_ARCHIVE_LIBS="$ARCHIVE_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libarchive >= 3.1.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libarchive >= 3.1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libarchive >= 3.1.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ARCHIVE_LIBS=`$PKG_CONFIG --libs "libarchive >= 3.1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -32946,8 +34781,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -32963,29 +34798,31 @@ echo "$ARCHIVE_PKG_ERRORS" >&5 enable_archive=no - if test x"$enable_archive" = "xyes"; then : + if test x"$enable_archive" = "xyes" +then : as_fn_error $? "Library libarchive >= 3.1.0 needed for archive was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libarchive >= 3.1.0 needed for archive was not found" >&5 -$as_echo "$as_me: WARNING: Library libarchive >= 3.1.0 needed for archive was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libarchive >= 3.1.0 needed for archive was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libarchive >= 3.1.0 needed for archive was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_archive=no - if test x"$enable_archive" = "xyes"; then : + if test x"$enable_archive" = "xyes" +then : as_fn_error $? "Library libarchive >= 3.1.0 needed for archive was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libarchive >= 3.1.0 needed for archive was not found" >&5 -$as_echo "$as_me: WARNING: Library libarchive >= 3.1.0 needed for archive was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libarchive >= 3.1.0 needed for archive was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libarchive >= 3.1.0 needed for archive was not found" >&2;} fi else ARCHIVE_CFLAGS=$pkg_cv_ARCHIVE_CFLAGS ARCHIVE_LIBS=$pkg_cv_ARCHIVE_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_archive=yes @@ -33023,27 +34860,29 @@ # Check whether --enable-live555 was given. -if test "${enable_live555+set}" = set; then : +if test ${enable_live555+y} +then : enableval=$enable_live555; fi -if test "${enable_live555}" != "no" -a -n "${CXX}"; then : +if test "${enable_live555}" != "no" -a -n "${CXX}" +then : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIVE555" >&5 -$as_echo_n "checking for LIVE555... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIVE555" >&5 +printf %s "checking for LIVE555... " >&6; } if test -n "$LIVE555_CFLAGS"; then pkg_cv_LIVE555_CFLAGS="$LIVE555_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"live555\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"live555\""; } >&5 ($PKG_CONFIG --exists --print-errors "live555") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIVE555_CFLAGS=`$PKG_CONFIG --cflags "live555" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -33057,10 +34896,10 @@ pkg_cv_LIVE555_LIBS="$LIVE555_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"live555\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"live555\""; } >&5 ($PKG_CONFIG --exists --print-errors "live555") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIVE555_LIBS=`$PKG_CONFIG --libs "live555" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -33074,8 +34913,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -33091,8 +34930,8 @@ echo "$LIVE555_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LIVE555_PKG_ERRORS}." >&5 -$as_echo "$as_me: WARNING: ${LIVE555_PKG_ERRORS}." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${LIVE555_PKG_ERRORS}." >&5 +printf "%s\n" "$as_me: WARNING: ${LIVE555_PKG_ERRORS}." >&2;} ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -33109,18 +34948,20 @@ LIBS_save="${LIBS}" - if test -f "${CONTRIB_DIR}/include/UsageEnvironment/UsageEnvironment.hh"; then : + if test -f "${CONTRIB_DIR}/include/UsageEnvironment/UsageEnvironment.hh" +then : CPPFLAGS_live555="-I${CONTRIB_DIR}/include/liveMedia -I${CONTRIB_DIR}/include/groupsock -I${CONTRIB_DIR}/include/BasicUsageEnvironment -I${CONTRIB_DIR}/include/UsageEnvironment" -else +else $as_nop - if test "${SYS}" != "os2"; then : + if test "${SYS}" != "os2" +then : LIVE555_PREFIX=${LIVE555_PREFIX-"/usr"} CPPFLAGS_live555="-I${LIVE555_PREFIX}/include/liveMedia -I${LIVE555_PREFIX}/include/groupsock -I${LIVE555_PREFIX}/include/BasicUsageEnvironment -I${LIVE555_PREFIX}/include/UsageEnvironment" -else +else $as_nop LIVE555_PREFIX=${LIVE555_PREFIX-"/usr/lib/live"} CPPFLAGS_live555="-I${LIVE555_PREFIX}/liveMedia/include -I${LIVE555_PREFIX}/groupsock/include -I${LIVE555_PREFIX}/BasicUsageEnvironment/include -I${LIVE555_PREFIX}/UsageEnvironment/include" @@ -33130,7 +34971,8 @@ fi - if test "${SYS}" = "solaris"; then : + if test "${SYS}" = "solaris" +then : CPPFLAGS_live555="${CPPFLAGS_live555} -DSOLARIS" @@ -33138,11 +34980,12 @@ CPPFLAGS="${CPPFLAGS} ${CPPFLAGS_live555}" LDFLAGS="${LDFLAGS} ${LDFLAGS_live555}" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for live555 version 1324598400 or later" >&5 -$as_echo_n "checking for live555 version 1324598400 or later... " >&6; } -if ${ac_cv_live555+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for live555 version 1324598400 or later" >&5 +printf %s "checking for live555 version 1324598400 or later... " >&6; } +if test ${ac_cv_live555+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -33152,7 +34995,7 @@ # error BOOM #endif int -main () +main (void) { ; @@ -33160,11 +35003,12 @@ } _ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : +if ac_fn_cxx_try_cpp "$LINENO" +then : ac_cv_live555="yes" -else +else $as_nop ac_cv_live555="no" @@ -33172,28 +35016,31 @@ rm -f conftest.err conftest.i conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_live555" >&5 -$as_echo "$ac_cv_live555" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_live555" >&5 +printf "%s\n" "$ac_cv_live555" >&6; } - if test "$ac_cv_live555" = "no"; then : + if test "$ac_cv_live555" = "no" +then : - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: live555 is missing or its installed version is too old: + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: live555 is missing or its installed version is too old: Version 2011.12.23 or later is required to proceed. You can get an updated one from http://www.live555.com/liveMedia ." >&5 -$as_echo "$as_me: WARNING: live555 is missing or its installed version is too old: +printf "%s\n" "$as_me: WARNING: live555 is missing or its installed version is too old: Version 2011.12.23 or later is required to proceed. You can get an updated one from http://www.live555.com/liveMedia ." >&2;} - if test -n "${enable_live555}"; then : + if test -n "${enable_live555}" +then : as_fn_error $? "Update live555 or pass --disable-live555 to disable RTSP input support." "$LINENO" 5 fi -else +else $as_nop other_libs="-lgroupsock -lBasicUsageEnvironment -lUsageEnvironment" other_libs_pic="-lgroupsock_pic -lBasicUsageEnvironment_pic -lUsageEnvironment_pic" - if test "${SYS}" = "mingw32"; then : + if test "${SYS}" = "mingw32" +then : # add ws2_32 for closesocket, select, recv other_libs="$other_libs -lws2_32" @@ -33212,37 +35059,42 @@ - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lliveMedia_pic" >&5 -$as_echo_n "checking for main in -lliveMedia_pic... " >&6; } -if ${ac_cv_lib_liveMedia_pic_main+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lliveMedia_pic" >&5 +printf %s "checking for main in -lliveMedia_pic... " >&6; } +if test ${ac_cv_lib_liveMedia_pic_main+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lliveMedia_pic ${other_libs_pic} $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ - +namespace conftest { + extern "C" int main (); +} int -main () +main (void) { -return main (); +return conftest::main (); ; return 0; } _ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : +if ac_fn_cxx_try_link "$LINENO" +then : ac_cv_lib_liveMedia_pic_main=yes -else +else $as_nop ac_cv_lib_liveMedia_pic_main=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_liveMedia_pic_main" >&5 -$as_echo "$ac_cv_lib_liveMedia_pic_main" >&6; } -if test "x$ac_cv_lib_liveMedia_pic_main" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_liveMedia_pic_main" >&5 +printf "%s\n" "$ac_cv_lib_liveMedia_pic_main" >&6; } +if test "x$ac_cv_lib_liveMedia_pic_main" = xyes +then : @@ -33257,39 +35109,44 @@ -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lliveMedia" >&5 -$as_echo_n "checking for main in -lliveMedia... " >&6; } -if ${ac_cv_lib_liveMedia_main+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lliveMedia" >&5 +printf %s "checking for main in -lliveMedia... " >&6; } +if test ${ac_cv_lib_liveMedia_main+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lliveMedia ${other_libs} $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ - +namespace conftest { + extern "C" int main (); +} int -main () +main (void) { -return main (); +return conftest::main (); ; return 0; } _ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : +if ac_fn_cxx_try_link "$LINENO" +then : ac_cv_lib_liveMedia_main=yes -else +else $as_nop ac_cv_lib_liveMedia_main=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_liveMedia_main" >&5 -$as_echo "$ac_cv_lib_liveMedia_main" >&6; } -if test "x$ac_cv_lib_liveMedia_main" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_liveMedia_main" >&5 +printf "%s\n" "$ac_cv_lib_liveMedia_main" >&6; } +if test "x$ac_cv_lib_liveMedia_main" = xyes +then : @@ -33327,11 +35184,11 @@ elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LIVE555_PKG_ERRORS}." >&5 -$as_echo "$as_me: WARNING: ${LIVE555_PKG_ERRORS}." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${LIVE555_PKG_ERRORS}." >&5 +printf "%s\n" "$as_me: WARNING: ${LIVE555_PKG_ERRORS}." >&2;} ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -33348,18 +35205,20 @@ LIBS_save="${LIBS}" - if test -f "${CONTRIB_DIR}/include/UsageEnvironment/UsageEnvironment.hh"; then : + if test -f "${CONTRIB_DIR}/include/UsageEnvironment/UsageEnvironment.hh" +then : CPPFLAGS_live555="-I${CONTRIB_DIR}/include/liveMedia -I${CONTRIB_DIR}/include/groupsock -I${CONTRIB_DIR}/include/BasicUsageEnvironment -I${CONTRIB_DIR}/include/UsageEnvironment" -else +else $as_nop - if test "${SYS}" != "os2"; then : + if test "${SYS}" != "os2" +then : LIVE555_PREFIX=${LIVE555_PREFIX-"/usr"} CPPFLAGS_live555="-I${LIVE555_PREFIX}/include/liveMedia -I${LIVE555_PREFIX}/include/groupsock -I${LIVE555_PREFIX}/include/BasicUsageEnvironment -I${LIVE555_PREFIX}/include/UsageEnvironment" -else +else $as_nop LIVE555_PREFIX=${LIVE555_PREFIX-"/usr/lib/live"} CPPFLAGS_live555="-I${LIVE555_PREFIX}/liveMedia/include -I${LIVE555_PREFIX}/groupsock/include -I${LIVE555_PREFIX}/BasicUsageEnvironment/include -I${LIVE555_PREFIX}/UsageEnvironment/include" @@ -33369,7 +35228,8 @@ fi - if test "${SYS}" = "solaris"; then : + if test "${SYS}" = "solaris" +then : CPPFLAGS_live555="${CPPFLAGS_live555} -DSOLARIS" @@ -33377,11 +35237,12 @@ CPPFLAGS="${CPPFLAGS} ${CPPFLAGS_live555}" LDFLAGS="${LDFLAGS} ${LDFLAGS_live555}" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for live555 version 1324598400 or later" >&5 -$as_echo_n "checking for live555 version 1324598400 or later... " >&6; } -if ${ac_cv_live555+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for live555 version 1324598400 or later" >&5 +printf %s "checking for live555 version 1324598400 or later... " >&6; } +if test ${ac_cv_live555+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -33391,7 +35252,7 @@ # error BOOM #endif int -main () +main (void) { ; @@ -33399,11 +35260,12 @@ } _ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : +if ac_fn_cxx_try_cpp "$LINENO" +then : ac_cv_live555="yes" -else +else $as_nop ac_cv_live555="no" @@ -33411,28 +35273,31 @@ rm -f conftest.err conftest.i conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_live555" >&5 -$as_echo "$ac_cv_live555" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_live555" >&5 +printf "%s\n" "$ac_cv_live555" >&6; } - if test "$ac_cv_live555" = "no"; then : + if test "$ac_cv_live555" = "no" +then : - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: live555 is missing or its installed version is too old: + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: live555 is missing or its installed version is too old: Version 2011.12.23 or later is required to proceed. You can get an updated one from http://www.live555.com/liveMedia ." >&5 -$as_echo "$as_me: WARNING: live555 is missing or its installed version is too old: +printf "%s\n" "$as_me: WARNING: live555 is missing or its installed version is too old: Version 2011.12.23 or later is required to proceed. You can get an updated one from http://www.live555.com/liveMedia ." >&2;} - if test -n "${enable_live555}"; then : + if test -n "${enable_live555}" +then : as_fn_error $? "Update live555 or pass --disable-live555 to disable RTSP input support." "$LINENO" 5 fi -else +else $as_nop other_libs="-lgroupsock -lBasicUsageEnvironment -lUsageEnvironment" other_libs_pic="-lgroupsock_pic -lBasicUsageEnvironment_pic -lUsageEnvironment_pic" - if test "${SYS}" = "mingw32"; then : + if test "${SYS}" = "mingw32" +then : # add ws2_32 for closesocket, select, recv other_libs="$other_libs -lws2_32" @@ -33451,37 +35316,42 @@ - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lliveMedia_pic" >&5 -$as_echo_n "checking for main in -lliveMedia_pic... " >&6; } -if ${ac_cv_lib_liveMedia_pic_main+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lliveMedia_pic" >&5 +printf %s "checking for main in -lliveMedia_pic... " >&6; } +if test ${ac_cv_lib_liveMedia_pic_main+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lliveMedia_pic ${other_libs_pic} $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ - +namespace conftest { + extern "C" int main (); +} int -main () +main (void) { -return main (); +return conftest::main (); ; return 0; } _ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : +if ac_fn_cxx_try_link "$LINENO" +then : ac_cv_lib_liveMedia_pic_main=yes -else +else $as_nop ac_cv_lib_liveMedia_pic_main=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_liveMedia_pic_main" >&5 -$as_echo "$ac_cv_lib_liveMedia_pic_main" >&6; } -if test "x$ac_cv_lib_liveMedia_pic_main" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_liveMedia_pic_main" >&5 +printf "%s\n" "$ac_cv_lib_liveMedia_pic_main" >&6; } +if test "x$ac_cv_lib_liveMedia_pic_main" = xyes +then : @@ -33496,39 +35366,44 @@ -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lliveMedia" >&5 -$as_echo_n "checking for main in -lliveMedia... " >&6; } -if ${ac_cv_lib_liveMedia_main+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lliveMedia" >&5 +printf %s "checking for main in -lliveMedia... " >&6; } +if test ${ac_cv_lib_liveMedia_main+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lliveMedia ${other_libs} $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ - +namespace conftest { + extern "C" int main (); +} int -main () +main (void) { -return main (); +return conftest::main (); ; return 0; } _ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : +if ac_fn_cxx_try_link "$LINENO" +then : ac_cv_lib_liveMedia_main=yes -else +else $as_nop ac_cv_lib_liveMedia_main=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_liveMedia_main" >&5 -$as_echo "$ac_cv_lib_liveMedia_main" >&6; } -if test "x$ac_cv_lib_liveMedia_main" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_liveMedia_main" >&5 +printf "%s\n" "$ac_cv_lib_liveMedia_main" >&6; } +if test "x$ac_cv_lib_liveMedia_main" = xyes +then : @@ -33568,8 +35443,8 @@ else LIVE555_CFLAGS=$pkg_cv_LIVE555_CFLAGS LIVE555_LIBS=$pkg_cv_LIVE555_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } @@ -33611,9 +35486,10 @@ # Check whether --enable-dc1394 was given. -if test "${enable_dc1394+set}" = set; then : +if test ${enable_dc1394+y} +then : enableval=$enable_dc1394; -else +else $as_nop enable_dc1394=auto fi @@ -33622,17 +35498,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DC1394" >&5 -$as_echo_n "checking for DC1394... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DC1394" >&5 +printf %s "checking for DC1394... " >&6; } if test -n "$DC1394_CFLAGS"; then pkg_cv_DC1394_CFLAGS="$DC1394_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdc1394-2 >= 2.1.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdc1394-2 >= 2.1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libdc1394-2 >= 2.1.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DC1394_CFLAGS=`$PKG_CONFIG --cflags "libdc1394-2 >= 2.1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -33646,10 +35522,10 @@ pkg_cv_DC1394_LIBS="$DC1394_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdc1394-2 >= 2.1.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdc1394-2 >= 2.1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libdc1394-2 >= 2.1.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DC1394_LIBS=`$PKG_CONFIG --libs "libdc1394-2 >= 2.1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -33663,8 +35539,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -33679,28 +35555,30 @@ # Put the nasty error message in config.log where it belongs echo "$DC1394_PKG_ERRORS" >&5 - if test x"$enable_dc1394" = "xyes"; then : + if test x"$enable_dc1394" = "xyes" +then : as_fn_error $? "Library libdc1394-2 >= 2.1.0 needed for dc1394 was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libdc1394-2 >= 2.1.0 needed for dc1394 was not found" >&5 -$as_echo "$as_me: WARNING: Library libdc1394-2 >= 2.1.0 needed for dc1394 was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libdc1394-2 >= 2.1.0 needed for dc1394 was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libdc1394-2 >= 2.1.0 needed for dc1394 was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_dc1394" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_dc1394" = "xyes" +then : as_fn_error $? "Library libdc1394-2 >= 2.1.0 needed for dc1394 was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libdc1394-2 >= 2.1.0 needed for dc1394 was not found" >&5 -$as_echo "$as_me: WARNING: Library libdc1394-2 >= 2.1.0 needed for dc1394 was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libdc1394-2 >= 2.1.0 needed for dc1394 was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libdc1394-2 >= 2.1.0 needed for dc1394 was not found" >&2;} fi else DC1394_CFLAGS=$pkg_cv_DC1394_CFLAGS DC1394_LIBS=$pkg_cv_DC1394_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBdc1394=libdc1394_plugin.la @@ -33722,17 +35600,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DC1394" >&5 -$as_echo_n "checking for DC1394... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DC1394" >&5 +printf %s "checking for DC1394... " >&6; } if test -n "$DC1394_CFLAGS"; then pkg_cv_DC1394_CFLAGS="$DC1394_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdc1394-2 >= 2.1.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdc1394-2 >= 2.1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libdc1394-2 >= 2.1.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DC1394_CFLAGS=`$PKG_CONFIG --cflags "libdc1394-2 >= 2.1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -33746,10 +35624,10 @@ pkg_cv_DC1394_LIBS="$DC1394_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdc1394-2 >= 2.1.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdc1394-2 >= 2.1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libdc1394-2 >= 2.1.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DC1394_LIBS=`$PKG_CONFIG --libs "libdc1394-2 >= 2.1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -33763,8 +35641,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -33780,29 +35658,31 @@ echo "$DC1394_PKG_ERRORS" >&5 enable_dc1394=no - if test x"$enable_dc1394" = "xyes"; then : + if test x"$enable_dc1394" = "xyes" +then : as_fn_error $? "Library libdc1394-2 >= 2.1.0 needed for dc1394 was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libdc1394-2 >= 2.1.0 needed for dc1394 was not found" >&5 -$as_echo "$as_me: WARNING: Library libdc1394-2 >= 2.1.0 needed for dc1394 was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libdc1394-2 >= 2.1.0 needed for dc1394 was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libdc1394-2 >= 2.1.0 needed for dc1394 was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_dc1394=no - if test x"$enable_dc1394" = "xyes"; then : + if test x"$enable_dc1394" = "xyes" +then : as_fn_error $? "Library libdc1394-2 >= 2.1.0 needed for dc1394 was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libdc1394-2 >= 2.1.0 needed for dc1394 was not found" >&5 -$as_echo "$as_me: WARNING: Library libdc1394-2 >= 2.1.0 needed for dc1394 was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libdc1394-2 >= 2.1.0 needed for dc1394 was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libdc1394-2 >= 2.1.0 needed for dc1394 was not found" >&2;} fi else DC1394_CFLAGS=$pkg_cv_DC1394_CFLAGS DC1394_LIBS=$pkg_cv_DC1394_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_dc1394=yes @@ -33855,9 +35735,10 @@ # Check whether --enable-dv1394 was given. -if test "${enable_dv1394+set}" = set; then : +if test ${enable_dv1394+y} +then : enableval=$enable_dv1394; -else +else $as_nop enable_dv1394=auto fi @@ -33866,17 +35747,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DV1394" >&5 -$as_echo_n "checking for DV1394... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DV1394" >&5 +printf %s "checking for DV1394... " >&6; } if test -n "$DV1394_CFLAGS"; then pkg_cv_DV1394_CFLAGS="$DV1394_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libraw1394 >= 2.0.1 libavc1394 >= 0.5.3\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libraw1394 >= 2.0.1 libavc1394 >= 0.5.3\""; } >&5 ($PKG_CONFIG --exists --print-errors "libraw1394 >= 2.0.1 libavc1394 >= 0.5.3") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DV1394_CFLAGS=`$PKG_CONFIG --cflags "libraw1394 >= 2.0.1 libavc1394 >= 0.5.3" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -33890,10 +35771,10 @@ pkg_cv_DV1394_LIBS="$DV1394_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libraw1394 >= 2.0.1 libavc1394 >= 0.5.3\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libraw1394 >= 2.0.1 libavc1394 >= 0.5.3\""; } >&5 ($PKG_CONFIG --exists --print-errors "libraw1394 >= 2.0.1 libavc1394 >= 0.5.3") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DV1394_LIBS=`$PKG_CONFIG --libs "libraw1394 >= 2.0.1 libavc1394 >= 0.5.3" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -33907,8 +35788,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -33923,28 +35804,30 @@ # Put the nasty error message in config.log where it belongs echo "$DV1394_PKG_ERRORS" >&5 - if test x"$enable_dv1394" = "xyes"; then : + if test x"$enable_dv1394" = "xyes" +then : as_fn_error $? "Library libraw1394 >= 2.0.1 libavc1394 >= 0.5.3 needed for dv1394 was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libraw1394 >= 2.0.1 libavc1394 >= 0.5.3 needed for dv1394 was not found" >&5 -$as_echo "$as_me: WARNING: Library libraw1394 >= 2.0.1 libavc1394 >= 0.5.3 needed for dv1394 was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libraw1394 >= 2.0.1 libavc1394 >= 0.5.3 needed for dv1394 was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libraw1394 >= 2.0.1 libavc1394 >= 0.5.3 needed for dv1394 was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_dv1394" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_dv1394" = "xyes" +then : as_fn_error $? "Library libraw1394 >= 2.0.1 libavc1394 >= 0.5.3 needed for dv1394 was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libraw1394 >= 2.0.1 libavc1394 >= 0.5.3 needed for dv1394 was not found" >&5 -$as_echo "$as_me: WARNING: Library libraw1394 >= 2.0.1 libavc1394 >= 0.5.3 needed for dv1394 was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libraw1394 >= 2.0.1 libavc1394 >= 0.5.3 needed for dv1394 was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libraw1394 >= 2.0.1 libavc1394 >= 0.5.3 needed for dv1394 was not found" >&2;} fi else DV1394_CFLAGS=$pkg_cv_DV1394_CFLAGS DV1394_LIBS=$pkg_cv_DV1394_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBdv1394=libdv1394_plugin.la @@ -33966,17 +35849,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DV1394" >&5 -$as_echo_n "checking for DV1394... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DV1394" >&5 +printf %s "checking for DV1394... " >&6; } if test -n "$DV1394_CFLAGS"; then pkg_cv_DV1394_CFLAGS="$DV1394_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libraw1394 >= 2.0.1 libavc1394 >= 0.5.3\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libraw1394 >= 2.0.1 libavc1394 >= 0.5.3\""; } >&5 ($PKG_CONFIG --exists --print-errors "libraw1394 >= 2.0.1 libavc1394 >= 0.5.3") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DV1394_CFLAGS=`$PKG_CONFIG --cflags "libraw1394 >= 2.0.1 libavc1394 >= 0.5.3" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -33990,10 +35873,10 @@ pkg_cv_DV1394_LIBS="$DV1394_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libraw1394 >= 2.0.1 libavc1394 >= 0.5.3\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libraw1394 >= 2.0.1 libavc1394 >= 0.5.3\""; } >&5 ($PKG_CONFIG --exists --print-errors "libraw1394 >= 2.0.1 libavc1394 >= 0.5.3") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DV1394_LIBS=`$PKG_CONFIG --libs "libraw1394 >= 2.0.1 libavc1394 >= 0.5.3" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -34007,8 +35890,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -34024,29 +35907,31 @@ echo "$DV1394_PKG_ERRORS" >&5 enable_dv1394=no - if test x"$enable_dv1394" = "xyes"; then : + if test x"$enable_dv1394" = "xyes" +then : as_fn_error $? "Library libraw1394 >= 2.0.1 libavc1394 >= 0.5.3 needed for dv1394 was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libraw1394 >= 2.0.1 libavc1394 >= 0.5.3 needed for dv1394 was not found" >&5 -$as_echo "$as_me: WARNING: Library libraw1394 >= 2.0.1 libavc1394 >= 0.5.3 needed for dv1394 was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libraw1394 >= 2.0.1 libavc1394 >= 0.5.3 needed for dv1394 was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libraw1394 >= 2.0.1 libavc1394 >= 0.5.3 needed for dv1394 was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_dv1394=no - if test x"$enable_dv1394" = "xyes"; then : + if test x"$enable_dv1394" = "xyes" +then : as_fn_error $? "Library libraw1394 >= 2.0.1 libavc1394 >= 0.5.3 needed for dv1394 was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libraw1394 >= 2.0.1 libavc1394 >= 0.5.3 needed for dv1394 was not found" >&5 -$as_echo "$as_me: WARNING: Library libraw1394 >= 2.0.1 libavc1394 >= 0.5.3 needed for dv1394 was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libraw1394 >= 2.0.1 libavc1394 >= 0.5.3 needed for dv1394 was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libraw1394 >= 2.0.1 libavc1394 >= 0.5.3 needed for dv1394 was not found" >&2;} fi else DV1394_CFLAGS=$pkg_cv_DV1394_CFLAGS DV1394_LIBS=$pkg_cv_DV1394_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_dv1394=yes @@ -34084,11 +35969,13 @@ # Check whether --enable-linsys was given. -if test "${enable_linsys+set}" = set; then : +if test ${enable_linsys+y} +then : enableval=$enable_linsys; fi -if test "$SYS" = "linux" -a "${enable_linsys}" != "no"; then : +if test "$SYS" = "linux" -a "${enable_linsys}" != "no" +then : @@ -34098,17 +35985,17 @@ pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LINSYS_SDI" >&5 -$as_echo_n "checking for LINSYS_SDI... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LINSYS_SDI" >&5 +printf %s "checking for LINSYS_SDI... " >&6; } if test -n "$LINSYS_SDI_CFLAGS"; then pkg_cv_LINSYS_SDI_CFLAGS="$LINSYS_SDI_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zvbi-0.2 >= 0.2.28\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zvbi-0.2 >= 0.2.28\""; } >&5 ($PKG_CONFIG --exists --print-errors "zvbi-0.2 >= 0.2.28") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LINSYS_SDI_CFLAGS=`$PKG_CONFIG --cflags "zvbi-0.2 >= 0.2.28" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -34122,10 +36009,10 @@ pkg_cv_LINSYS_SDI_LIBS="$LINSYS_SDI_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zvbi-0.2 >= 0.2.28\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zvbi-0.2 >= 0.2.28\""; } >&5 ($PKG_CONFIG --exists --print-errors "zvbi-0.2 >= 0.2.28") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LINSYS_SDI_LIBS=`$PKG_CONFIG --libs "zvbi-0.2 >= 0.2.28" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -34139,8 +36026,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -34156,21 +36043,21 @@ echo "$LINSYS_SDI_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LINSYS_SDI_PKG_ERRORS}." >&5 -$as_echo "$as_me: WARNING: ${LINSYS_SDI_PKG_ERRORS}." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${LINSYS_SDI_PKG_ERRORS}." >&5 +printf "%s\n" "$as_me: WARNING: ${LINSYS_SDI_PKG_ERRORS}." >&2;} elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LINSYS_SDI_PKG_ERRORS}." >&5 -$as_echo "$as_me: WARNING: ${LINSYS_SDI_PKG_ERRORS}." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${LINSYS_SDI_PKG_ERRORS}." >&5 +printf "%s\n" "$as_me: WARNING: ${LINSYS_SDI_PKG_ERRORS}." >&2;} else LINSYS_SDI_CFLAGS=$pkg_cv_LINSYS_SDI_CFLAGS LINSYS_SDI_LIBS=$pkg_cv_LINSYS_SDI_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } @@ -34200,9 +36087,10 @@ # Check whether --enable-dvdread was given. -if test "${enable_dvdread+set}" = set; then : +if test ${enable_dvdread+y} +then : enableval=$enable_dvdread; -else +else $as_nop enable_dvdread=auto fi @@ -34211,17 +36099,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DVDREAD" >&5 -$as_echo_n "checking for DVDREAD... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DVDREAD" >&5 +printf %s "checking for DVDREAD... " >&6; } if test -n "$DVDREAD_CFLAGS"; then pkg_cv_DVDREAD_CFLAGS="$DVDREAD_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dvdread > 4.9.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dvdread > 4.9.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "dvdread > 4.9.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DVDREAD_CFLAGS=`$PKG_CONFIG --cflags "dvdread > 4.9.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -34235,10 +36123,10 @@ pkg_cv_DVDREAD_LIBS="$DVDREAD_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dvdread > 4.9.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dvdread > 4.9.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "dvdread > 4.9.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DVDREAD_LIBS=`$PKG_CONFIG --libs "dvdread > 4.9.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -34252,8 +36140,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -34268,28 +36156,30 @@ # Put the nasty error message in config.log where it belongs echo "$DVDREAD_PKG_ERRORS" >&5 - if test x"$enable_dvdread" = "xyes"; then : + if test x"$enable_dvdread" = "xyes" +then : as_fn_error $? "Library dvdread > 4.9.0 needed for dvdread was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library dvdread > 4.9.0 needed for dvdread was not found" >&5 -$as_echo "$as_me: WARNING: Library dvdread > 4.9.0 needed for dvdread was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library dvdread > 4.9.0 needed for dvdread was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library dvdread > 4.9.0 needed for dvdread was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_dvdread" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_dvdread" = "xyes" +then : as_fn_error $? "Library dvdread > 4.9.0 needed for dvdread was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library dvdread > 4.9.0 needed for dvdread was not found" >&5 -$as_echo "$as_me: WARNING: Library dvdread > 4.9.0 needed for dvdread was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library dvdread > 4.9.0 needed for dvdread was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library dvdread > 4.9.0 needed for dvdread was not found" >&2;} fi else DVDREAD_CFLAGS=$pkg_cv_DVDREAD_CFLAGS DVDREAD_LIBS=$pkg_cv_DVDREAD_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBdvdread=libdvdread_plugin.la @@ -34311,17 +36201,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DVDREAD" >&5 -$as_echo_n "checking for DVDREAD... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DVDREAD" >&5 +printf %s "checking for DVDREAD... " >&6; } if test -n "$DVDREAD_CFLAGS"; then pkg_cv_DVDREAD_CFLAGS="$DVDREAD_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dvdread > 4.9.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dvdread > 4.9.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "dvdread > 4.9.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DVDREAD_CFLAGS=`$PKG_CONFIG --cflags "dvdread > 4.9.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -34335,10 +36225,10 @@ pkg_cv_DVDREAD_LIBS="$DVDREAD_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dvdread > 4.9.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dvdread > 4.9.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "dvdread > 4.9.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DVDREAD_LIBS=`$PKG_CONFIG --libs "dvdread > 4.9.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -34352,8 +36242,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -34369,29 +36259,31 @@ echo "$DVDREAD_PKG_ERRORS" >&5 enable_dvdread=no - if test x"$enable_dvdread" = "xyes"; then : + if test x"$enable_dvdread" = "xyes" +then : as_fn_error $? "Library dvdread > 4.9.0 needed for dvdread was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library dvdread > 4.9.0 needed for dvdread was not found" >&5 -$as_echo "$as_me: WARNING: Library dvdread > 4.9.0 needed for dvdread was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library dvdread > 4.9.0 needed for dvdread was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library dvdread > 4.9.0 needed for dvdread was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_dvdread=no - if test x"$enable_dvdread" = "xyes"; then : + if test x"$enable_dvdread" = "xyes" +then : as_fn_error $? "Library dvdread > 4.9.0 needed for dvdread was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library dvdread > 4.9.0 needed for dvdread was not found" >&5 -$as_echo "$as_me: WARNING: Library dvdread > 4.9.0 needed for dvdread was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library dvdread > 4.9.0 needed for dvdread was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library dvdread > 4.9.0 needed for dvdread was not found" >&2;} fi else DVDREAD_CFLAGS=$pkg_cv_DVDREAD_CFLAGS DVDREAD_LIBS=$pkg_cv_DVDREAD_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_dvdread=yes @@ -34445,9 +36337,10 @@ # Check whether --enable-dvdnav was given. -if test "${enable_dvdnav+set}" = set; then : +if test ${enable_dvdnav+y} +then : enableval=$enable_dvdnav; -else +else $as_nop enable_dvdnav=auto fi @@ -34456,17 +36349,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DVDNAV" >&5 -$as_echo_n "checking for DVDNAV... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DVDNAV" >&5 +printf %s "checking for DVDNAV... " >&6; } if test -n "$DVDNAV_CFLAGS"; then pkg_cv_DVDNAV_CFLAGS="$DVDNAV_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dvdnav > 4.9.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dvdnav > 4.9.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "dvdnav > 4.9.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DVDNAV_CFLAGS=`$PKG_CONFIG --cflags "dvdnav > 4.9.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -34480,10 +36373,10 @@ pkg_cv_DVDNAV_LIBS="$DVDNAV_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dvdnav > 4.9.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dvdnav > 4.9.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "dvdnav > 4.9.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DVDNAV_LIBS=`$PKG_CONFIG --libs "dvdnav > 4.9.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -34497,8 +36390,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -34513,28 +36406,30 @@ # Put the nasty error message in config.log where it belongs echo "$DVDNAV_PKG_ERRORS" >&5 - if test x"$enable_dvdnav" = "xyes"; then : + if test x"$enable_dvdnav" = "xyes" +then : as_fn_error $? "Library dvdnav > 4.9.0 needed for dvdnav was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library dvdnav > 4.9.0 needed for dvdnav was not found" >&5 -$as_echo "$as_me: WARNING: Library dvdnav > 4.9.0 needed for dvdnav was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library dvdnav > 4.9.0 needed for dvdnav was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library dvdnav > 4.9.0 needed for dvdnav was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_dvdnav" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_dvdnav" = "xyes" +then : as_fn_error $? "Library dvdnav > 4.9.0 needed for dvdnav was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library dvdnav > 4.9.0 needed for dvdnav was not found" >&5 -$as_echo "$as_me: WARNING: Library dvdnav > 4.9.0 needed for dvdnav was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library dvdnav > 4.9.0 needed for dvdnav was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library dvdnav > 4.9.0 needed for dvdnav was not found" >&2;} fi else DVDNAV_CFLAGS=$pkg_cv_DVDNAV_CFLAGS DVDNAV_LIBS=$pkg_cv_DVDNAV_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBdvdnav=libdvdnav_plugin.la @@ -34556,17 +36451,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DVDNAV" >&5 -$as_echo_n "checking for DVDNAV... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DVDNAV" >&5 +printf %s "checking for DVDNAV... " >&6; } if test -n "$DVDNAV_CFLAGS"; then pkg_cv_DVDNAV_CFLAGS="$DVDNAV_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dvdnav > 4.9.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dvdnav > 4.9.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "dvdnav > 4.9.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DVDNAV_CFLAGS=`$PKG_CONFIG --cflags "dvdnav > 4.9.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -34580,10 +36475,10 @@ pkg_cv_DVDNAV_LIBS="$DVDNAV_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dvdnav > 4.9.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dvdnav > 4.9.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "dvdnav > 4.9.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DVDNAV_LIBS=`$PKG_CONFIG --libs "dvdnav > 4.9.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -34597,8 +36492,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -34614,29 +36509,31 @@ echo "$DVDNAV_PKG_ERRORS" >&5 enable_dvdnav=no - if test x"$enable_dvdnav" = "xyes"; then : + if test x"$enable_dvdnav" = "xyes" +then : as_fn_error $? "Library dvdnav > 4.9.0 needed for dvdnav was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library dvdnav > 4.9.0 needed for dvdnav was not found" >&5 -$as_echo "$as_me: WARNING: Library dvdnav > 4.9.0 needed for dvdnav was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library dvdnav > 4.9.0 needed for dvdnav was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library dvdnav > 4.9.0 needed for dvdnav was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_dvdnav=no - if test x"$enable_dvdnav" = "xyes"; then : + if test x"$enable_dvdnav" = "xyes" +then : as_fn_error $? "Library dvdnav > 4.9.0 needed for dvdnav was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library dvdnav > 4.9.0 needed for dvdnav was not found" >&5 -$as_echo "$as_me: WARNING: Library dvdnav > 4.9.0 needed for dvdnav was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library dvdnav > 4.9.0 needed for dvdnav was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library dvdnav > 4.9.0 needed for dvdnav was not found" >&2;} fi else DVDNAV_CFLAGS=$pkg_cv_DVDNAV_CFLAGS DVDNAV_LIBS=$pkg_cv_DVDNAV_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_dvdnav=yes @@ -34672,31 +36569,33 @@ -if test "${enable_dvdnav}" != "no"; then : +if test "${enable_dvdnav}" != "no" +then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dvdnav_stream_cb in dvdnav/dvdnav.h" >&5 -$as_echo_n "checking for dvdnav_stream_cb in dvdnav/dvdnav.h... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dvdnav_stream_cb in dvdnav/dvdnav.h" >&5 +printf %s "checking for dvdnav_stream_cb in dvdnav/dvdnav.h... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "dvdnav_stream_cb" >/dev/null 2>&1; then : + $EGREP "dvdnav_stream_cb" >/dev/null 2>&1 +then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } -$as_echo "#define HAVE_STREAM_CB_IN_DVDNAV_H 1" >>confdefs.h +printf "%s\n" "#define HAVE_STREAM_CB_IN_DVDNAV_H 1" >>confdefs.h -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi -rm -f conftest* +rm -rf conftest* fi @@ -34718,9 +36617,10 @@ # Check whether --enable-bluray was given. -if test "${enable_bluray+set}" = set; then : +if test ${enable_bluray+y} +then : enableval=$enable_bluray; -else +else $as_nop enable_bluray=auto fi @@ -34729,17 +36629,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BLURAY" >&5 -$as_echo_n "checking for BLURAY... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BLURAY" >&5 +printf %s "checking for BLURAY... " >&6; } if test -n "$BLURAY_CFLAGS"; then pkg_cv_BLURAY_CFLAGS="$BLURAY_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbluray >= 0.6.2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbluray >= 0.6.2\""; } >&5 ($PKG_CONFIG --exists --print-errors "libbluray >= 0.6.2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_BLURAY_CFLAGS=`$PKG_CONFIG --cflags "libbluray >= 0.6.2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -34753,10 +36653,10 @@ pkg_cv_BLURAY_LIBS="$BLURAY_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbluray >= 0.6.2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbluray >= 0.6.2\""; } >&5 ($PKG_CONFIG --exists --print-errors "libbluray >= 0.6.2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_BLURAY_LIBS=`$PKG_CONFIG --libs "libbluray >= 0.6.2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -34770,8 +36670,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -34786,28 +36686,30 @@ # Put the nasty error message in config.log where it belongs echo "$BLURAY_PKG_ERRORS" >&5 - if test x"$enable_bluray" = "xyes"; then : + if test x"$enable_bluray" = "xyes" +then : as_fn_error $? "Library libbluray >= 0.6.2 needed for bluray was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libbluray >= 0.6.2 needed for bluray was not found" >&5 -$as_echo "$as_me: WARNING: Library libbluray >= 0.6.2 needed for bluray was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libbluray >= 0.6.2 needed for bluray was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libbluray >= 0.6.2 needed for bluray was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_bluray" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_bluray" = "xyes" +then : as_fn_error $? "Library libbluray >= 0.6.2 needed for bluray was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libbluray >= 0.6.2 needed for bluray was not found" >&5 -$as_echo "$as_me: WARNING: Library libbluray >= 0.6.2 needed for bluray was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libbluray >= 0.6.2 needed for bluray was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libbluray >= 0.6.2 needed for bluray was not found" >&2;} fi else BLURAY_CFLAGS=$pkg_cv_BLURAY_CFLAGS BLURAY_LIBS=$pkg_cv_BLURAY_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBlibbluray=liblibbluray_plugin.la @@ -34829,17 +36731,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BLURAY" >&5 -$as_echo_n "checking for BLURAY... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BLURAY" >&5 +printf %s "checking for BLURAY... " >&6; } if test -n "$BLURAY_CFLAGS"; then pkg_cv_BLURAY_CFLAGS="$BLURAY_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbluray >= 0.6.2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbluray >= 0.6.2\""; } >&5 ($PKG_CONFIG --exists --print-errors "libbluray >= 0.6.2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_BLURAY_CFLAGS=`$PKG_CONFIG --cflags "libbluray >= 0.6.2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -34853,10 +36755,10 @@ pkg_cv_BLURAY_LIBS="$BLURAY_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbluray >= 0.6.2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbluray >= 0.6.2\""; } >&5 ($PKG_CONFIG --exists --print-errors "libbluray >= 0.6.2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_BLURAY_LIBS=`$PKG_CONFIG --libs "libbluray >= 0.6.2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -34870,8 +36772,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -34887,29 +36789,31 @@ echo "$BLURAY_PKG_ERRORS" >&5 enable_bluray=no - if test x"$enable_bluray" = "xyes"; then : + if test x"$enable_bluray" = "xyes" +then : as_fn_error $? "Library libbluray >= 0.6.2 needed for bluray was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libbluray >= 0.6.2 needed for bluray was not found" >&5 -$as_echo "$as_me: WARNING: Library libbluray >= 0.6.2 needed for bluray was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libbluray >= 0.6.2 needed for bluray was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libbluray >= 0.6.2 needed for bluray was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_bluray=no - if test x"$enable_bluray" = "xyes"; then : + if test x"$enable_bluray" = "xyes" +then : as_fn_error $? "Library libbluray >= 0.6.2 needed for bluray was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libbluray >= 0.6.2 needed for bluray was not found" >&5 -$as_echo "$as_me: WARNING: Library libbluray >= 0.6.2 needed for bluray was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libbluray >= 0.6.2 needed for bluray was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libbluray >= 0.6.2 needed for bluray was not found" >&2;} fi else BLURAY_CFLAGS=$pkg_cv_BLURAY_CFLAGS BLURAY_LIBS=$pkg_cv_BLURAY_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_bluray=yes @@ -34963,9 +36867,10 @@ # Check whether --enable-opencv was given. -if test "${enable_opencv+set}" = set; then : +if test ${enable_opencv+y} +then : enableval=$enable_opencv; -else +else $as_nop enable_opencv=auto fi @@ -34974,17 +36879,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPENCV" >&5 -$as_echo_n "checking for OPENCV... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for OPENCV" >&5 +printf %s "checking for OPENCV... " >&6; } if test -n "$OPENCV_CFLAGS"; then pkg_cv_OPENCV_CFLAGS="$OPENCV_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"opencv > 2.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"opencv > 2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "opencv > 2.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_OPENCV_CFLAGS=`$PKG_CONFIG --cflags "opencv > 2.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -34998,10 +36903,10 @@ pkg_cv_OPENCV_LIBS="$OPENCV_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"opencv > 2.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"opencv > 2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "opencv > 2.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_OPENCV_LIBS=`$PKG_CONFIG --libs "opencv > 2.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -35015,8 +36920,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -35031,28 +36936,30 @@ # Put the nasty error message in config.log where it belongs echo "$OPENCV_PKG_ERRORS" >&5 - if test x"$enable_opencv" = "xyes"; then : + if test x"$enable_opencv" = "xyes" +then : as_fn_error $? "Library opencv > 2.0 needed for opencv was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library opencv > 2.0 needed for opencv was not found" >&5 -$as_echo "$as_me: WARNING: Library opencv > 2.0 needed for opencv was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library opencv > 2.0 needed for opencv was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library opencv > 2.0 needed for opencv was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_opencv" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_opencv" = "xyes" +then : as_fn_error $? "Library opencv > 2.0 needed for opencv was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library opencv > 2.0 needed for opencv was not found" >&5 -$as_echo "$as_me: WARNING: Library opencv > 2.0 needed for opencv was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library opencv > 2.0 needed for opencv was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library opencv > 2.0 needed for opencv was not found" >&2;} fi else OPENCV_CFLAGS=$pkg_cv_OPENCV_CFLAGS OPENCV_LIBS=$pkg_cv_OPENCV_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBopencv_example=libopencv_example_plugin.la @@ -35083,17 +36990,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPENCV" >&5 -$as_echo_n "checking for OPENCV... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for OPENCV" >&5 +printf %s "checking for OPENCV... " >&6; } if test -n "$OPENCV_CFLAGS"; then pkg_cv_OPENCV_CFLAGS="$OPENCV_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"opencv > 2.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"opencv > 2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "opencv > 2.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_OPENCV_CFLAGS=`$PKG_CONFIG --cflags "opencv > 2.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -35107,10 +37014,10 @@ pkg_cv_OPENCV_LIBS="$OPENCV_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"opencv > 2.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"opencv > 2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "opencv > 2.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_OPENCV_LIBS=`$PKG_CONFIG --libs "opencv > 2.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -35124,8 +37031,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -35141,29 +37048,31 @@ echo "$OPENCV_PKG_ERRORS" >&5 enable_opencv=no - if test x"$enable_opencv" = "xyes"; then : + if test x"$enable_opencv" = "xyes" +then : as_fn_error $? "Library opencv > 2.0 needed for opencv was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library opencv > 2.0 needed for opencv was not found" >&5 -$as_echo "$as_me: WARNING: Library opencv > 2.0 needed for opencv was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library opencv > 2.0 needed for opencv was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library opencv > 2.0 needed for opencv was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_opencv=no - if test x"$enable_opencv" = "xyes"; then : + if test x"$enable_opencv" = "xyes" +then : as_fn_error $? "Library opencv > 2.0 needed for opencv was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library opencv > 2.0 needed for opencv was not found" >&5 -$as_echo "$as_me: WARNING: Library opencv > 2.0 needed for opencv was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library opencv > 2.0 needed for opencv was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library opencv > 2.0 needed for opencv was not found" >&2;} fi else OPENCV_CFLAGS=$pkg_cv_OPENCV_CFLAGS OPENCV_LIBS=$pkg_cv_OPENCV_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_opencv=yes @@ -35227,9 +37136,10 @@ # Check whether --enable-smbclient was given. -if test "${enable_smbclient+set}" = set; then : +if test ${enable_smbclient+y} +then : enableval=$enable_smbclient; -else +else $as_nop enable_smbclient=auto fi @@ -35238,17 +37148,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SMBCLIENT" >&5 -$as_echo_n "checking for SMBCLIENT... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SMBCLIENT" >&5 +printf %s "checking for SMBCLIENT... " >&6; } if test -n "$SMBCLIENT_CFLAGS"; then pkg_cv_SMBCLIENT_CFLAGS="$SMBCLIENT_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"smbclient\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"smbclient\""; } >&5 ($PKG_CONFIG --exists --print-errors "smbclient") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SMBCLIENT_CFLAGS=`$PKG_CONFIG --cflags "smbclient" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -35262,10 +37172,10 @@ pkg_cv_SMBCLIENT_LIBS="$SMBCLIENT_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"smbclient\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"smbclient\""; } >&5 ($PKG_CONFIG --exists --print-errors "smbclient") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SMBCLIENT_LIBS=`$PKG_CONFIG --libs "smbclient" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -35279,8 +37189,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -35295,28 +37205,30 @@ # Put the nasty error message in config.log where it belongs echo "$SMBCLIENT_PKG_ERRORS" >&5 - if test x"$enable_smbclient" = "xyes"; then : + if test x"$enable_smbclient" = "xyes" +then : as_fn_error $? "Library smbclient needed for smbclient was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library smbclient needed for smbclient was not found" >&5 -$as_echo "$as_me: WARNING: Library smbclient needed for smbclient was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library smbclient needed for smbclient was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library smbclient needed for smbclient was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_smbclient" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_smbclient" = "xyes" +then : as_fn_error $? "Library smbclient needed for smbclient was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library smbclient needed for smbclient was not found" >&5 -$as_echo "$as_me: WARNING: Library smbclient needed for smbclient was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library smbclient needed for smbclient was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library smbclient needed for smbclient was not found" >&2;} fi else SMBCLIENT_CFLAGS=$pkg_cv_SMBCLIENT_CFLAGS SMBCLIENT_LIBS=$pkg_cv_SMBCLIENT_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBsmb=libsmb_plugin.la @@ -35338,17 +37250,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SMBCLIENT" >&5 -$as_echo_n "checking for SMBCLIENT... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SMBCLIENT" >&5 +printf %s "checking for SMBCLIENT... " >&6; } if test -n "$SMBCLIENT_CFLAGS"; then pkg_cv_SMBCLIENT_CFLAGS="$SMBCLIENT_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"smbclient\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"smbclient\""; } >&5 ($PKG_CONFIG --exists --print-errors "smbclient") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SMBCLIENT_CFLAGS=`$PKG_CONFIG --cflags "smbclient" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -35362,10 +37274,10 @@ pkg_cv_SMBCLIENT_LIBS="$SMBCLIENT_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"smbclient\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"smbclient\""; } >&5 ($PKG_CONFIG --exists --print-errors "smbclient") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SMBCLIENT_LIBS=`$PKG_CONFIG --libs "smbclient" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -35379,8 +37291,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -35396,29 +37308,31 @@ echo "$SMBCLIENT_PKG_ERRORS" >&5 enable_smbclient=no - if test x"$enable_smbclient" = "xyes"; then : + if test x"$enable_smbclient" = "xyes" +then : as_fn_error $? "Library smbclient needed for smbclient was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library smbclient needed for smbclient was not found" >&5 -$as_echo "$as_me: WARNING: Library smbclient needed for smbclient was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library smbclient needed for smbclient was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library smbclient needed for smbclient was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_smbclient=no - if test x"$enable_smbclient" = "xyes"; then : + if test x"$enable_smbclient" = "xyes" +then : as_fn_error $? "Library smbclient needed for smbclient was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library smbclient needed for smbclient was not found" >&5 -$as_echo "$as_me: WARNING: Library smbclient needed for smbclient was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library smbclient needed for smbclient was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library smbclient needed for smbclient was not found" >&2;} fi else SMBCLIENT_CFLAGS=$pkg_cv_SMBCLIENT_CFLAGS SMBCLIENT_LIBS=$pkg_cv_SMBCLIENT_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_smbclient=yes @@ -35454,7 +37368,8 @@ -if test "${SYS}" = "mingw32" -a "${enable_winstore_app}" != "yes"; then : +if test "${SYS}" = "mingw32" -a "${enable_winstore_app}" != "yes" +then : LTLIBsmb=libsmb_plugin.la @@ -35484,9 +37399,10 @@ # Check whether --enable-dsm was given. -if test "${enable_dsm+set}" = set; then : +if test ${enable_dsm+y} +then : enableval=$enable_dsm; -else +else $as_nop enable_dsm=auto fi @@ -35495,17 +37411,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DSM" >&5 -$as_echo_n "checking for DSM... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DSM" >&5 +printf %s "checking for DSM... " >&6; } if test -n "$DSM_CFLAGS"; then pkg_cv_DSM_CFLAGS="$DSM_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdsm >= 0.2.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdsm >= 0.2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libdsm >= 0.2.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DSM_CFLAGS=`$PKG_CONFIG --cflags "libdsm >= 0.2.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -35519,10 +37435,10 @@ pkg_cv_DSM_LIBS="$DSM_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdsm >= 0.2.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdsm >= 0.2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libdsm >= 0.2.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DSM_LIBS=`$PKG_CONFIG --libs "libdsm >= 0.2.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -35536,8 +37452,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -35563,10 +37479,10 @@ and DSM_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. @@ -35580,8 +37496,8 @@ else DSM_CFLAGS=$pkg_cv_DSM_CFLAGS DSM_LIBS=$pkg_cv_DSM_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBdsm=libdsm_plugin.la @@ -35606,17 +37522,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DSM" >&5 -$as_echo_n "checking for DSM... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DSM" >&5 +printf %s "checking for DSM... " >&6; } if test -n "$DSM_CFLAGS"; then pkg_cv_DSM_CFLAGS="$DSM_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdsm >= 0.2.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdsm >= 0.2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libdsm >= 0.2.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DSM_CFLAGS=`$PKG_CONFIG --cflags "libdsm >= 0.2.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -35630,10 +37546,10 @@ pkg_cv_DSM_LIBS="$DSM_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdsm >= 0.2.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdsm >= 0.2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libdsm >= 0.2.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DSM_LIBS=`$PKG_CONFIG --libs "libdsm >= 0.2.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -35647,8 +37563,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -35666,15 +37582,15 @@ enable_dsm=no elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_dsm=no else DSM_CFLAGS=$pkg_cv_DSM_CFLAGS DSM_LIBS=$pkg_cv_DSM_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_dsm=yes @@ -35733,9 +37649,10 @@ # Check whether --enable-sftp was given. -if test "${enable_sftp+set}" = set; then : +if test ${enable_sftp+y} +then : enableval=$enable_sftp; -else +else $as_nop enable_sftp=auto fi @@ -35744,17 +37661,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SFTP" >&5 -$as_echo_n "checking for SFTP... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SFTP" >&5 +printf %s "checking for SFTP... " >&6; } if test -n "$SFTP_CFLAGS"; then pkg_cv_SFTP_CFLAGS="$SFTP_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libssh2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libssh2\""; } >&5 ($PKG_CONFIG --exists --print-errors "libssh2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SFTP_CFLAGS=`$PKG_CONFIG --cflags "libssh2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -35768,10 +37685,10 @@ pkg_cv_SFTP_LIBS="$SFTP_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libssh2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libssh2\""; } >&5 ($PKG_CONFIG --exists --print-errors "libssh2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SFTP_LIBS=`$PKG_CONFIG --libs "libssh2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -35785,8 +37702,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -35801,28 +37718,30 @@ # Put the nasty error message in config.log where it belongs echo "$SFTP_PKG_ERRORS" >&5 - if test x"$enable_sftp" = "xyes"; then : + if test x"$enable_sftp" = "xyes" +then : as_fn_error $? "Library libssh2 needed for sftp was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libssh2 needed for sftp was not found" >&5 -$as_echo "$as_me: WARNING: Library libssh2 needed for sftp was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libssh2 needed for sftp was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libssh2 needed for sftp was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_sftp" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_sftp" = "xyes" +then : as_fn_error $? "Library libssh2 needed for sftp was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libssh2 needed for sftp was not found" >&5 -$as_echo "$as_me: WARNING: Library libssh2 needed for sftp was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libssh2 needed for sftp was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libssh2 needed for sftp was not found" >&2;} fi else SFTP_CFLAGS=$pkg_cv_SFTP_CFLAGS SFTP_LIBS=$pkg_cv_SFTP_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBsftp=libsftp_plugin.la @@ -35844,17 +37763,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SFTP" >&5 -$as_echo_n "checking for SFTP... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SFTP" >&5 +printf %s "checking for SFTP... " >&6; } if test -n "$SFTP_CFLAGS"; then pkg_cv_SFTP_CFLAGS="$SFTP_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libssh2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libssh2\""; } >&5 ($PKG_CONFIG --exists --print-errors "libssh2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SFTP_CFLAGS=`$PKG_CONFIG --cflags "libssh2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -35868,10 +37787,10 @@ pkg_cv_SFTP_LIBS="$SFTP_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libssh2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libssh2\""; } >&5 ($PKG_CONFIG --exists --print-errors "libssh2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SFTP_LIBS=`$PKG_CONFIG --libs "libssh2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -35885,8 +37804,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -35902,29 +37821,31 @@ echo "$SFTP_PKG_ERRORS" >&5 enable_sftp=no - if test x"$enable_sftp" = "xyes"; then : + if test x"$enable_sftp" = "xyes" +then : as_fn_error $? "Library libssh2 needed for sftp was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libssh2 needed for sftp was not found" >&5 -$as_echo "$as_me: WARNING: Library libssh2 needed for sftp was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libssh2 needed for sftp was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libssh2 needed for sftp was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_sftp=no - if test x"$enable_sftp" = "xyes"; then : + if test x"$enable_sftp" = "xyes" +then : as_fn_error $? "Library libssh2 needed for sftp was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libssh2 needed for sftp was not found" >&5 -$as_echo "$as_me: WARNING: Library libssh2 needed for sftp was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libssh2 needed for sftp was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libssh2 needed for sftp was not found" >&2;} fi else SFTP_CFLAGS=$pkg_cv_SFTP_CFLAGS SFTP_LIBS=$pkg_cv_SFTP_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_sftp=yes @@ -35978,9 +37899,10 @@ # Check whether --enable-nfs was given. -if test "${enable_nfs+set}" = set; then : +if test ${enable_nfs+y} +then : enableval=$enable_nfs; -else +else $as_nop enable_nfs=auto fi @@ -35989,17 +37911,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NFS" >&5 -$as_echo_n "checking for NFS... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for NFS" >&5 +printf %s "checking for NFS... " >&6; } if test -n "$NFS_CFLAGS"; then pkg_cv_NFS_CFLAGS="$NFS_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnfs >= 1.10.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnfs >= 1.10.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libnfs >= 1.10.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_NFS_CFLAGS=`$PKG_CONFIG --cflags "libnfs >= 1.10.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -36013,10 +37935,10 @@ pkg_cv_NFS_LIBS="$NFS_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnfs >= 1.10.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnfs >= 1.10.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libnfs >= 1.10.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_NFS_LIBS=`$PKG_CONFIG --libs "libnfs >= 1.10.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -36030,8 +37952,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -36046,28 +37968,30 @@ # Put the nasty error message in config.log where it belongs echo "$NFS_PKG_ERRORS" >&5 - if test x"$enable_nfs" = "xyes"; then : + if test x"$enable_nfs" = "xyes" +then : as_fn_error $? "Library libnfs >= 1.10.0 needed for nfs was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libnfs >= 1.10.0 needed for nfs was not found" >&5 -$as_echo "$as_me: WARNING: Library libnfs >= 1.10.0 needed for nfs was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libnfs >= 1.10.0 needed for nfs was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libnfs >= 1.10.0 needed for nfs was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_nfs" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_nfs" = "xyes" +then : as_fn_error $? "Library libnfs >= 1.10.0 needed for nfs was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libnfs >= 1.10.0 needed for nfs was not found" >&5 -$as_echo "$as_me: WARNING: Library libnfs >= 1.10.0 needed for nfs was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libnfs >= 1.10.0 needed for nfs was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libnfs >= 1.10.0 needed for nfs was not found" >&2;} fi else NFS_CFLAGS=$pkg_cv_NFS_CFLAGS NFS_LIBS=$pkg_cv_NFS_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBnfs=libnfs_plugin.la @@ -36089,17 +38013,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NFS" >&5 -$as_echo_n "checking for NFS... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for NFS" >&5 +printf %s "checking for NFS... " >&6; } if test -n "$NFS_CFLAGS"; then pkg_cv_NFS_CFLAGS="$NFS_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnfs >= 1.10.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnfs >= 1.10.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libnfs >= 1.10.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_NFS_CFLAGS=`$PKG_CONFIG --cflags "libnfs >= 1.10.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -36113,10 +38037,10 @@ pkg_cv_NFS_LIBS="$NFS_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnfs >= 1.10.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnfs >= 1.10.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libnfs >= 1.10.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_NFS_LIBS=`$PKG_CONFIG --libs "libnfs >= 1.10.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -36130,8 +38054,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -36147,29 +38071,31 @@ echo "$NFS_PKG_ERRORS" >&5 enable_nfs=no - if test x"$enable_nfs" = "xyes"; then : + if test x"$enable_nfs" = "xyes" +then : as_fn_error $? "Library libnfs >= 1.10.0 needed for nfs was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libnfs >= 1.10.0 needed for nfs was not found" >&5 -$as_echo "$as_me: WARNING: Library libnfs >= 1.10.0 needed for nfs was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libnfs >= 1.10.0 needed for nfs was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libnfs >= 1.10.0 needed for nfs was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_nfs=no - if test x"$enable_nfs" = "xyes"; then : + if test x"$enable_nfs" = "xyes" +then : as_fn_error $? "Library libnfs >= 1.10.0 needed for nfs was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libnfs >= 1.10.0 needed for nfs was not found" >&5 -$as_echo "$as_me: WARNING: Library libnfs >= 1.10.0 needed for nfs was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libnfs >= 1.10.0 needed for nfs was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libnfs >= 1.10.0 needed for nfs was not found" >&2;} fi else NFS_CFLAGS=$pkg_cv_NFS_CFLAGS NFS_LIBS=$pkg_cv_NFS_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_nfs=yes @@ -36223,9 +38149,10 @@ # Check whether --enable-smb2 was given. -if test "${enable_smb2+set}" = set; then : +if test ${enable_smb2+y} +then : enableval=$enable_smb2; -else +else $as_nop enable_smb2=disabled fi @@ -36234,17 +38161,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SMB2" >&5 -$as_echo_n "checking for SMB2... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SMB2" >&5 +printf %s "checking for SMB2... " >&6; } if test -n "$SMB2_CFLAGS"; then pkg_cv_SMB2_CFLAGS="$SMB2_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsmb2 >= 3.0.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsmb2 >= 3.0.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsmb2 >= 3.0.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SMB2_CFLAGS=`$PKG_CONFIG --cflags "libsmb2 >= 3.0.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -36258,10 +38185,10 @@ pkg_cv_SMB2_LIBS="$SMB2_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsmb2 >= 3.0.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsmb2 >= 3.0.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsmb2 >= 3.0.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SMB2_LIBS=`$PKG_CONFIG --libs "libsmb2 >= 3.0.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -36275,8 +38202,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -36291,28 +38218,30 @@ # Put the nasty error message in config.log where it belongs echo "$SMB2_PKG_ERRORS" >&5 - if test x"$enable_smb2" = "xyes"; then : + if test x"$enable_smb2" = "xyes" +then : as_fn_error $? "Library libsmb2 >= 3.0.0 needed for smb2 was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libsmb2 >= 3.0.0 needed for smb2 was not found" >&5 -$as_echo "$as_me: WARNING: Library libsmb2 >= 3.0.0 needed for smb2 was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libsmb2 >= 3.0.0 needed for smb2 was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libsmb2 >= 3.0.0 needed for smb2 was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_smb2" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_smb2" = "xyes" +then : as_fn_error $? "Library libsmb2 >= 3.0.0 needed for smb2 was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libsmb2 >= 3.0.0 needed for smb2 was not found" >&5 -$as_echo "$as_me: WARNING: Library libsmb2 >= 3.0.0 needed for smb2 was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libsmb2 >= 3.0.0 needed for smb2 was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libsmb2 >= 3.0.0 needed for smb2 was not found" >&2;} fi else SMB2_CFLAGS=$pkg_cv_SMB2_CFLAGS SMB2_LIBS=$pkg_cv_SMB2_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBsmb2=libsmb2_plugin.la @@ -36334,17 +38263,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SMB2" >&5 -$as_echo_n "checking for SMB2... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SMB2" >&5 +printf %s "checking for SMB2... " >&6; } if test -n "$SMB2_CFLAGS"; then pkg_cv_SMB2_CFLAGS="$SMB2_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsmb2 >= 3.0.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsmb2 >= 3.0.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsmb2 >= 3.0.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SMB2_CFLAGS=`$PKG_CONFIG --cflags "libsmb2 >= 3.0.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -36358,10 +38287,10 @@ pkg_cv_SMB2_LIBS="$SMB2_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsmb2 >= 3.0.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsmb2 >= 3.0.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsmb2 >= 3.0.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SMB2_LIBS=`$PKG_CONFIG --libs "libsmb2 >= 3.0.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -36375,8 +38304,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -36392,29 +38321,31 @@ echo "$SMB2_PKG_ERRORS" >&5 enable_smb2=no - if test x"$enable_smb2" = "xyes"; then : + if test x"$enable_smb2" = "xyes" +then : as_fn_error $? "Library libsmb2 >= 3.0.0 needed for smb2 was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libsmb2 >= 3.0.0 needed for smb2 was not found" >&5 -$as_echo "$as_me: WARNING: Library libsmb2 >= 3.0.0 needed for smb2 was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libsmb2 >= 3.0.0 needed for smb2 was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libsmb2 >= 3.0.0 needed for smb2 was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_smb2=no - if test x"$enable_smb2" = "xyes"; then : + if test x"$enable_smb2" = "xyes" +then : as_fn_error $? "Library libsmb2 >= 3.0.0 needed for smb2 was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libsmb2 >= 3.0.0 needed for smb2 was not found" >&5 -$as_echo "$as_me: WARNING: Library libsmb2 >= 3.0.0 needed for smb2 was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libsmb2 >= 3.0.0 needed for smb2 was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libsmb2 >= 3.0.0 needed for smb2 was not found" >&2;} fi else SMB2_CFLAGS=$pkg_cv_SMB2_CFLAGS SMB2_LIBS=$pkg_cv_SMB2_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_smb2=yes @@ -36452,20 +38383,23 @@ # Check whether --enable-v4l2 was given. -if test "${enable_v4l2+set}" = set; then : +if test ${enable_v4l2+y} +then : enableval=$enable_v4l2; fi have_v4l2="no" -if test "$enable_v4l2" != "no"; then : +if test "$enable_v4l2" != "no" +then : - for ac_header in linux/videodev2.h sys/videoio.h + for ac_header in linux/videodev2.h sys/videoio.h do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +if eval test \"x\$"$as_ac_Header"\" = x"yes" +then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF have_v4l2="yes" @@ -36474,7 +38408,6 @@ done - fi if test "${have_v4l2}" != "no"; then HAVE_V4L2_TRUE= @@ -36486,32 +38419,34 @@ # Check whether --enable-amf-scaler was given. -if test "${enable_amf_scaler+set}" = set; then : +if test ${enable_amf_scaler+y} +then : enableval=$enable_amf_scaler; fi have_amf_scaler="no" -if test "$enable_amf_scaler" != "no"; then : +if test "$enable_amf_scaler" != "no" +then : - for ac_header in AMF/core/PropertyStorage.h AMF/components/HQScaler.h + for ac_header in AMF/core/PropertyStorage.h AMF/components/HQScaler.h do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +if eval test \"x\$"$as_ac_Header"\" = x"yes" +then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF have_amf_scaler="yes" -$as_echo "#define HAVE_AMF_SCALER 1" >>confdefs.h +printf "%s\n" "#define HAVE_AMF_SCALER 1" >>confdefs.h fi done - fi if test "${have_amf_scaler}" != "no"; then HAVE_AMF_SCALER_TRUE= @@ -36523,32 +38458,34 @@ # Check whether --enable-amf-enhancer was given. -if test "${enable_amf_enhancer+set}" = set; then : +if test ${enable_amf_enhancer+y} +then : enableval=$enable_amf_enhancer; fi have_amf_enhancer="no" -if test "$enable_amf_enhancer" != "no"; then : +if test "$enable_amf_enhancer" != "no" +then : - for ac_header in AMF/core/PropertyStorage.h AMF/components/VQEnhancer.h + for ac_header in AMF/core/PropertyStorage.h AMF/components/VQEnhancer.h do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +if eval test \"x\$"$as_ac_Header"\" = x"yes" +then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF have_amf_enhancer="yes" -$as_echo "#define HAVE_AMF_ENHANCER 1" >>confdefs.h +printf "%s\n" "#define HAVE_AMF_ENHANCER 1" >>confdefs.h fi done - fi if test "${have_amf_enhancer}" != "no"; then HAVE_AMF_ENHANCER_TRUE= @@ -36560,32 +38497,34 @@ # Check whether --enable-amf-frc was given. -if test "${enable_amf_frc+set}" = set; then : +if test ${enable_amf_frc+y} +then : enableval=$enable_amf_frc; fi have_amf_frc="no" -if test "$enable_amf_frc" != "no"; then : +if test "$enable_amf_frc" != "no" +then : - for ac_header in AMF/core/PropertyStorage.h AMF/components/FRC.h + for ac_header in AMF/core/PropertyStorage.h AMF/components/FRC.h do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +if eval test \"x\$"$as_ac_Header"\" = x"yes" +then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF have_amf_frc="yes" -$as_echo "#define HAVE_AMF_FRC 1" >>confdefs.h +printf "%s\n" "#define HAVE_AMF_FRC 1" >>confdefs.h fi done - fi if test "${have_amf_frc}" != "no"; then HAVE_AMF_FRC_TRUE= @@ -36597,13 +38536,15 @@ # Check whether --enable-decklink was given. -if test "${enable_decklink+set}" = set; then : +if test ${enable_decklink+y} +then : enableval=$enable_decklink; fi # Check whether --with-decklink_sdk was given. -if test "${with_decklink_sdk+set}" = set; then : +if test ${with_decklink_sdk+y} +then : withval=$with_decklink_sdk; fi @@ -36637,25 +38578,23 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - for ac_header in DeckLinkAPIDispatch.cpp + for ac_header in DeckLinkAPIDispatch.cpp do : - ac_fn_cxx_check_header_mongrel "$LINENO" "DeckLinkAPIDispatch.cpp" "ac_cv_header_DeckLinkAPIDispatch_cpp" "$ac_includes_default" -if test "x$ac_cv_header_DeckLinkAPIDispatch_cpp" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_DECKLINKAPIDISPATCH_CPP 1 -_ACEOF + ac_fn_cxx_check_header_compile "$LINENO" "DeckLinkAPIDispatch.cpp" "ac_cv_header_DeckLinkAPIDispatch_cpp" "$ac_includes_default" +if test "x$ac_cv_header_DeckLinkAPIDispatch_cpp" = xyes +then : + printf "%s\n" "#define HAVE_DECKLINKAPIDISPATCH_CPP 1" >>confdefs.h have_decklink=yes -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Blackmagic DeckLink SDI include files not found" >&5 -$as_echo "$as_me: WARNING: Blackmagic DeckLink SDI include files not found" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Blackmagic DeckLink SDI include files not found" >&5 +printf "%s\n" "$as_me: WARNING: Blackmagic DeckLink SDI include files not found" >&2;} fi done - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -36682,31 +38621,34 @@ # Check whether --enable-vcd was given. -if test "${enable_vcd+set}" = set; then : +if test ${enable_vcd+y} +then : enableval=$enable_vcd; fi # Check whether --enable-libcddb was given. -if test "${enable_libcddb+set}" = set; then : +if test ${enable_libcddb+y} +then : enableval=$enable_libcddb; fi if test "${enable_vcd}" != "no" then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cdrom_msf0 in linux/cdrom.h" >&5 -$as_echo_n "checking for cdrom_msf0 in linux/cdrom.h... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cdrom_msf0 in linux/cdrom.h" >&5 +printf %s "checking for cdrom_msf0 in linux/cdrom.h... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "cdrom_msf0" >/dev/null 2>&1; then : + $EGREP "cdrom_msf0" >/dev/null 2>&1 +then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBvcd=libvcd_plugin.la @@ -36717,27 +38659,28 @@ -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi -rm -f conftest* +rm -rf conftest* - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scsireq in sys/scsiio.h" >&5 -$as_echo_n "checking for scsireq in sys/scsiio.h... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for scsireq in sys/scsiio.h" >&5 +printf %s "checking for scsireq in sys/scsiio.h... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "scsireq" >/dev/null 2>&1; then : + $EGREP "scsireq" >/dev/null 2>&1 +then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBvcd=libvcd_plugin.la @@ -36748,30 +38691,31 @@ -$as_echo "#define HAVE_SCSIREQ_IN_SYS_SCSIIO_H 1" >>confdefs.h +printf "%s\n" "#define HAVE_SCSIREQ_IN_SYS_SCSIIO_H 1" >>confdefs.h -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi -rm -f conftest* +rm -rf conftest* - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ioc_toc_header in sys/cdio.h" >&5 -$as_echo_n "checking for ioc_toc_header in sys/cdio.h... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ioc_toc_header in sys/cdio.h" >&5 +printf %s "checking for ioc_toc_header in sys/cdio.h... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "ioc_toc_header " >/dev/null 2>&1; then : + $EGREP "ioc_toc_header " >/dev/null 2>&1 +then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBvcd=libvcd_plugin.la @@ -36782,16 +38726,16 @@ -$as_echo "#define HAVE_IOC_TOC_HEADER_IN_SYS_CDIO_H 1" >>confdefs.h +printf "%s\n" "#define HAVE_IOC_TOC_HEADER_IN_SYS_CDIO_H 1" >>confdefs.h -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi -rm -f conftest* +rm -rf conftest* if test "${SYS}" = "bsdi" -o "${SYS}" = "mingw32" -o "${SYS}" = "os2" -o "${SYS}" = "darwin" @@ -36810,17 +38754,17 @@ if test "$enable_libcddb" != "no"; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCDDB" >&5 -$as_echo_n "checking for LIBCDDB... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBCDDB" >&5 +printf %s "checking for LIBCDDB... " >&6; } if test -n "$LIBCDDB_CFLAGS"; then pkg_cv_LIBCDDB_CFLAGS="$LIBCDDB_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcddb >= 0.9.5\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcddb >= 0.9.5\""; } >&5 ($PKG_CONFIG --exists --print-errors "libcddb >= 0.9.5") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBCDDB_CFLAGS=`$PKG_CONFIG --cflags "libcddb >= 0.9.5" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -36834,10 +38778,10 @@ pkg_cv_LIBCDDB_LIBS="$LIBCDDB_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcddb >= 0.9.5\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcddb >= 0.9.5\""; } >&5 ($PKG_CONFIG --exists --print-errors "libcddb >= 0.9.5") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBCDDB_LIBS=`$PKG_CONFIG --libs "libcddb >= 0.9.5" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -36851,8 +38795,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -36868,25 +38812,25 @@ echo "$LIBCDDB_PKG_ERRORS" >&5 : - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LIBCDDB_PKG_ERRORS}: CDDB access disabled." >&5 -$as_echo "$as_me: WARNING: ${LIBCDDB_PKG_ERRORS}: CDDB access disabled." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${LIBCDDB_PKG_ERRORS}: CDDB access disabled." >&5 +printf "%s\n" "$as_me: WARNING: ${LIBCDDB_PKG_ERRORS}: CDDB access disabled." >&2;} HAVE_LIBCDDB=no elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } : - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LIBCDDB_PKG_ERRORS}: CDDB access disabled." >&5 -$as_echo "$as_me: WARNING: ${LIBCDDB_PKG_ERRORS}: CDDB access disabled." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${LIBCDDB_PKG_ERRORS}: CDDB access disabled." >&5 +printf "%s\n" "$as_me: WARNING: ${LIBCDDB_PKG_ERRORS}: CDDB access disabled." >&2;} HAVE_LIBCDDB=no else LIBCDDB_CFLAGS=$pkg_cv_LIBCDDB_CFLAGS LIBCDDB_LIBS=$pkg_cv_LIBCDDB_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } HAVE_LIBCDDB=yes -$as_echo "#define HAVE_LIBCDDB 1" >>confdefs.h +printf "%s\n" "#define HAVE_LIBCDDB 1" >>confdefs.h @@ -36905,11 +38849,12 @@ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Linux DVB version 5.1" >&5 -$as_echo_n "checking for Linux DVB version 5.1... " >&6; } -if ${ac_cv_linux_dvb_5_1+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Linux DVB version 5.1" >&5 +printf %s "checking for Linux DVB version 5.1... " >&6; } +if test ${ac_cv_linux_dvb_5_1+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -36923,26 +38868,27 @@ #endif int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : +if ac_fn_c_try_cpp "$LINENO" +then : ac_cv_linux_dvb_5_1=yes -else +else $as_nop ac_cv_linux_dvb_5_1=no fi rm -f conftest.err conftest.i conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_dvb_5_1" >&5 -$as_echo "$ac_cv_linux_dvb_5_1" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_dvb_5_1" >&5 +printf "%s\n" "$ac_cv_linux_dvb_5_1" >&6; } if test "$ac_cv_linux_dvb_5_1" = "yes"; then HAVE_LINUX_DVB_TRUE= HAVE_LINUX_DVB_FALSE='#' @@ -36953,19 +38899,19 @@ # Check whether --enable-screen was given. -if test "${enable_screen+set}" = set; then : +if test ${enable_screen+y} +then : enableval=$enable_screen; fi if test "${enable_screen}" != "no"; then if test "${SYS}" = "darwin"; then - for ac_header in ApplicationServices/ApplicationServices.h + for ac_header in ApplicationServices/ApplicationServices.h do : - ac_fn_c_check_header_mongrel "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default" -if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default" +if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes +then : + printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h @@ -36977,7 +38923,6 @@ fi done - fi fi if test "${SYS}" = "darwin" -a "x${enable_screen}" != "xno"; then @@ -37006,9 +38951,10 @@ # Check whether --enable-vnc was given. -if test "${enable_vnc+set}" = set; then : +if test ${enable_vnc+y} +then : enableval=$enable_vnc; -else +else $as_nop enable_vnc=auto fi @@ -37017,17 +38963,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for VNC" >&5 -$as_echo_n "checking for VNC... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for VNC" >&5 +printf %s "checking for VNC... " >&6; } if test -n "$VNC_CFLAGS"; then pkg_cv_VNC_CFLAGS="$VNC_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvncclient >= 0.9.9\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvncclient >= 0.9.9\""; } >&5 ($PKG_CONFIG --exists --print-errors "libvncclient >= 0.9.9") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_VNC_CFLAGS=`$PKG_CONFIG --cflags "libvncclient >= 0.9.9" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -37041,10 +38987,10 @@ pkg_cv_VNC_LIBS="$VNC_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvncclient >= 0.9.9\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvncclient >= 0.9.9\""; } >&5 ($PKG_CONFIG --exists --print-errors "libvncclient >= 0.9.9") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_VNC_LIBS=`$PKG_CONFIG --libs "libvncclient >= 0.9.9" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -37058,8 +39004,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -37074,28 +39020,30 @@ # Put the nasty error message in config.log where it belongs echo "$VNC_PKG_ERRORS" >&5 - if test x"$enable_vnc" = "xyes"; then : + if test x"$enable_vnc" = "xyes" +then : as_fn_error $? "Library libvncclient >= 0.9.9 needed for vnc was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libvncclient >= 0.9.9 needed for vnc was not found" >&5 -$as_echo "$as_me: WARNING: Library libvncclient >= 0.9.9 needed for vnc was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libvncclient >= 0.9.9 needed for vnc was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libvncclient >= 0.9.9 needed for vnc was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_vnc" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_vnc" = "xyes" +then : as_fn_error $? "Library libvncclient >= 0.9.9 needed for vnc was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libvncclient >= 0.9.9 needed for vnc was not found" >&5 -$as_echo "$as_me: WARNING: Library libvncclient >= 0.9.9 needed for vnc was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libvncclient >= 0.9.9 needed for vnc was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libvncclient >= 0.9.9 needed for vnc was not found" >&2;} fi else VNC_CFLAGS=$pkg_cv_VNC_CFLAGS VNC_LIBS=$pkg_cv_VNC_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBvnc=libvnc_plugin.la @@ -37117,17 +39065,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for VNC" >&5 -$as_echo_n "checking for VNC... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for VNC" >&5 +printf %s "checking for VNC... " >&6; } if test -n "$VNC_CFLAGS"; then pkg_cv_VNC_CFLAGS="$VNC_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvncclient >= 0.9.9\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvncclient >= 0.9.9\""; } >&5 ($PKG_CONFIG --exists --print-errors "libvncclient >= 0.9.9") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_VNC_CFLAGS=`$PKG_CONFIG --cflags "libvncclient >= 0.9.9" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -37141,10 +39089,10 @@ pkg_cv_VNC_LIBS="$VNC_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvncclient >= 0.9.9\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvncclient >= 0.9.9\""; } >&5 ($PKG_CONFIG --exists --print-errors "libvncclient >= 0.9.9") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_VNC_LIBS=`$PKG_CONFIG --libs "libvncclient >= 0.9.9" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -37158,8 +39106,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -37175,29 +39123,31 @@ echo "$VNC_PKG_ERRORS" >&5 enable_vnc=no - if test x"$enable_vnc" = "xyes"; then : + if test x"$enable_vnc" = "xyes" +then : as_fn_error $? "Library libvncclient >= 0.9.9 needed for vnc was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libvncclient >= 0.9.9 needed for vnc was not found" >&5 -$as_echo "$as_me: WARNING: Library libvncclient >= 0.9.9 needed for vnc was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libvncclient >= 0.9.9 needed for vnc was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libvncclient >= 0.9.9 needed for vnc was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_vnc=no - if test x"$enable_vnc" = "xyes"; then : + if test x"$enable_vnc" = "xyes" +then : as_fn_error $? "Library libvncclient >= 0.9.9 needed for vnc was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libvncclient >= 0.9.9 needed for vnc was not found" >&5 -$as_echo "$as_me: WARNING: Library libvncclient >= 0.9.9 needed for vnc was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libvncclient >= 0.9.9 needed for vnc was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libvncclient >= 0.9.9 needed for vnc was not found" >&2;} fi else VNC_CFLAGS=$pkg_cv_VNC_CFLAGS VNC_LIBS=$pkg_cv_VNC_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_vnc=yes @@ -37251,9 +39201,10 @@ # Check whether --enable-freerdp was given. -if test "${enable_freerdp+set}" = set; then : +if test ${enable_freerdp+y} +then : enableval=$enable_freerdp; -else +else $as_nop enable_freerdp=auto fi @@ -37262,17 +39213,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREERDP" >&5 -$as_echo_n "checking for FREERDP... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FREERDP" >&5 +printf %s "checking for FREERDP... " >&6; } if test -n "$FREERDP_CFLAGS"; then pkg_cv_FREERDP_CFLAGS="$FREERDP_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freerdp >= 1.0.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freerdp >= 1.0.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "freerdp >= 1.0.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_FREERDP_CFLAGS=`$PKG_CONFIG --cflags "freerdp >= 1.0.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -37286,10 +39237,10 @@ pkg_cv_FREERDP_LIBS="$FREERDP_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freerdp >= 1.0.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freerdp >= 1.0.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "freerdp >= 1.0.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_FREERDP_LIBS=`$PKG_CONFIG --libs "freerdp >= 1.0.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -37303,8 +39254,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -37319,28 +39270,30 @@ # Put the nasty error message in config.log where it belongs echo "$FREERDP_PKG_ERRORS" >&5 - if test x"$enable_freerdp" = "xyes"; then : + if test x"$enable_freerdp" = "xyes" +then : as_fn_error $? "Library freerdp >= 1.0.1 needed for freerdp was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library freerdp >= 1.0.1 needed for freerdp was not found" >&5 -$as_echo "$as_me: WARNING: Library freerdp >= 1.0.1 needed for freerdp was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library freerdp >= 1.0.1 needed for freerdp was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library freerdp >= 1.0.1 needed for freerdp was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_freerdp" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_freerdp" = "xyes" +then : as_fn_error $? "Library freerdp >= 1.0.1 needed for freerdp was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library freerdp >= 1.0.1 needed for freerdp was not found" >&5 -$as_echo "$as_me: WARNING: Library freerdp >= 1.0.1 needed for freerdp was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library freerdp >= 1.0.1 needed for freerdp was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library freerdp >= 1.0.1 needed for freerdp was not found" >&2;} fi else FREERDP_CFLAGS=$pkg_cv_FREERDP_CFLAGS FREERDP_LIBS=$pkg_cv_FREERDP_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBrdp=librdp_plugin.la @@ -37362,17 +39315,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREERDP" >&5 -$as_echo_n "checking for FREERDP... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FREERDP" >&5 +printf %s "checking for FREERDP... " >&6; } if test -n "$FREERDP_CFLAGS"; then pkg_cv_FREERDP_CFLAGS="$FREERDP_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freerdp >= 1.0.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freerdp >= 1.0.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "freerdp >= 1.0.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_FREERDP_CFLAGS=`$PKG_CONFIG --cflags "freerdp >= 1.0.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -37386,10 +39339,10 @@ pkg_cv_FREERDP_LIBS="$FREERDP_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freerdp >= 1.0.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freerdp >= 1.0.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "freerdp >= 1.0.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_FREERDP_LIBS=`$PKG_CONFIG --libs "freerdp >= 1.0.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -37403,8 +39356,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -37420,29 +39373,31 @@ echo "$FREERDP_PKG_ERRORS" >&5 enable_freerdp=no - if test x"$enable_freerdp" = "xyes"; then : + if test x"$enable_freerdp" = "xyes" +then : as_fn_error $? "Library freerdp >= 1.0.1 needed for freerdp was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library freerdp >= 1.0.1 needed for freerdp was not found" >&5 -$as_echo "$as_me: WARNING: Library freerdp >= 1.0.1 needed for freerdp was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library freerdp >= 1.0.1 needed for freerdp was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library freerdp >= 1.0.1 needed for freerdp was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_freerdp=no - if test x"$enable_freerdp" = "xyes"; then : + if test x"$enable_freerdp" = "xyes" +then : as_fn_error $? "Library freerdp >= 1.0.1 needed for freerdp was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library freerdp >= 1.0.1 needed for freerdp was not found" >&5 -$as_echo "$as_me: WARNING: Library freerdp >= 1.0.1 needed for freerdp was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library freerdp >= 1.0.1 needed for freerdp was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library freerdp >= 1.0.1 needed for freerdp was not found" >&2;} fi else FREERDP_CFLAGS=$pkg_cv_FREERDP_CFLAGS FREERDP_LIBS=$pkg_cv_FREERDP_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_freerdp=yes @@ -37480,7 +39435,8 @@ # Check whether --enable-realrtsp was given. -if test "${enable_realrtsp+set}" = set; then : +if test ${enable_realrtsp+y} +then : enableval=$enable_realrtsp; fi @@ -37496,7 +39452,8 @@ have_avfoundation="no" # Check whether --enable-macosx-avfoundation was given. -if test "${enable_macosx_avfoundation+set}" = set; then : +if test ${enable_macosx_avfoundation+y} +then : enableval=$enable_macosx_avfoundation; fi @@ -37509,19 +39466,20 @@ /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : have_avfoundation=yes -else +else $as_nop have_avfoundation=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="${SAVED_LIBS}" if test "${have_avfoundation}" != "no" @@ -37543,6 +39501,7 @@ fi +ASDCPLIB_FACTORY=0 @@ -37556,9 +39515,10 @@ # Check whether --enable-asdcp was given. -if test "${enable_asdcp+set}" = set; then : +if test ${enable_asdcp+y} +then : enableval=$enable_asdcp; -else +else $as_nop enable_asdcp=auto fi @@ -37567,17 +39527,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ASDCP" >&5 -$as_echo_n "checking for ASDCP... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ASDCP" >&5 +printf %s "checking for ASDCP... " >&6; } if test -n "$ASDCP_CFLAGS"; then pkg_cv_ASDCP_CFLAGS="$ASDCP_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"asdcplib\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"asdcplib\""; } >&5 ($PKG_CONFIG --exists --print-errors "asdcplib") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ASDCP_CFLAGS=`$PKG_CONFIG --cflags "asdcplib" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -37591,10 +39551,10 @@ pkg_cv_ASDCP_LIBS="$ASDCP_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"asdcplib\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"asdcplib\""; } >&5 ($PKG_CONFIG --exists --print-errors "asdcplib") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ASDCP_LIBS=`$PKG_CONFIG --libs "asdcplib" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -37608,8 +39568,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -37635,10 +39595,10 @@ and ASDCP_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. @@ -37652,24 +39612,24 @@ else ASDCP_CFLAGS=$pkg_cv_ASDCP_CFLAGS ASDCP_LIBS=$pkg_cv_ASDCP_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - have_asdcp="yes" + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } + fi ;; #( auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ASDCP" >&5 -$as_echo_n "checking for ASDCP... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ASDCP" >&5 +printf %s "checking for ASDCP... " >&6; } if test -n "$ASDCP_CFLAGS"; then pkg_cv_ASDCP_CFLAGS="$ASDCP_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"asdcplib\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"asdcplib\""; } >&5 ($PKG_CONFIG --exists --print-errors "asdcplib") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ASDCP_CFLAGS=`$PKG_CONFIG --cflags "asdcplib" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -37683,10 +39643,10 @@ pkg_cv_ASDCP_LIBS="$ASDCP_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"asdcplib\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"asdcplib\""; } >&5 ($PKG_CONFIG --exists --print-errors "asdcplib") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ASDCP_LIBS=`$PKG_CONFIG --libs "asdcplib" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -37700,8 +39660,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -37719,17 +39679,17 @@ enable_asdcp=no elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_asdcp=no else ASDCP_CFLAGS=$pkg_cv_ASDCP_CFLAGS ASDCP_LIBS=$pkg_cv_ASDCP_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_asdcp=yes - have_asdcp="yes" + fi ;; #( *) : ;; @@ -37740,7 +39700,30 @@ - if test "${have_asdcp}" = "yes"; then +if test "${enable_asdcp}" = "yes" +then : + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking asdcplib API version" >&5 +printf %s "checking asdcplib API version... " >&6; } + ($PKG_CONFIG --print-errors "asdcplib >= 2.12.2") 2>&1 + ac_status=$? + if test $ac_status = 0 +then : + + ASDCPLIB_FACTORY=1 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: 2.12.2 API" >&5 +printf "%s\n" "2.12.2 API" >&6; } + +else $as_nop + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: old API" >&5 +printf "%s\n" "old API" >&6; } + +fi + +fi + + if test "${enable_asdcp}" = "yes"; then HAVE_ASDCP_TRUE= HAVE_ASDCP_FALSE='#' else @@ -37766,9 +39749,10 @@ # Check whether --enable-dvbpsi was given. -if test "${enable_dvbpsi+set}" = set; then : +if test ${enable_dvbpsi+y} +then : enableval=$enable_dvbpsi; -else +else $as_nop enable_dvbpsi=auto fi @@ -37777,17 +39761,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DVBPSI" >&5 -$as_echo_n "checking for DVBPSI... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DVBPSI" >&5 +printf %s "checking for DVBPSI... " >&6; } if test -n "$DVBPSI_CFLAGS"; then pkg_cv_DVBPSI_CFLAGS="$DVBPSI_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdvbpsi >= 1.2.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdvbpsi >= 1.2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libdvbpsi >= 1.2.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DVBPSI_CFLAGS=`$PKG_CONFIG --cflags "libdvbpsi >= 1.2.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -37801,10 +39785,10 @@ pkg_cv_DVBPSI_LIBS="$DVBPSI_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdvbpsi >= 1.2.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdvbpsi >= 1.2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libdvbpsi >= 1.2.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DVBPSI_LIBS=`$PKG_CONFIG --libs "libdvbpsi >= 1.2.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -37818,8 +39802,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -37845,10 +39829,10 @@ and DVBPSI_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. @@ -37862,24 +39846,24 @@ else DVBPSI_CFLAGS=$pkg_cv_DVBPSI_CFLAGS DVBPSI_LIBS=$pkg_cv_DVBPSI_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_dvbpsi="yes" fi ;; #( auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DVBPSI" >&5 -$as_echo_n "checking for DVBPSI... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DVBPSI" >&5 +printf %s "checking for DVBPSI... " >&6; } if test -n "$DVBPSI_CFLAGS"; then pkg_cv_DVBPSI_CFLAGS="$DVBPSI_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdvbpsi >= 1.2.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdvbpsi >= 1.2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libdvbpsi >= 1.2.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DVBPSI_CFLAGS=`$PKG_CONFIG --cflags "libdvbpsi >= 1.2.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -37893,10 +39877,10 @@ pkg_cv_DVBPSI_LIBS="$DVBPSI_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdvbpsi >= 1.2.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdvbpsi >= 1.2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libdvbpsi >= 1.2.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DVBPSI_LIBS=`$PKG_CONFIG --libs "libdvbpsi >= 1.2.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -37910,8 +39894,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -37929,15 +39913,15 @@ enable_dvbpsi=no elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_dvbpsi=no else DVBPSI_CFLAGS=$pkg_cv_DVBPSI_CFLAGS DVBPSI_LIBS=$pkg_cv_DVBPSI_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_dvbpsi=yes have_dvbpsi="yes" fi ;; #( @@ -37977,9 +39961,10 @@ # Check whether --enable-gme was given. -if test "${enable_gme+set}" = set; then : +if test ${enable_gme+y} +then : enableval=$enable_gme; -else +else $as_nop enable_gme=auto fi @@ -37988,17 +39973,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GME" >&5 -$as_echo_n "checking for GME... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GME" >&5 +printf %s "checking for GME... " >&6; } if test -n "$GME_CFLAGS"; then pkg_cv_GME_CFLAGS="$GME_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgme\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgme\""; } >&5 ($PKG_CONFIG --exists --print-errors "libgme") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GME_CFLAGS=`$PKG_CONFIG --cflags "libgme" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -38012,10 +39997,10 @@ pkg_cv_GME_LIBS="$GME_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgme\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgme\""; } >&5 ($PKG_CONFIG --exists --print-errors "libgme") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GME_LIBS=`$PKG_CONFIG --libs "libgme" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -38029,8 +40014,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -38045,28 +40030,30 @@ # Put the nasty error message in config.log where it belongs echo "$GME_PKG_ERRORS" >&5 - if test x"$enable_gme" = "xyes"; then : + if test x"$enable_gme" = "xyes" +then : as_fn_error $? "Library libgme needed for gme was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libgme needed for gme was not found" >&5 -$as_echo "$as_me: WARNING: Library libgme needed for gme was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libgme needed for gme was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libgme needed for gme was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_gme" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_gme" = "xyes" +then : as_fn_error $? "Library libgme needed for gme was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libgme needed for gme was not found" >&5 -$as_echo "$as_me: WARNING: Library libgme needed for gme was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libgme needed for gme was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libgme needed for gme was not found" >&2;} fi else GME_CFLAGS=$pkg_cv_GME_CFLAGS GME_LIBS=$pkg_cv_GME_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBgme=libgme_plugin.la @@ -38088,17 +40075,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GME" >&5 -$as_echo_n "checking for GME... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GME" >&5 +printf %s "checking for GME... " >&6; } if test -n "$GME_CFLAGS"; then pkg_cv_GME_CFLAGS="$GME_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgme\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgme\""; } >&5 ($PKG_CONFIG --exists --print-errors "libgme") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GME_CFLAGS=`$PKG_CONFIG --cflags "libgme" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -38112,10 +40099,10 @@ pkg_cv_GME_LIBS="$GME_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgme\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgme\""; } >&5 ($PKG_CONFIG --exists --print-errors "libgme") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GME_LIBS=`$PKG_CONFIG --libs "libgme" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -38129,8 +40116,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -38146,29 +40133,31 @@ echo "$GME_PKG_ERRORS" >&5 enable_gme=no - if test x"$enable_gme" = "xyes"; then : + if test x"$enable_gme" = "xyes" +then : as_fn_error $? "Library libgme needed for gme was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libgme needed for gme was not found" >&5 -$as_echo "$as_me: WARNING: Library libgme needed for gme was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libgme needed for gme was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libgme needed for gme was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_gme=no - if test x"$enable_gme" = "xyes"; then : + if test x"$enable_gme" = "xyes" +then : as_fn_error $? "Library libgme needed for gme was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libgme needed for gme was not found" >&5 -$as_echo "$as_me: WARNING: Library libgme needed for gme was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libgme needed for gme was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libgme needed for gme was not found" >&2;} fi else GME_CFLAGS=$pkg_cv_GME_CFLAGS GME_LIBS=$pkg_cv_GME_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_gme=yes @@ -38207,25 +40196,27 @@ # Check whether --enable-sid was given. -if test "${enable_sid+set}" = set; then : +if test ${enable_sid+y} +then : enableval=$enable_sid; fi -if test "${enable_sid}" != "no"; then : +if test "${enable_sid}" != "no" +then : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SID" >&5 -$as_echo_n "checking for SID... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SID" >&5 +printf %s "checking for SID... " >&6; } if test -n "$SID_CFLAGS"; then pkg_cv_SID_CFLAGS="$SID_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsidplay2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsidplay2\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsidplay2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SID_CFLAGS=`$PKG_CONFIG --cflags "libsidplay2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -38239,10 +40230,10 @@ pkg_cv_SID_LIBS="$SID_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsidplay2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsidplay2\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsidplay2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SID_LIBS=`$PKG_CONFIG --libs "libsidplay2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -38256,8 +40247,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -38273,31 +40264,33 @@ echo "$SID_PKG_ERRORS" >&5 - if test "x${enable_sid}" = "xyes"; then : + if test "x${enable_sid}" = "xyes" +then : as_fn_error $? "${SID_PKG_ERRORS} (required for sid)." "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${SID_PKG_ERRORS} (required for sid)." >&5 -$as_echo "$as_me: WARNING: ${SID_PKG_ERRORS} (required for sid)." >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${SID_PKG_ERRORS} (required for sid)." >&5 +printf "%s\n" "$as_me: WARNING: ${SID_PKG_ERRORS} (required for sid)." >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - if test "x${enable_sid}" = "xyes"; then : + if test "x${enable_sid}" = "xyes" +then : as_fn_error $? "${SID_PKG_ERRORS} (required for sid)." "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${SID_PKG_ERRORS} (required for sid)." >&5 -$as_echo "$as_me: WARNING: ${SID_PKG_ERRORS} (required for sid)." >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${SID_PKG_ERRORS} (required for sid)." >&5 +printf "%s\n" "$as_me: WARNING: ${SID_PKG_ERRORS} (required for sid)." >&2;} fi else SID_CFLAGS=$pkg_cv_SID_CFLAGS SID_LIBS=$pkg_cv_SID_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -38307,8 +40300,9 @@ oldCPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $SID_CFLAGS" - ac_fn_cxx_check_header_mongrel "$LINENO" "sidplay/builders/resid.h" "ac_cv_header_sidplay_builders_resid_h" "$ac_includes_default" -if test "x$ac_cv_header_sidplay_builders_resid_h" = xyes; then : + ac_fn_cxx_check_header_compile "$LINENO" "sidplay/builders/resid.h" "ac_cv_header_sidplay_builders_resid_h" "$ac_includes_default" +if test "x$ac_cv_header_sidplay_builders_resid_h" = xyes +then : @@ -38329,19 +40323,19 @@ -else +else $as_nop - if test -n "${enable_sid}"; then : + if test -n "${enable_sid}" +then : as_fn_error $? "${SID_PKG_ERRORS} (required for sid)." "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${SID_PKG_ERRORS} (required for sid)." >&5 -$as_echo "$as_me: WARNING: ${SID_PKG_ERRORS} (required for sid)." >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${SID_PKG_ERRORS} (required for sid)." >&5 +printf "%s\n" "$as_me: WARNING: ${SID_PKG_ERRORS} (required for sid)." >&2;} fi fi - CPPFLAGS="$oldCPPFLAGS" ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -38372,9 +40366,10 @@ # Check whether --enable-ogg was given. -if test "${enable_ogg+set}" = set; then : +if test ${enable_ogg+y} +then : enableval=$enable_ogg; -else +else $as_nop enable_ogg=auto fi @@ -38383,17 +40378,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OGG" >&5 -$as_echo_n "checking for OGG... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for OGG" >&5 +printf %s "checking for OGG... " >&6; } if test -n "$OGG_CFLAGS"; then pkg_cv_OGG_CFLAGS="$OGG_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "ogg >= 1.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_OGG_CFLAGS=`$PKG_CONFIG --cflags "ogg >= 1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -38407,10 +40402,10 @@ pkg_cv_OGG_LIBS="$OGG_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "ogg >= 1.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_OGG_LIBS=`$PKG_CONFIG --libs "ogg >= 1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -38424,8 +40419,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -38440,28 +40435,30 @@ # Put the nasty error message in config.log where it belongs echo "$OGG_PKG_ERRORS" >&5 - if test x"$enable_ogg" = "xyes"; then : + if test x"$enable_ogg" = "xyes" +then : as_fn_error $? "Library ogg >= 1.0 needed for ogg was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg >= 1.0 needed for ogg was not found" >&5 -$as_echo "$as_me: WARNING: Library ogg >= 1.0 needed for ogg was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg >= 1.0 needed for ogg was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library ogg >= 1.0 needed for ogg was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_ogg" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_ogg" = "xyes" +then : as_fn_error $? "Library ogg >= 1.0 needed for ogg was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg >= 1.0 needed for ogg was not found" >&5 -$as_echo "$as_me: WARNING: Library ogg >= 1.0 needed for ogg was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg >= 1.0 needed for ogg was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library ogg >= 1.0 needed for ogg was not found" >&2;} fi else OGG_CFLAGS=$pkg_cv_OGG_CFLAGS OGG_LIBS=$pkg_cv_OGG_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBmux_ogg=libmux_ogg_plugin.la @@ -38483,17 +40480,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OGG" >&5 -$as_echo_n "checking for OGG... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for OGG" >&5 +printf %s "checking for OGG... " >&6; } if test -n "$OGG_CFLAGS"; then pkg_cv_OGG_CFLAGS="$OGG_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "ogg >= 1.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_OGG_CFLAGS=`$PKG_CONFIG --cflags "ogg >= 1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -38507,10 +40504,10 @@ pkg_cv_OGG_LIBS="$OGG_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "ogg >= 1.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_OGG_LIBS=`$PKG_CONFIG --libs "ogg >= 1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -38524,8 +40521,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -38541,29 +40538,31 @@ echo "$OGG_PKG_ERRORS" >&5 enable_ogg=no - if test x"$enable_ogg" = "xyes"; then : + if test x"$enable_ogg" = "xyes" +then : as_fn_error $? "Library ogg >= 1.0 needed for ogg was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg >= 1.0 needed for ogg was not found" >&5 -$as_echo "$as_me: WARNING: Library ogg >= 1.0 needed for ogg was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg >= 1.0 needed for ogg was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library ogg >= 1.0 needed for ogg was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_ogg=no - if test x"$enable_ogg" = "xyes"; then : + if test x"$enable_ogg" = "xyes" +then : as_fn_error $? "Library ogg >= 1.0 needed for ogg was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg >= 1.0 needed for ogg was not found" >&5 -$as_echo "$as_me: WARNING: Library ogg >= 1.0 needed for ogg was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg >= 1.0 needed for ogg was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library ogg >= 1.0 needed for ogg was not found" >&2;} fi else OGG_CFLAGS=$pkg_cv_OGG_CFLAGS OGG_LIBS=$pkg_cv_OGG_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_ogg=yes @@ -38601,17 +40600,17 @@ pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBVORBIS" >&5 -$as_echo_n "checking for LIBVORBIS... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBVORBIS" >&5 +printf %s "checking for LIBVORBIS... " >&6; } if test -n "$LIBVORBIS_CFLAGS"; then pkg_cv_LIBVORBIS_CFLAGS="$LIBVORBIS_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vorbis >= 1.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vorbis >= 1.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "vorbis >= 1.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBVORBIS_CFLAGS=`$PKG_CONFIG --cflags "vorbis >= 1.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -38625,10 +40624,10 @@ pkg_cv_LIBVORBIS_LIBS="$LIBVORBIS_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vorbis >= 1.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vorbis >= 1.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "vorbis >= 1.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBVORBIS_LIBS=`$PKG_CONFIG --libs "vorbis >= 1.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -38642,8 +40641,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -38660,17 +40659,17 @@ true elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } true else LIBVORBIS_CFLAGS=$pkg_cv_LIBVORBIS_CFLAGS LIBVORBIS_LIBS=$pkg_cv_LIBVORBIS_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } -$as_echo "#define HAVE_LIBVORBIS 1" >>confdefs.h +printf "%s\n" "#define HAVE_LIBVORBIS 1" >>confdefs.h fi @@ -38691,9 +40690,10 @@ # Check whether --enable-ogg was given. -if test "${enable_ogg+set}" = set; then : +if test ${enable_ogg+y} +then : enableval=$enable_ogg; -else +else $as_nop enable_ogg=auto fi @@ -38702,17 +40702,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OGG" >&5 -$as_echo_n "checking for OGG... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for OGG" >&5 +printf %s "checking for OGG... " >&6; } if test -n "$OGG_CFLAGS"; then pkg_cv_OGG_CFLAGS="$OGG_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "ogg >= 1.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_OGG_CFLAGS=`$PKG_CONFIG --cflags "ogg >= 1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -38726,10 +40726,10 @@ pkg_cv_OGG_LIBS="$OGG_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "ogg >= 1.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_OGG_LIBS=`$PKG_CONFIG --libs "ogg >= 1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -38743,8 +40743,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -38759,28 +40759,30 @@ # Put the nasty error message in config.log where it belongs echo "$OGG_PKG_ERRORS" >&5 - if test x"$enable_ogg" = "xyes"; then : + if test x"$enable_ogg" = "xyes" +then : as_fn_error $? "Library ogg >= 1.0 needed for ogg was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg >= 1.0 needed for ogg was not found" >&5 -$as_echo "$as_me: WARNING: Library ogg >= 1.0 needed for ogg was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg >= 1.0 needed for ogg was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library ogg >= 1.0 needed for ogg was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_ogg" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_ogg" = "xyes" +then : as_fn_error $? "Library ogg >= 1.0 needed for ogg was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg >= 1.0 needed for ogg was not found" >&5 -$as_echo "$as_me: WARNING: Library ogg >= 1.0 needed for ogg was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg >= 1.0 needed for ogg was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library ogg >= 1.0 needed for ogg was not found" >&2;} fi else OGG_CFLAGS=$pkg_cv_OGG_CFLAGS OGG_LIBS=$pkg_cv_OGG_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBogg=libogg_plugin.la @@ -38802,17 +40804,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OGG" >&5 -$as_echo_n "checking for OGG... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for OGG" >&5 +printf %s "checking for OGG... " >&6; } if test -n "$OGG_CFLAGS"; then pkg_cv_OGG_CFLAGS="$OGG_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "ogg >= 1.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_OGG_CFLAGS=`$PKG_CONFIG --cflags "ogg >= 1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -38826,10 +40828,10 @@ pkg_cv_OGG_LIBS="$OGG_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "ogg >= 1.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_OGG_LIBS=`$PKG_CONFIG --libs "ogg >= 1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -38843,8 +40845,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -38860,29 +40862,31 @@ echo "$OGG_PKG_ERRORS" >&5 enable_ogg=no - if test x"$enable_ogg" = "xyes"; then : + if test x"$enable_ogg" = "xyes" +then : as_fn_error $? "Library ogg >= 1.0 needed for ogg was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg >= 1.0 needed for ogg was not found" >&5 -$as_echo "$as_me: WARNING: Library ogg >= 1.0 needed for ogg was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg >= 1.0 needed for ogg was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library ogg >= 1.0 needed for ogg was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_ogg=no - if test x"$enable_ogg" = "xyes"; then : + if test x"$enable_ogg" = "xyes" +then : as_fn_error $? "Library ogg >= 1.0 needed for ogg was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg >= 1.0 needed for ogg was not found" >&5 -$as_echo "$as_me: WARNING: Library ogg >= 1.0 needed for ogg was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg >= 1.0 needed for ogg was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library ogg >= 1.0 needed for ogg was not found" >&2;} fi else OGG_CFLAGS=$pkg_cv_OGG_CFLAGS OGG_LIBS=$pkg_cv_OGG_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_ogg=yes @@ -38936,9 +40940,10 @@ # Check whether --enable-shout was given. -if test "${enable_shout+set}" = set; then : +if test ${enable_shout+y} +then : enableval=$enable_shout; -else +else $as_nop enable_shout=auto fi @@ -38947,17 +40952,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHOUT" >&5 -$as_echo_n "checking for SHOUT... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SHOUT" >&5 +printf %s "checking for SHOUT... " >&6; } if test -n "$SHOUT_CFLAGS"; then pkg_cv_SHOUT_CFLAGS="$SHOUT_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"shout >= 2.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"shout >= 2.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "shout >= 2.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SHOUT_CFLAGS=`$PKG_CONFIG --cflags "shout >= 2.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -38971,10 +40976,10 @@ pkg_cv_SHOUT_LIBS="$SHOUT_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"shout >= 2.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"shout >= 2.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "shout >= 2.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SHOUT_LIBS=`$PKG_CONFIG --libs "shout >= 2.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -38988,8 +40993,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -39004,28 +41009,30 @@ # Put the nasty error message in config.log where it belongs echo "$SHOUT_PKG_ERRORS" >&5 - if test x"$enable_shout" = "xyes"; then : + if test x"$enable_shout" = "xyes" +then : as_fn_error $? "Library shout >= 2.1 needed for shout was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library shout >= 2.1 needed for shout was not found" >&5 -$as_echo "$as_me: WARNING: Library shout >= 2.1 needed for shout was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library shout >= 2.1 needed for shout was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library shout >= 2.1 needed for shout was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_shout" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_shout" = "xyes" +then : as_fn_error $? "Library shout >= 2.1 needed for shout was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library shout >= 2.1 needed for shout was not found" >&5 -$as_echo "$as_me: WARNING: Library shout >= 2.1 needed for shout was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library shout >= 2.1 needed for shout was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library shout >= 2.1 needed for shout was not found" >&2;} fi else SHOUT_CFLAGS=$pkg_cv_SHOUT_CFLAGS SHOUT_LIBS=$pkg_cv_SHOUT_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBaccess_output_shout=libaccess_output_shout_plugin.la @@ -39047,17 +41054,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHOUT" >&5 -$as_echo_n "checking for SHOUT... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SHOUT" >&5 +printf %s "checking for SHOUT... " >&6; } if test -n "$SHOUT_CFLAGS"; then pkg_cv_SHOUT_CFLAGS="$SHOUT_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"shout >= 2.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"shout >= 2.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "shout >= 2.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SHOUT_CFLAGS=`$PKG_CONFIG --cflags "shout >= 2.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -39071,10 +41078,10 @@ pkg_cv_SHOUT_LIBS="$SHOUT_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"shout >= 2.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"shout >= 2.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "shout >= 2.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SHOUT_LIBS=`$PKG_CONFIG --libs "shout >= 2.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -39088,8 +41095,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -39105,29 +41112,31 @@ echo "$SHOUT_PKG_ERRORS" >&5 enable_shout=no - if test x"$enable_shout" = "xyes"; then : + if test x"$enable_shout" = "xyes" +then : as_fn_error $? "Library shout >= 2.1 needed for shout was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library shout >= 2.1 needed for shout was not found" >&5 -$as_echo "$as_me: WARNING: Library shout >= 2.1 needed for shout was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library shout >= 2.1 needed for shout was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library shout >= 2.1 needed for shout was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_shout=no - if test x"$enable_shout" = "xyes"; then : + if test x"$enable_shout" = "xyes" +then : as_fn_error $? "Library shout >= 2.1 needed for shout was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library shout >= 2.1 needed for shout was not found" >&5 -$as_echo "$as_me: WARNING: Library shout >= 2.1 needed for shout was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library shout >= 2.1 needed for shout was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library shout >= 2.1 needed for shout was not found" >&2;} fi else SHOUT_CFLAGS=$pkg_cv_SHOUT_CFLAGS SHOUT_LIBS=$pkg_cv_SHOUT_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_shout=yes @@ -39182,9 +41191,10 @@ # Check whether --enable-matroska was given. -if test "${enable_matroska+set}" = set; then : +if test ${enable_matroska+y} +then : enableval=$enable_matroska; -else +else $as_nop enable_matroska=auto fi @@ -39193,17 +41203,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MATROSKA" >&5 -$as_echo_n "checking for MATROSKA... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MATROSKA" >&5 +printf %s "checking for MATROSKA... " >&6; } if test -n "$MATROSKA_CFLAGS"; then pkg_cv_MATROSKA_CFLAGS="$MATROSKA_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebml >= 1.3.6 libmatroska\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebml >= 1.3.6 libmatroska\""; } >&5 ($PKG_CONFIG --exists --print-errors "libebml >= 1.3.6 libmatroska") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MATROSKA_CFLAGS=`$PKG_CONFIG --cflags "libebml >= 1.3.6 libmatroska" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -39217,10 +41227,10 @@ pkg_cv_MATROSKA_LIBS="$MATROSKA_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebml >= 1.3.6 libmatroska\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebml >= 1.3.6 libmatroska\""; } >&5 ($PKG_CONFIG --exists --print-errors "libebml >= 1.3.6 libmatroska") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MATROSKA_LIBS=`$PKG_CONFIG --libs "libebml >= 1.3.6 libmatroska" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -39234,8 +41244,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -39250,28 +41260,30 @@ # Put the nasty error message in config.log where it belongs echo "$MATROSKA_PKG_ERRORS" >&5 - if test x"$enable_matroska" = "xyes"; then : + if test x"$enable_matroska" = "xyes" +then : as_fn_error $? "Library libebml >= 1.3.6 libmatroska needed for matroska was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libebml >= 1.3.6 libmatroska needed for matroska was not found" >&5 -$as_echo "$as_me: WARNING: Library libebml >= 1.3.6 libmatroska needed for matroska was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libebml >= 1.3.6 libmatroska needed for matroska was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libebml >= 1.3.6 libmatroska needed for matroska was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_matroska" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_matroska" = "xyes" +then : as_fn_error $? "Library libebml >= 1.3.6 libmatroska needed for matroska was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libebml >= 1.3.6 libmatroska needed for matroska was not found" >&5 -$as_echo "$as_me: WARNING: Library libebml >= 1.3.6 libmatroska needed for matroska was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libebml >= 1.3.6 libmatroska needed for matroska was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libebml >= 1.3.6 libmatroska needed for matroska was not found" >&2;} fi else MATROSKA_CFLAGS=$pkg_cv_MATROSKA_CFLAGS MATROSKA_LIBS=$pkg_cv_MATROSKA_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBmkv=libmkv_plugin.la @@ -39293,17 +41305,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MATROSKA" >&5 -$as_echo_n "checking for MATROSKA... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MATROSKA" >&5 +printf %s "checking for MATROSKA... " >&6; } if test -n "$MATROSKA_CFLAGS"; then pkg_cv_MATROSKA_CFLAGS="$MATROSKA_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebml >= 1.3.6 libmatroska\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebml >= 1.3.6 libmatroska\""; } >&5 ($PKG_CONFIG --exists --print-errors "libebml >= 1.3.6 libmatroska") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MATROSKA_CFLAGS=`$PKG_CONFIG --cflags "libebml >= 1.3.6 libmatroska" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -39317,10 +41329,10 @@ pkg_cv_MATROSKA_LIBS="$MATROSKA_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebml >= 1.3.6 libmatroska\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebml >= 1.3.6 libmatroska\""; } >&5 ($PKG_CONFIG --exists --print-errors "libebml >= 1.3.6 libmatroska") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MATROSKA_LIBS=`$PKG_CONFIG --libs "libebml >= 1.3.6 libmatroska" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -39334,8 +41346,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -39351,29 +41363,31 @@ echo "$MATROSKA_PKG_ERRORS" >&5 enable_matroska=no - if test x"$enable_matroska" = "xyes"; then : + if test x"$enable_matroska" = "xyes" +then : as_fn_error $? "Library libebml >= 1.3.6 libmatroska needed for matroska was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libebml >= 1.3.6 libmatroska needed for matroska was not found" >&5 -$as_echo "$as_me: WARNING: Library libebml >= 1.3.6 libmatroska needed for matroska was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libebml >= 1.3.6 libmatroska needed for matroska was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libebml >= 1.3.6 libmatroska needed for matroska was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_matroska=no - if test x"$enable_matroska" = "xyes"; then : + if test x"$enable_matroska" = "xyes" +then : as_fn_error $? "Library libebml >= 1.3.6 libmatroska needed for matroska was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libebml >= 1.3.6 libmatroska needed for matroska was not found" >&5 -$as_echo "$as_me: WARNING: Library libebml >= 1.3.6 libmatroska needed for matroska was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libebml >= 1.3.6 libmatroska needed for matroska was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libebml >= 1.3.6 libmatroska needed for matroska was not found" >&2;} fi else MATROSKA_CFLAGS=$pkg_cv_MATROSKA_CFLAGS MATROSKA_LIBS=$pkg_cv_MATROSKA_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_matroska=yes @@ -39411,24 +41425,25 @@ # Check whether --enable-mod was given. -if test "${enable_mod+set}" = set; then : +if test ${enable_mod+y} +then : enableval=$enable_mod; fi if test "${enable_mod}" != "no" ; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBMODPLUG" >&5 -$as_echo_n "checking for LIBMODPLUG... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBMODPLUG" >&5 +printf %s "checking for LIBMODPLUG... " >&6; } if test -n "$LIBMODPLUG_CFLAGS"; then pkg_cv_LIBMODPLUG_CFLAGS="$LIBMODPLUG_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmodplug >= 0.8.9.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmodplug >= 0.8.9.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libmodplug >= 0.8.9.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBMODPLUG_CFLAGS=`$PKG_CONFIG --cflags "libmodplug >= 0.8.9.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -39442,10 +41457,10 @@ pkg_cv_LIBMODPLUG_LIBS="$LIBMODPLUG_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmodplug >= 0.8.9.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmodplug >= 0.8.9.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libmodplug >= 0.8.9.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBMODPLUG_LIBS=`$PKG_CONFIG --libs "libmodplug >= 0.8.9.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -39459,8 +41474,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -39476,29 +41491,31 @@ echo "$LIBMODPLUG_PKG_ERRORS" >&5 - if test -n "${enable_mod}"; then : + if test -n "${enable_mod}" +then : as_fn_error $? "${LIBMODPLUG_PKG_ERRORS}." "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LIBMODPLUG_PKG_ERRORS}." >&5 -$as_echo "$as_me: WARNING: ${LIBMODPLUG_PKG_ERRORS}." >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${LIBMODPLUG_PKG_ERRORS}." >&5 +printf "%s\n" "$as_me: WARNING: ${LIBMODPLUG_PKG_ERRORS}." >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - if test -n "${enable_mod}"; then : + if test -n "${enable_mod}" +then : as_fn_error $? "${LIBMODPLUG_PKG_ERRORS}." "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LIBMODPLUG_PKG_ERRORS}." >&5 -$as_echo "$as_me: WARNING: ${LIBMODPLUG_PKG_ERRORS}." >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${LIBMODPLUG_PKG_ERRORS}." >&5 +printf "%s\n" "$as_me: WARNING: ${LIBMODPLUG_PKG_ERRORS}." >&2;} fi else LIBMODPLUG_CFLAGS=$pkg_cv_LIBMODPLUG_CFLAGS LIBMODPLUG_LIBS=$pkg_cv_LIBMODPLUG_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } @@ -39529,19 +41546,19 @@ fi # Check whether --enable-mpc was given. -if test "${enable_mpc+set}" = set; then : +if test ${enable_mpc+y} +then : enableval=$enable_mpc; fi if test "${enable_mpc}" != "no" then - for ac_header in mpc/mpcdec.h + for ac_header in mpc/mpcdec.h do : - ac_fn_c_check_header_mongrel "$LINENO" "mpc/mpcdec.h" "ac_cv_header_mpc_mpcdec_h" "$ac_includes_default" -if test "x$ac_cv_header_mpc_mpcdec_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_MPC_MPCDEC_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "mpc/mpcdec.h" "ac_cv_header_mpc_mpcdec_h" "$ac_includes_default" +if test "x$ac_cv_header_mpc_mpcdec_h" = xyes +then : + printf "%s\n" "#define HAVE_MPC_MPCDEC_H 1" >>confdefs.h @@ -39555,14 +41572,13 @@ -else - for ac_header in mpcdec/mpcdec.h +else $as_nop + for ac_header in mpcdec/mpcdec.h do : - ac_fn_c_check_header_mongrel "$LINENO" "mpcdec/mpcdec.h" "ac_cv_header_mpcdec_mpcdec_h" "$ac_includes_default" -if test "x$ac_cv_header_mpcdec_mpcdec_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_MPCDEC_MPCDEC_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "mpcdec/mpcdec.h" "ac_cv_header_mpcdec_mpcdec_h" "$ac_includes_default" +if test "x$ac_cv_header_mpcdec_mpcdec_h" = xyes +then : + printf "%s\n" "#define HAVE_MPCDEC_MPCDEC_H 1" >>confdefs.h @@ -39579,18 +41595,17 @@ fi done - fi done - fi # Check whether --enable-wma-fixed was given. -if test "${enable_wma_fixed+set}" = set; then : +if test ${enable_wma_fixed+y} +then : enableval=$enable_wma_fixed; fi @@ -39621,9 +41636,10 @@ # Check whether --enable-shine was given. -if test "${enable_shine+set}" = set; then : +if test ${enable_shine+y} +then : enableval=$enable_shine; -else +else $as_nop enable_shine=auto fi @@ -39632,17 +41648,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHINE" >&5 -$as_echo_n "checking for SHINE... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SHINE" >&5 +printf %s "checking for SHINE... " >&6; } if test -n "$SHINE_CFLAGS"; then pkg_cv_SHINE_CFLAGS="$SHINE_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"shine >= 3.0.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"shine >= 3.0.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "shine >= 3.0.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SHINE_CFLAGS=`$PKG_CONFIG --cflags "shine >= 3.0.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -39656,10 +41672,10 @@ pkg_cv_SHINE_LIBS="$SHINE_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"shine >= 3.0.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"shine >= 3.0.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "shine >= 3.0.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SHINE_LIBS=`$PKG_CONFIG --libs "shine >= 3.0.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -39673,8 +41689,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -39689,28 +41705,30 @@ # Put the nasty error message in config.log where it belongs echo "$SHINE_PKG_ERRORS" >&5 - if test x"$enable_shine" = "xyes"; then : + if test x"$enable_shine" = "xyes" +then : as_fn_error $? "Library shine >= 3.0.0 needed for shine was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library shine >= 3.0.0 needed for shine was not found" >&5 -$as_echo "$as_me: WARNING: Library shine >= 3.0.0 needed for shine was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library shine >= 3.0.0 needed for shine was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library shine >= 3.0.0 needed for shine was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_shine" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_shine" = "xyes" +then : as_fn_error $? "Library shine >= 3.0.0 needed for shine was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library shine >= 3.0.0 needed for shine was not found" >&5 -$as_echo "$as_me: WARNING: Library shine >= 3.0.0 needed for shine was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library shine >= 3.0.0 needed for shine was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library shine >= 3.0.0 needed for shine was not found" >&2;} fi else SHINE_CFLAGS=$pkg_cv_SHINE_CFLAGS SHINE_LIBS=$pkg_cv_SHINE_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBshine=libshine_plugin.la @@ -39732,17 +41750,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHINE" >&5 -$as_echo_n "checking for SHINE... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SHINE" >&5 +printf %s "checking for SHINE... " >&6; } if test -n "$SHINE_CFLAGS"; then pkg_cv_SHINE_CFLAGS="$SHINE_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"shine >= 3.0.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"shine >= 3.0.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "shine >= 3.0.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SHINE_CFLAGS=`$PKG_CONFIG --cflags "shine >= 3.0.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -39756,10 +41774,10 @@ pkg_cv_SHINE_LIBS="$SHINE_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"shine >= 3.0.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"shine >= 3.0.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "shine >= 3.0.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SHINE_LIBS=`$PKG_CONFIG --libs "shine >= 3.0.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -39773,8 +41791,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -39790,29 +41808,31 @@ echo "$SHINE_PKG_ERRORS" >&5 enable_shine=no - if test x"$enable_shine" = "xyes"; then : + if test x"$enable_shine" = "xyes" +then : as_fn_error $? "Library shine >= 3.0.0 needed for shine was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library shine >= 3.0.0 needed for shine was not found" >&5 -$as_echo "$as_me: WARNING: Library shine >= 3.0.0 needed for shine was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library shine >= 3.0.0 needed for shine was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library shine >= 3.0.0 needed for shine was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_shine=no - if test x"$enable_shine" = "xyes"; then : + if test x"$enable_shine" = "xyes" +then : as_fn_error $? "Library shine >= 3.0.0 needed for shine was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library shine >= 3.0.0 needed for shine was not found" >&5 -$as_echo "$as_me: WARNING: Library shine >= 3.0.0 needed for shine was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library shine >= 3.0.0 needed for shine was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library shine >= 3.0.0 needed for shine was not found" >&2;} fi else SHINE_CFLAGS=$pkg_cv_SHINE_CFLAGS SHINE_LIBS=$pkg_cv_SHINE_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_shine=yes @@ -39851,7 +41871,8 @@ # Check whether --enable-omxil was given. -if test "${enable_omxil+set}" = set; then : +if test ${enable_omxil+y} +then : enableval=$enable_omxil; fi @@ -39866,7 +41887,8 @@ fi # Check whether --enable-omxil-vout was given. -if test "${enable_omxil_vout+set}" = set; then : +if test ${enable_omxil_vout+y} +then : enableval=$enable_omxil_vout; fi @@ -39881,7 +41903,8 @@ fi # Check whether --enable-rpi-omxil was given. -if test "${enable_rpi_omxil+set}" = set; then : +if test ${enable_rpi_omxil+y} +then : enableval=$enable_rpi_omxil; fi @@ -39908,7 +41931,8 @@ fi # Check whether --enable-crystalhd was given. -if test "${enable_crystalhd+set}" = set; then : +if test ${enable_crystalhd+y} +then : enableval=$enable_crystalhd; fi @@ -39917,7 +41941,8 @@ #include " -if test "x$ac_cv_header_libcrystalhd_libcrystalhd_if_h" = xyes; then : +if test "x$ac_cv_header_libcrystalhd_libcrystalhd_if_h" = xyes +then : @@ -39932,19 +41957,18 @@ -else +else $as_nop if test "${SYS}" = "mingw32" ; then - for ac_header in libcrystalhd/bc_dts_defs.h + for ac_header in libcrystalhd/bc_dts_defs.h do : ac_fn_c_check_header_compile "$LINENO" "libcrystalhd/bc_dts_defs.h" "ac_cv_header_libcrystalhd_bc_dts_defs_h" "#define __LINUX_USER__ #include " -if test "x$ac_cv_header_libcrystalhd_bc_dts_defs_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBCRYSTALHD_BC_DTS_DEFS_H 1 -_ACEOF +if test "x$ac_cv_header_libcrystalhd_bc_dts_defs_h" = xyes +then : + printf "%s\n" "#define HAVE_LIBCRYSTALHD_BC_DTS_DEFS_H 1" >>confdefs.h @@ -39952,13 +41976,12 @@ - for ac_header in libcrystalhd/bc_drv_if.h + for ac_header in libcrystalhd/bc_drv_if.h do : - ac_fn_c_check_header_mongrel "$LINENO" "libcrystalhd/bc_drv_if.h" "ac_cv_header_libcrystalhd_bc_drv_if_h" "$ac_includes_default" -if test "x$ac_cv_header_libcrystalhd_bc_drv_if_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBCRYSTALHD_BC_DRV_IF_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "libcrystalhd/bc_drv_if.h" "ac_cv_header_libcrystalhd_bc_drv_if_h" "$ac_includes_default" +if test "x$ac_cv_header_libcrystalhd_bc_drv_if_h" = xyes +then : + printf "%s\n" "#define HAVE_LIBCRYSTALHD_BC_DRV_IF_H 1" >>confdefs.h @@ -39971,25 +41994,23 @@ done +else $as_nop -else - - if test x"${enable_crystalhd}" = "xyes"; then : + if test x"${enable_crystalhd}" = "xyes" +then : as_fn_error $? "\"Could not find CrystalHD development headers\"" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Could not find CrystalHD development headers\"" >&5 -$as_echo "$as_me: WARNING: \"Could not find CrystalHD development headers\"" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: \"Could not find CrystalHD development headers\"" >&5 +printf "%s\n" "$as_me: WARNING: \"Could not find CrystalHD development headers\"" >&2;} fi fi done - fi fi - fi have_mad="no" @@ -39998,17 +42019,19 @@ # Check whether --with-mad was given. -if test "${with_mad+set}" = set; then : +if test ${with_mad+y} +then : withval=$with_mad; enable_mad="yes" -else +else $as_nop with_mad="no" fi -if test "${with_mad}" != "no"; then : +if test "${with_mad}" != "no" +then : MAD_CFLAGS="-I${with_mad}/include" MAD_LIBS="-L${with_mad}/lib" @@ -40016,11 +42039,13 @@ fi # Check whether --enable-mad was given. -if test "${enable_mad+set}" = set; then : +if test ${enable_mad+y} +then : enableval=$enable_mad; fi -if test "${enable_mad}" != "no"; then : +if test "${enable_mad}" != "no" +then : CPPFLAGS_save="${CPPFLAGS}" @@ -40032,19 +42057,19 @@ CPPFLAGS="${CPPFLAGS} ${MAD_CFLAGS}" LDFLAGS="${LDFLAGS} ${MAD_LIBS}" - for ac_header in mad.h + for ac_header in mad.h do : - ac_fn_c_check_header_mongrel "$LINENO" "mad.h" "ac_cv_header_mad_h" "$ac_includes_default" -if test "x$ac_cv_header_mad_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_MAD_H 1 -_ACEOF - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mad_bit_init in -lmad" >&5 -$as_echo_n "checking for mad_bit_init in -lmad... " >&6; } -if ${ac_cv_lib_mad_mad_bit_init+:} false; then : - $as_echo_n "(cached) " >&6 -else + ac_fn_c_check_header_compile "$LINENO" "mad.h" "ac_cv_header_mad_h" "$ac_includes_default" +if test "x$ac_cv_header_mad_h" = xyes +then : + printf "%s\n" "#define HAVE_MAD_H 1" >>confdefs.h + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mad_bit_init in -lmad" >&5 +printf %s "checking for mad_bit_init in -lmad... " >&6; } +if test ${ac_cv_lib_mad_mad_bit_init+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lmad $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -40053,30 +42078,29 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char mad_bit_init (); int -main () +main (void) { return mad_bit_init (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_mad_mad_bit_init=yes -else +else $as_nop ac_cv_lib_mad_mad_bit_init=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mad_mad_bit_init" >&5 -$as_echo "$ac_cv_lib_mad_mad_bit_init" >&6; } -if test "x$ac_cv_lib_mad_mad_bit_init" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mad_mad_bit_init" >&5 +printf "%s\n" "$ac_cv_lib_mad_mad_bit_init" >&6; } +if test "x$ac_cv_lib_mad_mad_bit_init" = xyes +then : have_mad="yes" MAD_LIBS="${MAD_LIBS} -lmad" @@ -40088,7 +42112,6 @@ done - CPPFLAGS="${CPPFLAGS_save}" CFLAGS="${CFLAGS_save}" CXXFLAGS="${CXXFLAGS_save}" @@ -40096,7 +42119,8 @@ LDFLAGS="${LDFLAGS_save}" LIBS="${LIBS_save}" - if test -n "$enable_mad" -a "${have_mad}" = "no"; then : + if test -n "$enable_mad" -a "${have_mad}" = "no" +then : as_fn_error $? "Could not find libmad. Install it or pass --disable-mad to disable it." "$LINENO" 5 @@ -40131,9 +42155,10 @@ # Check whether --enable-mpg123 was given. -if test "${enable_mpg123+set}" = set; then : +if test ${enable_mpg123+y} +then : enableval=$enable_mpg123; -else +else $as_nop enable_mpg123=auto fi @@ -40142,17 +42167,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPG123" >&5 -$as_echo_n "checking for MPG123... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MPG123" >&5 +printf %s "checking for MPG123... " >&6; } if test -n "$MPG123_CFLAGS"; then pkg_cv_MPG123_CFLAGS="$MPG123_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmpg123\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmpg123\""; } >&5 ($PKG_CONFIG --exists --print-errors "libmpg123") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MPG123_CFLAGS=`$PKG_CONFIG --cflags "libmpg123" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -40166,10 +42191,10 @@ pkg_cv_MPG123_LIBS="$MPG123_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmpg123\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmpg123\""; } >&5 ($PKG_CONFIG --exists --print-errors "libmpg123") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MPG123_LIBS=`$PKG_CONFIG --libs "libmpg123" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -40183,8 +42208,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -40199,28 +42224,30 @@ # Put the nasty error message in config.log where it belongs echo "$MPG123_PKG_ERRORS" >&5 - if test x"$enable_mpg123" = "xyes"; then : + if test x"$enable_mpg123" = "xyes" +then : as_fn_error $? "Library libmpg123 needed for mpg123 was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libmpg123 needed for mpg123 was not found" >&5 -$as_echo "$as_me: WARNING: Library libmpg123 needed for mpg123 was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libmpg123 needed for mpg123 was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libmpg123 needed for mpg123 was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_mpg123" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_mpg123" = "xyes" +then : as_fn_error $? "Library libmpg123 needed for mpg123 was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libmpg123 needed for mpg123 was not found" >&5 -$as_echo "$as_me: WARNING: Library libmpg123 needed for mpg123 was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libmpg123 needed for mpg123 was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libmpg123 needed for mpg123 was not found" >&2;} fi else MPG123_CFLAGS=$pkg_cv_MPG123_CFLAGS MPG123_LIBS=$pkg_cv_MPG123_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBmpg123=libmpg123_plugin.la @@ -40242,17 +42269,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPG123" >&5 -$as_echo_n "checking for MPG123... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MPG123" >&5 +printf %s "checking for MPG123... " >&6; } if test -n "$MPG123_CFLAGS"; then pkg_cv_MPG123_CFLAGS="$MPG123_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmpg123\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmpg123\""; } >&5 ($PKG_CONFIG --exists --print-errors "libmpg123") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MPG123_CFLAGS=`$PKG_CONFIG --cflags "libmpg123" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -40266,10 +42293,10 @@ pkg_cv_MPG123_LIBS="$MPG123_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmpg123\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmpg123\""; } >&5 ($PKG_CONFIG --exists --print-errors "libmpg123") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MPG123_LIBS=`$PKG_CONFIG --libs "libmpg123" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -40283,8 +42310,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -40300,29 +42327,31 @@ echo "$MPG123_PKG_ERRORS" >&5 enable_mpg123=no - if test x"$enable_mpg123" = "xyes"; then : + if test x"$enable_mpg123" = "xyes" +then : as_fn_error $? "Library libmpg123 needed for mpg123 was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libmpg123 needed for mpg123 was not found" >&5 -$as_echo "$as_me: WARNING: Library libmpg123 needed for mpg123 was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libmpg123 needed for mpg123 was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libmpg123 needed for mpg123 was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_mpg123=no - if test x"$enable_mpg123" = "xyes"; then : + if test x"$enable_mpg123" = "xyes" +then : as_fn_error $? "Library libmpg123 needed for mpg123 was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libmpg123 needed for mpg123 was not found" >&5 -$as_echo "$as_me: WARNING: Library libmpg123 needed for mpg123 was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libmpg123 needed for mpg123 was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libmpg123 needed for mpg123 was not found" >&2;} fi else MPG123_CFLAGS=$pkg_cv_MPG123_CFLAGS MPG123_LIBS=$pkg_cv_MPG123_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_mpg123=yes @@ -40360,27 +42389,29 @@ # Check whether --enable-gst-decode was given. -if test "${enable_gst_decode+set}" = set; then : +if test ${enable_gst_decode+y} +then : enableval=$enable_gst_decode; fi have_gst_decode="no" -if test "${enable_gst_decode}" != "no"; then : +if test "${enable_gst_decode}" != "no" +then : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_APP" >&5 -$as_echo_n "checking for GST_APP... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GST_APP" >&5 +printf %s "checking for GST_APP... " >&6; } if test -n "$GST_APP_CFLAGS"; then pkg_cv_GST_APP_CFLAGS="$GST_APP_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-app-1.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-app-1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gstreamer-app-1.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GST_APP_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-app-1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -40394,10 +42425,10 @@ pkg_cv_GST_APP_LIBS="$GST_APP_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-app-1.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-app-1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gstreamer-app-1.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GST_APP_LIBS=`$PKG_CONFIG --libs "gstreamer-app-1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -40411,8 +42442,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -40428,35 +42459,35 @@ echo "$GST_APP_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${GST_APP_PKG_ERRORS}. GStreamer modules will not be built." >&5 -$as_echo "$as_me: WARNING: ${GST_APP_PKG_ERRORS}. GStreamer modules will not be built." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${GST_APP_PKG_ERRORS}. GStreamer modules will not be built." >&5 +printf "%s\n" "$as_me: WARNING: ${GST_APP_PKG_ERRORS}. GStreamer modules will not be built." >&2;} elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${GST_APP_PKG_ERRORS}. GStreamer modules will not be built." >&5 -$as_echo "$as_me: WARNING: ${GST_APP_PKG_ERRORS}. GStreamer modules will not be built." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${GST_APP_PKG_ERRORS}. GStreamer modules will not be built." >&5 +printf "%s\n" "$as_me: WARNING: ${GST_APP_PKG_ERRORS}. GStreamer modules will not be built." >&2;} else GST_APP_CFLAGS=$pkg_cv_GST_APP_CFLAGS GST_APP_LIBS=$pkg_cv_GST_APP_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_VIDEO" >&5 -$as_echo_n "checking for GST_VIDEO... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GST_VIDEO" >&5 +printf %s "checking for GST_VIDEO... " >&6; } if test -n "$GST_VIDEO_CFLAGS"; then pkg_cv_GST_VIDEO_CFLAGS="$GST_VIDEO_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-video-1.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-video-1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gstreamer-video-1.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GST_VIDEO_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-video-1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -40470,10 +42501,10 @@ pkg_cv_GST_VIDEO_LIBS="$GST_VIDEO_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-video-1.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-video-1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gstreamer-video-1.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GST_VIDEO_LIBS=`$PKG_CONFIG --libs "gstreamer-video-1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -40487,8 +42518,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -40504,21 +42535,21 @@ echo "$GST_VIDEO_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${GST_VIDEO_PKG_ERRORS}. GStreamer decoder module will not be built." >&5 -$as_echo "$as_me: WARNING: ${GST_VIDEO_PKG_ERRORS}. GStreamer decoder module will not be built." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${GST_VIDEO_PKG_ERRORS}. GStreamer decoder module will not be built." >&5 +printf "%s\n" "$as_me: WARNING: ${GST_VIDEO_PKG_ERRORS}. GStreamer decoder module will not be built." >&2;} elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${GST_VIDEO_PKG_ERRORS}. GStreamer decoder module will not be built." >&5 -$as_echo "$as_me: WARNING: ${GST_VIDEO_PKG_ERRORS}. GStreamer decoder module will not be built." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${GST_VIDEO_PKG_ERRORS}. GStreamer decoder module will not be built." >&5 +printf "%s\n" "$as_me: WARNING: ${GST_VIDEO_PKG_ERRORS}. GStreamer decoder module will not be built." >&2;} else GST_VIDEO_CFLAGS=$pkg_cv_GST_VIDEO_CFLAGS GST_VIDEO_LIBS=$pkg_cv_GST_VIDEO_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_gst_decode="yes" @@ -40537,9 +42568,10 @@ # Check whether --enable-merge-ffmpeg was given. -if test "${enable_merge_ffmpeg+set}" = set; then : +if test ${enable_merge_ffmpeg+y} +then : enableval=$enable_merge_ffmpeg; -else +else $as_nop enable_merge_ffmpeg="no" @@ -40554,22 +42586,23 @@ fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libavutil variant" >&5 -$as_echo_n "checking for libavutil variant... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libavutil variant" >&5 +printf %s "checking for libavutil variant... " >&6; } if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavutil\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavutil\""; } >&5 ($PKG_CONFIG --exists --print-errors "libavutil") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then libavutil_version="$(${PKG_CONFIG} --modversion libavutil)" libavutil_micro="${libavutil_version##*.}" - if test ${libavutil_micro} -le 99; then : + if test ${libavutil_micro} -le 99 +then : avfork="libav" -else +else $as_nop avfork="ffmpeg" @@ -40580,15 +42613,17 @@ avfork="none" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${avfork}" >&5 -$as_echo "${avfork}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${avfork}" >&5 +printf "%s\n" "${avfork}" >&6; } # Check whether --enable-avcodec was given. -if test "${enable_avcodec+set}" = set; then : +if test ${enable_avcodec+y} +then : enableval=$enable_avcodec; fi -if test "${enable_avcodec}" != "no"; then : +if test "${enable_avcodec}" != "no" +then : case "${avfork}" in libav) av_codec_ver="57.16.0" ;; @@ -40597,17 +42632,17 @@ esac pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for AVCODEC" >&5 -$as_echo_n "checking for AVCODEC... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for AVCODEC" >&5 +printf %s "checking for AVCODEC... " >&6; } if test -n "$AVCODEC_CFLAGS"; then pkg_cv_AVCODEC_CFLAGS="$AVCODEC_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavcodec >= \${av_codec_ver} libavutil >= 52.0.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavcodec >= \${av_codec_ver} libavutil >= 52.0.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libavcodec >= ${av_codec_ver} libavutil >= 52.0.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_AVCODEC_CFLAGS=`$PKG_CONFIG --cflags "libavcodec >= ${av_codec_ver} libavutil >= 52.0.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -40621,10 +42656,10 @@ pkg_cv_AVCODEC_LIBS="$AVCODEC_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavcodec >= \${av_codec_ver} libavutil >= 52.0.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavcodec >= \${av_codec_ver} libavutil >= 52.0.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libavcodec >= ${av_codec_ver} libavutil >= 52.0.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_AVCODEC_LIBS=`$PKG_CONFIG --libs "libavcodec >= ${av_codec_ver} libavutil >= 52.0.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -40638,8 +42673,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -40658,16 +42693,16 @@ as_fn_error $? "${AVCODEC_PKG_ERRORS}. Pass --disable-avcodec to ignore this error." "$LINENO" 5 elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } as_fn_error $? "${AVCODEC_PKG_ERRORS}. Pass --disable-avcodec to ignore this error." "$LINENO" 5 else AVCODEC_CFLAGS=$pkg_cv_AVCODEC_CFLAGS AVCODEC_LIBS=$pkg_cv_AVCODEC_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } CPPFLAGS_save="${CPPFLAGS}" @@ -40679,30 +42714,20 @@ CPPFLAGS="${CPPFLAGS} ${AVCODEC_CFLAGS}" CFLAGS="${CFLAGS} ${AVCODEC_CFLAGS}" - for ac_header in libavcodec/avcodec.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "libavcodec/avcodec.h" "ac_cv_header_libavcodec_avcodec_h" "$ac_includes_default" -if test "x$ac_cv_header_libavcodec_avcodec_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBAVCODEC_AVCODEC_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "libavcodec/avcodec.h" "ac_cv_header_libavcodec_avcodec_h" "$ac_includes_default" +if test "x$ac_cv_header_libavcodec_avcodec_h" = xyes +then : + printf "%s\n" "#define HAVE_LIBAVCODEC_AVCODEC_H 1" >>confdefs.h fi -done - - for ac_header in libavutil/avutil.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "libavutil/avutil.h" "ac_cv_header_libavutil_avutil_h" "$ac_includes_default" -if test "x$ac_cv_header_libavutil_avutil_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBAVUTIL_AVUTIL_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "libavutil/avutil.h" "ac_cv_header_libavutil_avutil_h" "$ac_includes_default" +if test "x$ac_cv_header_libavutil_avutil_h" = xyes +then : + printf "%s\n" "#define HAVE_LIBAVUTIL_AVUTIL_H 1" >>confdefs.h fi -done - CPPFLAGS="${CPPFLAGS_save}" CFLAGS="${CFLAGS_save}" @@ -40715,7 +42740,7 @@ fi -else +else $as_nop have_avcodec="no" @@ -40730,12 +42755,14 @@ # Check whether --enable-libva was given. -if test "${enable_libva+set}" = set; then : +if test ${enable_libva+y} +then : enableval=$enable_libva; fi -if test "${enable_libva}" = "yes" -a "${have_avcodec}" != "yes" ; then : +if test "${enable_libva}" = "yes" -a "${have_avcodec}" != "yes" +then : as_fn_error $? "--enable-libva and --disable-avcodec options are mutually exclusive. Use --enable-avcodec." "$LINENO" 5 @@ -40745,21 +42772,22 @@ have_vaapi_drm="no" have_vaapi_x11="no" have_vaapi_wl="no" -if test "${enable_libva}" != "no"; then : +if test "${enable_libva}" != "no" +then : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBVA" >&5 -$as_echo_n "checking for LIBVA... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBVA" >&5 +printf %s "checking for LIBVA... " >&6; } if test -n "$LIBVA_CFLAGS"; then pkg_cv_LIBVA_CFLAGS="$LIBVA_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libva >= 0.38\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libva >= 0.38\""; } >&5 ($PKG_CONFIG --exists --print-errors "libva >= 0.38") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBVA_CFLAGS=`$PKG_CONFIG --cflags "libva >= 0.38" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -40773,10 +42801,10 @@ pkg_cv_LIBVA_LIBS="$LIBVA_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libva >= 0.38\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libva >= 0.38\""; } >&5 ($PKG_CONFIG --exists --print-errors "libva >= 0.38") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBVA_LIBS=`$PKG_CONFIG --libs "libva >= 0.38" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -40790,8 +42818,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -40807,54 +42835,56 @@ echo "$LIBVA_PKG_ERRORS" >&5 - if test -n "${enable_libva}"; then : + if test -n "${enable_libva}" +then : as_fn_error $? "${LIBVA_PKG_ERRORS}." "$LINENO" 5 -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LIBVA_PKG_ERRORS}." >&5 -$as_echo "$as_me: WARNING: ${LIBVA_PKG_ERRORS}." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${LIBVA_PKG_ERRORS}." >&5 +printf "%s\n" "$as_me: WARNING: ${LIBVA_PKG_ERRORS}." >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - if test -n "${enable_libva}"; then : + if test -n "${enable_libva}" +then : as_fn_error $? "${LIBVA_PKG_ERRORS}." "$LINENO" 5 -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LIBVA_PKG_ERRORS}." >&5 -$as_echo "$as_me: WARNING: ${LIBVA_PKG_ERRORS}." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${LIBVA_PKG_ERRORS}." >&5 +printf "%s\n" "$as_me: WARNING: ${LIBVA_PKG_ERRORS}." >&2;} fi else LIBVA_CFLAGS=$pkg_cv_LIBVA_CFLAGS LIBVA_LIBS=$pkg_cv_LIBVA_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_vaapi="yes" fi pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBVA_DRM" >&5 -$as_echo_n "checking for LIBVA_DRM... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBVA_DRM" >&5 +printf %s "checking for LIBVA_DRM... " >&6; } if test -n "$LIBVA_DRM_CFLAGS"; then pkg_cv_LIBVA_DRM_CFLAGS="$LIBVA_DRM_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libva-drm\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libva-drm\""; } >&5 ($PKG_CONFIG --exists --print-errors "libva-drm") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBVA_DRM_CFLAGS=`$PKG_CONFIG --cflags "libva-drm" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -40868,10 +42898,10 @@ pkg_cv_LIBVA_DRM_LIBS="$LIBVA_DRM_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libva-drm\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libva-drm\""; } >&5 ($PKG_CONFIG --exists --print-errors "libva-drm") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBVA_DRM_LIBS=`$PKG_CONFIG --libs "libva-drm" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -40885,8 +42915,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -40902,38 +42932,38 @@ echo "$LIBVA_DRM_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LIBVA_DRM_PKG_ERRORS}." >&5 -$as_echo "$as_me: WARNING: ${LIBVA_DRM_PKG_ERRORS}." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${LIBVA_DRM_PKG_ERRORS}." >&5 +printf "%s\n" "$as_me: WARNING: ${LIBVA_DRM_PKG_ERRORS}." >&2;} elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LIBVA_DRM_PKG_ERRORS}." >&5 -$as_echo "$as_me: WARNING: ${LIBVA_DRM_PKG_ERRORS}." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${LIBVA_DRM_PKG_ERRORS}." >&5 +printf "%s\n" "$as_me: WARNING: ${LIBVA_DRM_PKG_ERRORS}." >&2;} else LIBVA_DRM_CFLAGS=$pkg_cv_LIBVA_DRM_CFLAGS LIBVA_DRM_LIBS=$pkg_cv_LIBVA_DRM_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_vaapi_drm="yes" fi pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBVA_X11" >&5 -$as_echo_n "checking for LIBVA_X11... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBVA_X11" >&5 +printf %s "checking for LIBVA_X11... " >&6; } if test -n "$LIBVA_X11_CFLAGS"; then pkg_cv_LIBVA_X11_CFLAGS="$LIBVA_X11_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libva-x11\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libva-x11\""; } >&5 ($PKG_CONFIG --exists --print-errors "libva-x11") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBVA_X11_CFLAGS=`$PKG_CONFIG --cflags "libva-x11" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -40947,10 +42977,10 @@ pkg_cv_LIBVA_X11_LIBS="$LIBVA_X11_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libva-x11\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libva-x11\""; } >&5 ($PKG_CONFIG --exists --print-errors "libva-x11") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBVA_X11_LIBS=`$PKG_CONFIG --libs "libva-x11" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -40964,8 +42994,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -40981,38 +43011,38 @@ echo "$LIBVA_X11_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LIBVA_X11_PKG_ERRORS}." >&5 -$as_echo "$as_me: WARNING: ${LIBVA_X11_PKG_ERRORS}." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${LIBVA_X11_PKG_ERRORS}." >&5 +printf "%s\n" "$as_me: WARNING: ${LIBVA_X11_PKG_ERRORS}." >&2;} elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LIBVA_X11_PKG_ERRORS}." >&5 -$as_echo "$as_me: WARNING: ${LIBVA_X11_PKG_ERRORS}." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${LIBVA_X11_PKG_ERRORS}." >&5 +printf "%s\n" "$as_me: WARNING: ${LIBVA_X11_PKG_ERRORS}." >&2;} else LIBVA_X11_CFLAGS=$pkg_cv_LIBVA_X11_CFLAGS LIBVA_X11_LIBS=$pkg_cv_LIBVA_X11_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_vaapi_x11="yes" fi pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBVA_WL" >&5 -$as_echo_n "checking for LIBVA_WL... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBVA_WL" >&5 +printf %s "checking for LIBVA_WL... " >&6; } if test -n "$LIBVA_WL_CFLAGS"; then pkg_cv_LIBVA_WL_CFLAGS="$LIBVA_WL_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libva-wayland\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libva-wayland\""; } >&5 ($PKG_CONFIG --exists --print-errors "libva-wayland") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBVA_WL_CFLAGS=`$PKG_CONFIG --cflags "libva-wayland" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -41026,10 +43056,10 @@ pkg_cv_LIBVA_WL_LIBS="$LIBVA_WL_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libva-wayland\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libva-wayland\""; } >&5 ($PKG_CONFIG --exists --print-errors "libva-wayland") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBVA_WL_LIBS=`$PKG_CONFIG --libs "libva-wayland" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -41043,8 +43073,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -41060,21 +43090,21 @@ echo "$LIBVA_WL_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LIBVA_WL_PKG_ERRORS}." >&5 -$as_echo "$as_me: WARNING: ${LIBVA_WL_PKG_ERRORS}." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${LIBVA_WL_PKG_ERRORS}." >&5 +printf "%s\n" "$as_me: WARNING: ${LIBVA_WL_PKG_ERRORS}." >&2;} elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LIBVA_WL_PKG_ERRORS}." >&5 -$as_echo "$as_me: WARNING: ${LIBVA_WL_PKG_ERRORS}." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${LIBVA_WL_PKG_ERRORS}." >&5 +printf "%s\n" "$as_me: WARNING: ${LIBVA_WL_PKG_ERRORS}." >&2;} else LIBVA_WL_CFLAGS=$pkg_cv_LIBVA_WL_CFLAGS LIBVA_WL_LIBS=$pkg_cv_LIBVA_WL_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_vaapi_wl="yes" @@ -41123,72 +43153,74 @@ # Check whether --enable-dxva2 was given. -if test "${enable_dxva2+set}" = set; then : +if test ${enable_dxva2+y} +then : enableval=$enable_dxva2; fi have_avcodec_dxva2="no" -if test "${enable_dxva2}" != "no"; then : +if test "${enable_dxva2}" != "no" +then : if test "${SYS}" = "mingw32"; then - if test "x${have_avcodec}" = "xyes"; then : + if test "x${have_avcodec}" = "xyes" +then : - for ac_header in dxva2api.h + for ac_header in dxva2api.h do : ac_fn_c_check_header_compile "$LINENO" "dxva2api.h" "ac_cv_header_dxva2api_h" "#include " -if test "x$ac_cv_header_dxva2api_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_DXVA2API_H 1 -_ACEOF +if test "x$ac_cv_header_dxva2api_h" = xyes +then : + printf "%s\n" "#define HAVE_DXVA2API_H 1" >>confdefs.h - for ac_header in libavcodec/dxva2.h + for ac_header in libavcodec/dxva2.h do : ac_fn_c_check_header_compile "$LINENO" "libavcodec/dxva2.h" "ac_cv_header_libavcodec_dxva2_h" "#undef _WIN32_WINNT /* DXVA2 is only available in Vista and above */ #define _WIN32_WINNT 0x600 " -if test "x$ac_cv_header_libavcodec_dxva2_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBAVCODEC_DXVA2_H 1 -_ACEOF +if test "x$ac_cv_header_libavcodec_dxva2_h" = xyes +then : + printf "%s\n" "#define HAVE_LIBAVCODEC_DXVA2_H 1" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: DxVA2 acceleration activated" >&5 -$as_echo "$as_me: DxVA2 acceleration activated" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: DxVA2 acceleration activated" >&5 +printf "%s\n" "$as_me: DxVA2 acceleration activated" >&6;} have_avcodec_dxva2="yes" -else +else $as_nop - if test "${enable_dxva2}" = "yes"; then : + if test "${enable_dxva2}" = "yes" +then : as_fn_error $? "dxva2 is present but libavcodec/dxva2.h is missing" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dxva2 is present but libavcodec/dxva2.h is missing " >&5 -$as_echo "$as_me: WARNING: dxva2 is present but libavcodec/dxva2.h is missing " >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: dxva2 is present but libavcodec/dxva2.h is missing " >&5 +printf "%s\n" "$as_me: WARNING: dxva2 is present but libavcodec/dxva2.h is missing " >&2;} fi fi done +else $as_nop -else - - if test "${enable_dxva2}" = "yes"; then : + if test "${enable_dxva2}" = "yes" +then : as_fn_error $? "Could not find required dxva2api.h" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dxva2api.h not found" >&5 -$as_echo "$as_me: WARNING: dxva2api.h not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: dxva2api.h not found" >&5 +printf "%s\n" "$as_me: WARNING: dxva2api.h not found" >&2;} fi fi done +else $as_nop -else - - if test "x${enable_dxva2}" != "x"; then : + if test "x${enable_dxva2}" != "x" +then : as_fn_error $? "--enable-dxva2 and --disable-avcodec options are mutually exclusive." "$LINENO" 5 @@ -41208,96 +43240,98 @@ # Check whether --enable-d3d11va was given. -if test "${enable_d3d11va+set}" = set; then : +if test ${enable_d3d11va+y} +then : enableval=$enable_d3d11va; fi have_avcodec_d3d11va="no" -if test "${enable_d3d11va}" != "no"; then : +if test "${enable_d3d11va}" != "no" +then : if test "${SYS}" = "mingw32"; then - if test "x${have_avcodec}" = "xyes"; then : + if test "x${have_avcodec}" = "xyes" +then : ac_fn_c_check_type "$LINENO" "ID3D11VideoDecoder" "ac_cv_type_ID3D11VideoDecoder" "#include " -if test "x$ac_cv_type_ID3D11VideoDecoder" = xyes; then : +if test "x$ac_cv_type_ID3D11VideoDecoder" = xyes +then : -cat >>confdefs.h <<_ACEOF -#define HAVE_ID3D11VIDEODECODER 1 -_ACEOF +printf "%s\n" "#define HAVE_ID3D11VIDEODECODER 1" >>confdefs.h - for ac_header in dxva2api.h + for ac_header in dxva2api.h do : ac_fn_c_check_header_compile "$LINENO" "dxva2api.h" "ac_cv_header_dxva2api_h" "#include " -if test "x$ac_cv_header_dxva2api_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_DXVA2API_H 1 -_ACEOF +if test "x$ac_cv_header_dxva2api_h" = xyes +then : + printf "%s\n" "#define HAVE_DXVA2API_H 1" >>confdefs.h - for ac_header in libavcodec/d3d11va.h + for ac_header in libavcodec/d3d11va.h do : ac_fn_c_check_header_compile "$LINENO" "libavcodec/d3d11va.h" "ac_cv_header_libavcodec_d3d11va_h" "#undef _WIN32_WINNT /* D3D11 is only available in Vista and above */ #define _WIN32_WINNT 0x600 " -if test "x$ac_cv_header_libavcodec_d3d11va_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBAVCODEC_D3D11VA_H 1 -_ACEOF +if test "x$ac_cv_header_libavcodec_d3d11va_h" = xyes +then : + printf "%s\n" "#define HAVE_LIBAVCODEC_D3D11VA_H 1" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: D3D11 acceleration activated" >&5 -$as_echo "$as_me: D3D11 acceleration activated" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: D3D11 acceleration activated" >&5 +printf "%s\n" "$as_me: D3D11 acceleration activated" >&6;} -$as_echo "#define HAVE_AVCODEC_D3D11VA 1" >>confdefs.h +printf "%s\n" "#define HAVE_AVCODEC_D3D11VA 1" >>confdefs.h have_avcodec_d3d11va="yes" -else +else $as_nop - if test "${enable_d3d11va}" = "yes"; then : + if test "${enable_d3d11va}" = "yes" +then : as_fn_error $? "d3d11va is present but libavcodec/d3d11va.h is missing" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: d3d11va is present but libavcodec/d3d11va.h is missing " >&5 -$as_echo "$as_me: WARNING: d3d11va is present but libavcodec/d3d11va.h is missing " >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: d3d11va is present but libavcodec/d3d11va.h is missing " >&5 +printf "%s\n" "$as_me: WARNING: d3d11va is present but libavcodec/d3d11va.h is missing " >&2;} fi fi done +else $as_nop -else - - if test "${enable_d3d11va}" = "yes"; then : + if test "${enable_d3d11va}" = "yes" +then : as_fn_error $? "Could not find required dxva2api.h" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dxva2api.h not found" >&5 -$as_echo "$as_me: WARNING: dxva2api.h not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: dxva2api.h not found" >&5 +printf "%s\n" "$as_me: WARNING: dxva2api.h not found" >&2;} fi fi done +else $as_nop -else - - if test "${enable_d3d11va}" = "yes"; then : + if test "${enable_d3d11va}" = "yes" +then : as_fn_error $? "Could not find required ID3D11VideoDecoder in d3d11.h" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ID3D11VideoDecoder not found" >&5 -$as_echo "$as_me: WARNING: ID3D11VideoDecoder not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ID3D11VideoDecoder not found" >&5 +printf "%s\n" "$as_me: WARNING: ID3D11VideoDecoder not found" >&2;} fi fi -else +else $as_nop - if test "x${enable_d3d11va}" != "x"; then : + if test "x${enable_d3d11va}" != "x" +then : as_fn_error $? "--enable-d3d11va and --disable-avcodec options are mutually exclusive." "$LINENO" 5 @@ -41316,46 +43350,54 @@ fi -for ac_header in dxgidebug.h dxgi1_6.h d3d11_4.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF +ac_fn_c_check_header_compile "$LINENO" "dxgidebug.h" "ac_cv_header_dxgidebug_h" "$ac_includes_default" +if test "x$ac_cv_header_dxgidebug_h" = xyes +then : + printf "%s\n" "#define HAVE_DXGIDEBUG_H 1" >>confdefs.h + +fi +ac_fn_c_check_header_compile "$LINENO" "dxgi1_6.h" "ac_cv_header_dxgi1_6_h" "$ac_includes_default" +if test "x$ac_cv_header_dxgi1_6_h" = xyes +then : + printf "%s\n" "#define HAVE_DXGI1_6_H 1" >>confdefs.h + +fi +ac_fn_c_check_header_compile "$LINENO" "d3d11_4.h" "ac_cv_header_d3d11_4_h" "$ac_includes_default" +if test "x$ac_cv_header_d3d11_4_h" = xyes +then : + printf "%s\n" "#define HAVE_D3D11_4_H 1" >>confdefs.h fi -done - # Check whether --enable-avformat was given. -if test "${enable_avformat+set}" = set; then : +if test ${enable_avformat+y} +then : enableval=$enable_avformat; -else +else $as_nop enable_avformat="${have_avcodec}" fi have_avformat="no" -if test "${enable_avformat}" != "no"; then : +if test "${enable_avformat}" != "no" +then : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for AVFORMAT" >&5 -$as_echo_n "checking for AVFORMAT... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for AVFORMAT" >&5 +printf %s "checking for AVFORMAT... " >&6; } if test -n "$AVFORMAT_CFLAGS"; then pkg_cv_AVFORMAT_CFLAGS="$AVFORMAT_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavformat >= 53.21.0 libavcodec libavutil\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavformat >= 53.21.0 libavcodec libavutil\""; } >&5 ($PKG_CONFIG --exists --print-errors "libavformat >= 53.21.0 libavcodec libavutil") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_AVFORMAT_CFLAGS=`$PKG_CONFIG --cflags "libavformat >= 53.21.0 libavcodec libavutil" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -41369,10 +43411,10 @@ pkg_cv_AVFORMAT_LIBS="$AVFORMAT_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavformat >= 53.21.0 libavcodec libavutil\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavformat >= 53.21.0 libavcodec libavutil\""; } >&5 ($PKG_CONFIG --exists --print-errors "libavformat >= 53.21.0 libavcodec libavutil") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_AVFORMAT_LIBS=`$PKG_CONFIG --libs "libavformat >= 53.21.0 libavcodec libavutil" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -41386,8 +43428,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -41406,16 +43448,16 @@ as_fn_error $? "${AVFORMAT_PKG_ERRORS}. Pass --disable-avformat to ignore this error." "$LINENO" 5 elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } as_fn_error $? "${AVFORMAT_PKG_ERRORS}. Pass --disable-avformat to ignore this error." "$LINENO" 5 else AVFORMAT_CFLAGS=$pkg_cv_AVFORMAT_CFLAGS AVFORMAT_LIBS=$pkg_cv_AVFORMAT_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_avformat="yes" @@ -41428,44 +43470,35 @@ CPPFLAGS="${CPPFLAGS} ${AVFORMAT_CFLAGS}" CFLAGS="${CFLAGS} ${AVFORMAT_CFLAGS}" - for ac_header in libavformat/avformat.h libavformat/avio.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "libavformat/avformat.h" "ac_cv_header_libavformat_avformat_h" "$ac_includes_default" +if test "x$ac_cv_header_libavformat_avformat_h" = xyes +then : + printf "%s\n" "#define HAVE_LIBAVFORMAT_AVFORMAT_H 1" >>confdefs.h fi +ac_fn_c_check_header_compile "$LINENO" "libavformat/avio.h" "ac_cv_header_libavformat_avio_h" "$ac_includes_default" +if test "x$ac_cv_header_libavformat_avio_h" = xyes +then : + printf "%s\n" "#define HAVE_LIBAVFORMAT_AVIO_H 1" >>confdefs.h -done +fi - for ac_header in libavcodec/avcodec.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "libavcodec/avcodec.h" "ac_cv_header_libavcodec_avcodec_h" "$ac_includes_default" -if test "x$ac_cv_header_libavcodec_avcodec_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBAVCODEC_AVCODEC_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "libavcodec/avcodec.h" "ac_cv_header_libavcodec_avcodec_h" "$ac_includes_default" +if test "x$ac_cv_header_libavcodec_avcodec_h" = xyes +then : + printf "%s\n" "#define HAVE_LIBAVCODEC_AVCODEC_H 1" >>confdefs.h fi -done - - for ac_header in libavutil/avutil.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "libavutil/avutil.h" "ac_cv_header_libavutil_avutil_h" "$ac_includes_default" -if test "x$ac_cv_header_libavutil_avutil_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBAVUTIL_AVUTIL_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "libavutil/avutil.h" "ac_cv_header_libavutil_avutil_h" "$ac_includes_default" +if test "x$ac_cv_header_libavutil_avutil_h" = xyes +then : + printf "%s\n" "#define HAVE_LIBAVUTIL_AVUTIL_H 1" >>confdefs.h fi -done - - if test "$enable_merge_ffmpeg" = "no"; then : + if test "$enable_merge_ffmpeg" = "no" +then : have_avformat="no" @@ -41493,7 +43526,8 @@ # Check whether --enable-swscale was given. -if test "${enable_swscale+set}" = set; then : +if test ${enable_swscale+y} +then : enableval=$enable_swscale; fi @@ -41501,17 +43535,17 @@ then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SWSCALE" >&5 -$as_echo_n "checking for SWSCALE... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SWSCALE" >&5 +printf %s "checking for SWSCALE... " >&6; } if test -n "$SWSCALE_CFLAGS"; then pkg_cv_SWSCALE_CFLAGS="$SWSCALE_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libswscale\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libswscale\""; } >&5 ($PKG_CONFIG --exists --print-errors "libswscale") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SWSCALE_CFLAGS=`$PKG_CONFIG --cflags "libswscale" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -41525,10 +43559,10 @@ pkg_cv_SWSCALE_LIBS="$SWSCALE_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libswscale\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libswscale\""; } >&5 ($PKG_CONFIG --exists --print-errors "libswscale") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SWSCALE_LIBS=`$PKG_CONFIG --libs "libswscale" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -41542,8 +43576,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -41562,16 +43596,16 @@ as_fn_error $? "${SWSCALE_PKG_ERRORS}. Pass --disable-swscale to ignore this error. Proper software scaling and some video chroma conversion will be missing." "$LINENO" 5 elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } as_fn_error $? "${SWSCALE_PKG_ERRORS}. Pass --disable-swscale to ignore this error. Proper software scaling and some video chroma conversion will be missing." "$LINENO" 5 else SWSCALE_CFLAGS=$pkg_cv_SWSCALE_CFLAGS SWSCALE_LIBS=$pkg_cv_SWSCALE_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } CPPFLAGS_save="${CPPFLAGS}" @@ -41583,30 +43617,20 @@ CPPFLAGS="${CPPFLAGS} ${SWSCALE_CFLAGS}" CFLAGS="${CFLAGS} ${SWSCALE_CFLAGS}" - for ac_header in libswscale/swscale.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "libswscale/swscale.h" "ac_cv_header_libswscale_swscale_h" "$ac_includes_default" -if test "x$ac_cv_header_libswscale_swscale_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBSWSCALE_SWSCALE_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "libswscale/swscale.h" "ac_cv_header_libswscale_swscale_h" "$ac_includes_default" +if test "x$ac_cv_header_libswscale_swscale_h" = xyes +then : + printf "%s\n" "#define HAVE_LIBSWSCALE_SWSCALE_H 1" >>confdefs.h fi -done - - for ac_header in libavutil/avutil.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "libavutil/avutil.h" "ac_cv_header_libavutil_avutil_h" "$ac_includes_default" -if test "x$ac_cv_header_libavutil_avutil_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBAVUTIL_AVUTIL_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "libavutil/avutil.h" "ac_cv_header_libavutil_avutil_h" "$ac_includes_default" +if test "x$ac_cv_header_libavutil_avutil_h" = xyes +then : + printf "%s\n" "#define HAVE_LIBAVUTIL_AVUTIL_H 1" >>confdefs.h fi -done - LTLIBswscale=libswscale_plugin.la @@ -41625,7 +43649,8 @@ - if test -n "${ac_cv_ld_bsymbolic}"; then : + if test -n "${ac_cv_ld_bsymbolic}" +then : @@ -41649,7 +43674,8 @@ # Check whether --enable-postproc was given. -if test "${enable_postproc+set}" = set; then : +if test ${enable_postproc+y} +then : enableval=$enable_postproc; fi @@ -41657,17 +43683,17 @@ then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSTPROC" >&5 -$as_echo_n "checking for POSTPROC... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for POSTPROC" >&5 +printf %s "checking for POSTPROC... " >&6; } if test -n "$POSTPROC_CFLAGS"; then pkg_cv_POSTPROC_CFLAGS="$POSTPROC_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpostproc libavutil\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpostproc libavutil\""; } >&5 ($PKG_CONFIG --exists --print-errors "libpostproc libavutil") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_POSTPROC_CFLAGS=`$PKG_CONFIG --cflags "libpostproc libavutil" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -41681,10 +43707,10 @@ pkg_cv_POSTPROC_LIBS="$POSTPROC_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpostproc libavutil\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpostproc libavutil\""; } >&5 ($PKG_CONFIG --exists --print-errors "libpostproc libavutil") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_POSTPROC_LIBS=`$PKG_CONFIG --libs "libpostproc libavutil" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -41698,8 +43724,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -41715,21 +43741,21 @@ echo "$POSTPROC_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${POSTPROC_PKG_ERRORS}." >&5 -$as_echo "$as_me: WARNING: ${POSTPROC_PKG_ERRORS}." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${POSTPROC_PKG_ERRORS}." >&5 +printf "%s\n" "$as_me: WARNING: ${POSTPROC_PKG_ERRORS}." >&2;} elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${POSTPROC_PKG_ERRORS}." >&5 -$as_echo "$as_me: WARNING: ${POSTPROC_PKG_ERRORS}." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${POSTPROC_PKG_ERRORS}." >&5 +printf "%s\n" "$as_me: WARNING: ${POSTPROC_PKG_ERRORS}." >&2;} else POSTPROC_CFLAGS=$pkg_cv_POSTPROC_CFLAGS POSTPROC_LIBS=$pkg_cv_POSTPROC_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } CPPFLAGS_save="${CPPFLAGS}" @@ -41741,18 +43767,13 @@ CPPFLAGS="${CPPFLAGS} ${POSTPROC_CFLAGS}" CFLAGS="${CFLAGS} ${POSTPROC_CFLAGS}" - for ac_header in postproc/postprocess.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "postproc/postprocess.h" "ac_cv_header_postproc_postprocess_h" "$ac_includes_default" -if test "x$ac_cv_header_postproc_postprocess_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_POSTPROC_POSTPROCESS_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "postproc/postprocess.h" "ac_cv_header_postproc_postprocess_h" "$ac_includes_default" +if test "x$ac_cv_header_postproc_postprocess_h" = xyes +then : + printf "%s\n" "#define HAVE_POSTPROC_POSTPROCESS_H 1" >>confdefs.h fi -done - LTLIBpostproc=libpostproc_plugin.la @@ -41772,26 +43793,28 @@ fi # Check whether --enable-faad was given. -if test "${enable_faad+set}" = set; then : +if test ${enable_faad+y} +then : enableval=$enable_faad; fi have_faad="no" -if test "${enable_faad}" != "no"; then : +if test "${enable_faad}" != "no" +then : - for ac_header in neaacdec.h + for ac_header in neaacdec.h do : - ac_fn_c_check_header_mongrel "$LINENO" "neaacdec.h" "ac_cv_header_neaacdec_h" "$ac_includes_default" -if test "x$ac_cv_header_neaacdec_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_NEAACDEC_H 1 -_ACEOF - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NeAACDecOpen in -lfaad" >&5 -$as_echo_n "checking for NeAACDecOpen in -lfaad... " >&6; } -if ${ac_cv_lib_faad_NeAACDecOpen+:} false; then : - $as_echo_n "(cached) " >&6 -else + ac_fn_c_check_header_compile "$LINENO" "neaacdec.h" "ac_cv_header_neaacdec_h" "$ac_includes_default" +if test "x$ac_cv_header_neaacdec_h" = xyes +then : + printf "%s\n" "#define HAVE_NEAACDEC_H 1" >>confdefs.h + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for NeAACDecOpen in -lfaad" >&5 +printf %s "checking for NeAACDecOpen in -lfaad... " >&6; } +if test ${ac_cv_lib_faad_NeAACDecOpen+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lfaad $LIBM $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -41800,35 +43823,35 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char NeAACDecOpen (); int -main () +main (void) { return NeAACDecOpen (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_faad_NeAACDecOpen=yes -else +else $as_nop ac_cv_lib_faad_NeAACDecOpen=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_faad_NeAACDecOpen" >&5 -$as_echo "$ac_cv_lib_faad_NeAACDecOpen" >&6; } -if test "x$ac_cv_lib_faad_NeAACDecOpen" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_faad_NeAACDecOpen" >&5 +printf "%s\n" "$ac_cv_lib_faad_NeAACDecOpen" >&6; } +if test "x$ac_cv_lib_faad_NeAACDecOpen" = xyes +then : have_faad="yes" fi - if test "${have_faad}" = "yes"; then : + if test "${have_faad}" = "yes" +then : @@ -41843,16 +43866,17 @@ -else +else $as_nop - if test "${enable_faad}" = "yes"; then : + if test "${enable_faad}" = "yes" +then : as_fn_error $? "cannot find FAAD library" "$LINENO" 5 -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find FAAD library" >&5 -$as_echo "$as_me: WARNING: cannot find FAAD library" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot find FAAD library" >&5 +printf "%s\n" "$as_me: WARNING: cannot find FAAD library" >&2;} fi @@ -41862,7 +43886,6 @@ done - fi @@ -41882,9 +43905,10 @@ # Check whether --enable-aom was given. -if test "${enable_aom+set}" = set; then : +if test ${enable_aom+y} +then : enableval=$enable_aom; -else +else $as_nop enable_aom=auto fi @@ -41893,17 +43917,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for AOM" >&5 -$as_echo_n "checking for AOM... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for AOM" >&5 +printf %s "checking for AOM... " >&6; } if test -n "$AOM_CFLAGS"; then pkg_cv_AOM_CFLAGS="$AOM_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"aom\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"aom\""; } >&5 ($PKG_CONFIG --exists --print-errors "aom") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_AOM_CFLAGS=`$PKG_CONFIG --cflags "aom" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -41917,10 +43941,10 @@ pkg_cv_AOM_LIBS="$AOM_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"aom\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"aom\""; } >&5 ($PKG_CONFIG --exists --print-errors "aom") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_AOM_LIBS=`$PKG_CONFIG --libs "aom" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -41934,8 +43958,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -41950,28 +43974,30 @@ # Put the nasty error message in config.log where it belongs echo "$AOM_PKG_ERRORS" >&5 - if test x"$enable_aom" = "xyes"; then : + if test x"$enable_aom" = "xyes" +then : as_fn_error $? "Library aom needed for aom was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library aom needed for aom was not found" >&5 -$as_echo "$as_me: WARNING: Library aom needed for aom was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library aom needed for aom was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library aom needed for aom was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_aom" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_aom" = "xyes" +then : as_fn_error $? "Library aom needed for aom was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library aom needed for aom was not found" >&5 -$as_echo "$as_me: WARNING: Library aom needed for aom was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library aom needed for aom was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library aom needed for aom was not found" >&2;} fi else AOM_CFLAGS=$pkg_cv_AOM_CFLAGS AOM_LIBS=$pkg_cv_AOM_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBaom=libaom_plugin.la @@ -41993,17 +44019,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for AOM" >&5 -$as_echo_n "checking for AOM... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for AOM" >&5 +printf %s "checking for AOM... " >&6; } if test -n "$AOM_CFLAGS"; then pkg_cv_AOM_CFLAGS="$AOM_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"aom\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"aom\""; } >&5 ($PKG_CONFIG --exists --print-errors "aom") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_AOM_CFLAGS=`$PKG_CONFIG --cflags "aom" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -42017,10 +44043,10 @@ pkg_cv_AOM_LIBS="$AOM_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"aom\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"aom\""; } >&5 ($PKG_CONFIG --exists --print-errors "aom") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_AOM_LIBS=`$PKG_CONFIG --libs "aom" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -42034,8 +44060,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -42051,29 +44077,31 @@ echo "$AOM_PKG_ERRORS" >&5 enable_aom=no - if test x"$enable_aom" = "xyes"; then : + if test x"$enable_aom" = "xyes" +then : as_fn_error $? "Library aom needed for aom was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library aom needed for aom was not found" >&5 -$as_echo "$as_me: WARNING: Library aom needed for aom was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library aom needed for aom was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library aom needed for aom was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_aom=no - if test x"$enable_aom" = "xyes"; then : + if test x"$enable_aom" = "xyes" +then : as_fn_error $? "Library aom needed for aom was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library aom needed for aom was not found" >&5 -$as_echo "$as_me: WARNING: Library aom needed for aom was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library aom needed for aom was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library aom needed for aom was not found" >&2;} fi else AOM_CFLAGS=$pkg_cv_AOM_CFLAGS AOM_LIBS=$pkg_cv_AOM_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_aom=yes @@ -42127,9 +44155,10 @@ # Check whether --enable-dav1d was given. -if test "${enable_dav1d+set}" = set; then : +if test ${enable_dav1d+y} +then : enableval=$enable_dav1d; -else +else $as_nop enable_dav1d=auto fi @@ -42138,17 +44167,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DAV1D" >&5 -$as_echo_n "checking for DAV1D... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DAV1D" >&5 +printf %s "checking for DAV1D... " >&6; } if test -n "$DAV1D_CFLAGS"; then pkg_cv_DAV1D_CFLAGS="$DAV1D_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dav1d\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dav1d\""; } >&5 ($PKG_CONFIG --exists --print-errors "dav1d") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DAV1D_CFLAGS=`$PKG_CONFIG --cflags "dav1d" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -42162,10 +44191,10 @@ pkg_cv_DAV1D_LIBS="$DAV1D_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dav1d\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dav1d\""; } >&5 ($PKG_CONFIG --exists --print-errors "dav1d") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DAV1D_LIBS=`$PKG_CONFIG --libs "dav1d" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -42179,8 +44208,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -42195,28 +44224,30 @@ # Put the nasty error message in config.log where it belongs echo "$DAV1D_PKG_ERRORS" >&5 - if test x"$enable_dav1d" = "xyes"; then : + if test x"$enable_dav1d" = "xyes" +then : as_fn_error $? "Library dav1d needed for dav1d was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library dav1d needed for dav1d was not found" >&5 -$as_echo "$as_me: WARNING: Library dav1d needed for dav1d was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library dav1d needed for dav1d was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library dav1d needed for dav1d was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_dav1d" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_dav1d" = "xyes" +then : as_fn_error $? "Library dav1d needed for dav1d was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library dav1d needed for dav1d was not found" >&5 -$as_echo "$as_me: WARNING: Library dav1d needed for dav1d was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library dav1d needed for dav1d was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library dav1d needed for dav1d was not found" >&2;} fi else DAV1D_CFLAGS=$pkg_cv_DAV1D_CFLAGS DAV1D_LIBS=$pkg_cv_DAV1D_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBdav1d=libdav1d_plugin.la @@ -42238,17 +44269,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DAV1D" >&5 -$as_echo_n "checking for DAV1D... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DAV1D" >&5 +printf %s "checking for DAV1D... " >&6; } if test -n "$DAV1D_CFLAGS"; then pkg_cv_DAV1D_CFLAGS="$DAV1D_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dav1d\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dav1d\""; } >&5 ($PKG_CONFIG --exists --print-errors "dav1d") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DAV1D_CFLAGS=`$PKG_CONFIG --cflags "dav1d" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -42262,10 +44293,10 @@ pkg_cv_DAV1D_LIBS="$DAV1D_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dav1d\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dav1d\""; } >&5 ($PKG_CONFIG --exists --print-errors "dav1d") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DAV1D_LIBS=`$PKG_CONFIG --libs "dav1d" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -42279,8 +44310,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -42296,29 +44327,31 @@ echo "$DAV1D_PKG_ERRORS" >&5 enable_dav1d=no - if test x"$enable_dav1d" = "xyes"; then : + if test x"$enable_dav1d" = "xyes" +then : as_fn_error $? "Library dav1d needed for dav1d was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library dav1d needed for dav1d was not found" >&5 -$as_echo "$as_me: WARNING: Library dav1d needed for dav1d was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library dav1d needed for dav1d was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library dav1d needed for dav1d was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_dav1d=no - if test x"$enable_dav1d" = "xyes"; then : + if test x"$enable_dav1d" = "xyes" +then : as_fn_error $? "Library dav1d needed for dav1d was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library dav1d needed for dav1d was not found" >&5 -$as_echo "$as_me: WARNING: Library dav1d needed for dav1d was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library dav1d needed for dav1d was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library dav1d needed for dav1d was not found" >&2;} fi else DAV1D_CFLAGS=$pkg_cv_DAV1D_CFLAGS DAV1D_LIBS=$pkg_cv_DAV1D_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_dav1d=yes @@ -42356,25 +44389,27 @@ # Check whether --enable-vpx was given. -if test "${enable_vpx+set}" = set; then : +if test ${enable_vpx+y} +then : enableval=$enable_vpx; fi -if test "${enable_vpx}" != "no"; then : +if test "${enable_vpx}" != "no" +then : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for VPX" >&5 -$as_echo_n "checking for VPX... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for VPX" >&5 +printf %s "checking for VPX... " >&6; } if test -n "$VPX_CFLAGS"; then pkg_cv_VPX_CFLAGS="$VPX_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vpx >= 1.5.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vpx >= 1.5.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "vpx >= 1.5.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_VPX_CFLAGS=`$PKG_CONFIG --cflags "vpx >= 1.5.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -42388,10 +44423,10 @@ pkg_cv_VPX_LIBS="$VPX_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vpx >= 1.5.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vpx >= 1.5.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "vpx >= 1.5.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_VPX_LIBS=`$PKG_CONFIG --libs "vpx >= 1.5.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -42405,8 +44440,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -42422,16 +44457,18 @@ echo "$VPX_PKG_ERRORS" >&5 - if test "${enable_vpx}" = "yes"; then : + if test "${enable_vpx}" = "yes" +then : as_fn_error $? "libvpx 1.5.0 or higher was not found" "$LINENO" 5 fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - if test "${enable_vpx}" = "yes"; then : + if test "${enable_vpx}" = "yes" +then : as_fn_error $? "libvpx 1.5.0 or higher was not found" "$LINENO" 5 @@ -42439,8 +44476,8 @@ else VPX_CFLAGS=$pkg_cv_VPX_CFLAGS VPX_LIBS=$pkg_cv_VPX_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } @@ -42460,11 +44497,12 @@ - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vpx_codec_vp8_dx in -lvpx" >&5 -$as_echo_n "checking for vpx_codec_vp8_dx in -lvpx... " >&6; } -if ${ac_cv_lib_vpx_vpx_codec_vp8_dx+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vpx_codec_vp8_dx in -lvpx" >&5 +printf %s "checking for vpx_codec_vp8_dx in -lvpx... " >&6; } +if test ${ac_cv_lib_vpx_vpx_codec_vp8_dx+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lvpx ${VPX_LIBS} $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -42473,30 +44511,29 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char vpx_codec_vp8_dx (); int -main () +main (void) { return vpx_codec_vp8_dx (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_vpx_vpx_codec_vp8_dx=yes -else +else $as_nop ac_cv_lib_vpx_vpx_codec_vp8_dx=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vpx_vpx_codec_vp8_dx" >&5 -$as_echo "$ac_cv_lib_vpx_vpx_codec_vp8_dx" >&6; } -if test "x$ac_cv_lib_vpx_vpx_codec_vp8_dx" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vpx_vpx_codec_vp8_dx" >&5 +printf "%s\n" "$ac_cv_lib_vpx_vpx_codec_vp8_dx" >&6; } +if test "x$ac_cv_lib_vpx_vpx_codec_vp8_dx" = xyes +then : @@ -42507,11 +44544,12 @@ fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vpx_codec_vp9_dx in -lvpx" >&5 -$as_echo_n "checking for vpx_codec_vp9_dx in -lvpx... " >&6; } -if ${ac_cv_lib_vpx_vpx_codec_vp9_dx+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vpx_codec_vp9_dx in -lvpx" >&5 +printf %s "checking for vpx_codec_vp9_dx in -lvpx... " >&6; } +if test ${ac_cv_lib_vpx_vpx_codec_vp9_dx+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lvpx ${VPX_LIBS} $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -42520,30 +44558,29 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char vpx_codec_vp9_dx (); int -main () +main (void) { return vpx_codec_vp9_dx (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_vpx_vpx_codec_vp9_dx=yes -else +else $as_nop ac_cv_lib_vpx_vpx_codec_vp9_dx=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vpx_vpx_codec_vp9_dx" >&5 -$as_echo "$ac_cv_lib_vpx_vpx_codec_vp9_dx" >&6; } -if test "x$ac_cv_lib_vpx_vpx_codec_vp9_dx" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vpx_vpx_codec_vp9_dx" >&5 +printf "%s\n" "$ac_cv_lib_vpx_vpx_codec_vp9_dx" >&6; } +if test "x$ac_cv_lib_vpx_vpx_codec_vp9_dx" = xyes +then : @@ -42554,11 +44591,12 @@ fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vpx_codec_vp8_cx in -lvpx" >&5 -$as_echo_n "checking for vpx_codec_vp8_cx in -lvpx... " >&6; } -if ${ac_cv_lib_vpx_vpx_codec_vp8_cx+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vpx_codec_vp8_cx in -lvpx" >&5 +printf %s "checking for vpx_codec_vp8_cx in -lvpx... " >&6; } +if test ${ac_cv_lib_vpx_vpx_codec_vp8_cx+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lvpx ${VPX_LIBS} $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -42567,30 +44605,29 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char vpx_codec_vp8_cx (); int -main () +main (void) { return vpx_codec_vp8_cx (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_vpx_vpx_codec_vp8_cx=yes -else +else $as_nop ac_cv_lib_vpx_vpx_codec_vp8_cx=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vpx_vpx_codec_vp8_cx" >&5 -$as_echo "$ac_cv_lib_vpx_vpx_codec_vp8_cx" >&6; } -if test "x$ac_cv_lib_vpx_vpx_codec_vp8_cx" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vpx_vpx_codec_vp8_cx" >&5 +printf "%s\n" "$ac_cv_lib_vpx_vpx_codec_vp8_cx" >&6; } +if test "x$ac_cv_lib_vpx_vpx_codec_vp8_cx" = xyes +then : @@ -42601,11 +44638,12 @@ fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vpx_codec_vp9_cx in -lvpx" >&5 -$as_echo_n "checking for vpx_codec_vp9_cx in -lvpx... " >&6; } -if ${ac_cv_lib_vpx_vpx_codec_vp9_cx+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vpx_codec_vp9_cx in -lvpx" >&5 +printf %s "checking for vpx_codec_vp9_cx in -lvpx... " >&6; } +if test ${ac_cv_lib_vpx_vpx_codec_vp9_cx+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lvpx ${VPX_LIBS} $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -42614,30 +44652,29 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char vpx_codec_vp9_cx (); int -main () +main (void) { return vpx_codec_vp9_cx (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_vpx_vpx_codec_vp9_cx=yes -else +else $as_nop ac_cv_lib_vpx_vpx_codec_vp9_cx=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vpx_vpx_codec_vp9_cx" >&5 -$as_echo "$ac_cv_lib_vpx_vpx_codec_vp9_cx" >&6; } -if test "x$ac_cv_lib_vpx_vpx_codec_vp9_cx" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vpx_vpx_codec_vp9_cx" >&5 +printf "%s\n" "$ac_cv_lib_vpx_vpx_codec_vp9_cx" >&6; } +if test "x$ac_cv_lib_vpx_vpx_codec_vp9_cx" = xyes +then : @@ -42670,9 +44707,10 @@ # Check whether --enable-twolame was given. -if test "${enable_twolame+set}" = set; then : +if test ${enable_twolame+y} +then : enableval=$enable_twolame; -else +else $as_nop enable_twolame=auto fi @@ -42681,17 +44719,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TWOLAME" >&5 -$as_echo_n "checking for TWOLAME... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TWOLAME" >&5 +printf %s "checking for TWOLAME... " >&6; } if test -n "$TWOLAME_CFLAGS"; then pkg_cv_TWOLAME_CFLAGS="$TWOLAME_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"twolame\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"twolame\""; } >&5 ($PKG_CONFIG --exists --print-errors "twolame") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_TWOLAME_CFLAGS=`$PKG_CONFIG --cflags "twolame" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -42705,10 +44743,10 @@ pkg_cv_TWOLAME_LIBS="$TWOLAME_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"twolame\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"twolame\""; } >&5 ($PKG_CONFIG --exists --print-errors "twolame") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_TWOLAME_LIBS=`$PKG_CONFIG --libs "twolame" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -42722,8 +44760,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -42738,28 +44776,30 @@ # Put the nasty error message in config.log where it belongs echo "$TWOLAME_PKG_ERRORS" >&5 - if test x"$enable_twolame" = "xyes"; then : + if test x"$enable_twolame" = "xyes" +then : as_fn_error $? "Library twolame needed for twolame was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library twolame needed for twolame was not found" >&5 -$as_echo "$as_me: WARNING: Library twolame needed for twolame was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library twolame needed for twolame was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library twolame needed for twolame was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_twolame" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_twolame" = "xyes" +then : as_fn_error $? "Library twolame needed for twolame was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library twolame needed for twolame was not found" >&5 -$as_echo "$as_me: WARNING: Library twolame needed for twolame was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library twolame needed for twolame was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library twolame needed for twolame was not found" >&2;} fi else TWOLAME_CFLAGS=$pkg_cv_TWOLAME_CFLAGS TWOLAME_LIBS=$pkg_cv_TWOLAME_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBtwolame=libtwolame_plugin.la @@ -42786,17 +44826,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TWOLAME" >&5 -$as_echo_n "checking for TWOLAME... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TWOLAME" >&5 +printf %s "checking for TWOLAME... " >&6; } if test -n "$TWOLAME_CFLAGS"; then pkg_cv_TWOLAME_CFLAGS="$TWOLAME_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"twolame\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"twolame\""; } >&5 ($PKG_CONFIG --exists --print-errors "twolame") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_TWOLAME_CFLAGS=`$PKG_CONFIG --cflags "twolame" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -42810,10 +44850,10 @@ pkg_cv_TWOLAME_LIBS="$TWOLAME_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"twolame\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"twolame\""; } >&5 ($PKG_CONFIG --exists --print-errors "twolame") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_TWOLAME_LIBS=`$PKG_CONFIG --libs "twolame" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -42827,8 +44867,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -42844,29 +44884,31 @@ echo "$TWOLAME_PKG_ERRORS" >&5 enable_twolame=no - if test x"$enable_twolame" = "xyes"; then : + if test x"$enable_twolame" = "xyes" +then : as_fn_error $? "Library twolame needed for twolame was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library twolame needed for twolame was not found" >&5 -$as_echo "$as_me: WARNING: Library twolame needed for twolame was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library twolame needed for twolame was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library twolame needed for twolame was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_twolame=no - if test x"$enable_twolame" = "xyes"; then : + if test x"$enable_twolame" = "xyes" +then : as_fn_error $? "Library twolame needed for twolame was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library twolame needed for twolame was not found" >&5 -$as_echo "$as_me: WARNING: Library twolame needed for twolame was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library twolame needed for twolame was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library twolame needed for twolame was not found" >&2;} fi else TWOLAME_CFLAGS=$pkg_cv_TWOLAME_CFLAGS TWOLAME_LIBS=$pkg_cv_TWOLAME_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_twolame=yes @@ -42925,9 +44967,10 @@ # Check whether --enable-fdkaac was given. -if test "${enable_fdkaac+set}" = set; then : +if test ${enable_fdkaac+y} +then : enableval=$enable_fdkaac; -else +else $as_nop enable_fdkaac=disabled fi @@ -42936,17 +44979,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FDKAAC" >&5 -$as_echo_n "checking for FDKAAC... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FDKAAC" >&5 +printf %s "checking for FDKAAC... " >&6; } if test -n "$FDKAAC_CFLAGS"; then pkg_cv_FDKAAC_CFLAGS="$FDKAAC_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fdk-aac\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fdk-aac\""; } >&5 ($PKG_CONFIG --exists --print-errors "fdk-aac") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_FDKAAC_CFLAGS=`$PKG_CONFIG --cflags "fdk-aac" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -42960,10 +45003,10 @@ pkg_cv_FDKAAC_LIBS="$FDKAAC_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fdk-aac\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fdk-aac\""; } >&5 ($PKG_CONFIG --exists --print-errors "fdk-aac") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_FDKAAC_LIBS=`$PKG_CONFIG --libs "fdk-aac" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -42977,8 +45020,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -42993,28 +45036,30 @@ # Put the nasty error message in config.log where it belongs echo "$FDKAAC_PKG_ERRORS" >&5 - if test x"$enable_fdkaac" = "xyes"; then : + if test x"$enable_fdkaac" = "xyes" +then : as_fn_error $? "Library fdk-aac needed for fdkaac was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library fdk-aac needed for fdkaac was not found" >&5 -$as_echo "$as_me: WARNING: Library fdk-aac needed for fdkaac was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library fdk-aac needed for fdkaac was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library fdk-aac needed for fdkaac was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_fdkaac" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_fdkaac" = "xyes" +then : as_fn_error $? "Library fdk-aac needed for fdkaac was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library fdk-aac needed for fdkaac was not found" >&5 -$as_echo "$as_me: WARNING: Library fdk-aac needed for fdkaac was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library fdk-aac needed for fdkaac was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library fdk-aac needed for fdkaac was not found" >&2;} fi else FDKAAC_CFLAGS=$pkg_cv_FDKAAC_CFLAGS FDKAAC_LIBS=$pkg_cv_FDKAAC_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBfdkaac=libfdkaac_plugin.la @@ -43036,17 +45081,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FDKAAC" >&5 -$as_echo_n "checking for FDKAAC... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FDKAAC" >&5 +printf %s "checking for FDKAAC... " >&6; } if test -n "$FDKAAC_CFLAGS"; then pkg_cv_FDKAAC_CFLAGS="$FDKAAC_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fdk-aac\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fdk-aac\""; } >&5 ($PKG_CONFIG --exists --print-errors "fdk-aac") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_FDKAAC_CFLAGS=`$PKG_CONFIG --cflags "fdk-aac" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -43060,10 +45105,10 @@ pkg_cv_FDKAAC_LIBS="$FDKAAC_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fdk-aac\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fdk-aac\""; } >&5 ($PKG_CONFIG --exists --print-errors "fdk-aac") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_FDKAAC_LIBS=`$PKG_CONFIG --libs "fdk-aac" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -43077,8 +45122,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -43094,29 +45139,31 @@ echo "$FDKAAC_PKG_ERRORS" >&5 enable_fdkaac=no - if test x"$enable_fdkaac" = "xyes"; then : + if test x"$enable_fdkaac" = "xyes" +then : as_fn_error $? "Library fdk-aac needed for fdkaac was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library fdk-aac needed for fdkaac was not found" >&5 -$as_echo "$as_me: WARNING: Library fdk-aac needed for fdkaac was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library fdk-aac needed for fdkaac was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library fdk-aac needed for fdkaac was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_fdkaac=no - if test x"$enable_fdkaac" = "xyes"; then : + if test x"$enable_fdkaac" = "xyes" +then : as_fn_error $? "Library fdk-aac needed for fdkaac was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library fdk-aac needed for fdkaac was not found" >&5 -$as_echo "$as_me: WARNING: Library fdk-aac needed for fdkaac was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library fdk-aac needed for fdkaac was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library fdk-aac needed for fdkaac was not found" >&2;} fi else FDKAAC_CFLAGS=$pkg_cv_FDKAAC_CFLAGS FDKAAC_LIBS=$pkg_cv_FDKAAC_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_fdkaac=yes @@ -43155,7 +45202,8 @@ # Check whether --enable-a52 was given. -if test "${enable_a52+set}" = set; then : +if test ${enable_a52+y} +then : enableval=$enable_a52; fi @@ -43163,7 +45211,8 @@ then # Check whether --with-a52 was given. -if test "${with_a52+set}" = set; then : +if test ${with_a52+y} +then : withval=$with_a52; fi @@ -43185,19 +45234,19 @@ CPPFLAGS="${CPPFLAGS} ${CPPFLAGS_test} ${CPPFLAGS_a52}" LDFLAGS="${LDFLAGS} ${LDFLAGS_test} ${LIBS_a52}" - for ac_header in a52dec/a52.h + for ac_header in a52dec/a52.h do : - ac_fn_c_check_header_mongrel "$LINENO" "a52dec/a52.h" "ac_cv_header_a52dec_a52_h" "$ac_includes_default" -if test "x$ac_cv_header_a52dec_a52_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_A52DEC_A52_H 1 -_ACEOF - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a52_free in -la52" >&5 -$as_echo_n "checking for a52_free in -la52... " >&6; } -if ${ac_cv_lib_a52_a52_free+:} false; then : - $as_echo_n "(cached) " >&6 -else + ac_fn_c_check_header_compile "$LINENO" "a52dec/a52.h" "ac_cv_header_a52dec_a52_h" "$ac_includes_default" +if test "x$ac_cv_header_a52dec_a52_h" = xyes +then : + printf "%s\n" "#define HAVE_A52DEC_A52_H 1" >>confdefs.h + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a52_free in -la52" >&5 +printf %s "checking for a52_free in -la52... " >&6; } +if test ${ac_cv_lib_a52_a52_free+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-la52 $LIBM $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -43206,30 +45255,29 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char a52_free (); int -main () +main (void) { return a52_free (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_a52_a52_free=yes -else +else $as_nop ac_cv_lib_a52_a52_free=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_a52_a52_free" >&5 -$as_echo "$ac_cv_lib_a52_a52_free" >&6; } -if test "x$ac_cv_lib_a52_a52_free" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_a52_a52_free" >&5 +printf "%s\n" "$ac_cv_lib_a52_a52_free" >&6; } +if test "x$ac_cv_lib_a52_a52_free" = xyes +then : @@ -43250,14 +45298,14 @@ -else +else $as_nop as_fn_error $? "Could not find liba52 on your system: you may get it from http://liba52.sf.net/. Alternatively you can use --disable-a52 to disable the a52 plugin." "$LINENO" 5 fi -else +else $as_nop as_fn_error $? "Could not find liba52 on your system: you may get it from http://liba52.sf.net/. Alternatively you can use --disable-a52 to disable the a52 plugin." "$LINENO" 5 @@ -43265,7 +45313,6 @@ done - CPPFLAGS="${CPPFLAGS_save}" CFLAGS="${CFLAGS_save}" CXXFLAGS="${CXXFLAGS_save}" @@ -43292,9 +45339,10 @@ # Check whether --enable-dca was given. -if test "${enable_dca+set}" = set; then : +if test ${enable_dca+y} +then : enableval=$enable_dca; -else +else $as_nop enable_dca=disabled fi @@ -43303,17 +45351,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DCA" >&5 -$as_echo_n "checking for DCA... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DCA" >&5 +printf %s "checking for DCA... " >&6; } if test -n "$DCA_CFLAGS"; then pkg_cv_DCA_CFLAGS="$DCA_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdca >= 0.0.5\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdca >= 0.0.5\""; } >&5 ($PKG_CONFIG --exists --print-errors "libdca >= 0.0.5") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DCA_CFLAGS=`$PKG_CONFIG --cflags "libdca >= 0.0.5" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -43327,10 +45375,10 @@ pkg_cv_DCA_LIBS="$DCA_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdca >= 0.0.5\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdca >= 0.0.5\""; } >&5 ($PKG_CONFIG --exists --print-errors "libdca >= 0.0.5") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DCA_LIBS=`$PKG_CONFIG --libs "libdca >= 0.0.5" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -43344,8 +45392,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -43360,28 +45408,30 @@ # Put the nasty error message in config.log where it belongs echo "$DCA_PKG_ERRORS" >&5 - if test x"$enable_dca" = "xyes"; then : + if test x"$enable_dca" = "xyes" +then : as_fn_error $? "Library libdca >= 0.0.5 needed for dca was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libdca >= 0.0.5 needed for dca was not found" >&5 -$as_echo "$as_me: WARNING: Library libdca >= 0.0.5 needed for dca was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libdca >= 0.0.5 needed for dca was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libdca >= 0.0.5 needed for dca was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_dca" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_dca" = "xyes" +then : as_fn_error $? "Library libdca >= 0.0.5 needed for dca was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libdca >= 0.0.5 needed for dca was not found" >&5 -$as_echo "$as_me: WARNING: Library libdca >= 0.0.5 needed for dca was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libdca >= 0.0.5 needed for dca was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libdca >= 0.0.5 needed for dca was not found" >&2;} fi else DCA_CFLAGS=$pkg_cv_DCA_CFLAGS DCA_LIBS=$pkg_cv_DCA_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBdca=libdca_plugin.la @@ -43403,17 +45453,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DCA" >&5 -$as_echo_n "checking for DCA... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DCA" >&5 +printf %s "checking for DCA... " >&6; } if test -n "$DCA_CFLAGS"; then pkg_cv_DCA_CFLAGS="$DCA_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdca >= 0.0.5\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdca >= 0.0.5\""; } >&5 ($PKG_CONFIG --exists --print-errors "libdca >= 0.0.5") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DCA_CFLAGS=`$PKG_CONFIG --cflags "libdca >= 0.0.5" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -43427,10 +45477,10 @@ pkg_cv_DCA_LIBS="$DCA_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdca >= 0.0.5\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdca >= 0.0.5\""; } >&5 ($PKG_CONFIG --exists --print-errors "libdca >= 0.0.5") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DCA_LIBS=`$PKG_CONFIG --libs "libdca >= 0.0.5" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -43444,8 +45494,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -43461,29 +45511,31 @@ echo "$DCA_PKG_ERRORS" >&5 enable_dca=no - if test x"$enable_dca" = "xyes"; then : + if test x"$enable_dca" = "xyes" +then : as_fn_error $? "Library libdca >= 0.0.5 needed for dca was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libdca >= 0.0.5 needed for dca was not found" >&5 -$as_echo "$as_me: WARNING: Library libdca >= 0.0.5 needed for dca was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libdca >= 0.0.5 needed for dca was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libdca >= 0.0.5 needed for dca was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_dca=no - if test x"$enable_dca" = "xyes"; then : + if test x"$enable_dca" = "xyes" +then : as_fn_error $? "Library libdca >= 0.0.5 needed for dca was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libdca >= 0.0.5 needed for dca was not found" >&5 -$as_echo "$as_me: WARNING: Library libdca >= 0.0.5 needed for dca was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libdca >= 0.0.5 needed for dca was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libdca >= 0.0.5 needed for dca was not found" >&2;} fi else DCA_CFLAGS=$pkg_cv_DCA_CFLAGS DCA_LIBS=$pkg_cv_DCA_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_dca=yes @@ -43537,9 +45589,10 @@ # Check whether --enable-flac was given. -if test "${enable_flac+set}" = set; then : +if test ${enable_flac+y} +then : enableval=$enable_flac; -else +else $as_nop enable_flac=auto fi @@ -43548,17 +45601,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FLAC" >&5 -$as_echo_n "checking for FLAC... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FLAC" >&5 +printf %s "checking for FLAC... " >&6; } if test -n "$FLAC_CFLAGS"; then pkg_cv_FLAC_CFLAGS="$FLAC_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"flac\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"flac\""; } >&5 ($PKG_CONFIG --exists --print-errors "flac") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_FLAC_CFLAGS=`$PKG_CONFIG --cflags "flac" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -43572,10 +45625,10 @@ pkg_cv_FLAC_LIBS="$FLAC_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"flac\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"flac\""; } >&5 ($PKG_CONFIG --exists --print-errors "flac") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_FLAC_LIBS=`$PKG_CONFIG --libs "flac" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -43589,8 +45642,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -43605,28 +45658,30 @@ # Put the nasty error message in config.log where it belongs echo "$FLAC_PKG_ERRORS" >&5 - if test x"$enable_flac" = "xyes"; then : + if test x"$enable_flac" = "xyes" +then : as_fn_error $? "Library flac needed for flac was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library flac needed for flac was not found" >&5 -$as_echo "$as_me: WARNING: Library flac needed for flac was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library flac needed for flac was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library flac needed for flac was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_flac" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_flac" = "xyes" +then : as_fn_error $? "Library flac needed for flac was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library flac needed for flac was not found" >&5 -$as_echo "$as_me: WARNING: Library flac needed for flac was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library flac needed for flac was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library flac needed for flac was not found" >&2;} fi else FLAC_CFLAGS=$pkg_cv_FLAC_CFLAGS FLAC_LIBS=$pkg_cv_FLAC_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBflac=libflac_plugin.la @@ -43648,17 +45703,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FLAC" >&5 -$as_echo_n "checking for FLAC... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FLAC" >&5 +printf %s "checking for FLAC... " >&6; } if test -n "$FLAC_CFLAGS"; then pkg_cv_FLAC_CFLAGS="$FLAC_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"flac\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"flac\""; } >&5 ($PKG_CONFIG --exists --print-errors "flac") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_FLAC_CFLAGS=`$PKG_CONFIG --cflags "flac" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -43672,10 +45727,10 @@ pkg_cv_FLAC_LIBS="$FLAC_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"flac\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"flac\""; } >&5 ($PKG_CONFIG --exists --print-errors "flac") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_FLAC_LIBS=`$PKG_CONFIG --libs "flac" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -43689,8 +45744,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -43706,29 +45761,31 @@ echo "$FLAC_PKG_ERRORS" >&5 enable_flac=no - if test x"$enable_flac" = "xyes"; then : + if test x"$enable_flac" = "xyes" +then : as_fn_error $? "Library flac needed for flac was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library flac needed for flac was not found" >&5 -$as_echo "$as_me: WARNING: Library flac needed for flac was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library flac needed for flac was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library flac needed for flac was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_flac=no - if test x"$enable_flac" = "xyes"; then : + if test x"$enable_flac" = "xyes" +then : as_fn_error $? "Library flac needed for flac was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library flac needed for flac was not found" >&5 -$as_echo "$as_me: WARNING: Library flac needed for flac was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library flac needed for flac was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library flac needed for flac was not found" >&2;} fi else FLAC_CFLAGS=$pkg_cv_FLAC_CFLAGS FLAC_LIBS=$pkg_cv_FLAC_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_flac=yes @@ -43782,9 +45839,10 @@ # Check whether --enable-libmpeg2 was given. -if test "${enable_libmpeg2+set}" = set; then : +if test ${enable_libmpeg2+y} +then : enableval=$enable_libmpeg2; -else +else $as_nop enable_libmpeg2=disabled fi @@ -43793,17 +45851,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBMPEG2" >&5 -$as_echo_n "checking for LIBMPEG2... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBMPEG2" >&5 +printf %s "checking for LIBMPEG2... " >&6; } if test -n "$LIBMPEG2_CFLAGS"; then pkg_cv_LIBMPEG2_CFLAGS="$LIBMPEG2_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmpeg2 > 0.3.2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmpeg2 > 0.3.2\""; } >&5 ($PKG_CONFIG --exists --print-errors "libmpeg2 > 0.3.2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBMPEG2_CFLAGS=`$PKG_CONFIG --cflags "libmpeg2 > 0.3.2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -43817,10 +45875,10 @@ pkg_cv_LIBMPEG2_LIBS="$LIBMPEG2_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmpeg2 > 0.3.2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmpeg2 > 0.3.2\""; } >&5 ($PKG_CONFIG --exists --print-errors "libmpeg2 > 0.3.2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBMPEG2_LIBS=`$PKG_CONFIG --libs "libmpeg2 > 0.3.2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -43834,8 +45892,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -43850,28 +45908,30 @@ # Put the nasty error message in config.log where it belongs echo "$LIBMPEG2_PKG_ERRORS" >&5 - if test x"$enable_libmpeg2" = "xyes"; then : + if test x"$enable_libmpeg2" = "xyes" +then : as_fn_error $? "Library libmpeg2 > 0.3.2 needed for libmpeg2 was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libmpeg2 > 0.3.2 needed for libmpeg2 was not found" >&5 -$as_echo "$as_me: WARNING: Library libmpeg2 > 0.3.2 needed for libmpeg2 was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libmpeg2 > 0.3.2 needed for libmpeg2 was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libmpeg2 > 0.3.2 needed for libmpeg2 was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_libmpeg2" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_libmpeg2" = "xyes" +then : as_fn_error $? "Library libmpeg2 > 0.3.2 needed for libmpeg2 was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libmpeg2 > 0.3.2 needed for libmpeg2 was not found" >&5 -$as_echo "$as_me: WARNING: Library libmpeg2 > 0.3.2 needed for libmpeg2 was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libmpeg2 > 0.3.2 needed for libmpeg2 was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libmpeg2 > 0.3.2 needed for libmpeg2 was not found" >&2;} fi else LIBMPEG2_CFLAGS=$pkg_cv_LIBMPEG2_CFLAGS LIBMPEG2_LIBS=$pkg_cv_LIBMPEG2_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBlibmpeg2=liblibmpeg2_plugin.la @@ -43893,17 +45953,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBMPEG2" >&5 -$as_echo_n "checking for LIBMPEG2... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBMPEG2" >&5 +printf %s "checking for LIBMPEG2... " >&6; } if test -n "$LIBMPEG2_CFLAGS"; then pkg_cv_LIBMPEG2_CFLAGS="$LIBMPEG2_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmpeg2 > 0.3.2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmpeg2 > 0.3.2\""; } >&5 ($PKG_CONFIG --exists --print-errors "libmpeg2 > 0.3.2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBMPEG2_CFLAGS=`$PKG_CONFIG --cflags "libmpeg2 > 0.3.2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -43917,10 +45977,10 @@ pkg_cv_LIBMPEG2_LIBS="$LIBMPEG2_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmpeg2 > 0.3.2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmpeg2 > 0.3.2\""; } >&5 ($PKG_CONFIG --exists --print-errors "libmpeg2 > 0.3.2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBMPEG2_LIBS=`$PKG_CONFIG --libs "libmpeg2 > 0.3.2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -43934,8 +45994,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -43951,29 +46011,31 @@ echo "$LIBMPEG2_PKG_ERRORS" >&5 enable_libmpeg2=no - if test x"$enable_libmpeg2" = "xyes"; then : + if test x"$enable_libmpeg2" = "xyes" +then : as_fn_error $? "Library libmpeg2 > 0.3.2 needed for libmpeg2 was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libmpeg2 > 0.3.2 needed for libmpeg2 was not found" >&5 -$as_echo "$as_me: WARNING: Library libmpeg2 > 0.3.2 needed for libmpeg2 was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libmpeg2 > 0.3.2 needed for libmpeg2 was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libmpeg2 > 0.3.2 needed for libmpeg2 was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_libmpeg2=no - if test x"$enable_libmpeg2" = "xyes"; then : + if test x"$enable_libmpeg2" = "xyes" +then : as_fn_error $? "Library libmpeg2 > 0.3.2 needed for libmpeg2 was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libmpeg2 > 0.3.2 needed for libmpeg2 was not found" >&5 -$as_echo "$as_me: WARNING: Library libmpeg2 > 0.3.2 needed for libmpeg2 was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libmpeg2 > 0.3.2 needed for libmpeg2 was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libmpeg2 > 0.3.2 needed for libmpeg2 was not found" >&2;} fi else LIBMPEG2_CFLAGS=$pkg_cv_LIBMPEG2_CFLAGS LIBMPEG2_LIBS=$pkg_cv_LIBMPEG2_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_libmpeg2=yes @@ -44027,9 +46089,10 @@ # Check whether --enable-vorbis was given. -if test "${enable_vorbis+set}" = set; then : +if test ${enable_vorbis+y} +then : enableval=$enable_vorbis; -else +else $as_nop enable_vorbis=auto fi @@ -44038,17 +46101,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for VORBIS" >&5 -$as_echo_n "checking for VORBIS... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for VORBIS" >&5 +printf %s "checking for VORBIS... " >&6; } if test -n "$VORBIS_CFLAGS"; then pkg_cv_VORBIS_CFLAGS="$VORBIS_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg vorbis >= 1.1 vorbisenc >= 1.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg vorbis >= 1.1 vorbisenc >= 1.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "ogg vorbis >= 1.1 vorbisenc >= 1.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_VORBIS_CFLAGS=`$PKG_CONFIG --cflags "ogg vorbis >= 1.1 vorbisenc >= 1.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -44062,10 +46125,10 @@ pkg_cv_VORBIS_LIBS="$VORBIS_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg vorbis >= 1.1 vorbisenc >= 1.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg vorbis >= 1.1 vorbisenc >= 1.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "ogg vorbis >= 1.1 vorbisenc >= 1.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_VORBIS_LIBS=`$PKG_CONFIG --libs "ogg vorbis >= 1.1 vorbisenc >= 1.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -44079,8 +46142,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -44095,28 +46158,30 @@ # Put the nasty error message in config.log where it belongs echo "$VORBIS_PKG_ERRORS" >&5 - if test x"$enable_vorbis" = "xyes"; then : + if test x"$enable_vorbis" = "xyes" +then : as_fn_error $? "Library ogg vorbis >= 1.1 vorbisenc >= 1.1 needed for vorbis was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg vorbis >= 1.1 vorbisenc >= 1.1 needed for vorbis was not found" >&5 -$as_echo "$as_me: WARNING: Library ogg vorbis >= 1.1 vorbisenc >= 1.1 needed for vorbis was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg vorbis >= 1.1 vorbisenc >= 1.1 needed for vorbis was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library ogg vorbis >= 1.1 vorbisenc >= 1.1 needed for vorbis was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_vorbis" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_vorbis" = "xyes" +then : as_fn_error $? "Library ogg vorbis >= 1.1 vorbisenc >= 1.1 needed for vorbis was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg vorbis >= 1.1 vorbisenc >= 1.1 needed for vorbis was not found" >&5 -$as_echo "$as_me: WARNING: Library ogg vorbis >= 1.1 vorbisenc >= 1.1 needed for vorbis was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg vorbis >= 1.1 vorbisenc >= 1.1 needed for vorbis was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library ogg vorbis >= 1.1 vorbisenc >= 1.1 needed for vorbis was not found" >&2;} fi else VORBIS_CFLAGS=$pkg_cv_VORBIS_CFLAGS VORBIS_LIBS=$pkg_cv_VORBIS_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBvorbis=libvorbis_plugin.la @@ -44138,17 +46203,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for VORBIS" >&5 -$as_echo_n "checking for VORBIS... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for VORBIS" >&5 +printf %s "checking for VORBIS... " >&6; } if test -n "$VORBIS_CFLAGS"; then pkg_cv_VORBIS_CFLAGS="$VORBIS_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg vorbis >= 1.1 vorbisenc >= 1.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg vorbis >= 1.1 vorbisenc >= 1.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "ogg vorbis >= 1.1 vorbisenc >= 1.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_VORBIS_CFLAGS=`$PKG_CONFIG --cflags "ogg vorbis >= 1.1 vorbisenc >= 1.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -44162,10 +46227,10 @@ pkg_cv_VORBIS_LIBS="$VORBIS_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg vorbis >= 1.1 vorbisenc >= 1.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg vorbis >= 1.1 vorbisenc >= 1.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "ogg vorbis >= 1.1 vorbisenc >= 1.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_VORBIS_LIBS=`$PKG_CONFIG --libs "ogg vorbis >= 1.1 vorbisenc >= 1.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -44179,8 +46244,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -44196,29 +46261,31 @@ echo "$VORBIS_PKG_ERRORS" >&5 enable_vorbis=no - if test x"$enable_vorbis" = "xyes"; then : + if test x"$enable_vorbis" = "xyes" +then : as_fn_error $? "Library ogg vorbis >= 1.1 vorbisenc >= 1.1 needed for vorbis was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg vorbis >= 1.1 vorbisenc >= 1.1 needed for vorbis was not found" >&5 -$as_echo "$as_me: WARNING: Library ogg vorbis >= 1.1 vorbisenc >= 1.1 needed for vorbis was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg vorbis >= 1.1 vorbisenc >= 1.1 needed for vorbis was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library ogg vorbis >= 1.1 vorbisenc >= 1.1 needed for vorbis was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_vorbis=no - if test x"$enable_vorbis" = "xyes"; then : + if test x"$enable_vorbis" = "xyes" +then : as_fn_error $? "Library ogg vorbis >= 1.1 vorbisenc >= 1.1 needed for vorbis was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg vorbis >= 1.1 vorbisenc >= 1.1 needed for vorbis was not found" >&5 -$as_echo "$as_me: WARNING: Library ogg vorbis >= 1.1 vorbisenc >= 1.1 needed for vorbis was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg vorbis >= 1.1 vorbisenc >= 1.1 needed for vorbis was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library ogg vorbis >= 1.1 vorbisenc >= 1.1 needed for vorbis was not found" >&2;} fi else VORBIS_CFLAGS=$pkg_cv_VORBIS_CFLAGS VORBIS_LIBS=$pkg_cv_VORBIS_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_vorbis=yes @@ -44256,19 +46323,19 @@ # Check whether --enable-tremor was given. -if test "${enable_tremor+set}" = set; then : +if test ${enable_tremor+y} +then : enableval=$enable_tremor; fi if test "${enable_tremor}" = "yes" then - for ac_header in tremor/ivorbiscodec.h + for ac_header in tremor/ivorbiscodec.h do : - ac_fn_c_check_header_mongrel "$LINENO" "tremor/ivorbiscodec.h" "ac_cv_header_tremor_ivorbiscodec_h" "$ac_includes_default" -if test "x$ac_cv_header_tremor_ivorbiscodec_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_TREMOR_IVORBISCODEC_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "tremor/ivorbiscodec.h" "ac_cv_header_tremor_ivorbiscodec_h" "$ac_includes_default" +if test "x$ac_cv_header_tremor_ivorbiscodec_h" = xyes +then : + printf "%s\n" "#define HAVE_TREMOR_IVORBISCODEC_H 1" >>confdefs.h @@ -44280,7 +46347,6 @@ fi done - fi @@ -44300,9 +46366,10 @@ # Check whether --enable-speex was given. -if test "${enable_speex+set}" = set; then : +if test ${enable_speex+y} +then : enableval=$enable_speex; -else +else $as_nop enable_speex=auto fi @@ -44311,17 +46378,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SPEEX" >&5 -$as_echo_n "checking for SPEEX... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SPEEX" >&5 +printf %s "checking for SPEEX... " >&6; } if test -n "$SPEEX_CFLAGS"; then pkg_cv_SPEEX_CFLAGS="$SPEEX_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg speex >= 1.0.5\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg speex >= 1.0.5\""; } >&5 ($PKG_CONFIG --exists --print-errors "ogg speex >= 1.0.5") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SPEEX_CFLAGS=`$PKG_CONFIG --cflags "ogg speex >= 1.0.5" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -44335,10 +46402,10 @@ pkg_cv_SPEEX_LIBS="$SPEEX_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg speex >= 1.0.5\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg speex >= 1.0.5\""; } >&5 ($PKG_CONFIG --exists --print-errors "ogg speex >= 1.0.5") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SPEEX_LIBS=`$PKG_CONFIG --libs "ogg speex >= 1.0.5" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -44352,8 +46419,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -44368,28 +46435,30 @@ # Put the nasty error message in config.log where it belongs echo "$SPEEX_PKG_ERRORS" >&5 - if test x"$enable_speex" = "xyes"; then : + if test x"$enable_speex" = "xyes" +then : as_fn_error $? "Library ogg speex >= 1.0.5 needed for speex was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg speex >= 1.0.5 needed for speex was not found" >&5 -$as_echo "$as_me: WARNING: Library ogg speex >= 1.0.5 needed for speex was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg speex >= 1.0.5 needed for speex was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library ogg speex >= 1.0.5 needed for speex was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_speex" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_speex" = "xyes" +then : as_fn_error $? "Library ogg speex >= 1.0.5 needed for speex was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg speex >= 1.0.5 needed for speex was not found" >&5 -$as_echo "$as_me: WARNING: Library ogg speex >= 1.0.5 needed for speex was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg speex >= 1.0.5 needed for speex was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library ogg speex >= 1.0.5 needed for speex was not found" >&2;} fi else SPEEX_CFLAGS=$pkg_cv_SPEEX_CFLAGS SPEEX_LIBS=$pkg_cv_SPEEX_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBspeex=libspeex_plugin.la @@ -44411,17 +46480,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SPEEX" >&5 -$as_echo_n "checking for SPEEX... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SPEEX" >&5 +printf %s "checking for SPEEX... " >&6; } if test -n "$SPEEX_CFLAGS"; then pkg_cv_SPEEX_CFLAGS="$SPEEX_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg speex >= 1.0.5\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg speex >= 1.0.5\""; } >&5 ($PKG_CONFIG --exists --print-errors "ogg speex >= 1.0.5") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SPEEX_CFLAGS=`$PKG_CONFIG --cflags "ogg speex >= 1.0.5" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -44435,10 +46504,10 @@ pkg_cv_SPEEX_LIBS="$SPEEX_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg speex >= 1.0.5\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg speex >= 1.0.5\""; } >&5 ($PKG_CONFIG --exists --print-errors "ogg speex >= 1.0.5") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SPEEX_LIBS=`$PKG_CONFIG --libs "ogg speex >= 1.0.5" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -44452,8 +46521,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -44469,29 +46538,31 @@ echo "$SPEEX_PKG_ERRORS" >&5 enable_speex=no - if test x"$enable_speex" = "xyes"; then : + if test x"$enable_speex" = "xyes" +then : as_fn_error $? "Library ogg speex >= 1.0.5 needed for speex was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg speex >= 1.0.5 needed for speex was not found" >&5 -$as_echo "$as_me: WARNING: Library ogg speex >= 1.0.5 needed for speex was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg speex >= 1.0.5 needed for speex was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library ogg speex >= 1.0.5 needed for speex was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_speex=no - if test x"$enable_speex" = "xyes"; then : + if test x"$enable_speex" = "xyes" +then : as_fn_error $? "Library ogg speex >= 1.0.5 needed for speex was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg speex >= 1.0.5 needed for speex was not found" >&5 -$as_echo "$as_me: WARNING: Library ogg speex >= 1.0.5 needed for speex was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg speex >= 1.0.5 needed for speex was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library ogg speex >= 1.0.5 needed for speex was not found" >&2;} fi else SPEEX_CFLAGS=$pkg_cv_SPEEX_CFLAGS SPEEX_LIBS=$pkg_cv_SPEEX_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_speex=yes @@ -44528,21 +46599,22 @@ have_speexdsp="no" -if test "${enable_speex}" != "no"; then : +if test "${enable_speex}" != "no" +then : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SPEEXDSP" >&5 -$as_echo_n "checking for SPEEXDSP... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SPEEXDSP" >&5 +printf %s "checking for SPEEXDSP... " >&6; } if test -n "$SPEEXDSP_CFLAGS"; then pkg_cv_SPEEXDSP_CFLAGS="$SPEEXDSP_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"speexdsp\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"speexdsp\""; } >&5 ($PKG_CONFIG --exists --print-errors "speexdsp") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SPEEXDSP_CFLAGS=`$PKG_CONFIG --cflags "speexdsp" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -44556,10 +46628,10 @@ pkg_cv_SPEEXDSP_LIBS="$SPEEXDSP_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"speexdsp\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"speexdsp\""; } >&5 ($PKG_CONFIG --exists --print-errors "speexdsp") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SPEEXDSP_LIBS=`$PKG_CONFIG --libs "speexdsp" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -44573,8 +46645,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -44590,21 +46662,21 @@ echo "$SPEEXDSP_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${SPEEXDSP_PKG_ERRORS}." >&5 -$as_echo "$as_me: WARNING: ${SPEEXDSP_PKG_ERRORS}." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${SPEEXDSP_PKG_ERRORS}." >&5 +printf "%s\n" "$as_me: WARNING: ${SPEEXDSP_PKG_ERRORS}." >&2;} elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${SPEEXDSP_PKG_ERRORS}." >&5 -$as_echo "$as_me: WARNING: ${SPEEXDSP_PKG_ERRORS}." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${SPEEXDSP_PKG_ERRORS}." >&5 +printf "%s\n" "$as_me: WARNING: ${SPEEXDSP_PKG_ERRORS}." >&2;} else SPEEXDSP_CFLAGS=$pkg_cv_SPEEXDSP_CFLAGS SPEEXDSP_LIBS=$pkg_cv_SPEEXDSP_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_speexdsp="yes" @@ -44637,9 +46709,10 @@ # Check whether --enable-opus was given. -if test "${enable_opus+set}" = set; then : +if test ${enable_opus+y} +then : enableval=$enable_opus; -else +else $as_nop enable_opus=auto fi @@ -44648,17 +46721,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPUS" >&5 -$as_echo_n "checking for OPUS... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for OPUS" >&5 +printf %s "checking for OPUS... " >&6; } if test -n "$OPUS_CFLAGS"; then pkg_cv_OPUS_CFLAGS="$OPUS_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg opus >= 1.0.3\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg opus >= 1.0.3\""; } >&5 ($PKG_CONFIG --exists --print-errors "ogg opus >= 1.0.3") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_OPUS_CFLAGS=`$PKG_CONFIG --cflags "ogg opus >= 1.0.3" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -44672,10 +46745,10 @@ pkg_cv_OPUS_LIBS="$OPUS_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg opus >= 1.0.3\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg opus >= 1.0.3\""; } >&5 ($PKG_CONFIG --exists --print-errors "ogg opus >= 1.0.3") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_OPUS_LIBS=`$PKG_CONFIG --libs "ogg opus >= 1.0.3" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -44689,8 +46762,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -44705,28 +46778,30 @@ # Put the nasty error message in config.log where it belongs echo "$OPUS_PKG_ERRORS" >&5 - if test x"$enable_opus" = "xyes"; then : + if test x"$enable_opus" = "xyes" +then : as_fn_error $? "Library ogg opus >= 1.0.3 needed for opus was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg opus >= 1.0.3 needed for opus was not found" >&5 -$as_echo "$as_me: WARNING: Library ogg opus >= 1.0.3 needed for opus was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg opus >= 1.0.3 needed for opus was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library ogg opus >= 1.0.3 needed for opus was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_opus" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_opus" = "xyes" +then : as_fn_error $? "Library ogg opus >= 1.0.3 needed for opus was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg opus >= 1.0.3 needed for opus was not found" >&5 -$as_echo "$as_me: WARNING: Library ogg opus >= 1.0.3 needed for opus was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg opus >= 1.0.3 needed for opus was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library ogg opus >= 1.0.3 needed for opus was not found" >&2;} fi else OPUS_CFLAGS=$pkg_cv_OPUS_CFLAGS OPUS_LIBS=$pkg_cv_OPUS_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBopus=libopus_plugin.la @@ -44748,17 +46823,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPUS" >&5 -$as_echo_n "checking for OPUS... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for OPUS" >&5 +printf %s "checking for OPUS... " >&6; } if test -n "$OPUS_CFLAGS"; then pkg_cv_OPUS_CFLAGS="$OPUS_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg opus >= 1.0.3\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg opus >= 1.0.3\""; } >&5 ($PKG_CONFIG --exists --print-errors "ogg opus >= 1.0.3") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_OPUS_CFLAGS=`$PKG_CONFIG --cflags "ogg opus >= 1.0.3" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -44772,10 +46847,10 @@ pkg_cv_OPUS_LIBS="$OPUS_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg opus >= 1.0.3\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg opus >= 1.0.3\""; } >&5 ($PKG_CONFIG --exists --print-errors "ogg opus >= 1.0.3") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_OPUS_LIBS=`$PKG_CONFIG --libs "ogg opus >= 1.0.3" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -44789,8 +46864,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -44806,29 +46881,31 @@ echo "$OPUS_PKG_ERRORS" >&5 enable_opus=no - if test x"$enable_opus" = "xyes"; then : + if test x"$enable_opus" = "xyes" +then : as_fn_error $? "Library ogg opus >= 1.0.3 needed for opus was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg opus >= 1.0.3 needed for opus was not found" >&5 -$as_echo "$as_me: WARNING: Library ogg opus >= 1.0.3 needed for opus was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg opus >= 1.0.3 needed for opus was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library ogg opus >= 1.0.3 needed for opus was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_opus=no - if test x"$enable_opus" = "xyes"; then : + if test x"$enable_opus" = "xyes" +then : as_fn_error $? "Library ogg opus >= 1.0.3 needed for opus was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg opus >= 1.0.3 needed for opus was not found" >&5 -$as_echo "$as_me: WARNING: Library ogg opus >= 1.0.3 needed for opus was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg opus >= 1.0.3 needed for opus was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library ogg opus >= 1.0.3 needed for opus was not found" >&2;} fi else OPUS_CFLAGS=$pkg_cv_OPUS_CFLAGS OPUS_LIBS=$pkg_cv_OPUS_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_opus=yes @@ -44882,9 +46959,10 @@ # Check whether --enable-spatialaudio was given. -if test "${enable_spatialaudio+set}" = set; then : +if test ${enable_spatialaudio+y} +then : enableval=$enable_spatialaudio; -else +else $as_nop enable_spatialaudio=auto fi @@ -44893,17 +46971,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SPATIALAUDIO" >&5 -$as_echo_n "checking for SPATIALAUDIO... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SPATIALAUDIO" >&5 +printf %s "checking for SPATIALAUDIO... " >&6; } if test -n "$SPATIALAUDIO_CFLAGS"; then pkg_cv_SPATIALAUDIO_CFLAGS="$SPATIALAUDIO_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"spatialaudio\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"spatialaudio\""; } >&5 ($PKG_CONFIG --exists --print-errors "spatialaudio") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SPATIALAUDIO_CFLAGS=`$PKG_CONFIG --cflags "spatialaudio" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -44917,10 +46995,10 @@ pkg_cv_SPATIALAUDIO_LIBS="$SPATIALAUDIO_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"spatialaudio\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"spatialaudio\""; } >&5 ($PKG_CONFIG --exists --print-errors "spatialaudio") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SPATIALAUDIO_LIBS=`$PKG_CONFIG --libs "spatialaudio" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -44934,8 +47012,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -44950,28 +47028,30 @@ # Put the nasty error message in config.log where it belongs echo "$SPATIALAUDIO_PKG_ERRORS" >&5 - if test x"$enable_spatialaudio" = "xyes"; then : + if test x"$enable_spatialaudio" = "xyes" +then : as_fn_error $? "Library spatialaudio needed for spatialaudio was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library spatialaudio needed for spatialaudio was not found" >&5 -$as_echo "$as_me: WARNING: Library spatialaudio needed for spatialaudio was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library spatialaudio needed for spatialaudio was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library spatialaudio needed for spatialaudio was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_spatialaudio" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_spatialaudio" = "xyes" +then : as_fn_error $? "Library spatialaudio needed for spatialaudio was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library spatialaudio needed for spatialaudio was not found" >&5 -$as_echo "$as_me: WARNING: Library spatialaudio needed for spatialaudio was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library spatialaudio needed for spatialaudio was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library spatialaudio needed for spatialaudio was not found" >&2;} fi else SPATIALAUDIO_CFLAGS=$pkg_cv_SPATIALAUDIO_CFLAGS SPATIALAUDIO_LIBS=$pkg_cv_SPATIALAUDIO_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBspatialaudio=libspatialaudio_plugin.la @@ -44993,17 +47073,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SPATIALAUDIO" >&5 -$as_echo_n "checking for SPATIALAUDIO... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SPATIALAUDIO" >&5 +printf %s "checking for SPATIALAUDIO... " >&6; } if test -n "$SPATIALAUDIO_CFLAGS"; then pkg_cv_SPATIALAUDIO_CFLAGS="$SPATIALAUDIO_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"spatialaudio\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"spatialaudio\""; } >&5 ($PKG_CONFIG --exists --print-errors "spatialaudio") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SPATIALAUDIO_CFLAGS=`$PKG_CONFIG --cflags "spatialaudio" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -45017,10 +47097,10 @@ pkg_cv_SPATIALAUDIO_LIBS="$SPATIALAUDIO_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"spatialaudio\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"spatialaudio\""; } >&5 ($PKG_CONFIG --exists --print-errors "spatialaudio") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SPATIALAUDIO_LIBS=`$PKG_CONFIG --libs "spatialaudio" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -45034,8 +47114,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -45051,29 +47131,31 @@ echo "$SPATIALAUDIO_PKG_ERRORS" >&5 enable_spatialaudio=no - if test x"$enable_spatialaudio" = "xyes"; then : + if test x"$enable_spatialaudio" = "xyes" +then : as_fn_error $? "Library spatialaudio needed for spatialaudio was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library spatialaudio needed for spatialaudio was not found" >&5 -$as_echo "$as_me: WARNING: Library spatialaudio needed for spatialaudio was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library spatialaudio needed for spatialaudio was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library spatialaudio needed for spatialaudio was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_spatialaudio=no - if test x"$enable_spatialaudio" = "xyes"; then : + if test x"$enable_spatialaudio" = "xyes" +then : as_fn_error $? "Library spatialaudio needed for spatialaudio was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library spatialaudio needed for spatialaudio was not found" >&5 -$as_echo "$as_me: WARNING: Library spatialaudio needed for spatialaudio was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library spatialaudio needed for spatialaudio was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library spatialaudio needed for spatialaudio was not found" >&2;} fi else SPATIALAUDIO_CFLAGS=$pkg_cv_SPATIALAUDIO_CFLAGS SPATIALAUDIO_LIBS=$pkg_cv_SPATIALAUDIO_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_spatialaudio=yes @@ -45110,6 +47192,117 @@ +if test -n ${SPATIALAUDIO_CFLAGS+set} +then : + + +pkg_failed=no +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SPATIALAUDIO_040" >&5 +printf %s "checking for SPATIALAUDIO_040... " >&6; } + +if test -n "$SPATIALAUDIO_040_CFLAGS"; then + pkg_cv_SPATIALAUDIO_040_CFLAGS="$SPATIALAUDIO_040_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"spatialaudio >= 0.4.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "spatialaudio >= 0.4.0") 2>&5 + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_SPATIALAUDIO_040_CFLAGS=`$PKG_CONFIG --cflags "spatialaudio >= 0.4.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$SPATIALAUDIO_040_LIBS"; then + pkg_cv_SPATIALAUDIO_040_LIBS="$SPATIALAUDIO_040_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"spatialaudio >= 0.4.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "spatialaudio >= 0.4.0") 2>&5 + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_SPATIALAUDIO_040_LIBS=`$PKG_CONFIG --libs "spatialaudio >= 0.4.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + SPATIALAUDIO_040_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "spatialaudio >= 0.4.0" 2>&1` + else + SPATIALAUDIO_040_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "spatialaudio >= 0.4.0" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$SPATIALAUDIO_040_PKG_ERRORS" >&5 + + : +elif test $pkg_failed = untried; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + : +else + SPATIALAUDIO_040_CFLAGS=$pkg_cv_SPATIALAUDIO_040_CFLAGS + SPATIALAUDIO_040_LIBS=$pkg_cv_SPATIALAUDIO_040_LIBS + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } + + +if test ${SPATIALAUDIO_CFLAGS+y} +then : + + case " $SPATIALAUDIO_CFLAGS " in #( + *" -DHAVE_SPATIALAUDIOVERSION_H=1 "*) : + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : SPATIALAUDIO_CFLAGS already contains -DHAVE_SPATIALAUDIOVERSION_H=1"; } >&5 + (: SPATIALAUDIO_CFLAGS already contains -DHAVE_SPATIALAUDIOVERSION_H=1) 2>&5 + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } ;; #( + *) : + + as_fn_append SPATIALAUDIO_CFLAGS " -DHAVE_SPATIALAUDIOVERSION_H=1" + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : SPATIALAUDIO_CFLAGS=\"\$SPATIALAUDIO_CFLAGS\""; } >&5 + (: SPATIALAUDIO_CFLAGS="$SPATIALAUDIO_CFLAGS") 2>&5 + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + ;; +esac + +else $as_nop + + SPATIALAUDIO_CFLAGS=-DHAVE_SPATIALAUDIOVERSION_H=1 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : SPATIALAUDIO_CFLAGS=\"\$SPATIALAUDIO_CFLAGS\""; } >&5 + (: SPATIALAUDIO_CFLAGS="$SPATIALAUDIO_CFLAGS") 2>&5 + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + +fi + + +fi + +fi + @@ -45127,9 +47320,10 @@ # Check whether --enable-theora was given. -if test "${enable_theora+set}" = set; then : +if test ${enable_theora+y} +then : enableval=$enable_theora; -else +else $as_nop enable_theora=auto fi @@ -45138,17 +47332,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for THEORA" >&5 -$as_echo_n "checking for THEORA... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for THEORA" >&5 +printf %s "checking for THEORA... " >&6; } if test -n "$THEORA_CFLAGS"; then pkg_cv_THEORA_CFLAGS="$THEORA_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg theoradec >= 1.0 theoraenc\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg theoradec >= 1.0 theoraenc\""; } >&5 ($PKG_CONFIG --exists --print-errors "ogg theoradec >= 1.0 theoraenc") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_THEORA_CFLAGS=`$PKG_CONFIG --cflags "ogg theoradec >= 1.0 theoraenc" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -45162,10 +47356,10 @@ pkg_cv_THEORA_LIBS="$THEORA_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg theoradec >= 1.0 theoraenc\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg theoradec >= 1.0 theoraenc\""; } >&5 ($PKG_CONFIG --exists --print-errors "ogg theoradec >= 1.0 theoraenc") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_THEORA_LIBS=`$PKG_CONFIG --libs "ogg theoradec >= 1.0 theoraenc" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -45179,8 +47373,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -45195,28 +47389,30 @@ # Put the nasty error message in config.log where it belongs echo "$THEORA_PKG_ERRORS" >&5 - if test x"$enable_theora" = "xyes"; then : + if test x"$enable_theora" = "xyes" +then : as_fn_error $? "Library ogg theoradec >= 1.0 theoraenc needed for theora was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg theoradec >= 1.0 theoraenc needed for theora was not found" >&5 -$as_echo "$as_me: WARNING: Library ogg theoradec >= 1.0 theoraenc needed for theora was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg theoradec >= 1.0 theoraenc needed for theora was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library ogg theoradec >= 1.0 theoraenc needed for theora was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_theora" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_theora" = "xyes" +then : as_fn_error $? "Library ogg theoradec >= 1.0 theoraenc needed for theora was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg theoradec >= 1.0 theoraenc needed for theora was not found" >&5 -$as_echo "$as_me: WARNING: Library ogg theoradec >= 1.0 theoraenc needed for theora was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg theoradec >= 1.0 theoraenc needed for theora was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library ogg theoradec >= 1.0 theoraenc needed for theora was not found" >&2;} fi else THEORA_CFLAGS=$pkg_cv_THEORA_CFLAGS THEORA_LIBS=$pkg_cv_THEORA_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBtheora=libtheora_plugin.la @@ -45238,17 +47434,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for THEORA" >&5 -$as_echo_n "checking for THEORA... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for THEORA" >&5 +printf %s "checking for THEORA... " >&6; } if test -n "$THEORA_CFLAGS"; then pkg_cv_THEORA_CFLAGS="$THEORA_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg theoradec >= 1.0 theoraenc\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg theoradec >= 1.0 theoraenc\""; } >&5 ($PKG_CONFIG --exists --print-errors "ogg theoradec >= 1.0 theoraenc") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_THEORA_CFLAGS=`$PKG_CONFIG --cflags "ogg theoradec >= 1.0 theoraenc" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -45262,10 +47458,10 @@ pkg_cv_THEORA_LIBS="$THEORA_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg theoradec >= 1.0 theoraenc\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg theoradec >= 1.0 theoraenc\""; } >&5 ($PKG_CONFIG --exists --print-errors "ogg theoradec >= 1.0 theoraenc") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_THEORA_LIBS=`$PKG_CONFIG --libs "ogg theoradec >= 1.0 theoraenc" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -45279,8 +47475,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -45296,29 +47492,31 @@ echo "$THEORA_PKG_ERRORS" >&5 enable_theora=no - if test x"$enable_theora" = "xyes"; then : + if test x"$enable_theora" = "xyes" +then : as_fn_error $? "Library ogg theoradec >= 1.0 theoraenc needed for theora was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg theoradec >= 1.0 theoraenc needed for theora was not found" >&5 -$as_echo "$as_me: WARNING: Library ogg theoradec >= 1.0 theoraenc needed for theora was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg theoradec >= 1.0 theoraenc needed for theora was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library ogg theoradec >= 1.0 theoraenc needed for theora was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_theora=no - if test x"$enable_theora" = "xyes"; then : + if test x"$enable_theora" = "xyes" +then : as_fn_error $? "Library ogg theoradec >= 1.0 theoraenc needed for theora was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg theoradec >= 1.0 theoraenc needed for theora was not found" >&5 -$as_echo "$as_me: WARNING: Library ogg theoradec >= 1.0 theoraenc needed for theora was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg theoradec >= 1.0 theoraenc needed for theora was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library ogg theoradec >= 1.0 theoraenc needed for theora was not found" >&2;} fi else THEORA_CFLAGS=$pkg_cv_THEORA_CFLAGS THEORA_LIBS=$pkg_cv_THEORA_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_theora=yes @@ -45372,9 +47570,10 @@ # Check whether --enable-oggspots was given. -if test "${enable_oggspots+set}" = set; then : +if test ${enable_oggspots+y} +then : enableval=$enable_oggspots; -else +else $as_nop enable_oggspots=auto fi @@ -45383,17 +47582,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OGGSPOTS" >&5 -$as_echo_n "checking for OGGSPOTS... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for OGGSPOTS" >&5 +printf %s "checking for OGGSPOTS... " >&6; } if test -n "$OGGSPOTS_CFLAGS"; then pkg_cv_OGGSPOTS_CFLAGS="$OGGSPOTS_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg\""; } >&5 ($PKG_CONFIG --exists --print-errors "ogg") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_OGGSPOTS_CFLAGS=`$PKG_CONFIG --cflags "ogg" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -45407,10 +47606,10 @@ pkg_cv_OGGSPOTS_LIBS="$OGGSPOTS_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg\""; } >&5 ($PKG_CONFIG --exists --print-errors "ogg") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_OGGSPOTS_LIBS=`$PKG_CONFIG --libs "ogg" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -45424,8 +47623,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -45440,28 +47639,30 @@ # Put the nasty error message in config.log where it belongs echo "$OGGSPOTS_PKG_ERRORS" >&5 - if test x"$enable_oggspots" = "xyes"; then : + if test x"$enable_oggspots" = "xyes" +then : as_fn_error $? "Library ogg needed for oggspots was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg needed for oggspots was not found" >&5 -$as_echo "$as_me: WARNING: Library ogg needed for oggspots was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg needed for oggspots was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library ogg needed for oggspots was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_oggspots" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_oggspots" = "xyes" +then : as_fn_error $? "Library ogg needed for oggspots was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg needed for oggspots was not found" >&5 -$as_echo "$as_me: WARNING: Library ogg needed for oggspots was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg needed for oggspots was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library ogg needed for oggspots was not found" >&2;} fi else OGGSPOTS_CFLAGS=$pkg_cv_OGGSPOTS_CFLAGS OGGSPOTS_LIBS=$pkg_cv_OGGSPOTS_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBoggspots=liboggspots_plugin.la @@ -45483,17 +47684,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OGGSPOTS" >&5 -$as_echo_n "checking for OGGSPOTS... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for OGGSPOTS" >&5 +printf %s "checking for OGGSPOTS... " >&6; } if test -n "$OGGSPOTS_CFLAGS"; then pkg_cv_OGGSPOTS_CFLAGS="$OGGSPOTS_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg\""; } >&5 ($PKG_CONFIG --exists --print-errors "ogg") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_OGGSPOTS_CFLAGS=`$PKG_CONFIG --cflags "ogg" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -45507,10 +47708,10 @@ pkg_cv_OGGSPOTS_LIBS="$OGGSPOTS_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg\""; } >&5 ($PKG_CONFIG --exists --print-errors "ogg") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_OGGSPOTS_LIBS=`$PKG_CONFIG --libs "ogg" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -45524,8 +47725,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -45541,29 +47742,31 @@ echo "$OGGSPOTS_PKG_ERRORS" >&5 enable_oggspots=no - if test x"$enable_oggspots" = "xyes"; then : + if test x"$enable_oggspots" = "xyes" +then : as_fn_error $? "Library ogg needed for oggspots was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg needed for oggspots was not found" >&5 -$as_echo "$as_me: WARNING: Library ogg needed for oggspots was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg needed for oggspots was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library ogg needed for oggspots was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_oggspots=no - if test x"$enable_oggspots" = "xyes"; then : + if test x"$enable_oggspots" = "xyes" +then : as_fn_error $? "Library ogg needed for oggspots was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg needed for oggspots was not found" >&5 -$as_echo "$as_me: WARNING: Library ogg needed for oggspots was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library ogg needed for oggspots was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library ogg needed for oggspots was not found" >&2;} fi else OGGSPOTS_CFLAGS=$pkg_cv_OGGSPOTS_CFLAGS OGGSPOTS_LIBS=$pkg_cv_OGGSPOTS_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_oggspots=yes @@ -45617,9 +47820,10 @@ # Check whether --enable-daala was given. -if test "${enable_daala+set}" = set; then : +if test ${enable_daala+y} +then : enableval=$enable_daala; -else +else $as_nop enable_daala=disabled fi @@ -45628,17 +47832,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DAALA" >&5 -$as_echo_n "checking for DAALA... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DAALA" >&5 +printf %s "checking for DAALA... " >&6; } if test -n "$DAALA_CFLAGS"; then pkg_cv_DAALA_CFLAGS="$DAALA_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"daaladec daalaenc\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"daaladec daalaenc\""; } >&5 ($PKG_CONFIG --exists --print-errors "daaladec daalaenc") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DAALA_CFLAGS=`$PKG_CONFIG --cflags "daaladec daalaenc" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -45652,10 +47856,10 @@ pkg_cv_DAALA_LIBS="$DAALA_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"daaladec daalaenc\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"daaladec daalaenc\""; } >&5 ($PKG_CONFIG --exists --print-errors "daaladec daalaenc") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DAALA_LIBS=`$PKG_CONFIG --libs "daaladec daalaenc" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -45669,8 +47873,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -45685,28 +47889,30 @@ # Put the nasty error message in config.log where it belongs echo "$DAALA_PKG_ERRORS" >&5 - if test x"$enable_daala" = "xyes"; then : + if test x"$enable_daala" = "xyes" +then : as_fn_error $? "Library daaladec daalaenc needed for daala was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library daaladec daalaenc needed for daala was not found" >&5 -$as_echo "$as_me: WARNING: Library daaladec daalaenc needed for daala was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library daaladec daalaenc needed for daala was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library daaladec daalaenc needed for daala was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_daala" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_daala" = "xyes" +then : as_fn_error $? "Library daaladec daalaenc needed for daala was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library daaladec daalaenc needed for daala was not found" >&5 -$as_echo "$as_me: WARNING: Library daaladec daalaenc needed for daala was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library daaladec daalaenc needed for daala was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library daaladec daalaenc needed for daala was not found" >&2;} fi else DAALA_CFLAGS=$pkg_cv_DAALA_CFLAGS DAALA_LIBS=$pkg_cv_DAALA_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBdaala=libdaala_plugin.la @@ -45728,17 +47934,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DAALA" >&5 -$as_echo_n "checking for DAALA... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DAALA" >&5 +printf %s "checking for DAALA... " >&6; } if test -n "$DAALA_CFLAGS"; then pkg_cv_DAALA_CFLAGS="$DAALA_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"daaladec daalaenc\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"daaladec daalaenc\""; } >&5 ($PKG_CONFIG --exists --print-errors "daaladec daalaenc") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DAALA_CFLAGS=`$PKG_CONFIG --cflags "daaladec daalaenc" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -45752,10 +47958,10 @@ pkg_cv_DAALA_LIBS="$DAALA_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"daaladec daalaenc\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"daaladec daalaenc\""; } >&5 ($PKG_CONFIG --exists --print-errors "daaladec daalaenc") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DAALA_LIBS=`$PKG_CONFIG --libs "daaladec daalaenc" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -45769,8 +47975,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -45786,29 +47992,31 @@ echo "$DAALA_PKG_ERRORS" >&5 enable_daala=no - if test x"$enable_daala" = "xyes"; then : + if test x"$enable_daala" = "xyes" +then : as_fn_error $? "Library daaladec daalaenc needed for daala was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library daaladec daalaenc needed for daala was not found" >&5 -$as_echo "$as_me: WARNING: Library daaladec daalaenc needed for daala was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library daaladec daalaenc needed for daala was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library daaladec daalaenc needed for daala was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_daala=no - if test x"$enable_daala" = "xyes"; then : + if test x"$enable_daala" = "xyes" +then : as_fn_error $? "Library daaladec daalaenc needed for daala was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library daaladec daalaenc needed for daala was not found" >&5 -$as_echo "$as_me: WARNING: Library daaladec daalaenc needed for daala was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library daaladec daalaenc needed for daala was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library daaladec daalaenc needed for daala was not found" >&2;} fi else DAALA_CFLAGS=$pkg_cv_DAALA_CFLAGS DAALA_LIBS=$pkg_cv_DAALA_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_daala=yes @@ -45861,31 +48069,32 @@ -# Check whether --enable-schroedinger was given. -if test "${enable_schroedinger+set}" = set; then : - enableval=$enable_schroedinger; -else - enable_schroedinger=auto +# Check whether --enable-openapv was given. +if test ${enable_openapv+y} +then : + enableval=$enable_openapv; +else $as_nop + enable_openapv=disabled fi -case $enable_schroedinger in #( +case $enable_openapv in #( yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SCHROEDINGER" >&5 -$as_echo_n "checking for SCHROEDINGER... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for OPENAPV" >&5 +printf %s "checking for OPENAPV... " >&6; } -if test -n "$SCHROEDINGER_CFLAGS"; then - pkg_cv_SCHROEDINGER_CFLAGS="$SCHROEDINGER_CFLAGS" +if test -n "$OPENAPV_CFLAGS"; then + pkg_cv_OPENAPV_CFLAGS="$OPENAPV_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"schroedinger-1.0 >= 1.0.10\""; } >&5 - ($PKG_CONFIG --exists --print-errors "schroedinger-1.0 >= 1.0.10") 2>&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"oapv >= 0.3\""; } >&5 + ($PKG_CONFIG --exists --print-errors "oapv >= 0.3") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - pkg_cv_SCHROEDINGER_CFLAGS=`$PKG_CONFIG --cflags "schroedinger-1.0 >= 1.0.10" 2>/dev/null` + pkg_cv_OPENAPV_CFLAGS=`$PKG_CONFIG --cflags "oapv >= 0.3" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes @@ -45893,16 +48102,16 @@ else pkg_failed=untried fi -if test -n "$SCHROEDINGER_LIBS"; then - pkg_cv_SCHROEDINGER_LIBS="$SCHROEDINGER_LIBS" +if test -n "$OPENAPV_LIBS"; then + pkg_cv_OPENAPV_LIBS="$OPENAPV_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"schroedinger-1.0 >= 1.0.10\""; } >&5 - ($PKG_CONFIG --exists --print-errors "schroedinger-1.0 >= 1.0.10") 2>&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"oapv >= 0.3\""; } >&5 + ($PKG_CONFIG --exists --print-errors "oapv >= 0.3") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - pkg_cv_SCHROEDINGER_LIBS=`$PKG_CONFIG --libs "schroedinger-1.0 >= 1.0.10" 2>/dev/null` + pkg_cv_OPENAPV_LIBS=`$PKG_CONFIG --libs "oapv >= 0.3" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes @@ -45914,8 +48123,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -45923,49 +48132,51 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - SCHROEDINGER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "schroedinger-1.0 >= 1.0.10" 2>&1` + OPENAPV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "oapv >= 0.3" 2>&1` else - SCHROEDINGER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "schroedinger-1.0 >= 1.0.10" 2>&1` + OPENAPV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "oapv >= 0.3" 2>&1` fi # Put the nasty error message in config.log where it belongs - echo "$SCHROEDINGER_PKG_ERRORS" >&5 + echo "$OPENAPV_PKG_ERRORS" >&5 - if test x"$enable_schroedinger" = "xyes"; then : - as_fn_error $? "Library schroedinger-1.0 >= 1.0.10 needed for schroedinger was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library schroedinger-1.0 >= 1.0.10 needed for schroedinger was not found" >&5 -$as_echo "$as_me: WARNING: Library schroedinger-1.0 >= 1.0.10 needed for schroedinger was not found" >&2;} + if test x"$enable_openapv" = "xyes" +then : + as_fn_error $? "Library oapv >= 0.3 needed for openapv was not found" "$LINENO" 5 +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library oapv >= 0.3 needed for openapv was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library oapv >= 0.3 needed for openapv was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_schroedinger" = "xyes"; then : - as_fn_error $? "Library schroedinger-1.0 >= 1.0.10 needed for schroedinger was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library schroedinger-1.0 >= 1.0.10 needed for schroedinger was not found" >&5 -$as_echo "$as_me: WARNING: Library schroedinger-1.0 >= 1.0.10 needed for schroedinger was not found" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_openapv" = "xyes" +then : + as_fn_error $? "Library oapv >= 0.3 needed for openapv was not found" "$LINENO" 5 +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library oapv >= 0.3 needed for openapv was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library oapv >= 0.3 needed for openapv was not found" >&2;} fi else - SCHROEDINGER_CFLAGS=$pkg_cv_SCHROEDINGER_CFLAGS - SCHROEDINGER_LIBS=$pkg_cv_SCHROEDINGER_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - LTLIBschroedinger=libschroedinger_plugin.la + OPENAPV_CFLAGS=$pkg_cv_OPENAPV_CFLAGS + OPENAPV_LIBS=$pkg_cv_OPENAPV_LIBS + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } + LTLIBopenapv=libopenapv_plugin.la - eval "CFLAGS_schroedinger="'"$'"{CFLAGS_schroedinger} $SCHROEDINGER_CFLAGS "'"' + eval "CFLAGS_openapv="'"$'"{CFLAGS_openapv} $OPENAPV_CFLAGS "'"' - eval "LIBS_schroedinger="'"'"$SCHROEDINGER_LIBS "'$'"{LIBS_schroedinger}"'"' + eval "LIBS_openapv="'"'"$OPENAPV_LIBS "'$'"{LIBS_openapv}"'"' @@ -45973,19 +48184,19 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SCHROEDINGER" >&5 -$as_echo_n "checking for SCHROEDINGER... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for OPENAPV" >&5 +printf %s "checking for OPENAPV... " >&6; } -if test -n "$SCHROEDINGER_CFLAGS"; then - pkg_cv_SCHROEDINGER_CFLAGS="$SCHROEDINGER_CFLAGS" +if test -n "$OPENAPV_CFLAGS"; then + pkg_cv_OPENAPV_CFLAGS="$OPENAPV_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"schroedinger-1.0 >= 1.0.10\""; } >&5 - ($PKG_CONFIG --exists --print-errors "schroedinger-1.0 >= 1.0.10") 2>&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"oapv >= 0.3\""; } >&5 + ($PKG_CONFIG --exists --print-errors "oapv >= 0.3") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - pkg_cv_SCHROEDINGER_CFLAGS=`$PKG_CONFIG --cflags "schroedinger-1.0 >= 1.0.10" 2>/dev/null` + pkg_cv_OPENAPV_CFLAGS=`$PKG_CONFIG --cflags "oapv >= 0.3" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes @@ -45993,16 +48204,16 @@ else pkg_failed=untried fi -if test -n "$SCHROEDINGER_LIBS"; then - pkg_cv_SCHROEDINGER_LIBS="$SCHROEDINGER_LIBS" +if test -n "$OPENAPV_LIBS"; then + pkg_cv_OPENAPV_LIBS="$OPENAPV_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"schroedinger-1.0 >= 1.0.10\""; } >&5 - ($PKG_CONFIG --exists --print-errors "schroedinger-1.0 >= 1.0.10") 2>&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"oapv >= 0.3\""; } >&5 + ($PKG_CONFIG --exists --print-errors "oapv >= 0.3") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - pkg_cv_SCHROEDINGER_LIBS=`$PKG_CONFIG --libs "schroedinger-1.0 >= 1.0.10" 2>/dev/null` + pkg_cv_OPENAPV_LIBS=`$PKG_CONFIG --libs "oapv >= 0.3" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes @@ -46014,8 +48225,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -46023,54 +48234,56 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - SCHROEDINGER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "schroedinger-1.0 >= 1.0.10" 2>&1` + OPENAPV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "oapv >= 0.3" 2>&1` else - SCHROEDINGER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "schroedinger-1.0 >= 1.0.10" 2>&1` + OPENAPV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "oapv >= 0.3" 2>&1` fi # Put the nasty error message in config.log where it belongs - echo "$SCHROEDINGER_PKG_ERRORS" >&5 + echo "$OPENAPV_PKG_ERRORS" >&5 - enable_schroedinger=no - if test x"$enable_schroedinger" = "xyes"; then : - as_fn_error $? "Library schroedinger-1.0 >= 1.0.10 needed for schroedinger was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library schroedinger-1.0 >= 1.0.10 needed for schroedinger was not found" >&5 -$as_echo "$as_me: WARNING: Library schroedinger-1.0 >= 1.0.10 needed for schroedinger was not found" >&2;} + enable_openapv=no + if test x"$enable_openapv" = "xyes" +then : + as_fn_error $? "Library oapv >= 0.3 needed for openapv was not found" "$LINENO" 5 +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library oapv >= 0.3 needed for openapv was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library oapv >= 0.3 needed for openapv was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - enable_schroedinger=no - if test x"$enable_schroedinger" = "xyes"; then : - as_fn_error $? "Library schroedinger-1.0 >= 1.0.10 needed for schroedinger was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library schroedinger-1.0 >= 1.0.10 needed for schroedinger was not found" >&5 -$as_echo "$as_me: WARNING: Library schroedinger-1.0 >= 1.0.10 needed for schroedinger was not found" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + enable_openapv=no + if test x"$enable_openapv" = "xyes" +then : + as_fn_error $? "Library oapv >= 0.3 needed for openapv was not found" "$LINENO" 5 +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library oapv >= 0.3 needed for openapv was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library oapv >= 0.3 needed for openapv was not found" >&2;} fi else - SCHROEDINGER_CFLAGS=$pkg_cv_SCHROEDINGER_CFLAGS - SCHROEDINGER_LIBS=$pkg_cv_SCHROEDINGER_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - enable_schroedinger=yes + OPENAPV_CFLAGS=$pkg_cv_OPENAPV_CFLAGS + OPENAPV_LIBS=$pkg_cv_OPENAPV_LIBS + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } + enable_openapv=yes - LTLIBschroedinger=libschroedinger_plugin.la + LTLIBopenapv=libopenapv_plugin.la - eval "CFLAGS_schroedinger="'"$'"{CFLAGS_schroedinger} $SCHROEDINGER_CFLAGS "'"' + eval "CFLAGS_openapv="'"$'"{CFLAGS_openapv} $OPENAPV_CFLAGS "'"' - eval "LIBS_schroedinger="'"'"$SCHROEDINGER_LIBS "'$'"{LIBS_schroedinger}"'"' + eval "LIBS_openapv="'"'"$OPENAPV_LIBS "'$'"{LIBS_openapv}"'"' @@ -46091,19 +48304,20 @@ # Check whether --enable-png was given. -if test "${enable_png+set}" = set; then : +if test ${enable_png+y} +then : enableval=$enable_png; fi -if test "${enable_png}" != "no"; then : +if test "${enable_png}" != "no" +then : -for ac_header in png.h + for ac_header in png.h do : - ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default" -if test "x$ac_cv_header_png_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_PNG_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default" +if test "x$ac_cv_header_png_h" = xyes +then : + printf "%s\n" "#define HAVE_PNG_H 1" >>confdefs.h CPPFLAGS_save="${CPPFLAGS}" @@ -46114,11 +48328,12 @@ LIBS_save="${LIBS}" LDFLAGS="${LDFLAGS} -lz $LIBM" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_alpha_mode in -lpng" >&5 -$as_echo_n "checking for png_set_alpha_mode in -lpng... " >&6; } -if ${ac_cv_lib_png_png_set_alpha_mode+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_set_alpha_mode in -lpng" >&5 +printf %s "checking for png_set_alpha_mode in -lpng... " >&6; } +if test ${ac_cv_lib_png_png_set_alpha_mode+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lpng -lz $LIBM $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -46127,30 +48342,29 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char png_set_alpha_mode (); int -main () +main (void) { return png_set_alpha_mode (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_png_png_set_alpha_mode=yes -else +else $as_nop ac_cv_lib_png_png_set_alpha_mode=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_alpha_mode" >&5 -$as_echo "$ac_cv_lib_png_png_set_alpha_mode" >&6; } -if test "x$ac_cv_lib_png_png_set_alpha_mode" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_alpha_mode" >&5 +printf "%s\n" "$ac_cv_lib_png_png_set_alpha_mode" >&6; } +if test "x$ac_cv_lib_png_png_set_alpha_mode" = xyes +then : @@ -46174,23 +48388,23 @@ done - fi # Check whether --enable-jpeg was given. -if test "${enable_jpeg+set}" = set; then : +if test ${enable_jpeg+y} +then : enableval=$enable_jpeg; fi -if test "${enable_jpeg}" != "no"; then : +if test "${enable_jpeg}" != "no" +then : -for ac_header in jpeglib.h + for ac_header in jpeglib.h do : - ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default" -if test "x$ac_cv_header_jpeglib_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_JPEGLIB_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default" +if test "x$ac_cv_header_jpeglib_h" = xyes +then : + printf "%s\n" "#define HAVE_JPEGLIB_H 1" >>confdefs.h @@ -46203,23 +48417,23 @@ done - fi # Check whether --enable-bpg was given. -if test "${enable_bpg+set}" = set; then : +if test ${enable_bpg+y} +then : enableval=$enable_bpg; fi -if test "${enable_bpg}" != "no"; then : +if test "${enable_bpg}" != "no" +then : -for ac_header in libbpg.h + for ac_header in libbpg.h do : - ac_fn_c_check_header_mongrel "$LINENO" "libbpg.h" "ac_cv_header_libbpg_h" "$ac_includes_default" -if test "x$ac_cv_header_libbpg_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBBPG_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "libbpg.h" "ac_cv_header_libbpg_h" "$ac_includes_default" +if test "x$ac_cv_header_libbpg_h" = xyes +then : + printf "%s\n" "#define HAVE_LIBBPG_H 1" >>confdefs.h @@ -46232,29 +48446,30 @@ done - fi # Check whether --enable-x262 was given. -if test "${enable_x262+set}" = set; then : +if test ${enable_x262+y} +then : enableval=$enable_x262; fi -if test "${enable_x262}" != "no"; then : +if test "${enable_x262}" != "no" +then : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X262" >&5 -$as_echo_n "checking for X262... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X262" >&5 +printf %s "checking for X262... " >&6; } if test -n "$X262_CFLAGS"; then pkg_cv_X262_CFLAGS="$X262_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x262\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x262\""; } >&5 ($PKG_CONFIG --exists --print-errors "x262") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_X262_CFLAGS=`$PKG_CONFIG --cflags "x262" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -46268,10 +48483,10 @@ pkg_cv_X262_LIBS="$X262_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x262\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x262\""; } >&5 ($PKG_CONFIG --exists --print-errors "x262") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_X262_LIBS=`$PKG_CONFIG --libs "x262" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -46285,8 +48500,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -46302,17 +48517,19 @@ echo "$X262_PKG_ERRORS" >&5 - if test "${enable_x262}" = "yes"; then : + if test "${enable_x262}" = "yes" +then : as_fn_error $? "x262 module does not work without statically compiled libx262.a" "$LINENO" 5 fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - if test "${enable_x262}" = "yes"; then : + if test "${enable_x262}" = "yes" +then : as_fn_error $? "x262 module does not work without statically compiled libx262.a" "$LINENO" 5 @@ -46321,8 +48538,8 @@ else X262_CFLAGS=$pkg_cv_X262_CFLAGS X262_LIBS=$pkg_cv_X262_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } @@ -46336,7 +48553,8 @@ - if test -n "${ac_cv_ld_bsymbolic}"; then : + if test -n "${ac_cv_ld_bsymbolic}" +then : @@ -46382,9 +48600,10 @@ # Check whether --enable-x265 was given. -if test "${enable_x265+set}" = set; then : +if test ${enable_x265+y} +then : enableval=$enable_x265; -else +else $as_nop enable_x265=auto fi @@ -46393,17 +48612,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X265" >&5 -$as_echo_n "checking for X265... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X265" >&5 +printf %s "checking for X265... " >&6; } if test -n "$X265_CFLAGS"; then pkg_cv_X265_CFLAGS="$X265_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x265\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x265\""; } >&5 ($PKG_CONFIG --exists --print-errors "x265") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_X265_CFLAGS=`$PKG_CONFIG --cflags "x265" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -46417,10 +48636,10 @@ pkg_cv_X265_LIBS="$X265_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x265\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x265\""; } >&5 ($PKG_CONFIG --exists --print-errors "x265") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_X265_LIBS=`$PKG_CONFIG --libs "x265" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -46434,8 +48653,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -46450,28 +48669,30 @@ # Put the nasty error message in config.log where it belongs echo "$X265_PKG_ERRORS" >&5 - if test x"$enable_x265" = "xyes"; then : + if test x"$enable_x265" = "xyes" +then : as_fn_error $? "Library x265 needed for x265 was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library x265 needed for x265 was not found" >&5 -$as_echo "$as_me: WARNING: Library x265 needed for x265 was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library x265 needed for x265 was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library x265 needed for x265 was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_x265" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_x265" = "xyes" +then : as_fn_error $? "Library x265 needed for x265 was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library x265 needed for x265 was not found" >&5 -$as_echo "$as_me: WARNING: Library x265 needed for x265 was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library x265 needed for x265 was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library x265 needed for x265 was not found" >&2;} fi else X265_CFLAGS=$pkg_cv_X265_CFLAGS X265_LIBS=$pkg_cv_X265_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBx265=libx265_plugin.la @@ -46493,17 +48714,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X265" >&5 -$as_echo_n "checking for X265... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X265" >&5 +printf %s "checking for X265... " >&6; } if test -n "$X265_CFLAGS"; then pkg_cv_X265_CFLAGS="$X265_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x265\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x265\""; } >&5 ($PKG_CONFIG --exists --print-errors "x265") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_X265_CFLAGS=`$PKG_CONFIG --cflags "x265" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -46517,10 +48738,10 @@ pkg_cv_X265_LIBS="$X265_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x265\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x265\""; } >&5 ($PKG_CONFIG --exists --print-errors "x265") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_X265_LIBS=`$PKG_CONFIG --libs "x265" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -46534,8 +48755,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -46551,29 +48772,31 @@ echo "$X265_PKG_ERRORS" >&5 enable_x265=no - if test x"$enable_x265" = "xyes"; then : + if test x"$enable_x265" = "xyes" +then : as_fn_error $? "Library x265 needed for x265 was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library x265 needed for x265 was not found" >&5 -$as_echo "$as_me: WARNING: Library x265 needed for x265 was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library x265 needed for x265 was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library x265 needed for x265 was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_x265=no - if test x"$enable_x265" = "xyes"; then : + if test x"$enable_x265" = "xyes" +then : as_fn_error $? "Library x265 needed for x265 was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library x265 needed for x265 was not found" >&5 -$as_echo "$as_me: WARNING: Library x265 needed for x265 was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library x265 needed for x265 was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library x265 needed for x265 was not found" >&2;} fi else X265_CFLAGS=$pkg_cv_X265_CFLAGS X265_LIBS=$pkg_cv_X265_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_x265=yes @@ -46611,24 +48834,25 @@ # Check whether --enable-x264 was given. -if test "${enable_x264+set}" = set; then : +if test ${enable_x264+y} +then : enableval=$enable_x264; fi if test "${enable_x264}" != "no"; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X264" >&5 -$as_echo_n "checking for X264... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X264" >&5 +printf %s "checking for X264... " >&6; } if test -n "$X264_CFLAGS"; then pkg_cv_X264_CFLAGS="$X264_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x264 >= 0.148\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x264 >= 0.148\""; } >&5 ($PKG_CONFIG --exists --print-errors "x264 >= 0.148") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_X264_CFLAGS=`$PKG_CONFIG --cflags "x264 >= 0.148" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -46642,10 +48866,10 @@ pkg_cv_X264_LIBS="$X264_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x264 >= 0.148\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x264 >= 0.148\""; } >&5 ($PKG_CONFIG --exists --print-errors "x264 >= 0.148") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_X264_LIBS=`$PKG_CONFIG --libs "x264 >= 0.148" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -46659,8 +48883,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -46681,8 +48905,8 @@ fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if test "${enable_x264}" = "yes"; then as_fn_error $? "${X264_PKG_ERRORS}: you may get it from http://www.videolan.org/x264.html" "$LINENO" 5 @@ -46691,8 +48915,8 @@ else X264_CFLAGS=$pkg_cv_X264_CFLAGS X264_LIBS=$pkg_cv_X264_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } @@ -46707,7 +48931,8 @@ - if test -n "${ac_cv_ld_bsymbolic}"; then : + if test -n "${ac_cv_ld_bsymbolic}" +then : @@ -46737,24 +48962,25 @@ fi # Check whether --enable-x26410b was given. -if test "${enable_x26410b+set}" = set; then : +if test ${enable_x26410b+y} +then : enableval=$enable_x26410b; fi if test "${enable_x26410b}" != "no"; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X26410b" >&5 -$as_echo_n "checking for X26410b... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X26410b" >&5 +printf %s "checking for X26410b... " >&6; } if test -n "$X26410b_CFLAGS"; then pkg_cv_X26410b_CFLAGS="$X26410b_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x264 >= 0.153\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x264 >= 0.153\""; } >&5 ($PKG_CONFIG --exists --print-errors "x264 >= 0.153") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_X26410b_CFLAGS=`$PKG_CONFIG --cflags "x264 >= 0.153" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -46768,10 +48994,10 @@ pkg_cv_X26410b_LIBS="$X26410b_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x264 >= 0.153\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x264 >= 0.153\""; } >&5 ($PKG_CONFIG --exists --print-errors "x264 >= 0.153") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_X26410b_LIBS=`$PKG_CONFIG --libs "x264 >= 0.153" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -46785,8 +49011,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -46807,8 +49033,8 @@ fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if test "${enable_x26410b}" = "yes"; then as_fn_error $? "${X264_PKG_ERRORS}: you may get it from http://www.videolan.org/x264.html" "$LINENO" 5 @@ -46817,8 +49043,8 @@ else X26410b_CFLAGS=$pkg_cv_X26410b_CFLAGS X26410b_LIBS=$pkg_cv_X26410b_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } @@ -46833,7 +49059,8 @@ - if test -n "${ac_cv_ld_bsymbolic}"; then : + if test -n "${ac_cv_ld_bsymbolic}" +then : @@ -46879,31 +49106,32 @@ -# Check whether --enable-mfx was given. -if test "${enable_mfx+set}" = set; then : - enableval=$enable_mfx; -else - enable_mfx=auto +# Check whether --enable-vpl was given. +if test ${enable_vpl+y} +then : + enableval=$enable_vpl; +else $as_nop + enable_vpl=auto fi -case $enable_mfx in #( +case $enable_vpl in #( yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MFX" >&5 -$as_echo_n "checking for MFX... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for VPL" >&5 +printf %s "checking for VPL... " >&6; } -if test -n "$MFX_CFLAGS"; then - pkg_cv_MFX_CFLAGS="$MFX_CFLAGS" +if test -n "$VPL_CFLAGS"; then + pkg_cv_VPL_CFLAGS="$VPL_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmfx\""; } >&5 - ($PKG_CONFIG --exists --print-errors "libmfx") 2>&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vpl\""; } >&5 + ($PKG_CONFIG --exists --print-errors "vpl") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - pkg_cv_MFX_CFLAGS=`$PKG_CONFIG --cflags "libmfx" 2>/dev/null` + pkg_cv_VPL_CFLAGS=`$PKG_CONFIG --cflags "vpl" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes @@ -46911,16 +49139,16 @@ else pkg_failed=untried fi -if test -n "$MFX_LIBS"; then - pkg_cv_MFX_LIBS="$MFX_LIBS" +if test -n "$VPL_LIBS"; then + pkg_cv_VPL_LIBS="$VPL_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmfx\""; } >&5 - ($PKG_CONFIG --exists --print-errors "libmfx") 2>&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vpl\""; } >&5 + ($PKG_CONFIG --exists --print-errors "vpl") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - pkg_cv_MFX_LIBS=`$PKG_CONFIG --libs "libmfx" 2>/dev/null` + pkg_cv_VPL_LIBS=`$PKG_CONFIG --libs "vpl" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes @@ -46932,8 +49160,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -46941,35 +49169,37 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - MFX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmfx" 2>&1` + VPL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "vpl" 2>&1` else - MFX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmfx" 2>&1` + VPL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "vpl" 2>&1` fi # Put the nasty error message in config.log where it belongs - echo "$MFX_PKG_ERRORS" >&5 + echo "$VPL_PKG_ERRORS" >&5 - if test x"$enable_mfx" = "xyes"; then : - as_fn_error $? "Library libmfx needed for mfx was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libmfx needed for mfx was not found" >&5 -$as_echo "$as_me: WARNING: Library libmfx needed for mfx was not found" >&2;} + if test x"$enable_vpl" = "xyes" +then : + as_fn_error $? "Library vpl needed for vpl was not found" "$LINENO" 5 +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library vpl needed for vpl was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library vpl needed for vpl was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_mfx" = "xyes"; then : - as_fn_error $? "Library libmfx needed for mfx was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libmfx needed for mfx was not found" >&5 -$as_echo "$as_me: WARNING: Library libmfx needed for mfx was not found" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_vpl" = "xyes" +then : + as_fn_error $? "Library vpl needed for vpl was not found" "$LINENO" 5 +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library vpl needed for vpl was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library vpl needed for vpl was not found" >&2;} fi else - MFX_CFLAGS=$pkg_cv_MFX_CFLAGS - MFX_LIBS=$pkg_cv_MFX_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + VPL_CFLAGS=$pkg_cv_VPL_CFLAGS + VPL_LIBS=$pkg_cv_VPL_LIBS + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBqsv=libqsv_plugin.la @@ -46977,13 +49207,13 @@ - eval "CFLAGS_qsv="'"$'"{CFLAGS_qsv} $MFX_CFLAGS "'"' + eval "CFLAGS_qsv="'"$'"{CFLAGS_qsv} $VPL_CFLAGS "'"' - eval "LIBS_qsv="'"'"$MFX_LIBS "'$'"{LIBS_qsv}"'"' + eval "LIBS_qsv="'"'"$VPL_LIBS "'$'"{LIBS_qsv}"'"' @@ -46991,19 +49221,19 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MFX" >&5 -$as_echo_n "checking for MFX... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for VPL" >&5 +printf %s "checking for VPL... " >&6; } -if test -n "$MFX_CFLAGS"; then - pkg_cv_MFX_CFLAGS="$MFX_CFLAGS" +if test -n "$VPL_CFLAGS"; then + pkg_cv_VPL_CFLAGS="$VPL_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmfx\""; } >&5 - ($PKG_CONFIG --exists --print-errors "libmfx") 2>&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vpl\""; } >&5 + ($PKG_CONFIG --exists --print-errors "vpl") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - pkg_cv_MFX_CFLAGS=`$PKG_CONFIG --cflags "libmfx" 2>/dev/null` + pkg_cv_VPL_CFLAGS=`$PKG_CONFIG --cflags "vpl" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes @@ -47011,16 +49241,16 @@ else pkg_failed=untried fi -if test -n "$MFX_LIBS"; then - pkg_cv_MFX_LIBS="$MFX_LIBS" +if test -n "$VPL_LIBS"; then + pkg_cv_VPL_LIBS="$VPL_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmfx\""; } >&5 - ($PKG_CONFIG --exists --print-errors "libmfx") 2>&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vpl\""; } >&5 + ($PKG_CONFIG --exists --print-errors "vpl") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - pkg_cv_MFX_LIBS=`$PKG_CONFIG --libs "libmfx" 2>/dev/null` + pkg_cv_VPL_LIBS=`$PKG_CONFIG --libs "vpl" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes @@ -47032,8 +49262,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -47041,38 +49271,40 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - MFX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmfx" 2>&1` + VPL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "vpl" 2>&1` else - MFX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmfx" 2>&1` + VPL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "vpl" 2>&1` fi # Put the nasty error message in config.log where it belongs - echo "$MFX_PKG_ERRORS" >&5 + echo "$VPL_PKG_ERRORS" >&5 - enable_mfx=no - if test x"$enable_mfx" = "xyes"; then : - as_fn_error $? "Library libmfx needed for mfx was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libmfx needed for mfx was not found" >&5 -$as_echo "$as_me: WARNING: Library libmfx needed for mfx was not found" >&2;} + enable_vpl=no + if test x"$enable_vpl" = "xyes" +then : + as_fn_error $? "Library vpl needed for vpl was not found" "$LINENO" 5 +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library vpl needed for vpl was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library vpl needed for vpl was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - enable_mfx=no - if test x"$enable_mfx" = "xyes"; then : - as_fn_error $? "Library libmfx needed for mfx was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libmfx needed for mfx was not found" >&5 -$as_echo "$as_me: WARNING: Library libmfx needed for mfx was not found" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + enable_vpl=no + if test x"$enable_vpl" = "xyes" +then : + as_fn_error $? "Library vpl needed for vpl was not found" "$LINENO" 5 +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library vpl needed for vpl was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library vpl needed for vpl was not found" >&2;} fi else - MFX_CFLAGS=$pkg_cv_MFX_CFLAGS - MFX_LIBS=$pkg_cv_MFX_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - enable_mfx=yes + VPL_CFLAGS=$pkg_cv_VPL_CFLAGS + VPL_LIBS=$pkg_cv_VPL_LIBS + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } + enable_vpl=yes LTLIBqsv=libqsv_plugin.la @@ -47082,13 +49314,13 @@ - eval "CFLAGS_qsv="'"$'"{CFLAGS_qsv} $MFX_CFLAGS "'"' + eval "CFLAGS_qsv="'"$'"{CFLAGS_qsv} $VPL_CFLAGS "'"' - eval "LIBS_qsv="'"'"$MFX_LIBS "'$'"{LIBS_qsv}"'"' + eval "LIBS_qsv="'"'"$VPL_LIBS "'$'"{LIBS_qsv}"'"' @@ -47125,9 +49357,10 @@ # Check whether --enable-fluidsynth was given. -if test "${enable_fluidsynth+set}" = set; then : +if test ${enable_fluidsynth+y} +then : enableval=$enable_fluidsynth; -else +else $as_nop enable_fluidsynth=auto fi @@ -47136,17 +49369,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FLUIDSYNTH" >&5 -$as_echo_n "checking for FLUIDSYNTH... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FLUIDSYNTH" >&5 +printf %s "checking for FLUIDSYNTH... " >&6; } if test -n "$FLUIDSYNTH_CFLAGS"; then pkg_cv_FLUIDSYNTH_CFLAGS="$FLUIDSYNTH_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fluidsynth >= 1.1.2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fluidsynth >= 1.1.2\""; } >&5 ($PKG_CONFIG --exists --print-errors "fluidsynth >= 1.1.2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_FLUIDSYNTH_CFLAGS=`$PKG_CONFIG --cflags "fluidsynth >= 1.1.2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -47160,10 +49393,10 @@ pkg_cv_FLUIDSYNTH_LIBS="$FLUIDSYNTH_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fluidsynth >= 1.1.2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fluidsynth >= 1.1.2\""; } >&5 ($PKG_CONFIG --exists --print-errors "fluidsynth >= 1.1.2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_FLUIDSYNTH_LIBS=`$PKG_CONFIG --libs "fluidsynth >= 1.1.2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -47177,8 +49410,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -47193,28 +49426,30 @@ # Put the nasty error message in config.log where it belongs echo "$FLUIDSYNTH_PKG_ERRORS" >&5 - if test x"$enable_fluidsynth" = "xyes"; then : + if test x"$enable_fluidsynth" = "xyes" +then : as_fn_error $? "Library fluidsynth >= 1.1.2 needed for fluidsynth was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library fluidsynth >= 1.1.2 needed for fluidsynth was not found" >&5 -$as_echo "$as_me: WARNING: Library fluidsynth >= 1.1.2 needed for fluidsynth was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library fluidsynth >= 1.1.2 needed for fluidsynth was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library fluidsynth >= 1.1.2 needed for fluidsynth was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_fluidsynth" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_fluidsynth" = "xyes" +then : as_fn_error $? "Library fluidsynth >= 1.1.2 needed for fluidsynth was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library fluidsynth >= 1.1.2 needed for fluidsynth was not found" >&5 -$as_echo "$as_me: WARNING: Library fluidsynth >= 1.1.2 needed for fluidsynth was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library fluidsynth >= 1.1.2 needed for fluidsynth was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library fluidsynth >= 1.1.2 needed for fluidsynth was not found" >&2;} fi else FLUIDSYNTH_CFLAGS=$pkg_cv_FLUIDSYNTH_CFLAGS FLUIDSYNTH_LIBS=$pkg_cv_FLUIDSYNTH_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBfluidsynth=libfluidsynth_plugin.la @@ -47236,17 +49471,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FLUIDSYNTH" >&5 -$as_echo_n "checking for FLUIDSYNTH... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FLUIDSYNTH" >&5 +printf %s "checking for FLUIDSYNTH... " >&6; } if test -n "$FLUIDSYNTH_CFLAGS"; then pkg_cv_FLUIDSYNTH_CFLAGS="$FLUIDSYNTH_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fluidsynth >= 1.1.2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fluidsynth >= 1.1.2\""; } >&5 ($PKG_CONFIG --exists --print-errors "fluidsynth >= 1.1.2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_FLUIDSYNTH_CFLAGS=`$PKG_CONFIG --cflags "fluidsynth >= 1.1.2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -47260,10 +49495,10 @@ pkg_cv_FLUIDSYNTH_LIBS="$FLUIDSYNTH_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fluidsynth >= 1.1.2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fluidsynth >= 1.1.2\""; } >&5 ($PKG_CONFIG --exists --print-errors "fluidsynth >= 1.1.2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_FLUIDSYNTH_LIBS=`$PKG_CONFIG --libs "fluidsynth >= 1.1.2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -47277,8 +49512,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -47294,29 +49529,31 @@ echo "$FLUIDSYNTH_PKG_ERRORS" >&5 enable_fluidsynth=no - if test x"$enable_fluidsynth" = "xyes"; then : + if test x"$enable_fluidsynth" = "xyes" +then : as_fn_error $? "Library fluidsynth >= 1.1.2 needed for fluidsynth was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library fluidsynth >= 1.1.2 needed for fluidsynth was not found" >&5 -$as_echo "$as_me: WARNING: Library fluidsynth >= 1.1.2 needed for fluidsynth was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library fluidsynth >= 1.1.2 needed for fluidsynth was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library fluidsynth >= 1.1.2 needed for fluidsynth was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_fluidsynth=no - if test x"$enable_fluidsynth" = "xyes"; then : + if test x"$enable_fluidsynth" = "xyes" +then : as_fn_error $? "Library fluidsynth >= 1.1.2 needed for fluidsynth was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library fluidsynth >= 1.1.2 needed for fluidsynth was not found" >&5 -$as_echo "$as_me: WARNING: Library fluidsynth >= 1.1.2 needed for fluidsynth was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library fluidsynth >= 1.1.2 needed for fluidsynth was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library fluidsynth >= 1.1.2 needed for fluidsynth was not found" >&2;} fi else FLUIDSYNTH_CFLAGS=$pkg_cv_FLUIDSYNTH_CFLAGS FLUIDSYNTH_LIBS=$pkg_cv_FLUIDSYNTH_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_fluidsynth=yes @@ -47369,9 +49606,10 @@ # Check whether --enable-fluidlite was given. -if test "${enable_fluidlite+set}" = set; then : +if test ${enable_fluidlite+y} +then : enableval=$enable_fluidlite; -else +else $as_nop enable_fluidlite=auto fi @@ -47380,17 +49618,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FLUIDLITE" >&5 -$as_echo_n "checking for FLUIDLITE... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FLUIDLITE" >&5 +printf %s "checking for FLUIDLITE... " >&6; } if test -n "$FLUIDLITE_CFLAGS"; then pkg_cv_FLUIDLITE_CFLAGS="$FLUIDLITE_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fluidlite\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fluidlite\""; } >&5 ($PKG_CONFIG --exists --print-errors "fluidlite") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_FLUIDLITE_CFLAGS=`$PKG_CONFIG --cflags "fluidlite" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -47404,10 +49642,10 @@ pkg_cv_FLUIDLITE_LIBS="$FLUIDLITE_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fluidlite\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fluidlite\""; } >&5 ($PKG_CONFIG --exists --print-errors "fluidlite") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_FLUIDLITE_LIBS=`$PKG_CONFIG --libs "fluidlite" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -47421,8 +49659,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -47437,28 +49675,30 @@ # Put the nasty error message in config.log where it belongs echo "$FLUIDLITE_PKG_ERRORS" >&5 - if test x"$enable_fluidlite" = "xyes"; then : + if test x"$enable_fluidlite" = "xyes" +then : as_fn_error $? "Library fluidlite needed for fluidlite was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library fluidlite needed for fluidlite was not found" >&5 -$as_echo "$as_me: WARNING: Library fluidlite needed for fluidlite was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library fluidlite needed for fluidlite was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library fluidlite needed for fluidlite was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_fluidlite" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_fluidlite" = "xyes" +then : as_fn_error $? "Library fluidlite needed for fluidlite was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library fluidlite needed for fluidlite was not found" >&5 -$as_echo "$as_me: WARNING: Library fluidlite needed for fluidlite was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library fluidlite needed for fluidlite was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library fluidlite needed for fluidlite was not found" >&2;} fi else FLUIDLITE_CFLAGS=$pkg_cv_FLUIDLITE_CFLAGS FLUIDLITE_LIBS=$pkg_cv_FLUIDLITE_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBfluidsynth=libfluidsynth_plugin.la @@ -47480,17 +49720,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FLUIDLITE" >&5 -$as_echo_n "checking for FLUIDLITE... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FLUIDLITE" >&5 +printf %s "checking for FLUIDLITE... " >&6; } if test -n "$FLUIDLITE_CFLAGS"; then pkg_cv_FLUIDLITE_CFLAGS="$FLUIDLITE_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fluidlite\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fluidlite\""; } >&5 ($PKG_CONFIG --exists --print-errors "fluidlite") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_FLUIDLITE_CFLAGS=`$PKG_CONFIG --cflags "fluidlite" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -47504,10 +49744,10 @@ pkg_cv_FLUIDLITE_LIBS="$FLUIDLITE_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fluidlite\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fluidlite\""; } >&5 ($PKG_CONFIG --exists --print-errors "fluidlite") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_FLUIDLITE_LIBS=`$PKG_CONFIG --libs "fluidlite" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -47521,8 +49761,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -47538,29 +49778,31 @@ echo "$FLUIDLITE_PKG_ERRORS" >&5 enable_fluidlite=no - if test x"$enable_fluidlite" = "xyes"; then : + if test x"$enable_fluidlite" = "xyes" +then : as_fn_error $? "Library fluidlite needed for fluidlite was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library fluidlite needed for fluidlite was not found" >&5 -$as_echo "$as_me: WARNING: Library fluidlite needed for fluidlite was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library fluidlite needed for fluidlite was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library fluidlite needed for fluidlite was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_fluidlite=no - if test x"$enable_fluidlite" = "xyes"; then : + if test x"$enable_fluidlite" = "xyes" +then : as_fn_error $? "Library fluidlite needed for fluidlite was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library fluidlite needed for fluidlite was not found" >&5 -$as_echo "$as_me: WARNING: Library fluidlite needed for fluidlite was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library fluidlite needed for fluidlite was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library fluidlite needed for fluidlite was not found" >&2;} fi else FLUIDLITE_CFLAGS=$pkg_cv_FLUIDLITE_CFLAGS FLUIDLITE_LIBS=$pkg_cv_FLUIDLITE_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_fluidlite=yes @@ -47596,46 +49838,47 @@ -for ac_header in fluidlite.h + for ac_header in fluidlite.h do : - ac_fn_c_check_header_mongrel "$LINENO" "fluidlite.h" "ac_cv_header_fluidlite_h" "$ac_includes_default" -if test "x$ac_cv_header_fluidlite_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FLUIDLITE_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "fluidlite.h" "ac_cv_header_fluidlite_h" "$ac_includes_default" +if test "x$ac_cv_header_fluidlite_h" = xyes +then : + printf "%s\n" "#define HAVE_FLUIDLITE_H 1" >>confdefs.h FLUIDSYNTH_LIBS=${FLUIDLITE_LIBS} fi done - # Check whether --enable-zvbi was given. -if test "${enable_zvbi+set}" = set; then : +if test ${enable_zvbi+y} +then : enableval=$enable_zvbi; fi # Check whether --enable-telx was given. -if test "${enable_telx+set}" = set; then : +if test ${enable_telx+y} +then : enableval=$enable_telx; fi -if test "${enable_zvbi}" != "no"; then : +if test "${enable_zvbi}" != "no" +then : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ZVBI" >&5 -$as_echo_n "checking for ZVBI... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ZVBI" >&5 +printf %s "checking for ZVBI... " >&6; } if test -n "$ZVBI_CFLAGS"; then pkg_cv_ZVBI_CFLAGS="$ZVBI_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zvbi-0.2 >= 0.2.28\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zvbi-0.2 >= 0.2.28\""; } >&5 ($PKG_CONFIG --exists --print-errors "zvbi-0.2 >= 0.2.28") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ZVBI_CFLAGS=`$PKG_CONFIG --cflags "zvbi-0.2 >= 0.2.28" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -47649,10 +49892,10 @@ pkg_cv_ZVBI_LIBS="$ZVBI_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zvbi-0.2 >= 0.2.28\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zvbi-0.2 >= 0.2.28\""; } >&5 ($PKG_CONFIG --exists --print-errors "zvbi-0.2 >= 0.2.28") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ZVBI_LIBS=`$PKG_CONFIG --libs "zvbi-0.2 >= 0.2.28" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -47666,8 +49909,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -47683,21 +49926,21 @@ echo "$ZVBI_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${ZVBI_PKG_ERRORS}. Enabling the telx module instead." >&5 -$as_echo "$as_me: WARNING: ${ZVBI_PKG_ERRORS}. Enabling the telx module instead." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${ZVBI_PKG_ERRORS}. Enabling the telx module instead." >&5 +printf "%s\n" "$as_me: WARNING: ${ZVBI_PKG_ERRORS}. Enabling the telx module instead." >&2;} elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${ZVBI_PKG_ERRORS}. Enabling the telx module instead." >&5 -$as_echo "$as_me: WARNING: ${ZVBI_PKG_ERRORS}. Enabling the telx module instead." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${ZVBI_PKG_ERRORS}. Enabling the telx module instead." >&5 +printf "%s\n" "$as_me: WARNING: ${ZVBI_PKG_ERRORS}. Enabling the telx module instead." >&2;} else ZVBI_CFLAGS=$pkg_cv_ZVBI_CFLAGS ZVBI_LIBS=$pkg_cv_ZVBI_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } @@ -47706,19 +49949,21 @@ -$as_echo "#define ZVBI_COMPILED 1" >>confdefs.h +printf "%s\n" "#define ZVBI_COMPILED 1" >>confdefs.h - if test "${enable_telx}" = "yes"; then : + if test "${enable_telx}" = "yes" +then : - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The zvbi and telx modules are incompatible. Using zvbi." >&5 -$as_echo "$as_me: WARNING: The zvbi and telx modules are incompatible. Using zvbi." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: The zvbi and telx modules are incompatible. Using zvbi." >&5 +printf "%s\n" "$as_me: WARNING: The zvbi and telx modules are incompatible. Using zvbi." >&2;} fi fi fi -if test "${enable_telx}" != "no" ; then : +if test "${enable_telx}" != "no" +then : @@ -47730,25 +49975,27 @@ fi # Check whether --enable-aribsub was given. -if test "${enable_aribsub+set}" = set; then : +if test ${enable_aribsub+y} +then : enableval=$enable_aribsub; fi -if test "${enable_aribsub}" != "no" ; then : +if test "${enable_aribsub}" != "no" +then : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ARIBB24" >&5 -$as_echo_n "checking for ARIBB24... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ARIBB24" >&5 +printf %s "checking for ARIBB24... " >&6; } if test -n "$ARIBB24_CFLAGS"; then pkg_cv_ARIBB24_CFLAGS="$ARIBB24_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"aribb24 >= 1.0.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"aribb24 >= 1.0.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "aribb24 >= 1.0.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ARIBB24_CFLAGS=`$PKG_CONFIG --cflags "aribb24 >= 1.0.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -47762,10 +50009,10 @@ pkg_cv_ARIBB24_LIBS="$ARIBB24_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"aribb24 >= 1.0.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"aribb24 >= 1.0.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "aribb24 >= 1.0.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ARIBB24_LIBS=`$PKG_CONFIG --libs "aribb24 >= 1.0.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -47779,8 +50026,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -47796,23 +50043,23 @@ echo "$ARIBB24_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library aribb24 needed for aribsub was not found" >&5 -$as_echo "$as_me: WARNING: Library aribb24 needed for aribsub was not found" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library aribb24 needed for aribsub was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library aribb24 needed for aribsub was not found" >&2;} have_aribb24="no" elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library aribb24 needed for aribsub was not found" >&5 -$as_echo "$as_me: WARNING: Library aribb24 needed for aribsub was not found" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library aribb24 needed for aribsub was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library aribb24 needed for aribsub was not found" >&2;} have_aribb24="no" else ARIBB24_CFLAGS=$pkg_cv_ARIBB24_CFLAGS ARIBB24_LIBS=$pkg_cv_ARIBB24_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_aribb24="yes" @@ -47828,7 +50075,7 @@ -$as_echo "#define HAVE_ARIBB24 1" >>confdefs.h +printf "%s\n" "#define HAVE_ARIBB24 1" >>confdefs.h fi @@ -47860,9 +50107,10 @@ # Check whether --enable-aribb25 was given. -if test "${enable_aribb25+set}" = set; then : +if test ${enable_aribb25+y} +then : enableval=$enable_aribb25; -else +else $as_nop enable_aribb25=auto fi @@ -47871,17 +50119,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ARIBB25" >&5 -$as_echo_n "checking for ARIBB25... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ARIBB25" >&5 +printf %s "checking for ARIBB25... " >&6; } if test -n "$ARIBB25_CFLAGS"; then pkg_cv_ARIBB25_CFLAGS="$ARIBB25_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"aribb25 >= 0.2.6\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"aribb25 >= 0.2.6\""; } >&5 ($PKG_CONFIG --exists --print-errors "aribb25 >= 0.2.6") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ARIBB25_CFLAGS=`$PKG_CONFIG --cflags "aribb25 >= 0.2.6" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -47895,10 +50143,10 @@ pkg_cv_ARIBB25_LIBS="$ARIBB25_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"aribb25 >= 0.2.6\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"aribb25 >= 0.2.6\""; } >&5 ($PKG_CONFIG --exists --print-errors "aribb25 >= 0.2.6") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ARIBB25_LIBS=`$PKG_CONFIG --libs "aribb25 >= 0.2.6" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -47912,8 +50160,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -47928,28 +50176,30 @@ # Put the nasty error message in config.log where it belongs echo "$ARIBB25_PKG_ERRORS" >&5 - if test x"$enable_aribb25" = "xyes"; then : + if test x"$enable_aribb25" = "xyes" +then : as_fn_error $? "Library aribb25 >= 0.2.6 needed for aribb25 was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library aribb25 >= 0.2.6 needed for aribb25 was not found" >&5 -$as_echo "$as_me: WARNING: Library aribb25 >= 0.2.6 needed for aribb25 was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library aribb25 >= 0.2.6 needed for aribb25 was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library aribb25 >= 0.2.6 needed for aribb25 was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_aribb25" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_aribb25" = "xyes" +then : as_fn_error $? "Library aribb25 >= 0.2.6 needed for aribb25 was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library aribb25 >= 0.2.6 needed for aribb25 was not found" >&5 -$as_echo "$as_me: WARNING: Library aribb25 >= 0.2.6 needed for aribb25 was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library aribb25 >= 0.2.6 needed for aribb25 was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library aribb25 >= 0.2.6 needed for aribb25 was not found" >&2;} fi else ARIBB25_CFLAGS=$pkg_cv_ARIBB25_CFLAGS ARIBB25_LIBS=$pkg_cv_ARIBB25_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBaribcam=libaribcam_plugin.la @@ -47971,17 +50221,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ARIBB25" >&5 -$as_echo_n "checking for ARIBB25... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ARIBB25" >&5 +printf %s "checking for ARIBB25... " >&6; } if test -n "$ARIBB25_CFLAGS"; then pkg_cv_ARIBB25_CFLAGS="$ARIBB25_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"aribb25 >= 0.2.6\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"aribb25 >= 0.2.6\""; } >&5 ($PKG_CONFIG --exists --print-errors "aribb25 >= 0.2.6") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ARIBB25_CFLAGS=`$PKG_CONFIG --cflags "aribb25 >= 0.2.6" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -47995,10 +50245,10 @@ pkg_cv_ARIBB25_LIBS="$ARIBB25_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"aribb25 >= 0.2.6\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"aribb25 >= 0.2.6\""; } >&5 ($PKG_CONFIG --exists --print-errors "aribb25 >= 0.2.6") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ARIBB25_LIBS=`$PKG_CONFIG --libs "aribb25 >= 0.2.6" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -48012,8 +50262,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -48029,29 +50279,31 @@ echo "$ARIBB25_PKG_ERRORS" >&5 enable_aribb25=no - if test x"$enable_aribb25" = "xyes"; then : + if test x"$enable_aribb25" = "xyes" +then : as_fn_error $? "Library aribb25 >= 0.2.6 needed for aribb25 was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library aribb25 >= 0.2.6 needed for aribb25 was not found" >&5 -$as_echo "$as_me: WARNING: Library aribb25 >= 0.2.6 needed for aribb25 was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library aribb25 >= 0.2.6 needed for aribb25 was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library aribb25 >= 0.2.6 needed for aribb25 was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_aribb25=no - if test x"$enable_aribb25" = "xyes"; then : + if test x"$enable_aribb25" = "xyes" +then : as_fn_error $? "Library aribb25 >= 0.2.6 needed for aribb25 was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library aribb25 >= 0.2.6 needed for aribb25 was not found" >&5 -$as_echo "$as_me: WARNING: Library aribb25 >= 0.2.6 needed for aribb25 was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library aribb25 >= 0.2.6 needed for aribb25 was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library aribb25 >= 0.2.6 needed for aribb25 was not found" >&2;} fi else ARIBB25_CFLAGS=$pkg_cv_ARIBB25_CFLAGS ARIBB25_LIBS=$pkg_cv_ARIBB25_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_aribb25=yes @@ -48105,9 +50357,10 @@ # Check whether --enable-kate was given. -if test "${enable_kate+set}" = set; then : +if test ${enable_kate+y} +then : enableval=$enable_kate; -else +else $as_nop enable_kate=auto fi @@ -48116,17 +50369,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for KATE" >&5 -$as_echo_n "checking for KATE... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for KATE" >&5 +printf %s "checking for KATE... " >&6; } if test -n "$KATE_CFLAGS"; then pkg_cv_KATE_CFLAGS="$KATE_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"kate >= 0.3.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"kate >= 0.3.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "kate >= 0.3.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_KATE_CFLAGS=`$PKG_CONFIG --cflags "kate >= 0.3.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -48140,10 +50393,10 @@ pkg_cv_KATE_LIBS="$KATE_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"kate >= 0.3.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"kate >= 0.3.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "kate >= 0.3.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_KATE_LIBS=`$PKG_CONFIG --libs "kate >= 0.3.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -48157,8 +50410,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -48173,28 +50426,30 @@ # Put the nasty error message in config.log where it belongs echo "$KATE_PKG_ERRORS" >&5 - if test x"$enable_kate" = "xyes"; then : + if test x"$enable_kate" = "xyes" +then : as_fn_error $? "Library kate >= 0.3.0 needed for kate was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library kate >= 0.3.0 needed for kate was not found" >&5 -$as_echo "$as_me: WARNING: Library kate >= 0.3.0 needed for kate was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library kate >= 0.3.0 needed for kate was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library kate >= 0.3.0 needed for kate was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_kate" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_kate" = "xyes" +then : as_fn_error $? "Library kate >= 0.3.0 needed for kate was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library kate >= 0.3.0 needed for kate was not found" >&5 -$as_echo "$as_me: WARNING: Library kate >= 0.3.0 needed for kate was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library kate >= 0.3.0 needed for kate was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library kate >= 0.3.0 needed for kate was not found" >&2;} fi else KATE_CFLAGS=$pkg_cv_KATE_CFLAGS KATE_LIBS=$pkg_cv_KATE_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBkate=libkate_plugin.la @@ -48216,17 +50471,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for KATE" >&5 -$as_echo_n "checking for KATE... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for KATE" >&5 +printf %s "checking for KATE... " >&6; } if test -n "$KATE_CFLAGS"; then pkg_cv_KATE_CFLAGS="$KATE_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"kate >= 0.3.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"kate >= 0.3.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "kate >= 0.3.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_KATE_CFLAGS=`$PKG_CONFIG --cflags "kate >= 0.3.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -48240,10 +50495,10 @@ pkg_cv_KATE_LIBS="$KATE_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"kate >= 0.3.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"kate >= 0.3.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "kate >= 0.3.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_KATE_LIBS=`$PKG_CONFIG --libs "kate >= 0.3.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -48257,8 +50512,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -48274,29 +50529,31 @@ echo "$KATE_PKG_ERRORS" >&5 enable_kate=no - if test x"$enable_kate" = "xyes"; then : + if test x"$enable_kate" = "xyes" +then : as_fn_error $? "Library kate >= 0.3.0 needed for kate was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library kate >= 0.3.0 needed for kate was not found" >&5 -$as_echo "$as_me: WARNING: Library kate >= 0.3.0 needed for kate was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library kate >= 0.3.0 needed for kate was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library kate >= 0.3.0 needed for kate was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_kate=no - if test x"$enable_kate" = "xyes"; then : + if test x"$enable_kate" = "xyes" +then : as_fn_error $? "Library kate >= 0.3.0 needed for kate was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library kate >= 0.3.0 needed for kate was not found" >&5 -$as_echo "$as_me: WARNING: Library kate >= 0.3.0 needed for kate was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library kate >= 0.3.0 needed for kate was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library kate >= 0.3.0 needed for kate was not found" >&2;} fi else KATE_CFLAGS=$pkg_cv_KATE_CFLAGS KATE_LIBS=$pkg_cv_KATE_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_kate=yes @@ -48334,25 +50591,27 @@ # Check whether --enable-tiger was given. -if test "${enable_tiger+set}" = set; then : +if test ${enable_tiger+y} +then : enableval=$enable_tiger; fi -if test "${enable_tiger}" != "no"; then : +if test "${enable_tiger}" != "no" +then : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIGER" >&5 -$as_echo_n "checking for TIGER... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIGER" >&5 +printf %s "checking for TIGER... " >&6; } if test -n "$TIGER_CFLAGS"; then pkg_cv_TIGER_CFLAGS="$TIGER_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tiger >= 0.3.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tiger >= 0.3.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "tiger >= 0.3.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_TIGER_CFLAGS=`$PKG_CONFIG --cflags "tiger >= 0.3.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -48366,10 +50625,10 @@ pkg_cv_TIGER_LIBS="$TIGER_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tiger >= 0.3.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tiger >= 0.3.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "tiger >= 0.3.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_TIGER_LIBS=`$PKG_CONFIG --libs "tiger >= 0.3.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -48383,8 +50642,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -48400,17 +50659,19 @@ echo "$TIGER_PKG_ERRORS" >&5 - if test -n "${enable_tiger}"; then : + if test -n "${enable_tiger}" +then : as_fn_error $? "${TIGER_PKG_ERRORS}." "$LINENO" 5 fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - if test -n "${enable_tiger}"; then : + if test -n "${enable_tiger}" +then : as_fn_error $? "${TIGER_PKG_ERRORS}." "$LINENO" 5 @@ -48419,26 +50680,28 @@ else TIGER_CFLAGS=$pkg_cv_TIGER_CFLAGS TIGER_LIBS=$pkg_cv_TIGER_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } -$as_echo "#define HAVE_TIGER 1" >>confdefs.h +printf "%s\n" "#define HAVE_TIGER 1" >>confdefs.h fi fi # Check whether --enable-css was given. -if test "${enable_css+set}" = set; then : +if test ${enable_css+y} +then : enableval=$enable_css; fi -if test "${enable_css}" != "no"; then : +if test "${enable_css}" != "no" +then : with_css="yes" -$as_echo "#define HAVE_CSS 1" >>confdefs.h +printf "%s\n" "#define HAVE_CSS 1" >>confdefs.h fi @@ -48457,17 +50720,17 @@ pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGL" >&5 -$as_echo_n "checking for EGL... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for EGL" >&5 +printf %s "checking for EGL... " >&6; } if test -n "$EGL_CFLAGS"; then pkg_cv_EGL_CFLAGS="$EGL_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl\""; } >&5 ($PKG_CONFIG --exists --print-errors "egl") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_EGL_CFLAGS=`$PKG_CONFIG --cflags "egl" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -48481,10 +50744,10 @@ pkg_cv_EGL_LIBS="$EGL_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl\""; } >&5 ($PKG_CONFIG --exists --print-errors "egl") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_EGL_LIBS=`$PKG_CONFIG --libs "egl" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -48498,8 +50761,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -48518,16 +50781,16 @@ have_egl="no" elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } have_egl="no" else EGL_CFLAGS=$pkg_cv_EGL_CFLAGS EGL_LIBS=$pkg_cv_EGL_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_egl="yes" @@ -48544,17 +50807,17 @@ have_gl="no" pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5 -$as_echo_n "checking for GL... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GL" >&5 +printf %s "checking for GL... " >&6; } if test -n "$GL_CFLAGS"; then pkg_cv_GL_CFLAGS="$GL_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gl\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gl\""; } >&5 ($PKG_CONFIG --exists --print-errors "gl") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "gl" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -48568,10 +50831,10 @@ pkg_cv_GL_LIBS="$GL_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gl\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gl\""; } >&5 ($PKG_CONFIG --exists --print-errors "gl") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "gl" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -48585,8 +50848,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -48602,8 +50865,8 @@ echo "$GL_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL" >&5 -$as_echo_n "checking for OpenGL... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for OpenGL" >&5 +printf %s "checking for OpenGL... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -48613,7 +50876,7 @@ #include int -main () +main (void) { int t0 = GL_TEXTURE0; @@ -48622,31 +50885,33 @@ } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : GL_CFLAGS="" have_gl="yes" - if test "${SYS}" != "mingw32"; then : + if test "${SYS}" != "mingw32" +then : GL_LIBS="-lGL" -else +else $as_nop GL_LIBS="-lopengl32" fi fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_gl}" >&5 -$as_echo "${have_gl}" >&6; } +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${have_gl}" >&5 +printf "%s\n" "${have_gl}" >&6; } elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL" >&5 -$as_echo_n "checking for OpenGL... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for OpenGL" >&5 +printf %s "checking for OpenGL... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -48656,7 +50921,7 @@ #include int -main () +main (void) { int t0 = GL_TEXTURE0; @@ -48665,30 +50930,32 @@ } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : GL_CFLAGS="" have_gl="yes" - if test "${SYS}" != "mingw32"; then : + if test "${SYS}" != "mingw32" +then : GL_LIBS="-lGL" -else +else $as_nop GL_LIBS="-lopengl32" fi fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_gl}" >&5 -$as_echo "${have_gl}" >&6; } +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${have_gl}" >&5 +printf "%s\n" "${have_gl}" >&6; } else GL_CFLAGS=$pkg_cv_GL_CFLAGS GL_LIBS=$pkg_cv_GL_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_gl="yes" @@ -48701,10 +50968,11 @@ HAVE_GL_FALSE= fi -if test "${have_gl}" = "yes"; then : +if test "${have_gl}" = "yes" +then : -$as_echo "#define HAVE_GL 1" >>confdefs.h +printf "%s\n" "#define HAVE_GL 1" >>confdefs.h fi @@ -48726,9 +50994,10 @@ # Check whether --enable-gles2 was given. -if test "${enable_gles2+set}" = set; then : +if test ${enable_gles2+y} +then : enableval=$enable_gles2; -else +else $as_nop enable_gles2=disabled fi @@ -48737,17 +51006,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLES2" >&5 -$as_echo_n "checking for GLES2... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GLES2" >&5 +printf %s "checking for GLES2... " >&6; } if test -n "$GLES2_CFLAGS"; then pkg_cv_GLES2_CFLAGS="$GLES2_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glesv2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glesv2\""; } >&5 ($PKG_CONFIG --exists --print-errors "glesv2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GLES2_CFLAGS=`$PKG_CONFIG --cflags "glesv2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -48761,10 +51030,10 @@ pkg_cv_GLES2_LIBS="$GLES2_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glesv2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glesv2\""; } >&5 ($PKG_CONFIG --exists --print-errors "glesv2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GLES2_LIBS=`$PKG_CONFIG --libs "glesv2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -48778,8 +51047,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -48794,28 +51063,30 @@ # Put the nasty error message in config.log where it belongs echo "$GLES2_PKG_ERRORS" >&5 - if test x"$enable_gles2" = "xyes"; then : + if test x"$enable_gles2" = "xyes" +then : as_fn_error $? "Library glesv2 needed for gles2 was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library glesv2 needed for gles2 was not found" >&5 -$as_echo "$as_me: WARNING: Library glesv2 needed for gles2 was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library glesv2 needed for gles2 was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library glesv2 needed for gles2 was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_gles2" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_gles2" = "xyes" +then : as_fn_error $? "Library glesv2 needed for gles2 was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library glesv2 needed for gles2 was not found" >&5 -$as_echo "$as_me: WARNING: Library glesv2 needed for gles2 was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library glesv2 needed for gles2 was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library glesv2 needed for gles2 was not found" >&2;} fi else GLES2_CFLAGS=$pkg_cv_GLES2_CFLAGS GLES2_LIBS=$pkg_cv_GLES2_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBgles2=libgles2_plugin.la @@ -48837,17 +51108,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLES2" >&5 -$as_echo_n "checking for GLES2... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GLES2" >&5 +printf %s "checking for GLES2... " >&6; } if test -n "$GLES2_CFLAGS"; then pkg_cv_GLES2_CFLAGS="$GLES2_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glesv2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glesv2\""; } >&5 ($PKG_CONFIG --exists --print-errors "glesv2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GLES2_CFLAGS=`$PKG_CONFIG --cflags "glesv2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -48861,10 +51132,10 @@ pkg_cv_GLES2_LIBS="$GLES2_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glesv2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glesv2\""; } >&5 ($PKG_CONFIG --exists --print-errors "glesv2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GLES2_LIBS=`$PKG_CONFIG --libs "glesv2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -48878,8 +51149,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -48895,29 +51166,31 @@ echo "$GLES2_PKG_ERRORS" >&5 enable_gles2=no - if test x"$enable_gles2" = "xyes"; then : + if test x"$enable_gles2" = "xyes" +then : as_fn_error $? "Library glesv2 needed for gles2 was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library glesv2 needed for gles2 was not found" >&5 -$as_echo "$as_me: WARNING: Library glesv2 needed for gles2 was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library glesv2 needed for gles2 was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library glesv2 needed for gles2 was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_gles2=no - if test x"$enable_gles2" = "xyes"; then : + if test x"$enable_gles2" = "xyes" +then : as_fn_error $? "Library glesv2 needed for gles2 was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library glesv2 needed for gles2 was not found" >&5 -$as_echo "$as_me: WARNING: Library glesv2 needed for gles2 was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library glesv2 needed for gles2 was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library glesv2 needed for gles2 was not found" >&2;} fi else GLES2_CFLAGS=$pkg_cv_GLES2_CFLAGS GLES2_LIBS=$pkg_cv_GLES2_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_gles2=yes @@ -48955,12 +51228,13 @@ -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 -$as_echo_n "checking for X... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5 +printf %s "checking for X... " >&6; } # Check whether --with-x was given. -if test "${with_x+set}" = set; then : +if test ${with_x+y} +then : withval=$with_x; fi @@ -48971,12 +51245,41 @@ else case $x_includes,$x_libraries in #( *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( - *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : - $as_echo_n "(cached) " >&6 -else + *,NONE | NONE,*) if test ${ac_cv_have_x+y} +then : + printf %s "(cached) " >&6 +else $as_nop # One or both of the vars are not set, and there is no cached value. -ac_x_includes=no ac_x_libraries=no -rm -f -r conftest.dir +ac_x_includes=no +ac_x_libraries=no +# Do we need to do anything special at all? +ac_save_LIBS=$LIBS +LIBS="-lX11 $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main (void) +{ +XrmInitialize () + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO" +then : + # We can compile and link X programs with no special options. + ac_x_includes= + ac_x_libraries= +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext +LIBS="$ac_save_LIBS" +# If that didn't work, only try xmkmf and file system searches +# for native compilation. +if test x"$ac_x_includes" = xno && test "$cross_compiling" = no +then : + rm -f -r conftest.dir if mkdir conftest.dir; then cd conftest.dir cat >Imakefile <<'_ACEOF' @@ -49015,7 +51318,7 @@ rm -f -r conftest.dir fi -# Standard set of common directories for X headers. + # Standard set of common directories for X headers. # Check X11 before X11Rn because it is often a symlink to the current release. ac_x_header_dirs=' /usr/X11/include @@ -49042,6 +51345,8 @@ /usr/local/include/X11R5 /usr/local/include/X11R4 +/opt/X11/include + /usr/X386/include /usr/x386/include /usr/XFree86/include/X11 @@ -49063,10 +51368,11 @@ /* end confdefs.h. */ #include _ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : +if ac_fn_c_try_cpp "$LINENO" +then : # We can compile using X headers with no special include directory. ac_x_includes= -else +else $as_nop for ac_dir in $ac_x_header_dirs; do if test -r "$ac_dir/X11/Xlib.h"; then ac_x_includes=$ac_dir @@ -49087,20 +51393,21 @@ /* end confdefs.h. */ #include int -main () +main (void) { XrmInitialize () ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : LIBS=$ac_save_LIBS # We can link X programs with no special library path. ac_x_libraries= -else +else $as_nop LIBS=$ac_save_LIBS -for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` +for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` do # Don't even attempt the hair of trying to link an X program! for ac_extension in a so sl dylib la dll; do @@ -49111,19 +51418,21 @@ done done fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi # $ac_x_libraries = no +fi +# Record the results. case $ac_x_includes,$ac_x_libraries in #( - no,* | *,no | *\'*) + no,* | *,no | *\'*) : # Didn't find X, or a directory has "'" in its name. - ac_cv_have_x="have_x=no";; #( - *) + ac_cv_have_x="have_x=no" ;; #( + *) : # Record where we found X for the cache. ac_cv_have_x="have_x=yes\ ac_x_includes='$ac_x_includes'\ - ac_x_libraries='$ac_x_libraries'" + ac_x_libraries='$ac_x_libraries'" ;; esac fi ;; #( @@ -49133,8 +51442,8 @@ fi # $with_x != no if test "$have_x" != yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 -$as_echo "$have_x" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 +printf "%s\n" "$have_x" >&6; } no_x=yes else # If each of the values was on the command line, it overrides each guess. @@ -49144,14 +51453,14 @@ ac_cv_have_x="have_x=yes\ ac_x_includes='$x_includes'\ ac_x_libraries='$x_libraries'" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 -$as_echo "libraries $x_libraries, headers $x_includes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 +printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; } fi if test "$no_x" = yes; then # Not all programs may use this symbol, but it does not hurt to define it. -$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h +printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= else @@ -49164,8 +51473,8 @@ X_LIBS="$X_LIBS -L$x_libraries" # For Solaris; some versions of Sun CC require a space after -R and # others require no space. Words are not sufficient . . . . - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5 -$as_echo_n "checking whether -R must be followed by a space... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5 +printf %s "checking whether -R must be followed by a space... " >&6; } ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" ac_xsave_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes @@ -49173,42 +51482,44 @@ /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } +if ac_fn_c_try_link "$LINENO" +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } X_LIBS="$X_LIBS -R$x_libraries" -else +else $as_nop LIBS="$ac_xsave_LIBS -R $x_libraries" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } +if ac_fn_c_try_link "$LINENO" +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } X_LIBS="$X_LIBS -R $x_libraries" -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5 -$as_echo "neither works" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5 +printf "%s\n" "neither works" >&6; } fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ac_c_werror_flag=$ac_xsave_c_werror_flag LIBS=$ac_xsave_LIBS @@ -49231,26 +51542,25 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char XOpenDisplay (); int -main () +main (void) { return XOpenDisplay (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 -$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } -if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then : - $as_echo_n "(cached) " >&6 -else +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 +printf %s "checking for dnet_ntoa in -ldnet... " >&6; } +if test ${ac_cv_lib_dnet_dnet_ntoa+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-ldnet $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -49259,39 +51569,39 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char dnet_ntoa (); int -main () +main (void) { return dnet_ntoa (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_dnet_dnet_ntoa=yes -else +else $as_nop ac_cv_lib_dnet_dnet_ntoa=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 -$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } -if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 +printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; } +if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes +then : X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" fi if test $ac_cv_lib_dnet_dnet_ntoa = no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5 -$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; } -if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5 +printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; } +if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-ldnet_stub $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -49300,36 +51610,35 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char dnet_ntoa (); int -main () +main (void) { return dnet_ntoa (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_dnet_stub_dnet_ntoa=yes -else +else $as_nop ac_cv_lib_dnet_stub_dnet_ntoa=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 -$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } -if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 +printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } +if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes +then : X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" fi fi fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$ac_xsave_LIBS" @@ -49342,16 +51651,18 @@ # The functions gethostbyname, getservbyname, and inet_addr are # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" -if test "x$ac_cv_func_gethostbyname" = xyes; then : +if test "x$ac_cv_func_gethostbyname" = xyes +then : fi if test $ac_cv_func_gethostbyname = no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 -$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } -if ${ac_cv_lib_nsl_gethostbyname+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 +printf %s "checking for gethostbyname in -lnsl... " >&6; } +if test ${ac_cv_lib_nsl_gethostbyname+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lnsl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -49360,39 +51671,39 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char gethostbyname (); int -main () +main (void) { return gethostbyname (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_nsl_gethostbyname=yes -else +else $as_nop ac_cv_lib_nsl_gethostbyname=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 -$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } -if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 +printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; } +if test "x$ac_cv_lib_nsl_gethostbyname" = xyes +then : X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" fi if test $ac_cv_lib_nsl_gethostbyname = no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5 -$as_echo_n "checking for gethostbyname in -lbsd... " >&6; } -if ${ac_cv_lib_bsd_gethostbyname+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5 +printf %s "checking for gethostbyname in -lbsd... " >&6; } +if test ${ac_cv_lib_bsd_gethostbyname+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lbsd $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -49401,30 +51712,29 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char gethostbyname (); int -main () +main (void) { return gethostbyname (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_bsd_gethostbyname=yes -else +else $as_nop ac_cv_lib_bsd_gethostbyname=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5 -$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; } -if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5 +printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; } +if test "x$ac_cv_lib_bsd_gethostbyname" = xyes +then : X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" fi @@ -49439,16 +51749,18 @@ # must be given before -lnsl if both are needed. We assume that # if connect needs -lnsl, so does gethostbyname. ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect" -if test "x$ac_cv_func_connect" = xyes; then : +if test "x$ac_cv_func_connect" = xyes +then : fi if test $ac_cv_func_connect = no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 -$as_echo_n "checking for connect in -lsocket... " >&6; } -if ${ac_cv_lib_socket_connect+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 +printf %s "checking for connect in -lsocket... " >&6; } +if test ${ac_cv_lib_socket_connect+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lsocket $X_EXTRA_LIBS $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -49457,30 +51769,29 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char connect (); int -main () +main (void) { return connect (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_socket_connect=yes -else +else $as_nop ac_cv_lib_socket_connect=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 -$as_echo "$ac_cv_lib_socket_connect" >&6; } -if test "x$ac_cv_lib_socket_connect" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 +printf "%s\n" "$ac_cv_lib_socket_connect" >&6; } +if test "x$ac_cv_lib_socket_connect" = xyes +then : X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" fi @@ -49488,16 +51799,18 @@ # Guillermo Gomez says -lposix is necessary on A/UX. ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove" -if test "x$ac_cv_func_remove" = xyes; then : +if test "x$ac_cv_func_remove" = xyes +then : fi if test $ac_cv_func_remove = no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5 -$as_echo_n "checking for remove in -lposix... " >&6; } -if ${ac_cv_lib_posix_remove+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5 +printf %s "checking for remove in -lposix... " >&6; } +if test ${ac_cv_lib_posix_remove+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lposix $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -49506,30 +51819,29 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char remove (); int -main () +main (void) { return remove (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_posix_remove=yes -else +else $as_nop ac_cv_lib_posix_remove=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5 -$as_echo "$ac_cv_lib_posix_remove" >&6; } -if test "x$ac_cv_lib_posix_remove" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5 +printf "%s\n" "$ac_cv_lib_posix_remove" >&6; } +if test "x$ac_cv_lib_posix_remove" = xyes +then : X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" fi @@ -49537,16 +51849,18 @@ # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat" -if test "x$ac_cv_func_shmat" = xyes; then : +if test "x$ac_cv_func_shmat" = xyes +then : fi if test $ac_cv_func_shmat = no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5 -$as_echo_n "checking for shmat in -lipc... " >&6; } -if ${ac_cv_lib_ipc_shmat+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5 +printf %s "checking for shmat in -lipc... " >&6; } +if test ${ac_cv_lib_ipc_shmat+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lipc $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -49555,30 +51869,29 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char shmat (); int -main () +main (void) { return shmat (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_ipc_shmat=yes -else +else $as_nop ac_cv_lib_ipc_shmat=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5 -$as_echo "$ac_cv_lib_ipc_shmat" >&6; } -if test "x$ac_cv_lib_ipc_shmat" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5 +printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; } +if test "x$ac_cv_lib_ipc_shmat" = xyes +then : X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" fi @@ -49594,11 +51907,12 @@ # These have to be linked with before -lX11, unlike the other # libraries we check for below, so use a different variable. # John Interrante, Karl Berry - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5 -$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; } -if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5 +printf %s "checking for IceConnectionNumber in -lICE... " >&6; } +if test ${ac_cv_lib_ICE_IceConnectionNumber+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lICE $X_EXTRA_LIBS $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -49607,30 +51921,29 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char IceConnectionNumber (); int -main () +main (void) { return IceConnectionNumber (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_ICE_IceConnectionNumber=yes -else +else $as_nop ac_cv_lib_ICE_IceConnectionNumber=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 -$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } -if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 +printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } +if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes +then : X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" fi @@ -49638,29 +51951,26 @@ fi -for ac_header in X11/Xlib.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "$ac_includes_default" -if test "x$ac_cv_header_X11_Xlib_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_X11_XLIB_H 1 -_ACEOF +ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "$ac_includes_default" +if test "x$ac_cv_header_X11_Xlib_h" = xyes +then : + printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h fi -done - # Check whether --enable-xcb was given. -if test "${enable_xcb+set}" = set; then : +if test ${enable_xcb+y} +then : enableval=$enable_xcb; -else +else $as_nop - if test "${SYS}" != "mingw32" -a "${SYS}" != "darwin"; then : + if test "${SYS}" != "mingw32" -a "${SYS}" != "darwin" +then : enable_xcb="yes" -else +else $as_nop enable_xcb="no" @@ -49669,9 +51979,10 @@ fi # Check whether --enable-xvideo was given. -if test "${enable_xvideo+set}" = set; then : +if test ${enable_xvideo+y} +then : enableval=$enable_xvideo; -else +else $as_nop enable_xvideo="$enable_xcb" @@ -49682,21 +51993,22 @@ have_xcb_keysyms="no" have_xcb_randr="no" have_xcb_xvideo="no" -if test "${enable_xcb}" != "no"; then : +if test "${enable_xcb}" != "no" +then : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB" >&5 -$as_echo_n "checking for XCB... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XCB" >&5 +printf %s "checking for XCB... " >&6; } if test -n "$XCB_CFLAGS"; then pkg_cv_XCB_CFLAGS="$XCB_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb >= 1.6\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb >= 1.6\""; } >&5 ($PKG_CONFIG --exists --print-errors "xcb >= 1.6") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_XCB_CFLAGS=`$PKG_CONFIG --cflags "xcb >= 1.6" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -49710,10 +52022,10 @@ pkg_cv_XCB_LIBS="$XCB_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb >= 1.6\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb >= 1.6\""; } >&5 ($PKG_CONFIG --exists --print-errors "xcb >= 1.6") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_XCB_LIBS=`$PKG_CONFIG --libs "xcb >= 1.6" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -49727,8 +52039,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -49754,10 +52066,10 @@ and XCB_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. @@ -49771,24 +52083,24 @@ else XCB_CFLAGS=$pkg_cv_XCB_CFLAGS XCB_LIBS=$pkg_cv_XCB_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } fi have_xcb="yes" pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_SHM" >&5 -$as_echo_n "checking for XCB_SHM... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XCB_SHM" >&5 +printf %s "checking for XCB_SHM... " >&6; } if test -n "$XCB_SHM_CFLAGS"; then pkg_cv_XCB_SHM_CFLAGS="$XCB_SHM_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-shm\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-shm\""; } >&5 ($PKG_CONFIG --exists --print-errors "xcb-shm") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_XCB_SHM_CFLAGS=`$PKG_CONFIG --cflags "xcb-shm" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -49802,10 +52114,10 @@ pkg_cv_XCB_SHM_LIBS="$XCB_SHM_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-shm\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-shm\""; } >&5 ($PKG_CONFIG --exists --print-errors "xcb-shm") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_XCB_SHM_LIBS=`$PKG_CONFIG --libs "xcb-shm" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -49819,8 +52131,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -49846,10 +52158,10 @@ and XCB_SHM_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. @@ -49863,23 +52175,23 @@ else XCB_SHM_CFLAGS=$pkg_cv_XCB_SHM_CFLAGS XCB_SHM_LIBS=$pkg_cv_XCB_SHM_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } fi pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_COMPOSITE" >&5 -$as_echo_n "checking for XCB_COMPOSITE... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XCB_COMPOSITE" >&5 +printf %s "checking for XCB_COMPOSITE... " >&6; } if test -n "$XCB_COMPOSITE_CFLAGS"; then pkg_cv_XCB_COMPOSITE_CFLAGS="$XCB_COMPOSITE_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-composite\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-composite\""; } >&5 ($PKG_CONFIG --exists --print-errors "xcb-composite") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_XCB_COMPOSITE_CFLAGS=`$PKG_CONFIG --cflags "xcb-composite" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -49893,10 +52205,10 @@ pkg_cv_XCB_COMPOSITE_LIBS="$XCB_COMPOSITE_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-composite\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-composite\""; } >&5 ($PKG_CONFIG --exists --print-errors "xcb-composite") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_XCB_COMPOSITE_LIBS=`$PKG_CONFIG --libs "xcb-composite" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -49910,8 +52222,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -49937,10 +52249,10 @@ and XCB_COMPOSITE_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. @@ -49954,23 +52266,23 @@ else XCB_COMPOSITE_CFLAGS=$pkg_cv_XCB_COMPOSITE_CFLAGS XCB_COMPOSITE_LIBS=$pkg_cv_XCB_COMPOSITE_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } fi pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XPROTO" >&5 -$as_echo_n "checking for XPROTO... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XPROTO" >&5 +printf %s "checking for XPROTO... " >&6; } if test -n "$XPROTO_CFLAGS"; then pkg_cv_XPROTO_CFLAGS="$XPROTO_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5 ($PKG_CONFIG --exists --print-errors "xproto") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_XPROTO_CFLAGS=`$PKG_CONFIG --cflags "xproto" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -49984,10 +52296,10 @@ pkg_cv_XPROTO_LIBS="$XPROTO_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5 ($PKG_CONFIG --exists --print-errors "xproto") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_XPROTO_LIBS=`$PKG_CONFIG --libs "xproto" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -50001,8 +52313,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -50028,10 +52340,10 @@ and XPROTO_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. @@ -50045,26 +52357,27 @@ else XPROTO_CFLAGS=$pkg_cv_XPROTO_CFLAGS XPROTO_LIBS=$pkg_cv_XPROTO_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } fi - if test "${enable_xvideo}" != "no"; then : + if test "${enable_xvideo}" != "no" +then : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_XV" >&5 -$as_echo_n "checking for XCB_XV... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XCB_XV" >&5 +printf %s "checking for XCB_XV... " >&6; } if test -n "$XCB_XV_CFLAGS"; then pkg_cv_XCB_XV_CFLAGS="$XCB_XV_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xv >= 1.1.90.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xv >= 1.1.90.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "xcb-xv >= 1.1.90.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_XCB_XV_CFLAGS=`$PKG_CONFIG --cflags "xcb-xv >= 1.1.90.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -50078,10 +52391,10 @@ pkg_cv_XCB_XV_LIBS="$XCB_XV_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xv >= 1.1.90.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xv >= 1.1.90.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "xcb-xv >= 1.1.90.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_XCB_XV_LIBS=`$PKG_CONFIG --libs "xcb-xv >= 1.1.90.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -50095,8 +52408,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -50122,10 +52435,10 @@ and XCB_XV_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. @@ -50139,8 +52452,8 @@ else XCB_XV_CFLAGS=$pkg_cv_XCB_XV_CFLAGS XCB_XV_LIBS=$pkg_cv_XCB_XV_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_xcb_xvideo="yes" fi @@ -50148,17 +52461,17 @@ pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_RANDR" >&5 -$as_echo_n "checking for XCB_RANDR... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XCB_RANDR" >&5 +printf %s "checking for XCB_RANDR... " >&6; } if test -n "$XCB_RANDR_CFLAGS"; then pkg_cv_XCB_RANDR_CFLAGS="$XCB_RANDR_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-randr >= 1.3\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-randr >= 1.3\""; } >&5 ($PKG_CONFIG --exists --print-errors "xcb-randr >= 1.3") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_XCB_RANDR_CFLAGS=`$PKG_CONFIG --cflags "xcb-randr >= 1.3" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -50172,10 +52485,10 @@ pkg_cv_XCB_RANDR_LIBS="$XCB_RANDR_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-randr >= 1.3\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-randr >= 1.3\""; } >&5 ($PKG_CONFIG --exists --print-errors "xcb-randr >= 1.3") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_XCB_RANDR_LIBS=`$PKG_CONFIG --libs "xcb-randr >= 1.3" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -50189,8 +52502,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -50216,10 +52529,10 @@ and XCB_RANDR_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. @@ -50233,24 +52546,24 @@ else XCB_RANDR_CFLAGS=$pkg_cv_XCB_RANDR_CFLAGS XCB_RANDR_LIBS=$pkg_cv_XCB_RANDR_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_xcb_randr="yes" fi pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_KEYSYMS" >&5 -$as_echo_n "checking for XCB_KEYSYMS... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XCB_KEYSYMS" >&5 +printf %s "checking for XCB_KEYSYMS... " >&6; } if test -n "$XCB_KEYSYMS_CFLAGS"; then pkg_cv_XCB_KEYSYMS_CFLAGS="$XCB_KEYSYMS_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-keysyms >= 0.3.4\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-keysyms >= 0.3.4\""; } >&5 ($PKG_CONFIG --exists --print-errors "xcb-keysyms >= 0.3.4") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_XCB_KEYSYMS_CFLAGS=`$PKG_CONFIG --cflags "xcb-keysyms >= 0.3.4" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -50264,10 +52577,10 @@ pkg_cv_XCB_KEYSYMS_LIBS="$XCB_KEYSYMS_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-keysyms >= 0.3.4\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-keysyms >= 0.3.4\""; } >&5 ($PKG_CONFIG --exists --print-errors "xcb-keysyms >= 0.3.4") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_XCB_KEYSYMS_LIBS=`$PKG_CONFIG --libs "xcb-keysyms >= 0.3.4" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -50281,8 +52594,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -50298,21 +52611,21 @@ echo "$XCB_KEYSYMS_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${XCB_KEYSYMS_PKG_ERRORS}. Hotkeys will not work." >&5 -$as_echo "$as_me: WARNING: ${XCB_KEYSYMS_PKG_ERRORS}. Hotkeys will not work." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${XCB_KEYSYMS_PKG_ERRORS}. Hotkeys will not work." >&5 +printf "%s\n" "$as_me: WARNING: ${XCB_KEYSYMS_PKG_ERRORS}. Hotkeys will not work." >&2;} elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${XCB_KEYSYMS_PKG_ERRORS}. Hotkeys will not work." >&5 -$as_echo "$as_me: WARNING: ${XCB_KEYSYMS_PKG_ERRORS}. Hotkeys will not work." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${XCB_KEYSYMS_PKG_ERRORS}. Hotkeys will not work." >&5 +printf "%s\n" "$as_me: WARNING: ${XCB_KEYSYMS_PKG_ERRORS}. Hotkeys will not work." >&2;} else XCB_KEYSYMS_CFLAGS=$pkg_cv_XCB_KEYSYMS_CFLAGS XCB_KEYSYMS_LIBS=$pkg_cv_XCB_KEYSYMS_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_xcb_keysyms="yes" fi @@ -50352,26 +52665,28 @@ # Check whether --enable-vdpau was given. -if test "${enable_vdpau+set}" = set; then : +if test ${enable_vdpau+y} +then : enableval=$enable_vdpau; fi have_vdpau="no" -if test "${enable_vdpau}" != "no"; then : +if test "${enable_vdpau}" != "no" +then : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for VDPAU" >&5 -$as_echo_n "checking for VDPAU... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for VDPAU" >&5 +printf %s "checking for VDPAU... " >&6; } if test -n "$VDPAU_CFLAGS"; then pkg_cv_VDPAU_CFLAGS="$VDPAU_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vdpau >= 0.6\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vdpau >= 0.6\""; } >&5 ($PKG_CONFIG --exists --print-errors "vdpau >= 0.6") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_VDPAU_CFLAGS=`$PKG_CONFIG --cflags "vdpau >= 0.6" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -50385,10 +52700,10 @@ pkg_cv_VDPAU_LIBS="$VDPAU_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vdpau >= 0.6\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vdpau >= 0.6\""; } >&5 ($PKG_CONFIG --exists --print-errors "vdpau >= 0.6") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_VDPAU_LIBS=`$PKG_CONFIG --libs "vdpau >= 0.6" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -50402,8 +52717,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -50419,17 +52734,19 @@ echo "$VDPAU_PKG_ERRORS" >&5 - if test -n "${enable_vdpau}"; then : + if test -n "${enable_vdpau}" +then : as_fn_error $? "${VDPAU_PKG_ERRORS}." "$LINENO" 5 fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - if test -n "${enable_vdpau}"; then : + if test -n "${enable_vdpau}" +then : as_fn_error $? "${VDPAU_PKG_ERRORS}." "$LINENO" 5 @@ -50438,11 +52755,12 @@ else VDPAU_CFLAGS=$pkg_cv_VDPAU_CFLAGS VDPAU_LIBS=$pkg_cv_VDPAU_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_vdpau="yes" - if test "${no_x}" = "yes"; then : + if test "${no_x}" = "yes" +then : as_fn_error $? "VDPAU requires Xlib (X11)." "$LINENO" 5 @@ -50461,33 +52779,35 @@ have_avcodec_vdpau="no" -if test "${have_vdpau}" = "yes" -a "${have_avcodec}" = "yes"; then : +if test "${have_vdpau}" = "yes" -a "${have_avcodec}" = "yes" +then : case "${avfork}" in libav) av_vdpau_ver="56.10.0" ;; ffmpeg) av_vdpau_ver="56.19.100" ;; esac if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavcodec >= \${av_vdpau_ver}\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavcodec >= \${av_vdpau_ver}\""; } >&5 ($PKG_CONFIG --exists --print-errors "libavcodec >= ${av_vdpau_ver}") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then have_avcodec_vdpau="yes" - { $as_echo "$as_me:${as_lineno-$LINENO}: VDPAU decoding acceleration activated" >&5 -$as_echo "$as_me: VDPAU decoding acceleration activated" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: VDPAU decoding acceleration activated" >&5 +printf "%s\n" "$as_me: VDPAU decoding acceleration activated" >&6;} else - if test -n "${enable_vdpau}"; then : + if test -n "${enable_vdpau}" +then : as_fn_error $? "libavcodec >= 56.10.0 is required for VDPAU decoding." "$LINENO" 5 -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libavcodec >= 56.10.0 are required for VDPAU decoding." >&5 -$as_echo "$as_me: WARNING: libavcodec >= 56.10.0 are required for VDPAU decoding." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: libavcodec >= 56.10.0 are required for VDPAU decoding." >&5 +printf "%s\n" "$as_me: WARNING: libavcodec >= 56.10.0 are required for VDPAU decoding." >&2;} fi @@ -50505,28 +52825,30 @@ # Check whether --enable-wayland was given. -if test "${enable_wayland+set}" = set; then : +if test ${enable_wayland+y} +then : enableval=$enable_wayland; fi have_wayland="no" have_wayland_egl="no" -if test "${enable_wayland}" = "yes"; then : +if test "${enable_wayland}" = "yes" +then : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAYLAND_CLIENT" >&5 -$as_echo_n "checking for WAYLAND_CLIENT... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for WAYLAND_CLIENT" >&5 +printf %s "checking for WAYLAND_CLIENT... " >&6; } if test -n "$WAYLAND_CLIENT_CFLAGS"; then pkg_cv_WAYLAND_CLIENT_CFLAGS="$WAYLAND_CLIENT_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-client >= 1.5.91\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-client >= 1.5.91\""; } >&5 ($PKG_CONFIG --exists --print-errors "wayland-client >= 1.5.91") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags "wayland-client >= 1.5.91" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -50540,10 +52862,10 @@ pkg_cv_WAYLAND_CLIENT_LIBS="$WAYLAND_CLIENT_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-client >= 1.5.91\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-client >= 1.5.91\""; } >&5 ($PKG_CONFIG --exists --print-errors "wayland-client >= 1.5.91") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs "wayland-client >= 1.5.91" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -50557,8 +52879,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -50574,17 +52896,19 @@ echo "$WAYLAND_CLIENT_PKG_ERRORS" >&5 - if test -n "${enable_wayland}"; then : + if test -n "${enable_wayland}" +then : as_fn_error $? "${WAYLAND_CLIENT_PKG_ERRORS}." "$LINENO" 5 fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - if test -n "${enable_wayland}"; then : + if test -n "${enable_wayland}" +then : as_fn_error $? "${WAYLAND_CLIENT_PKG_ERRORS}." "$LINENO" 5 @@ -50593,68 +52917,69 @@ else WAYLAND_CLIENT_CFLAGS=$pkg_cv_WAYLAND_CLIENT_CFLAGS WAYLAND_CLIENT_LIBS=$pkg_cv_WAYLAND_CLIENT_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the Wayland protocols" >&5 -$as_echo_n "checking for the Wayland protocols... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the Wayland protocols" >&5 +printf %s "checking for the Wayland protocols... " >&6; } if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-protocols >= 1.4\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-protocols >= 1.4\""; } >&5 ($PKG_CONFIG --exists --print-errors "wayland-protocols >= 1.4") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then WAYLAND_PROTOCOLS="$(${PKG_CONFIG} wayland-protocols --variable pkgdatadir)" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WAYLAND_PROTOCOLS}" >&5 -$as_echo "${WAYLAND_PROTOCOLS}" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${WAYLAND_PROTOCOLS}" >&5 +printf "%s\n" "${WAYLAND_PROTOCOLS}" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 -$as_echo "not found" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +printf "%s\n" "not found" >&6; } as_fn_error $? "$(${PKG_CONFIG} --print-errors 'wayland-protocols >= 1.4')" "$LINENO" 5 fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the Wayland scanner" >&5 -$as_echo_n "checking for the Wayland scanner... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the Wayland scanner" >&5 +printf %s "checking for the Wayland scanner... " >&6; } if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-scanner\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-scanner\""; } >&5 ($PKG_CONFIG --exists --print-errors "wayland-scanner") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then WAYLAND_SCANNER="$(${PKG_CONFIG} wayland-scanner --variable wayland_scanner)" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WAYLAND_SCANNER}" >&5 -$as_echo "${WAYLAND_SCANNER}" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${WAYLAND_SCANNER}" >&5 +printf "%s\n" "${WAYLAND_SCANNER}" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 -$as_echo "not found" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +printf "%s\n" "not found" >&6; } as_fn_error $? "$(${PKG_CONFIG} --print-errors wayland-scanner)" "$LINENO" 5 fi have_wayland="yes" - if test "${have_egl}" = "yes"; then : + if test "${have_egl}" = "yes" +then : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAYLAND_EGL" >&5 -$as_echo_n "checking for WAYLAND_EGL... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for WAYLAND_EGL" >&5 +printf %s "checking for WAYLAND_EGL... " >&6; } if test -n "$WAYLAND_EGL_CFLAGS"; then pkg_cv_WAYLAND_EGL_CFLAGS="$WAYLAND_EGL_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-egl\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-egl\""; } >&5 ($PKG_CONFIG --exists --print-errors "wayland-egl") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_WAYLAND_EGL_CFLAGS=`$PKG_CONFIG --cflags "wayland-egl" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -50668,10 +52993,10 @@ pkg_cv_WAYLAND_EGL_LIBS="$WAYLAND_EGL_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-egl\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-egl\""; } >&5 ($PKG_CONFIG --exists --print-errors "wayland-egl") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_WAYLAND_EGL_LIBS=`$PKG_CONFIG --libs "wayland-egl" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -50685,8 +53010,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -50705,16 +53030,16 @@ as_fn_error $? "${WAYLAND_EGL_PKG_ERRORS}." "$LINENO" 5 elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } as_fn_error $? "${WAYLAND_EGL_PKG_ERRORS}." "$LINENO" 5 else WAYLAND_EGL_CFLAGS=$pkg_cv_WAYLAND_EGL_CFLAGS WAYLAND_EGL_LIBS=$pkg_cv_WAYLAND_EGL_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_wayland_egl="yes" @@ -50746,25 +53071,27 @@ # Check whether --enable-sdl-image was given. -if test "${enable_sdl_image+set}" = set; then : +if test ${enable_sdl_image+y} +then : enableval=$enable_sdl_image; fi -if test "${enable_sdl_image}" != "no"; then : +if test "${enable_sdl_image}" != "no" +then : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL_IMAGE" >&5 -$as_echo_n "checking for SDL_IMAGE... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SDL_IMAGE" >&5 +printf %s "checking for SDL_IMAGE... " >&6; } if test -n "$SDL_IMAGE_CFLAGS"; then pkg_cv_SDL_IMAGE_CFLAGS="$SDL_IMAGE_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"SDL_image >= 1.2.10\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"SDL_image >= 1.2.10\""; } >&5 ($PKG_CONFIG --exists --print-errors "SDL_image >= 1.2.10") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SDL_IMAGE_CFLAGS=`$PKG_CONFIG --cflags "SDL_image >= 1.2.10" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -50778,10 +53105,10 @@ pkg_cv_SDL_IMAGE_LIBS="$SDL_IMAGE_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"SDL_image >= 1.2.10\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"SDL_image >= 1.2.10\""; } >&5 ($PKG_CONFIG --exists --print-errors "SDL_image >= 1.2.10") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SDL_IMAGE_LIBS=`$PKG_CONFIG --libs "SDL_image >= 1.2.10" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -50795,8 +53122,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -50812,21 +53139,21 @@ echo "$SDL_IMAGE_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${SDL_IMAGE_PKG_ERRORS}. You should install it alongside your SDL package." >&5 -$as_echo "$as_me: WARNING: ${SDL_IMAGE_PKG_ERRORS}. You should install it alongside your SDL package." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${SDL_IMAGE_PKG_ERRORS}. You should install it alongside your SDL package." >&5 +printf "%s\n" "$as_me: WARNING: ${SDL_IMAGE_PKG_ERRORS}. You should install it alongside your SDL package." >&2;} elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${SDL_IMAGE_PKG_ERRORS}. You should install it alongside your SDL package." >&5 -$as_echo "$as_me: WARNING: ${SDL_IMAGE_PKG_ERRORS}. You should install it alongside your SDL package." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${SDL_IMAGE_PKG_ERRORS}. You should install it alongside your SDL package." >&5 +printf "%s\n" "$as_me: WARNING: ${SDL_IMAGE_PKG_ERRORS}. You should install it alongside your SDL package." >&2;} else SDL_IMAGE_CFLAGS=$pkg_cv_SDL_IMAGE_CFLAGS SDL_IMAGE_LIBS=$pkg_cv_SDL_IMAGE_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } @@ -50840,64 +53167,64 @@ fi # Check whether --enable-freetype was given. -if test "${enable_freetype+set}" = set; then : +if test ${enable_freetype+y} +then : enableval=$enable_freetype; fi # Check whether --enable-fribidi was given. -if test "${enable_fribidi+set}" = set; then : +if test ${enable_fribidi+y} +then : enableval=$enable_fribidi; fi # Check whether --enable-harfbuzz was given. -if test "${enable_harfbuzz+set}" = set; then : +if test ${enable_harfbuzz+y} +then : enableval=$enable_harfbuzz; fi # Check whether --enable-fontconfig was given. -if test "${enable_fontconfig+set}" = set; then : +if test ${enable_fontconfig+y} +then : enableval=$enable_fontconfig; fi # Check whether --with-default-font was given. -if test "${with_default_font+set}" = set; then : +if test ${with_default_font+y} +then : withval=$with_default_font; -cat >>confdefs.h <<_ACEOF -#define DEFAULT_FONT_FILE "$withval" -_ACEOF +printf "%s\n" "#define DEFAULT_FONT_FILE \"$withval\"" >>confdefs.h fi # Check whether --with-default-monospace-font was given. -if test "${with_default_monospace_font+set}" = set; then : +if test ${with_default_monospace_font+y} +then : withval=$with_default_monospace_font; -cat >>confdefs.h <<_ACEOF -#define DEFAULT_MONOSPACE_FONT_FILE "$withval" -_ACEOF +printf "%s\n" "#define DEFAULT_MONOSPACE_FONT_FILE \"$withval\"" >>confdefs.h fi # Check whether --with-default-font-family was given. -if test "${with_default_font_family+set}" = set; then : +if test ${with_default_font_family+y} +then : withval=$with_default_font_family; -cat >>confdefs.h <<_ACEOF -#define DEFAULT_FAMILY "$withval" -_ACEOF +printf "%s\n" "#define DEFAULT_FAMILY \"$withval\"" >>confdefs.h fi # Check whether --with-default-monospace-font-family was given. -if test "${with_default_monospace_font_family+set}" = set; then : +if test ${with_default_monospace_font_family+y} +then : withval=$with_default_monospace_font_family; -cat >>confdefs.h <<_ACEOF -#define DEFAULT_MONOSPACE_FAMILY "$withval" -_ACEOF +printf "%s\n" "#define DEFAULT_MONOSPACE_FAMILY \"$withval\"" >>confdefs.h fi @@ -50910,17 +53237,17 @@ if test "${enable_freetype}" != "no"; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5 -$as_echo_n "checking for FREETYPE... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5 +printf %s "checking for FREETYPE... " >&6; } if test -n "$FREETYPE_CFLAGS"; then pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5 ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -50934,10 +53261,10 @@ pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5 ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -50951,8 +53278,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -50968,17 +53295,19 @@ echo "$FREETYPE_PKG_ERRORS" >&5 - if test -n "${enable_freetype}"; then : + if test -n "${enable_freetype}" +then : as_fn_error $? "${FREETYPE_PKG_ERRORS}. Install FreeType2 development or configure with --disable-freetype." "$LINENO" 5 fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - if test -n "${enable_freetype}"; then : + if test -n "${enable_freetype}" +then : as_fn_error $? "${FREETYPE_PKG_ERRORS}. Install FreeType2 development or configure with --disable-freetype." "$LINENO" 5 @@ -50987,8 +53316,8 @@ else FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_freetype="yes" @@ -51004,21 +53333,22 @@ - if test "${enable_fontconfig}" != "no" -a "${SYS}" != "mingw32" -a "${SYS}" != "darwin"; then : + if test "${enable_fontconfig}" != "no" -a "${SYS}" != "mingw32" -a "${SYS}" != "darwin" +then : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FONTCONFIG" >&5 -$as_echo_n "checking for FONTCONFIG... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FONTCONFIG" >&5 +printf %s "checking for FONTCONFIG... " >&6; } if test -n "$FONTCONFIG_CFLAGS"; then pkg_cv_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.11\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.11\""; } >&5 ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.11") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.11" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -51032,10 +53362,10 @@ pkg_cv_FONTCONFIG_LIBS="$FONTCONFIG_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.11\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.11\""; } >&5 ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.11") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.11" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -51049,8 +53379,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -51066,21 +53396,21 @@ echo "$FONTCONFIG_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${FONTCONFIG_PKG_ERRORS}. Styles will be disabled in FreeType." >&5 -$as_echo "$as_me: WARNING: ${FONTCONFIG_PKG_ERRORS}. Styles will be disabled in FreeType." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${FONTCONFIG_PKG_ERRORS}. Styles will be disabled in FreeType." >&5 +printf "%s\n" "$as_me: WARNING: ${FONTCONFIG_PKG_ERRORS}. Styles will be disabled in FreeType." >&2;} elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${FONTCONFIG_PKG_ERRORS}. Styles will be disabled in FreeType." >&5 -$as_echo "$as_me: WARNING: ${FONTCONFIG_PKG_ERRORS}. Styles will be disabled in FreeType." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${FONTCONFIG_PKG_ERRORS}. Styles will be disabled in FreeType." >&5 +printf "%s\n" "$as_me: WARNING: ${FONTCONFIG_PKG_ERRORS}. Styles will be disabled in FreeType." >&2;} else FONTCONFIG_CFLAGS=$pkg_cv_FONTCONFIG_CFLAGS FONTCONFIG_LIBS=$pkg_cv_FONTCONFIG_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_fontconfig="yes" @@ -51091,17 +53421,17 @@ if test "${enable_fribidi}" != "no"; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FRIBIDI" >&5 -$as_echo_n "checking for FRIBIDI... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FRIBIDI" >&5 +printf %s "checking for FRIBIDI... " >&6; } if test -n "$FRIBIDI_CFLAGS"; then pkg_cv_FRIBIDI_CFLAGS="$FRIBIDI_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fribidi\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fribidi\""; } >&5 ($PKG_CONFIG --exists --print-errors "fribidi") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_FRIBIDI_CFLAGS=`$PKG_CONFIG --cflags "fribidi" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -51115,10 +53445,10 @@ pkg_cv_FRIBIDI_LIBS="$FRIBIDI_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fribidi\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fribidi\""; } >&5 ($PKG_CONFIG --exists --print-errors "fribidi") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_FRIBIDI_LIBS=`$PKG_CONFIG --libs "fribidi" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -51132,8 +53462,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -51148,18 +53478,18 @@ # Put the nasty error message in config.log where it belongs echo "$FRIBIDI_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${FRIBIDI_PKG_ERRORS}. Bidirectional text and complex scripts (Arabic, Farsi, Thai...) will be disabled in FreeType." >&5 -$as_echo "$as_me: WARNING: ${FRIBIDI_PKG_ERRORS}. Bidirectional text and complex scripts (Arabic, Farsi, Thai...) will be disabled in FreeType." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${FRIBIDI_PKG_ERRORS}. Bidirectional text and complex scripts (Arabic, Farsi, Thai...) will be disabled in FreeType." >&5 +printf "%s\n" "$as_me: WARNING: ${FRIBIDI_PKG_ERRORS}. Bidirectional text and complex scripts (Arabic, Farsi, Thai...) will be disabled in FreeType." >&2;} elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${FRIBIDI_PKG_ERRORS}. Bidirectional text and complex scripts (Arabic, Farsi, Thai...) will be disabled in FreeType." >&5 -$as_echo "$as_me: WARNING: ${FRIBIDI_PKG_ERRORS}. Bidirectional text and complex scripts (Arabic, Farsi, Thai...) will be disabled in FreeType." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${FRIBIDI_PKG_ERRORS}. Bidirectional text and complex scripts (Arabic, Farsi, Thai...) will be disabled in FreeType." >&5 +printf "%s\n" "$as_me: WARNING: ${FRIBIDI_PKG_ERRORS}. Bidirectional text and complex scripts (Arabic, Farsi, Thai...) will be disabled in FreeType." >&2;} else FRIBIDI_CFLAGS=$pkg_cv_FRIBIDI_CFLAGS FRIBIDI_LIBS=$pkg_cv_FRIBIDI_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_fribidi="yes" @@ -51182,17 +53512,17 @@ if test "${enable_harfbuzz}" != "no"; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for HARFBUZZ" >&5 -$as_echo_n "checking for HARFBUZZ... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for HARFBUZZ" >&5 +printf %s "checking for HARFBUZZ... " >&6; } if test -n "$HARFBUZZ_CFLAGS"; then pkg_cv_HARFBUZZ_CFLAGS="$HARFBUZZ_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"harfbuzz\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"harfbuzz\""; } >&5 ($PKG_CONFIG --exists --print-errors "harfbuzz") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_HARFBUZZ_CFLAGS=`$PKG_CONFIG --cflags "harfbuzz" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -51206,10 +53536,10 @@ pkg_cv_HARFBUZZ_LIBS="$HARFBUZZ_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"harfbuzz\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"harfbuzz\""; } >&5 ($PKG_CONFIG --exists --print-errors "harfbuzz") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_HARFBUZZ_LIBS=`$PKG_CONFIG --libs "harfbuzz" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -51223,8 +53553,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -51239,18 +53569,18 @@ # Put the nasty error message in config.log where it belongs echo "$HARFBUZZ_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${HARFBUZZ_PKG_ERRORS}. Support for complex scripts (Arabic, Farsi, Thai...) will be disabled in FreeType." >&5 -$as_echo "$as_me: WARNING: ${HARFBUZZ_PKG_ERRORS}. Support for complex scripts (Arabic, Farsi, Thai...) will be disabled in FreeType." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${HARFBUZZ_PKG_ERRORS}. Support for complex scripts (Arabic, Farsi, Thai...) will be disabled in FreeType." >&5 +printf "%s\n" "$as_me: WARNING: ${HARFBUZZ_PKG_ERRORS}. Support for complex scripts (Arabic, Farsi, Thai...) will be disabled in FreeType." >&2;} elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${HARFBUZZ_PKG_ERRORS}. Support for complex scripts (Arabic, Farsi, Thai...) will be disabled in FreeType." >&5 -$as_echo "$as_me: WARNING: ${HARFBUZZ_PKG_ERRORS}. Support for complex scripts (Arabic, Farsi, Thai...) will be disabled in FreeType." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${HARFBUZZ_PKG_ERRORS}. Support for complex scripts (Arabic, Farsi, Thai...) will be disabled in FreeType." >&5 +printf "%s\n" "$as_me: WARNING: ${HARFBUZZ_PKG_ERRORS}. Support for complex scripts (Arabic, Farsi, Thai...) will be disabled in FreeType." >&2;} else HARFBUZZ_CFLAGS=$pkg_cv_HARFBUZZ_CFLAGS HARFBUZZ_LIBS=$pkg_cv_HARFBUZZ_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_harfbuzz="yes" @@ -51307,25 +53637,27 @@ # Check whether --enable-libass was given. -if test "${enable_libass+set}" = set; then : +if test ${enable_libass+y} +then : enableval=$enable_libass; fi -if test "${enable_libass}" != "no"; then : +if test "${enable_libass}" != "no" +then : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBASS" >&5 -$as_echo_n "checking for LIBASS... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBASS" >&5 +printf %s "checking for LIBASS... " >&6; } if test -n "$LIBASS_CFLAGS"; then pkg_cv_LIBASS_CFLAGS="$LIBASS_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libass >= 0.9.8\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libass >= 0.9.8\""; } >&5 ($PKG_CONFIG --exists --print-errors "libass >= 0.9.8") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBASS_CFLAGS=`$PKG_CONFIG --cflags "libass >= 0.9.8" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -51339,10 +53671,10 @@ pkg_cv_LIBASS_LIBS="$LIBASS_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libass >= 0.9.8\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libass >= 0.9.8\""; } >&5 ($PKG_CONFIG --exists --print-errors "libass >= 0.9.8") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBASS_LIBS=`$PKG_CONFIG --libs "libass >= 0.9.8" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -51356,8 +53688,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -51373,21 +53705,21 @@ echo "$LIBASS_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LIBASS_PKG_ERRORS}." >&5 -$as_echo "$as_me: WARNING: ${LIBASS_PKG_ERRORS}." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${LIBASS_PKG_ERRORS}." >&5 +printf "%s\n" "$as_me: WARNING: ${LIBASS_PKG_ERRORS}." >&2;} elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LIBASS_PKG_ERRORS}." >&5 -$as_echo "$as_me: WARNING: ${LIBASS_PKG_ERRORS}." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${LIBASS_PKG_ERRORS}." >&5 +printf "%s\n" "$as_me: WARNING: ${LIBASS_PKG_ERRORS}." >&2;} else LIBASS_CFLAGS=$pkg_cv_LIBASS_CFLAGS LIBASS_LIBS=$pkg_cv_LIBASS_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } @@ -51425,18 +53757,17 @@ #include #include " -if test "x$ac_cv_type_ISpObjectToken" = xyes; then : +if test "x$ac_cv_type_ISpObjectToken" = xyes +then : -cat >>confdefs.h <<_ACEOF -#define HAVE_ISPOBJECTTOKEN 1 -_ACEOF +printf "%s\n" "#define HAVE_ISPOBJECTTOKEN 1" >>confdefs.h have_sapi="yes" -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sapi.h not found. Text to Speech renderer for Windows disabled" >&5 -$as_echo "$as_me: WARNING: sapi.h not found. Text to Speech renderer for Windows disabled" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: sapi.h not found. Text to Speech renderer for Windows disabled" >&5 +printf "%s\n" "$as_me: WARNING: sapi.h not found. Text to Speech renderer for Windows disabled" >&2;} fi if test "${have_sapi}" = "yes"; then @@ -51471,9 +53802,10 @@ # Check whether --enable-svg was given. -if test "${enable_svg+set}" = set; then : +if test ${enable_svg+y} +then : enableval=$enable_svg; -else +else $as_nop enable_svg=auto fi @@ -51482,17 +53814,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SVG" >&5 -$as_echo_n "checking for SVG... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SVG" >&5 +printf %s "checking for SVG... " >&6; } if test -n "$SVG_CFLAGS"; then pkg_cv_SVG_CFLAGS="$SVG_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.9.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.9.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "librsvg-2.0 >= 2.9.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SVG_CFLAGS=`$PKG_CONFIG --cflags "librsvg-2.0 >= 2.9.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -51506,10 +53838,10 @@ pkg_cv_SVG_LIBS="$SVG_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.9.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.9.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "librsvg-2.0 >= 2.9.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SVG_LIBS=`$PKG_CONFIG --libs "librsvg-2.0 >= 2.9.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -51523,8 +53855,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -51539,28 +53871,30 @@ # Put the nasty error message in config.log where it belongs echo "$SVG_PKG_ERRORS" >&5 - if test x"$enable_svg" = "xyes"; then : + if test x"$enable_svg" = "xyes" +then : as_fn_error $? "Library librsvg-2.0 >= 2.9.0 needed for svg was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library librsvg-2.0 >= 2.9.0 needed for svg was not found" >&5 -$as_echo "$as_me: WARNING: Library librsvg-2.0 >= 2.9.0 needed for svg was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library librsvg-2.0 >= 2.9.0 needed for svg was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library librsvg-2.0 >= 2.9.0 needed for svg was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_svg" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_svg" = "xyes" +then : as_fn_error $? "Library librsvg-2.0 >= 2.9.0 needed for svg was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library librsvg-2.0 >= 2.9.0 needed for svg was not found" >&5 -$as_echo "$as_me: WARNING: Library librsvg-2.0 >= 2.9.0 needed for svg was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library librsvg-2.0 >= 2.9.0 needed for svg was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library librsvg-2.0 >= 2.9.0 needed for svg was not found" >&2;} fi else SVG_CFLAGS=$pkg_cv_SVG_CFLAGS SVG_LIBS=$pkg_cv_SVG_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBsvg=libsvg_plugin.la @@ -51582,17 +53916,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SVG" >&5 -$as_echo_n "checking for SVG... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SVG" >&5 +printf %s "checking for SVG... " >&6; } if test -n "$SVG_CFLAGS"; then pkg_cv_SVG_CFLAGS="$SVG_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.9.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.9.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "librsvg-2.0 >= 2.9.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SVG_CFLAGS=`$PKG_CONFIG --cflags "librsvg-2.0 >= 2.9.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -51606,10 +53940,10 @@ pkg_cv_SVG_LIBS="$SVG_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.9.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.9.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "librsvg-2.0 >= 2.9.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SVG_LIBS=`$PKG_CONFIG --libs "librsvg-2.0 >= 2.9.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -51623,8 +53957,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -51640,29 +53974,31 @@ echo "$SVG_PKG_ERRORS" >&5 enable_svg=no - if test x"$enable_svg" = "xyes"; then : + if test x"$enable_svg" = "xyes" +then : as_fn_error $? "Library librsvg-2.0 >= 2.9.0 needed for svg was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library librsvg-2.0 >= 2.9.0 needed for svg was not found" >&5 -$as_echo "$as_me: WARNING: Library librsvg-2.0 >= 2.9.0 needed for svg was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library librsvg-2.0 >= 2.9.0 needed for svg was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library librsvg-2.0 >= 2.9.0 needed for svg was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_svg=no - if test x"$enable_svg" = "xyes"; then : + if test x"$enable_svg" = "xyes" +then : as_fn_error $? "Library librsvg-2.0 >= 2.9.0 needed for svg was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library librsvg-2.0 >= 2.9.0 needed for svg was not found" >&5 -$as_echo "$as_me: WARNING: Library librsvg-2.0 >= 2.9.0 needed for svg was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library librsvg-2.0 >= 2.9.0 needed for svg was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library librsvg-2.0 >= 2.9.0 needed for svg was not found" >&2;} fi else SVG_CFLAGS=$pkg_cv_SVG_CFLAGS SVG_LIBS=$pkg_cv_SVG_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_svg=yes @@ -51715,9 +54051,10 @@ # Check whether --enable-svgdec was given. -if test "${enable_svgdec+set}" = set; then : +if test ${enable_svgdec+y} +then : enableval=$enable_svgdec; -else +else $as_nop enable_svgdec=auto fi @@ -51726,17 +54063,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SVGDEC" >&5 -$as_echo_n "checking for SVGDEC... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SVGDEC" >&5 +printf %s "checking for SVGDEC... " >&6; } if test -n "$SVGDEC_CFLAGS"; then pkg_cv_SVGDEC_CFLAGS="$SVGDEC_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.9.0 cairo >= 1.13.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.9.0 cairo >= 1.13.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "librsvg-2.0 >= 2.9.0 cairo >= 1.13.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SVGDEC_CFLAGS=`$PKG_CONFIG --cflags "librsvg-2.0 >= 2.9.0 cairo >= 1.13.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -51750,10 +54087,10 @@ pkg_cv_SVGDEC_LIBS="$SVGDEC_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.9.0 cairo >= 1.13.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.9.0 cairo >= 1.13.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "librsvg-2.0 >= 2.9.0 cairo >= 1.13.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SVGDEC_LIBS=`$PKG_CONFIG --libs "librsvg-2.0 >= 2.9.0 cairo >= 1.13.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -51767,8 +54104,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -51783,28 +54120,30 @@ # Put the nasty error message in config.log where it belongs echo "$SVGDEC_PKG_ERRORS" >&5 - if test x"$enable_svgdec" = "xyes"; then : + if test x"$enable_svgdec" = "xyes" +then : as_fn_error $? "Library librsvg-2.0 >= 2.9.0 cairo >= 1.13.1 needed for svgdec was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library librsvg-2.0 >= 2.9.0 cairo >= 1.13.1 needed for svgdec was not found" >&5 -$as_echo "$as_me: WARNING: Library librsvg-2.0 >= 2.9.0 cairo >= 1.13.1 needed for svgdec was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library librsvg-2.0 >= 2.9.0 cairo >= 1.13.1 needed for svgdec was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library librsvg-2.0 >= 2.9.0 cairo >= 1.13.1 needed for svgdec was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_svgdec" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_svgdec" = "xyes" +then : as_fn_error $? "Library librsvg-2.0 >= 2.9.0 cairo >= 1.13.1 needed for svgdec was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library librsvg-2.0 >= 2.9.0 cairo >= 1.13.1 needed for svgdec was not found" >&5 -$as_echo "$as_me: WARNING: Library librsvg-2.0 >= 2.9.0 cairo >= 1.13.1 needed for svgdec was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library librsvg-2.0 >= 2.9.0 cairo >= 1.13.1 needed for svgdec was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library librsvg-2.0 >= 2.9.0 cairo >= 1.13.1 needed for svgdec was not found" >&2;} fi else SVGDEC_CFLAGS=$pkg_cv_SVGDEC_CFLAGS SVGDEC_LIBS=$pkg_cv_SVGDEC_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBsvgdec=libsvgdec_plugin.la @@ -51826,17 +54165,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SVGDEC" >&5 -$as_echo_n "checking for SVGDEC... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SVGDEC" >&5 +printf %s "checking for SVGDEC... " >&6; } if test -n "$SVGDEC_CFLAGS"; then pkg_cv_SVGDEC_CFLAGS="$SVGDEC_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.9.0 cairo >= 1.13.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.9.0 cairo >= 1.13.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "librsvg-2.0 >= 2.9.0 cairo >= 1.13.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SVGDEC_CFLAGS=`$PKG_CONFIG --cflags "librsvg-2.0 >= 2.9.0 cairo >= 1.13.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -51850,10 +54189,10 @@ pkg_cv_SVGDEC_LIBS="$SVGDEC_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.9.0 cairo >= 1.13.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.9.0 cairo >= 1.13.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "librsvg-2.0 >= 2.9.0 cairo >= 1.13.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SVGDEC_LIBS=`$PKG_CONFIG --libs "librsvg-2.0 >= 2.9.0 cairo >= 1.13.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -51867,8 +54206,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -51884,29 +54223,31 @@ echo "$SVGDEC_PKG_ERRORS" >&5 enable_svgdec=no - if test x"$enable_svgdec" = "xyes"; then : + if test x"$enable_svgdec" = "xyes" +then : as_fn_error $? "Library librsvg-2.0 >= 2.9.0 cairo >= 1.13.1 needed for svgdec was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library librsvg-2.0 >= 2.9.0 cairo >= 1.13.1 needed for svgdec was not found" >&5 -$as_echo "$as_me: WARNING: Library librsvg-2.0 >= 2.9.0 cairo >= 1.13.1 needed for svgdec was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library librsvg-2.0 >= 2.9.0 cairo >= 1.13.1 needed for svgdec was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library librsvg-2.0 >= 2.9.0 cairo >= 1.13.1 needed for svgdec was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_svgdec=no - if test x"$enable_svgdec" = "xyes"; then : + if test x"$enable_svgdec" = "xyes" +then : as_fn_error $? "Library librsvg-2.0 >= 2.9.0 cairo >= 1.13.1 needed for svgdec was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library librsvg-2.0 >= 2.9.0 cairo >= 1.13.1 needed for svgdec was not found" >&5 -$as_echo "$as_me: WARNING: Library librsvg-2.0 >= 2.9.0 cairo >= 1.13.1 needed for svgdec was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library librsvg-2.0 >= 2.9.0 cairo >= 1.13.1 needed for svgdec was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library librsvg-2.0 >= 2.9.0 cairo >= 1.13.1 needed for svgdec was not found" >&2;} fi else SVGDEC_CFLAGS=$pkg_cv_SVGDEC_CFLAGS SVGDEC_LIBS=$pkg_cv_SVGDEC_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_svgdec=yes @@ -51945,15 +54286,17 @@ # Check whether --enable-directx was given. -if test "${enable_directx+set}" = set; then : +if test ${enable_directx+y} +then : enableval=$enable_directx; -else +else $as_nop - if test "${SYS}" = "mingw32"; then : + if test "${SYS}" = "mingw32" +then : enable_directx="yes" -else +else $as_nop enable_directx="no" @@ -51961,15 +54304,15 @@ fi -if test "${enable_directx}" != "no"; then : +if test "${enable_directx}" != "no" +then : - for ac_header in ddraw.h + for ac_header in ddraw.h do : - ac_fn_c_check_header_mongrel "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "$ac_includes_default" -if test "x$ac_cv_header_ddraw_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_DDRAW_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "$ac_includes_default" +if test "x$ac_cv_header_ddraw_h" = xyes +then : + printf "%s\n" "#define HAVE_DDRAW_H 1" >>confdefs.h @@ -51982,29 +54325,26 @@ done - - for ac_header in GL/glew.h + for ac_header in GL/glew.h do : ac_fn_c_check_header_compile "$LINENO" "GL/glew.h" "ac_cv_header_GL_glew_h" " #include " -if test "x$ac_cv_header_GL_glew_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_GL_GLEW_H 1 -_ACEOF +if test "x$ac_cv_header_GL_glew_h" = xyes +then : + printf "%s\n" "#define HAVE_GL_GLEW_H 1" >>confdefs.h - for ac_header in GL/wglew.h + for ac_header in GL/wglew.h do : ac_fn_c_check_header_compile "$LINENO" "GL/wglew.h" "ac_cv_header_GL_wglew_h" " #include #include " -if test "x$ac_cv_header_GL_wglew_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_GL_WGLEW_H 1 -_ACEOF +if test "x$ac_cv_header_GL_wglew_h" = xyes +then : + printf "%s\n" "#define HAVE_GL_WGLEW_H 1" >>confdefs.h @@ -52019,27 +54359,23 @@ fi done - fi done - - for ac_header in d3d11.h + for ac_header in d3d11.h do : - ac_fn_c_check_header_mongrel "$LINENO" "d3d11.h" "ac_cv_header_d3d11_h" "$ac_includes_default" -if test "x$ac_cv_header_d3d11_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_D3D11_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "d3d11.h" "ac_cv_header_d3d11_h" "$ac_includes_default" +if test "x$ac_cv_header_d3d11_h" = xyes +then : + printf "%s\n" "#define HAVE_D3D11_H 1" >>confdefs.h ac_fn_c_check_type "$LINENO" "D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS" "ac_cv_type_D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS" "#include " -if test "x$ac_cv_type_D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS" = xyes; then : +if test "x$ac_cv_type_D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS" = xyes +then : -cat >>confdefs.h <<_ACEOF -#define HAVE_D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS 1 -_ACEOF +printf "%s\n" "#define HAVE_D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS 1" >>confdefs.h fi @@ -52058,14 +54394,12 @@ done - - for ac_header in d3d9.h + for ac_header in d3d9.h do : - ac_fn_c_check_header_mongrel "$LINENO" "d3d9.h" "ac_cv_header_d3d9_h" "$ac_includes_default" -if test "x$ac_cv_header_d3d9_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_D3D9_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "d3d9.h" "ac_cv_header_d3d9_h" "$ac_includes_default" +if test "x$ac_cv_header_d3d9_h" = xyes +then : + printf "%s\n" "#define HAVE_D3D9_H 1" >>confdefs.h @@ -52073,18 +54407,13 @@ - for ac_header in d3dx9effect.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "d3dx9effect.h" "ac_cv_header_d3dx9effect_h" "$ac_includes_default" -if test "x$ac_cv_header_d3dx9effect_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_D3DX9EFFECT_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "d3dx9effect.h" "ac_cv_header_d3dx9effect_h" "$ac_includes_default" +if test "x$ac_cv_header_d3dx9effect_h" = xyes +then : + printf "%s\n" "#define HAVE_D3DX9EFFECT_H 1" >>confdefs.h fi -done - cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -52096,7 +54425,7 @@ #endif int -main () +main (void) { ; ; @@ -52104,7 +54433,8 @@ } _ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : +if ac_fn_c_try_cpp "$LINENO" +then : @@ -52113,9 +54443,9 @@ -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find required IDirectXVideoDecoder in dxva2api.h" >&5 -$as_echo "$as_me: WARNING: Could not find required IDirectXVideoDecoder in dxva2api.h" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Could not find required IDirectXVideoDecoder in dxva2api.h" >&5 +printf "%s\n" "$as_me: WARNING: Could not find required IDirectXVideoDecoder in dxva2api.h" >&2;} fi rm -f conftest.err conftest.i conftest.$ac_ext @@ -52124,11 +54454,11 @@ done - fi -ac_fn_c_check_header_mongrel "$LINENO" "linux/fb.h" "ac_cv_header_linux_fb_h" "$ac_includes_default" -if test "x$ac_cv_header_linux_fb_h" = xyes; then : +ac_fn_c_check_header_compile "$LINENO" "linux/fb.h" "ac_cv_header_linux_fb_h" "$ac_includes_default" +if test "x$ac_cv_header_linux_fb_h" = xyes +then : @@ -52141,22 +54471,22 @@ - # Check whether --enable-aa was given. -if test "${enable_aa+set}" = set; then : +if test ${enable_aa+y} +then : enableval=$enable_aa; fi if test "${enable_aa}" = "yes" then - ac_fn_c_check_header_mongrel "$LINENO" "aalib.h" "ac_cv_header_aalib_h" "$ac_includes_default" -if test "x$ac_cv_header_aalib_h" = xyes; then : + ac_fn_c_check_header_compile "$LINENO" "aalib.h" "ac_cv_header_aalib_h" "$ac_includes_default" +if test "x$ac_cv_header_aalib_h" = xyes +then : have_aa="true" -else +else $as_nop have_aa="false" fi - if test "${have_aa}" = "true" then @@ -52185,9 +54515,10 @@ # Check whether --enable-caca was given. -if test "${enable_caca+set}" = set; then : +if test ${enable_caca+y} +then : enableval=$enable_caca; -else +else $as_nop enable_caca=auto fi @@ -52196,17 +54527,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CACA" >&5 -$as_echo_n "checking for CACA... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CACA" >&5 +printf %s "checking for CACA... " >&6; } if test -n "$CACA_CFLAGS"; then pkg_cv_CACA_CFLAGS="$CACA_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"caca >= 0.99.beta14\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"caca >= 0.99.beta14\""; } >&5 ($PKG_CONFIG --exists --print-errors "caca >= 0.99.beta14") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_CACA_CFLAGS=`$PKG_CONFIG --cflags "caca >= 0.99.beta14" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -52220,10 +54551,10 @@ pkg_cv_CACA_LIBS="$CACA_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"caca >= 0.99.beta14\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"caca >= 0.99.beta14\""; } >&5 ($PKG_CONFIG --exists --print-errors "caca >= 0.99.beta14") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_CACA_LIBS=`$PKG_CONFIG --libs "caca >= 0.99.beta14" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -52237,8 +54568,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -52253,28 +54584,30 @@ # Put the nasty error message in config.log where it belongs echo "$CACA_PKG_ERRORS" >&5 - if test x"$enable_caca" = "xyes"; then : + if test x"$enable_caca" = "xyes" +then : as_fn_error $? "Library caca >= 0.99.beta14 needed for caca was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library caca >= 0.99.beta14 needed for caca was not found" >&5 -$as_echo "$as_me: WARNING: Library caca >= 0.99.beta14 needed for caca was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library caca >= 0.99.beta14 needed for caca was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library caca >= 0.99.beta14 needed for caca was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_caca" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_caca" = "xyes" +then : as_fn_error $? "Library caca >= 0.99.beta14 needed for caca was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library caca >= 0.99.beta14 needed for caca was not found" >&5 -$as_echo "$as_me: WARNING: Library caca >= 0.99.beta14 needed for caca was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library caca >= 0.99.beta14 needed for caca was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library caca >= 0.99.beta14 needed for caca was not found" >&2;} fi else CACA_CFLAGS=$pkg_cv_CACA_CFLAGS CACA_LIBS=$pkg_cv_CACA_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBcaca=libcaca_plugin.la @@ -52296,17 +54629,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CACA" >&5 -$as_echo_n "checking for CACA... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CACA" >&5 +printf %s "checking for CACA... " >&6; } if test -n "$CACA_CFLAGS"; then pkg_cv_CACA_CFLAGS="$CACA_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"caca >= 0.99.beta14\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"caca >= 0.99.beta14\""; } >&5 ($PKG_CONFIG --exists --print-errors "caca >= 0.99.beta14") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_CACA_CFLAGS=`$PKG_CONFIG --cflags "caca >= 0.99.beta14" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -52320,10 +54653,10 @@ pkg_cv_CACA_LIBS="$CACA_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"caca >= 0.99.beta14\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"caca >= 0.99.beta14\""; } >&5 ($PKG_CONFIG --exists --print-errors "caca >= 0.99.beta14") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_CACA_LIBS=`$PKG_CONFIG --libs "caca >= 0.99.beta14" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -52337,8 +54670,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -52354,29 +54687,31 @@ echo "$CACA_PKG_ERRORS" >&5 enable_caca=no - if test x"$enable_caca" = "xyes"; then : + if test x"$enable_caca" = "xyes" +then : as_fn_error $? "Library caca >= 0.99.beta14 needed for caca was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library caca >= 0.99.beta14 needed for caca was not found" >&5 -$as_echo "$as_me: WARNING: Library caca >= 0.99.beta14 needed for caca was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library caca >= 0.99.beta14 needed for caca was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library caca >= 0.99.beta14 needed for caca was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_caca=no - if test x"$enable_caca" = "xyes"; then : + if test x"$enable_caca" = "xyes" +then : as_fn_error $? "Library caca >= 0.99.beta14 needed for caca was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library caca >= 0.99.beta14 needed for caca was not found" >&5 -$as_echo "$as_me: WARNING: Library caca >= 0.99.beta14 needed for caca was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library caca >= 0.99.beta14 needed for caca was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library caca >= 0.99.beta14 needed for caca was not found" >&2;} fi else CACA_CFLAGS=$pkg_cv_CACA_CFLAGS CACA_LIBS=$pkg_cv_CACA_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_caca=yes @@ -52414,11 +54749,13 @@ # Check whether --enable-kva was given. -if test "${enable_kva+set}" = set; then : +if test ${enable_kva+y} +then : enableval=$enable_kva; -else +else $as_nop - if test "$SYS" = "os2"; then : + if test "$SYS" = "os2" +then : enable_kva="yes" @@ -52428,22 +54765,23 @@ have_kva="no" KVA_LIBS="" -if test "$enable_kva" != "no"; then : +if test "$enable_kva" != "no" +then : - for ac_header in kva.h + for ac_header in kva.h do : - ac_fn_c_check_header_mongrel "$LINENO" "kva.h" "ac_cv_header_kva_h" "$ac_includes_default" -if test "x$ac_cv_header_kva_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_KVA_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "kva.h" "ac_cv_header_kva_h" "$ac_includes_default" +if test "x$ac_cv_header_kva_h" = xyes +then : + printf "%s\n" "#define HAVE_KVA_H 1" >>confdefs.h have_kva="yes" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lkva" >&5 -$as_echo_n "checking for main in -lkva... " >&6; } -if ${ac_cv_lib_kva_main+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lkva" >&5 +printf %s "checking for main in -lkva... " >&6; } +if test ${ac_cv_lib_kva_main+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lkva $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -52451,25 +54789,27 @@ int -main () +main (void) { return main (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_kva_main=yes -else +else $as_nop ac_cv_lib_kva_main=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kva_main" >&5 -$as_echo "$ac_cv_lib_kva_main" >&6; } -if test "x$ac_cv_lib_kva_main" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kva_main" >&5 +printf "%s\n" "$ac_cv_lib_kva_main" >&6; } +if test "x$ac_cv_lib_kva_main" = xyes +then : KVA_LIBS="-lkva" @@ -52480,7 +54820,6 @@ done - fi if test "${have_kva}" = "yes"; then @@ -52493,7 +54832,8 @@ # Check whether --enable-mmal was given. -if test "${enable_mmal+set}" = set; then : +if test ${enable_mmal+y} +then : enableval=$enable_mmal; fi @@ -52508,18 +54848,18 @@ LDFLAGS="${LDFLAGS} -L/opt/vc/lib -lvchostif" CPPFLAGS="${CPPFLAGS} -isystem /opt/vc/include -isystem /opt/vc/include/interface/vcos/pthreads -isystem /opt/vc/include/interface/vmcs_host/linux" - for ac_header in interface/mmal/mmal.h + for ac_header in interface/mmal/mmal.h do : - ac_fn_c_check_header_mongrel "$LINENO" "interface/mmal/mmal.h" "ac_cv_header_interface_mmal_mmal_h" "$ac_includes_default" -if test "x$ac_cv_header_interface_mmal_mmal_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_INTERFACE_MMAL_MMAL_H 1 -_ACEOF - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vc_tv_unregister_callback_full in -lbcm_host" >&5 -$as_echo_n "checking for vc_tv_unregister_callback_full in -lbcm_host... " >&6; } -if ${ac_cv_lib_bcm_host_vc_tv_unregister_callback_full+:} false; then : - $as_echo_n "(cached) " >&6 -else + ac_fn_c_check_header_compile "$LINENO" "interface/mmal/mmal.h" "ac_cv_header_interface_mmal_mmal_h" "$ac_includes_default" +if test "x$ac_cv_header_interface_mmal_mmal_h" = xyes +then : + printf "%s\n" "#define HAVE_INTERFACE_MMAL_MMAL_H 1" >>confdefs.h + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vc_tv_unregister_callback_full in -lbcm_host" >&5 +printf %s "checking for vc_tv_unregister_callback_full in -lbcm_host... " >&6; } +if test ${ac_cv_lib_bcm_host_vc_tv_unregister_callback_full+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lbcm_host $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -52528,30 +54868,29 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char vc_tv_unregister_callback_full (); int -main () +main (void) { return vc_tv_unregister_callback_full (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_bcm_host_vc_tv_unregister_callback_full=yes -else +else $as_nop ac_cv_lib_bcm_host_vc_tv_unregister_callback_full=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bcm_host_vc_tv_unregister_callback_full" >&5 -$as_echo "$ac_cv_lib_bcm_host_vc_tv_unregister_callback_full" >&6; } -if test "x$ac_cv_lib_bcm_host_vc_tv_unregister_callback_full" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bcm_host_vc_tv_unregister_callback_full" >&5 +printf "%s\n" "$ac_cv_lib_bcm_host_vc_tv_unregister_callback_full" >&6; } +if test "x$ac_cv_lib_bcm_host_vc_tv_unregister_callback_full" = xyes +then : have_mmal="yes" @@ -52578,30 +54917,31 @@ -else +else $as_nop - if test "${enable_mmal}" = "yes"; then : + if test "${enable_mmal}" = "yes" +then : as_fn_error $? "Cannot find bcm library..." "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find bcm library..." >&5 -$as_echo "$as_me: WARNING: Cannot find bcm library..." >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find bcm library..." >&5 +printf "%s\n" "$as_me: WARNING: Cannot find bcm library..." >&2;} fi fi -else - if test "${enable_mmal}" = "yes"; then : +else $as_nop + if test "${enable_mmal}" = "yes" +then : as_fn_error $? "Cannot find development headers for mmal..." "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find development headers for mmal..." >&5 -$as_echo "$as_me: WARNING: Cannot find development headers for mmal..." >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find development headers for mmal..." >&5 +printf "%s\n" "$as_me: WARNING: Cannot find development headers for mmal..." >&2;} fi fi done - CPPFLAGS="${CPPFLAGS_save}" CFLAGS="${CFLAGS_save}" CXXFLAGS="${CXXFLAGS_save}" @@ -52620,26 +54960,28 @@ # Check whether --enable-evas was given. -if test "${enable_evas+set}" = set; then : +if test ${enable_evas+y} +then : enableval=$enable_evas; fi have_evas="no" -if test "${enable_evas}" = "yes"; then : +if test "${enable_evas}" = "yes" +then : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVAS" >&5 -$as_echo_n "checking for EVAS... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for EVAS" >&5 +printf %s "checking for EVAS... " >&6; } if test -n "$EVAS_CFLAGS"; then pkg_cv_EVAS_CFLAGS="$EVAS_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.15.99 ecore >= 1.15.99\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.15.99 ecore >= 1.15.99\""; } >&5 ($PKG_CONFIG --exists --print-errors "evas >= 1.15.99 ecore >= 1.15.99") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_EVAS_CFLAGS=`$PKG_CONFIG --cflags "evas >= 1.15.99 ecore >= 1.15.99" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -52653,10 +54995,10 @@ pkg_cv_EVAS_LIBS="$EVAS_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.15.99 ecore >= 1.15.99\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.15.99 ecore >= 1.15.99\""; } >&5 ($PKG_CONFIG --exists --print-errors "evas >= 1.15.99 ecore >= 1.15.99") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_EVAS_LIBS=`$PKG_CONFIG --libs "evas >= 1.15.99 ecore >= 1.15.99" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -52670,8 +55012,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -52687,17 +55029,19 @@ echo "$EVAS_PKG_ERRORS" >&5 - if test "x${enable_evas}" != "x"; then : + if test "x${enable_evas}" != "x" +then : as_fn_error $? "$EVAS_PKG_ERRORS. libevas and libecore 1.15.99 or later required." "$LINENO" 5 fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - if test "x${enable_evas}" != "x"; then : + if test "x${enable_evas}" != "x" +then : as_fn_error $? "$EVAS_PKG_ERRORS. libevas and libecore 1.15.99 or later required." "$LINENO" 5 @@ -52706,12 +55050,12 @@ else EVAS_CFLAGS=$pkg_cv_EVAS_CFLAGS EVAS_LIBS=$pkg_cv_EVAS_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_evas="yes" -$as_echo "#define HAVE_EVAS 1" >>confdefs.h +printf "%s\n" "#define HAVE_EVAS 1" >>confdefs.h fi @@ -52730,26 +55074,28 @@ # Check whether --enable-pulse was given. -if test "${enable_pulse+set}" = set; then : +if test ${enable_pulse+y} +then : enableval=$enable_pulse; fi have_pulse="no" -if test "${enable_pulse}" != "no"; then : +if test "${enable_pulse}" != "no" +then : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PULSE" >&5 -$as_echo_n "checking for PULSE... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PULSE" >&5 +printf %s "checking for PULSE... " >&6; } if test -n "$PULSE_CFLAGS"; then pkg_cv_PULSE_CFLAGS="$PULSE_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpulse >= 1.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpulse >= 1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libpulse >= 1.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PULSE_CFLAGS=`$PKG_CONFIG --cflags "libpulse >= 1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -52763,10 +55109,10 @@ pkg_cv_PULSE_LIBS="$PULSE_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpulse >= 1.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpulse >= 1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libpulse >= 1.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PULSE_LIBS=`$PKG_CONFIG --libs "libpulse >= 1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -52780,8 +55126,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -52797,17 +55143,19 @@ echo "$PULSE_PKG_ERRORS" >&5 - if test "x${enable_pulse}" != "x"; then : + if test "x${enable_pulse}" != "x" +then : as_fn_error $? "$PULSE_PKG_ERRORS. PulseAudio 1.0 or later required." "$LINENO" 5 fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - if test "x${enable_pulse}" != "x"; then : + if test "x${enable_pulse}" != "x" +then : as_fn_error $? "$PULSE_PKG_ERRORS. PulseAudio 1.0 or later required." "$LINENO" 5 @@ -52816,8 +55164,8 @@ else PULSE_CFLAGS=$pkg_cv_PULSE_CFLAGS PULSE_LIBS=$pkg_cv_PULSE_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_pulse="yes" @@ -52834,11 +55182,13 @@ # Check whether --enable-alsa was given. -if test "${enable_alsa+set}" = set; then : +if test ${enable_alsa+y} +then : enableval=$enable_alsa; -else +else $as_nop - if test "$SYS" = "linux" -a "${have_pulse}" = "no"; then : + if test "$SYS" = "linux" -a "${have_pulse}" = "no" +then : enable_alsa="yes" @@ -52847,21 +55197,22 @@ fi have_alsa="no" -if test "${enable_alsa}" != "no"; then : +if test "${enable_alsa}" != "no" +then : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5 -$as_echo_n "checking for ALSA... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5 +printf %s "checking for ALSA... " >&6; } if test -n "$ALSA_CFLAGS"; then pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 1.0.24\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 1.0.24\""; } >&5 ($PKG_CONFIG --exists --print-errors "alsa >= 1.0.24") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa >= 1.0.24" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -52875,10 +55226,10 @@ pkg_cv_ALSA_LIBS="$ALSA_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 1.0.24\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 1.0.24\""; } >&5 ($PKG_CONFIG --exists --print-errors "alsa >= 1.0.24") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "alsa >= 1.0.24" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -52892,8 +55243,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -52909,17 +55260,19 @@ echo "$ALSA_PKG_ERRORS" >&5 - if test "x${enable_alsa}" != "x"; then : + if test "x${enable_alsa}" != "x" +then : as_fn_error $? "$ALSA_PKG_ERRORS. alsa-lib 1.0.24 or later required. Pass --disable-alsa to ignore this error." "$LINENO" 5 fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - if test "x${enable_alsa}" != "x"; then : + if test "x${enable_alsa}" != "x" +then : as_fn_error $? "$ALSA_PKG_ERRORS. alsa-lib 1.0.24 or later required. Pass --disable-alsa to ignore this error." "$LINENO" 5 @@ -52928,8 +55281,8 @@ else ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS ALSA_LIBS=$pkg_cv_ALSA_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_alsa="yes" @@ -52946,11 +55299,13 @@ # Check whether --enable-oss was given. -if test "${enable_oss+set}" = set; then : +if test ${enable_oss+y} +then : enableval=$enable_oss; -else +else $as_nop - if test "$SYS" = "mingw32" -o "$SYS" = "linux" -o "$SYS" = "openbsd"; then : + if test "$SYS" = "mingw32" -o "$SYS" = "linux" -o "$SYS" = "openbsd" +then : enable_oss="no" @@ -52960,23 +55315,26 @@ have_oss="no" OSS_LIBS="" -if test "$enable_oss" != "no"; then : +if test "$enable_oss" != "no" +then : - for ac_header in soundcard.h sys/soundcard.h + for ac_header in soundcard.h sys/soundcard.h do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +if eval test \"x\$"$as_ac_Header"\" = x"yes" +then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF have_oss="yes" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lossaudio" >&5 -$as_echo_n "checking for main in -lossaudio... " >&6; } -if ${ac_cv_lib_ossaudio_main+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lossaudio" >&5 +printf %s "checking for main in -lossaudio... " >&6; } +if test ${ac_cv_lib_ossaudio_main+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lossaudio $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -52984,25 +55342,27 @@ int -main () +main (void) { return main (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_ossaudio_main=yes -else +else $as_nop ac_cv_lib_ossaudio_main=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio_main" >&5 -$as_echo "$ac_cv_lib_ossaudio_main" >&6; } -if test "x$ac_cv_lib_ossaudio_main" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio_main" >&5 +printf "%s\n" "$ac_cv_lib_ossaudio_main" >&6; } +if test "x$ac_cv_lib_ossaudio_main" = xyes +then : OSS_LIBS="-lossaudio" @@ -53013,7 +55373,6 @@ done - fi if test "${have_oss}" = "yes"; then @@ -53026,11 +55385,13 @@ # Check whether --enable-sndio was given. -if test "${enable_sndio+set}" = set; then : +if test ${enable_sndio+y} +then : enableval=$enable_sndio; -else +else $as_nop - if test "$SYS" = "openbsd"; then : + if test "$SYS" = "openbsd" +then : enable_sndio="yes" @@ -53039,21 +55400,22 @@ fi have_sndio="no" -if test "$enable_sndio" != "no"; then : +if test "$enable_sndio" != "no" +then : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDIO" >&5 -$as_echo_n "checking for SNDIO... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SNDIO" >&5 +printf %s "checking for SNDIO... " >&6; } if test -n "$SNDIO_CFLAGS"; then pkg_cv_SNDIO_CFLAGS="$SNDIO_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndio\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndio\""; } >&5 ($PKG_CONFIG --exists --print-errors "sndio") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SNDIO_CFLAGS=`$PKG_CONFIG --cflags "sndio" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -53067,10 +55429,10 @@ pkg_cv_SNDIO_LIBS="$SNDIO_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndio\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndio\""; } >&5 ($PKG_CONFIG --exists --print-errors "sndio") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SNDIO_LIBS=`$PKG_CONFIG --libs "sndio" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -53084,8 +55446,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -53101,17 +55463,19 @@ echo "$SNDIO_PKG_ERRORS" >&5 - if test -n "$enable_sndio"; then : + if test -n "$enable_sndio" +then : as_fn_error $? "${SNDIO_PKG_ERRORS}.)" "$LINENO" 5 fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - if test -n "$enable_sndio"; then : + if test -n "$enable_sndio" +then : as_fn_error $? "${SNDIO_PKG_ERRORS}.)" "$LINENO" 5 @@ -53120,8 +55484,8 @@ else SNDIO_CFLAGS=$pkg_cv_SNDIO_CFLAGS SNDIO_LIBS=$pkg_cv_SNDIO_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_sndio="yes" @@ -53138,21 +55502,25 @@ # Check whether --enable-wasapi was given. -if test "${enable_wasapi+set}" = set; then : +if test ${enable_wasapi+y} +then : enableval=$enable_wasapi; fi have_wasapi="no" -if test "$enable_wasapi" != "no"; then : +if test "$enable_wasapi" != "no" +then : - ac_fn_c_check_header_mongrel "$LINENO" "audioclient.h" "ac_cv_header_audioclient_h" "$ac_includes_default" -if test "x$ac_cv_header_audioclient_h" = xyes; then : + ac_fn_c_check_header_compile "$LINENO" "audioclient.h" "ac_cv_header_audioclient_h" "$ac_includes_default" +if test "x$ac_cv_header_audioclient_h" = xyes +then : have_wasapi="yes" -else +else $as_nop - if test "x${enable_wasapi}" != "x"; then : + if test "x${enable_wasapi}" != "x" +then : as_fn_error $? "Windows Audio Session API not found." "$LINENO" 5 @@ -53161,7 +55529,6 @@ fi - fi if test "${have_wasapi}" = "yes"; then HAVE_WASAPI_TRUE= @@ -53173,26 +55540,28 @@ # Check whether --enable-jack was given. -if test "${enable_jack+set}" = set; then : +if test ${enable_jack+y} +then : enableval=$enable_jack; fi have_jack="no" -if test "${enable_jack}" != "no"; then : +if test "${enable_jack}" != "no" +then : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK" >&5 -$as_echo_n "checking for JACK... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for JACK" >&5 +printf %s "checking for JACK... " >&6; } if test -n "$JACK_CFLAGS"; then pkg_cv_JACK_CFLAGS="$JACK_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 1.9.7\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 1.9.7\""; } >&5 ($PKG_CONFIG --exists --print-errors "jack >= 1.9.7") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "jack >= 1.9.7" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -53206,10 +55575,10 @@ pkg_cv_JACK_LIBS="$JACK_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 1.9.7\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 1.9.7\""; } >&5 ($PKG_CONFIG --exists --print-errors "jack >= 1.9.7") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs "jack >= 1.9.7" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -53223,8 +55592,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -53240,22 +55609,22 @@ echo "$JACK_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${JACK_PKG_ERRORS}, trying jack1 instead" >&5 -$as_echo "$as_me: WARNING: ${JACK_PKG_ERRORS}, trying jack1 instead" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${JACK_PKG_ERRORS}, trying jack1 instead" >&5 +printf "%s\n" "$as_me: WARNING: ${JACK_PKG_ERRORS}, trying jack1 instead" >&2;} pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK" >&5 -$as_echo_n "checking for JACK... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for JACK" >&5 +printf %s "checking for JACK... " >&6; } if test -n "$JACK_CFLAGS"; then pkg_cv_JACK_CFLAGS="$JACK_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.120.1 jack < 1.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.120.1 jack < 1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "jack >= 0.120.1 jack < 1.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "jack >= 0.120.1 jack < 1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -53269,10 +55638,10 @@ pkg_cv_JACK_LIBS="$JACK_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.120.1 jack < 1.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.120.1 jack < 1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "jack >= 0.120.1 jack < 1.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs "jack >= 0.120.1 jack < 1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -53286,8 +55655,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -53303,52 +55672,54 @@ echo "$JACK_PKG_ERRORS" >&5 - if test -n "${enable_jack}"; then : + if test -n "${enable_jack}" +then : as_fn_error $? "${JACK_PKG_ERRORS}." "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${JACK_PKG_ERRORS}." >&5 -$as_echo "$as_me: WARNING: ${JACK_PKG_ERRORS}." >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${JACK_PKG_ERRORS}." >&5 +printf "%s\n" "$as_me: WARNING: ${JACK_PKG_ERRORS}." >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - if test -n "${enable_jack}"; then : + if test -n "${enable_jack}" +then : as_fn_error $? "${JACK_PKG_ERRORS}." "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${JACK_PKG_ERRORS}." >&5 -$as_echo "$as_me: WARNING: ${JACK_PKG_ERRORS}." >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${JACK_PKG_ERRORS}." >&5 +printf "%s\n" "$as_me: WARNING: ${JACK_PKG_ERRORS}." >&2;} fi else JACK_CFLAGS=$pkg_cv_JACK_CFLAGS JACK_LIBS=$pkg_cv_JACK_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_jack=yes fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${JACK_PKG_ERRORS}, trying jack1 instead" >&5 -$as_echo "$as_me: WARNING: ${JACK_PKG_ERRORS}, trying jack1 instead" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${JACK_PKG_ERRORS}, trying jack1 instead" >&5 +printf "%s\n" "$as_me: WARNING: ${JACK_PKG_ERRORS}, trying jack1 instead" >&2;} pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK" >&5 -$as_echo_n "checking for JACK... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for JACK" >&5 +printf %s "checking for JACK... " >&6; } if test -n "$JACK_CFLAGS"; then pkg_cv_JACK_CFLAGS="$JACK_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.120.1 jack < 1.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.120.1 jack < 1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "jack >= 0.120.1 jack < 1.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "jack >= 0.120.1 jack < 1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -53362,10 +55733,10 @@ pkg_cv_JACK_LIBS="$JACK_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.120.1 jack < 1.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.120.1 jack < 1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "jack >= 0.120.1 jack < 1.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs "jack >= 0.120.1 jack < 1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -53379,8 +55750,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -53396,37 +55767,39 @@ echo "$JACK_PKG_ERRORS" >&5 - if test -n "${enable_jack}"; then : + if test -n "${enable_jack}" +then : as_fn_error $? "${JACK_PKG_ERRORS}." "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${JACK_PKG_ERRORS}." >&5 -$as_echo "$as_me: WARNING: ${JACK_PKG_ERRORS}." >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${JACK_PKG_ERRORS}." >&5 +printf "%s\n" "$as_me: WARNING: ${JACK_PKG_ERRORS}." >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - if test -n "${enable_jack}"; then : + if test -n "${enable_jack}" +then : as_fn_error $? "${JACK_PKG_ERRORS}." "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${JACK_PKG_ERRORS}." >&5 -$as_echo "$as_me: WARNING: ${JACK_PKG_ERRORS}." >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${JACK_PKG_ERRORS}." >&5 +printf "%s\n" "$as_me: WARNING: ${JACK_PKG_ERRORS}." >&2;} fi else JACK_CFLAGS=$pkg_cv_JACK_CFLAGS JACK_LIBS=$pkg_cv_JACK_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_jack=yes fi else JACK_CFLAGS=$pkg_cv_JACK_CFLAGS JACK_LIBS=$pkg_cv_JACK_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_jack=yes fi @@ -53441,40 +55814,41 @@ # Check whether --enable-opensles was given. -if test "${enable_opensles+set}" = set; then : +if test ${enable_opensles+y} +then : enableval=$enable_opensles; fi if test "${HAVE_ANDROID}" = "1"; then if test "${enable_opensles}" = "yes"; then - for ac_header in SLES/OpenSLES.h + for ac_header in SLES/OpenSLES.h do : - ac_fn_c_check_header_mongrel "$LINENO" "SLES/OpenSLES.h" "ac_cv_header_SLES_OpenSLES_h" "$ac_includes_default" -if test "x$ac_cv_header_SLES_OpenSLES_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SLES_OPENSLES_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "SLES/OpenSLES.h" "ac_cv_header_SLES_OpenSLES_h" "$ac_includes_default" +if test "x$ac_cv_header_SLES_OpenSLES_h" = xyes +then : + printf "%s\n" "#define HAVE_SLES_OPENSLES_H 1" >>confdefs.h LTLIBopensles_android=libopensles_android_plugin.la -else +else $as_nop as_fn_error $? "cannot find OpenSLES headers" "$LINENO" 5 fi done - fi fi # Check whether --enable-tizen_audio was given. -if test "${enable_tizen_audio+set}" = set; then : +if test ${enable_tizen_audio+y} +then : enableval=$enable_tizen_audio; -else +else $as_nop - if test "$HAVE_TIZEN" = "1"; then : + if test "$HAVE_TIZEN" = "1" +then : enable_tizen_audio="yes" @@ -53483,25 +55857,23 @@ fi if test "${enable_tizen_audio}" = "yes"; then - for ac_header in audio_io.h + for ac_header in audio_io.h do : - ac_fn_c_check_header_mongrel "$LINENO" "audio_io.h" "ac_cv_header_audio_io_h" "$ac_includes_default" -if test "x$ac_cv_header_audio_io_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_AUDIO_IO_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "audio_io.h" "ac_cv_header_audio_io_h" "$ac_includes_default" +if test "x$ac_cv_header_audio_io_h" = xyes +then : + printf "%s\n" "#define HAVE_AUDIO_IO_H 1" >>confdefs.h LTLIBtizen_audio=libtizen_audio_plugin.la -else +else $as_nop as_fn_error $? "cannot find Tizen audio_io headers" "$LINENO" 5 fi done - fi @@ -53521,9 +55893,10 @@ # Check whether --enable-samplerate was given. -if test "${enable_samplerate+set}" = set; then : +if test ${enable_samplerate+y} +then : enableval=$enable_samplerate; -else +else $as_nop enable_samplerate=auto fi @@ -53532,17 +55905,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SAMPLERATE" >&5 -$as_echo_n "checking for SAMPLERATE... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SAMPLERATE" >&5 +printf %s "checking for SAMPLERATE... " >&6; } if test -n "$SAMPLERATE_CFLAGS"; then pkg_cv_SAMPLERATE_CFLAGS="$SAMPLERATE_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"samplerate\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"samplerate\""; } >&5 ($PKG_CONFIG --exists --print-errors "samplerate") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SAMPLERATE_CFLAGS=`$PKG_CONFIG --cflags "samplerate" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -53556,10 +55929,10 @@ pkg_cv_SAMPLERATE_LIBS="$SAMPLERATE_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"samplerate\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"samplerate\""; } >&5 ($PKG_CONFIG --exists --print-errors "samplerate") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SAMPLERATE_LIBS=`$PKG_CONFIG --libs "samplerate" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -53573,8 +55946,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -53589,28 +55962,30 @@ # Put the nasty error message in config.log where it belongs echo "$SAMPLERATE_PKG_ERRORS" >&5 - if test x"$enable_samplerate" = "xyes"; then : + if test x"$enable_samplerate" = "xyes" +then : as_fn_error $? "Library samplerate needed for samplerate was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library samplerate needed for samplerate was not found" >&5 -$as_echo "$as_me: WARNING: Library samplerate needed for samplerate was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library samplerate needed for samplerate was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library samplerate needed for samplerate was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_samplerate" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_samplerate" = "xyes" +then : as_fn_error $? "Library samplerate needed for samplerate was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library samplerate needed for samplerate was not found" >&5 -$as_echo "$as_me: WARNING: Library samplerate needed for samplerate was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library samplerate needed for samplerate was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library samplerate needed for samplerate was not found" >&2;} fi else SAMPLERATE_CFLAGS=$pkg_cv_SAMPLERATE_CFLAGS SAMPLERATE_LIBS=$pkg_cv_SAMPLERATE_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBsamplerate=libsamplerate_plugin.la @@ -53632,17 +56007,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SAMPLERATE" >&5 -$as_echo_n "checking for SAMPLERATE... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SAMPLERATE" >&5 +printf %s "checking for SAMPLERATE... " >&6; } if test -n "$SAMPLERATE_CFLAGS"; then pkg_cv_SAMPLERATE_CFLAGS="$SAMPLERATE_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"samplerate\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"samplerate\""; } >&5 ($PKG_CONFIG --exists --print-errors "samplerate") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SAMPLERATE_CFLAGS=`$PKG_CONFIG --cflags "samplerate" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -53656,10 +56031,10 @@ pkg_cv_SAMPLERATE_LIBS="$SAMPLERATE_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"samplerate\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"samplerate\""; } >&5 ($PKG_CONFIG --exists --print-errors "samplerate") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SAMPLERATE_LIBS=`$PKG_CONFIG --libs "samplerate" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -53673,8 +56048,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -53690,29 +56065,31 @@ echo "$SAMPLERATE_PKG_ERRORS" >&5 enable_samplerate=no - if test x"$enable_samplerate" = "xyes"; then : + if test x"$enable_samplerate" = "xyes" +then : as_fn_error $? "Library samplerate needed for samplerate was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library samplerate needed for samplerate was not found" >&5 -$as_echo "$as_me: WARNING: Library samplerate needed for samplerate was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library samplerate needed for samplerate was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library samplerate needed for samplerate was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_samplerate=no - if test x"$enable_samplerate" = "xyes"; then : + if test x"$enable_samplerate" = "xyes" +then : as_fn_error $? "Library samplerate needed for samplerate was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library samplerate needed for samplerate was not found" >&5 -$as_echo "$as_me: WARNING: Library samplerate needed for samplerate was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library samplerate needed for samplerate was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library samplerate needed for samplerate was not found" >&2;} fi else SAMPLERATE_CFLAGS=$pkg_cv_SAMPLERATE_CFLAGS SAMPLERATE_LIBS=$pkg_cv_SAMPLERATE_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_samplerate=yes @@ -53766,9 +56143,10 @@ # Check whether --enable-soxr was given. -if test "${enable_soxr+set}" = set; then : +if test ${enable_soxr+y} +then : enableval=$enable_soxr; -else +else $as_nop enable_soxr=auto fi @@ -53777,17 +56155,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOXR" >&5 -$as_echo_n "checking for SOXR... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SOXR" >&5 +printf %s "checking for SOXR... " >&6; } if test -n "$SOXR_CFLAGS"; then pkg_cv_SOXR_CFLAGS="$SOXR_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"soxr >= 0.1.2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"soxr >= 0.1.2\""; } >&5 ($PKG_CONFIG --exists --print-errors "soxr >= 0.1.2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SOXR_CFLAGS=`$PKG_CONFIG --cflags "soxr >= 0.1.2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -53801,10 +56179,10 @@ pkg_cv_SOXR_LIBS="$SOXR_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"soxr >= 0.1.2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"soxr >= 0.1.2\""; } >&5 ($PKG_CONFIG --exists --print-errors "soxr >= 0.1.2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SOXR_LIBS=`$PKG_CONFIG --libs "soxr >= 0.1.2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -53818,8 +56196,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -53834,28 +56212,30 @@ # Put the nasty error message in config.log where it belongs echo "$SOXR_PKG_ERRORS" >&5 - if test x"$enable_soxr" = "xyes"; then : + if test x"$enable_soxr" = "xyes" +then : as_fn_error $? "Library soxr >= 0.1.2 needed for soxr was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library soxr >= 0.1.2 needed for soxr was not found" >&5 -$as_echo "$as_me: WARNING: Library soxr >= 0.1.2 needed for soxr was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library soxr >= 0.1.2 needed for soxr was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library soxr >= 0.1.2 needed for soxr was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_soxr" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_soxr" = "xyes" +then : as_fn_error $? "Library soxr >= 0.1.2 needed for soxr was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library soxr >= 0.1.2 needed for soxr was not found" >&5 -$as_echo "$as_me: WARNING: Library soxr >= 0.1.2 needed for soxr was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library soxr >= 0.1.2 needed for soxr was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library soxr >= 0.1.2 needed for soxr was not found" >&2;} fi else SOXR_CFLAGS=$pkg_cv_SOXR_CFLAGS SOXR_LIBS=$pkg_cv_SOXR_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBsoxr=libsoxr_plugin.la @@ -53877,17 +56257,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOXR" >&5 -$as_echo_n "checking for SOXR... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SOXR" >&5 +printf %s "checking for SOXR... " >&6; } if test -n "$SOXR_CFLAGS"; then pkg_cv_SOXR_CFLAGS="$SOXR_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"soxr >= 0.1.2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"soxr >= 0.1.2\""; } >&5 ($PKG_CONFIG --exists --print-errors "soxr >= 0.1.2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SOXR_CFLAGS=`$PKG_CONFIG --cflags "soxr >= 0.1.2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -53901,10 +56281,10 @@ pkg_cv_SOXR_LIBS="$SOXR_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"soxr >= 0.1.2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"soxr >= 0.1.2\""; } >&5 ($PKG_CONFIG --exists --print-errors "soxr >= 0.1.2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SOXR_LIBS=`$PKG_CONFIG --libs "soxr >= 0.1.2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -53918,8 +56298,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -53935,29 +56315,31 @@ echo "$SOXR_PKG_ERRORS" >&5 enable_soxr=no - if test x"$enable_soxr" = "xyes"; then : + if test x"$enable_soxr" = "xyes" +then : as_fn_error $? "Library soxr >= 0.1.2 needed for soxr was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library soxr >= 0.1.2 needed for soxr was not found" >&5 -$as_echo "$as_me: WARNING: Library soxr >= 0.1.2 needed for soxr was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library soxr >= 0.1.2 needed for soxr was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library soxr >= 0.1.2 needed for soxr was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_soxr=no - if test x"$enable_soxr" = "xyes"; then : + if test x"$enable_soxr" = "xyes" +then : as_fn_error $? "Library soxr >= 0.1.2 needed for soxr was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library soxr >= 0.1.2 needed for soxr was not found" >&5 -$as_echo "$as_me: WARNING: Library soxr >= 0.1.2 needed for soxr was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library soxr >= 0.1.2 needed for soxr was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library soxr >= 0.1.2 needed for soxr was not found" >&2;} fi else SOXR_CFLAGS=$pkg_cv_SOXR_CFLAGS SOXR_LIBS=$pkg_cv_SOXR_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_soxr=yes @@ -53995,11 +56377,13 @@ # Check whether --enable-kai was given. -if test "${enable_kai+set}" = set; then : +if test ${enable_kai+y} +then : enableval=$enable_kai; -else +else $as_nop - if test "$SYS" = "os2"; then : + if test "$SYS" = "os2" +then : enable_kai="yes" @@ -54009,22 +56393,23 @@ have_kai="no" KAI_LIBS="" -if test "$enable_kai" != "no"; then : +if test "$enable_kai" != "no" +then : - for ac_header in kai.h + for ac_header in kai.h do : - ac_fn_c_check_header_mongrel "$LINENO" "kai.h" "ac_cv_header_kai_h" "$ac_includes_default" -if test "x$ac_cv_header_kai_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_KAI_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "kai.h" "ac_cv_header_kai_h" "$ac_includes_default" +if test "x$ac_cv_header_kai_h" = xyes +then : + printf "%s\n" "#define HAVE_KAI_H 1" >>confdefs.h have_kai="yes" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lkai" >&5 -$as_echo_n "checking for main in -lkai... " >&6; } -if ${ac_cv_lib_kai_main+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lkai" >&5 +printf %s "checking for main in -lkai... " >&6; } +if test ${ac_cv_lib_kai_main+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lkai $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -54032,25 +56417,27 @@ int -main () +main (void) { return main (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_kai_main=yes -else +else $as_nop ac_cv_lib_kai_main=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kai_main" >&5 -$as_echo "$ac_cv_lib_kai_main" >&6; } -if test "x$ac_cv_lib_kai_main" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kai_main" >&5 +printf "%s\n" "$ac_cv_lib_kai_main" >&6; } +if test "x$ac_cv_lib_kai_main" = xyes +then : KAI_LIBS="-lkai" @@ -54061,7 +56448,6 @@ done - fi if test "${have_kai}" = "yes"; then @@ -54087,9 +56473,10 @@ # Check whether --enable-chromaprint was given. -if test "${enable_chromaprint+set}" = set; then : +if test ${enable_chromaprint+y} +then : enableval=$enable_chromaprint; -else +else $as_nop enable_chromaprint=auto fi @@ -54098,17 +56485,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHROMAPRINT" >&5 -$as_echo_n "checking for CHROMAPRINT... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CHROMAPRINT" >&5 +printf %s "checking for CHROMAPRINT... " >&6; } if test -n "$CHROMAPRINT_CFLAGS"; then pkg_cv_CHROMAPRINT_CFLAGS="$CHROMAPRINT_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libchromaprint >= 0.6.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libchromaprint >= 0.6.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libchromaprint >= 0.6.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_CHROMAPRINT_CFLAGS=`$PKG_CONFIG --cflags "libchromaprint >= 0.6.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -54122,10 +56509,10 @@ pkg_cv_CHROMAPRINT_LIBS="$CHROMAPRINT_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libchromaprint >= 0.6.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libchromaprint >= 0.6.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libchromaprint >= 0.6.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_CHROMAPRINT_LIBS=`$PKG_CONFIG --libs "libchromaprint >= 0.6.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -54139,8 +56526,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -54155,28 +56542,30 @@ # Put the nasty error message in config.log where it belongs echo "$CHROMAPRINT_PKG_ERRORS" >&5 - if test "${enable_chromaprint}" = "yes"; then : + if test "${enable_chromaprint}" = "yes" +then : as_fn_error $? "Library libchromaprint >= 0.6.0 needed for chromaprint was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libchromaprint >= 0.6.0 needed for chromaprint was not found" >&5 -$as_echo "$as_me: WARNING: Library libchromaprint >= 0.6.0 needed for chromaprint was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libchromaprint >= 0.6.0 needed for chromaprint was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libchromaprint >= 0.6.0 needed for chromaprint was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test "${enable_chromaprint}" = "yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test "${enable_chromaprint}" = "yes" +then : as_fn_error $? "Library libchromaprint >= 0.6.0 needed for chromaprint was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libchromaprint >= 0.6.0 needed for chromaprint was not found" >&5 -$as_echo "$as_me: WARNING: Library libchromaprint >= 0.6.0 needed for chromaprint was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libchromaprint >= 0.6.0 needed for chromaprint was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libchromaprint >= 0.6.0 needed for chromaprint was not found" >&2;} fi else CHROMAPRINT_CFLAGS=$pkg_cv_CHROMAPRINT_CFLAGS CHROMAPRINT_LIBS=$pkg_cv_CHROMAPRINT_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBstream_out_chromaprint=libstream_out_chromaprint_plugin.la @@ -54185,17 +56574,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHROMAPRINT" >&5 -$as_echo_n "checking for CHROMAPRINT... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CHROMAPRINT" >&5 +printf %s "checking for CHROMAPRINT... " >&6; } if test -n "$CHROMAPRINT_CFLAGS"; then pkg_cv_CHROMAPRINT_CFLAGS="$CHROMAPRINT_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libchromaprint >= 0.6.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libchromaprint >= 0.6.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libchromaprint >= 0.6.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_CHROMAPRINT_CFLAGS=`$PKG_CONFIG --cflags "libchromaprint >= 0.6.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -54209,10 +56598,10 @@ pkg_cv_CHROMAPRINT_LIBS="$CHROMAPRINT_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libchromaprint >= 0.6.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libchromaprint >= 0.6.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libchromaprint >= 0.6.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_CHROMAPRINT_LIBS=`$PKG_CONFIG --libs "libchromaprint >= 0.6.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -54226,8 +56615,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -54243,29 +56632,31 @@ echo "$CHROMAPRINT_PKG_ERRORS" >&5 enable_chromaprint=no - if test "${enable_chromaprint}" = "yes"; then : + if test "${enable_chromaprint}" = "yes" +then : as_fn_error $? "Library libchromaprint >= 0.6.0 needed for chromaprint was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libchromaprint >= 0.6.0 needed for chromaprint was not found" >&5 -$as_echo "$as_me: WARNING: Library libchromaprint >= 0.6.0 needed for chromaprint was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libchromaprint >= 0.6.0 needed for chromaprint was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libchromaprint >= 0.6.0 needed for chromaprint was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_chromaprint=no - if test "${enable_chromaprint}" = "yes"; then : + if test "${enable_chromaprint}" = "yes" +then : as_fn_error $? "Library libchromaprint >= 0.6.0 needed for chromaprint was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libchromaprint >= 0.6.0 needed for chromaprint was not found" >&5 -$as_echo "$as_me: WARNING: Library libchromaprint >= 0.6.0 needed for chromaprint was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libchromaprint >= 0.6.0 needed for chromaprint was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libchromaprint >= 0.6.0 needed for chromaprint was not found" >&2;} fi else CHROMAPRINT_CFLAGS=$pkg_cv_CHROMAPRINT_CFLAGS CHROMAPRINT_LIBS=$pkg_cv_CHROMAPRINT_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_chromaprint=yes @@ -54287,51 +56678,6 @@ -for ac_prog in protoc -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_PROTOC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$PROTOC"; then - ac_cv_prog_PROTOC="$PROTOC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_PROTOC="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -PROTOC=$ac_cv_prog_PROTOC -if test -n "$PROTOC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROTOC" >&5 -$as_echo "$PROTOC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$PROTOC" && break -done -test -n "$PROTOC" || PROTOC="no" - - - @@ -54343,9 +56689,10 @@ # Check whether --enable-chromecast was given. -if test "${enable_chromecast+set}" = set; then : +if test ${enable_chromecast+y} +then : enableval=$enable_chromecast; -else +else $as_nop enable_chromecast=auto fi @@ -54354,19 +56701,19 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHROMECAST" >&5 -$as_echo_n "checking for CHROMECAST... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CHROMECAST" >&5 +printf %s "checking for CHROMECAST... " >&6; } if test -n "$CHROMECAST_CFLAGS"; then pkg_cv_CHROMECAST_CFLAGS="$CHROMECAST_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"protobuf-lite >= 2.5.0\""; } >&5 - ($PKG_CONFIG --exists --print-errors "protobuf-lite >= 2.5.0") 2>&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"protobuf-lite\""; } >&5 + ($PKG_CONFIG --exists --print-errors "protobuf-lite") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - pkg_cv_CHROMECAST_CFLAGS=`$PKG_CONFIG --cflags "protobuf-lite >= 2.5.0" 2>/dev/null` + pkg_cv_CHROMECAST_CFLAGS=`$PKG_CONFIG --cflags "protobuf-lite" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes @@ -54378,12 +56725,12 @@ pkg_cv_CHROMECAST_LIBS="$CHROMECAST_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"protobuf-lite >= 2.5.0\""; } >&5 - ($PKG_CONFIG --exists --print-errors "protobuf-lite >= 2.5.0") 2>&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"protobuf-lite\""; } >&5 + ($PKG_CONFIG --exists --print-errors "protobuf-lite") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - pkg_cv_CHROMECAST_LIBS=`$PKG_CONFIG --libs "protobuf-lite >= 2.5.0" 2>/dev/null` + pkg_cv_CHROMECAST_LIBS=`$PKG_CONFIG --libs "protobuf-lite" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes @@ -54395,8 +56742,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -54404,66 +56751,65 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - CHROMECAST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "protobuf-lite >= 2.5.0" 2>&1` + CHROMECAST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "protobuf-lite" 2>&1` else - CHROMECAST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "protobuf-lite >= 2.5.0" 2>&1` + CHROMECAST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "protobuf-lite" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$CHROMECAST_PKG_ERRORS" >&5 - if test "${enable_chromecast}" = "yes"; then : - as_fn_error $? "Library protobuf-lite >= 2.5.0 needed for chromecast was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library protobuf-lite >= 2.5.0 needed for chromecast was not found" >&5 -$as_echo "$as_me: WARNING: Library protobuf-lite >= 2.5.0 needed for chromecast was not found" >&2;} + if test "${enable_chromecast}" = "yes" +then : -fi - enable_chromecast="no" + as_fn_error $? "Library protobuf-lite needed for chromecast was not found" "$LINENO" 5 -elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test "${enable_chromecast}" = "yes"; then : - as_fn_error $? "Library protobuf-lite >= 2.5.0 needed for chromecast was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library protobuf-lite >= 2.5.0 needed for chromecast was not found" >&5 -$as_echo "$as_me: WARNING: Library protobuf-lite >= 2.5.0 needed for chromecast was not found" >&2;} +else $as_nop + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library protobuf-lite needed for chromecast was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library protobuf-lite needed for chromecast was not found" >&2;} fi - enable_chromecast="no" + enable_chromecast=no -else - CHROMECAST_CFLAGS=$pkg_cv_CHROMECAST_CFLAGS - CHROMECAST_LIBS=$pkg_cv_CHROMECAST_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - if test "x${PROTOC}" != "xno"; then : +elif test $pkg_failed = untried; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test "${enable_chromecast}" = "yes" +then : - build_chromecast="yes" + as_fn_error $? "Library protobuf-lite needed for chromecast was not found" "$LINENO" 5 -else +else $as_nop - as_fn_error $? "protoc compiler needed for chromecast was not found" "$LINENO" 5 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library protobuf-lite needed for chromecast was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library protobuf-lite needed for chromecast was not found" >&2;} fi + enable_chromecast=no + +else + CHROMECAST_CFLAGS=$pkg_cv_CHROMECAST_CFLAGS + CHROMECAST_LIBS=$pkg_cv_CHROMECAST_LIBS + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } fi ;; #( auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHROMECAST" >&5 -$as_echo_n "checking for CHROMECAST... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CHROMECAST" >&5 +printf %s "checking for CHROMECAST... " >&6; } if test -n "$CHROMECAST_CFLAGS"; then pkg_cv_CHROMECAST_CFLAGS="$CHROMECAST_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"protobuf-lite >= 2.5.0\""; } >&5 - ($PKG_CONFIG --exists --print-errors "protobuf-lite >= 2.5.0") 2>&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"protobuf-lite\""; } >&5 + ($PKG_CONFIG --exists --print-errors "protobuf-lite") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - pkg_cv_CHROMECAST_CFLAGS=`$PKG_CONFIG --cflags "protobuf-lite >= 2.5.0" 2>/dev/null` + pkg_cv_CHROMECAST_CFLAGS=`$PKG_CONFIG --cflags "protobuf-lite" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes @@ -54475,12 +56821,12 @@ pkg_cv_CHROMECAST_LIBS="$CHROMECAST_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"protobuf-lite >= 2.5.0\""; } >&5 - ($PKG_CONFIG --exists --print-errors "protobuf-lite >= 2.5.0") 2>&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"protobuf-lite\""; } >&5 + ($PKG_CONFIG --exists --print-errors "protobuf-lite") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - pkg_cv_CHROMECAST_LIBS=`$PKG_CONFIG --libs "protobuf-lite >= 2.5.0" 2>/dev/null` + pkg_cv_CHROMECAST_LIBS=`$PKG_CONFIG --libs "protobuf-lite" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes @@ -54492,8 +56838,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -54501,66 +56847,178 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - CHROMECAST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "protobuf-lite >= 2.5.0" 2>&1` + CHROMECAST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "protobuf-lite" 2>&1` else - CHROMECAST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "protobuf-lite >= 2.5.0" 2>&1` + CHROMECAST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "protobuf-lite" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$CHROMECAST_PKG_ERRORS" >&5 enable_chromecast=no - if test "${enable_chromecast}" = "yes"; then : - as_fn_error $? "Library protobuf-lite >= 2.5.0 needed for chromecast was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library protobuf-lite >= 2.5.0 needed for chromecast was not found" >&5 -$as_echo "$as_me: WARNING: Library protobuf-lite >= 2.5.0 needed for chromecast was not found" >&2;} + if test "${enable_chromecast}" = "yes" +then : + + as_fn_error $? "Library protobuf-lite needed for chromecast was not found" "$LINENO" 5 + +else $as_nop + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library protobuf-lite needed for chromecast was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library protobuf-lite needed for chromecast was not found" >&2;} fi - enable_chromecast="no" + enable_chromecast=no elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_chromecast=no - if test "${enable_chromecast}" = "yes"; then : - as_fn_error $? "Library protobuf-lite >= 2.5.0 needed for chromecast was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library protobuf-lite >= 2.5.0 needed for chromecast was not found" >&5 -$as_echo "$as_me: WARNING: Library protobuf-lite >= 2.5.0 needed for chromecast was not found" >&2;} + if test "${enable_chromecast}" = "yes" +then : + + as_fn_error $? "Library protobuf-lite needed for chromecast was not found" "$LINENO" 5 + +else $as_nop + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library protobuf-lite needed for chromecast was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library protobuf-lite needed for chromecast was not found" >&2;} fi - enable_chromecast="no" + enable_chromecast=no else CHROMECAST_CFLAGS=$pkg_cv_CHROMECAST_CFLAGS CHROMECAST_LIBS=$pkg_cv_CHROMECAST_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_chromecast=yes - if test "x${PROTOC}" != "xno"; then : +fi ;; #( + *) : + ;; +esac + + + - build_chromecast="yes" + + + +if test -n "$PKG_CONFIG" +then : + + for ac_prog in protoc +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PROTOC+y} +then : + printf %s "(cached) " >&6 +else $as_nop + case $PROTOC in + [\\/]* | ?:[\\/]*) + ac_cv_path_PROTOC="$PROTOC" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_dummy=""${CONTRIB_DIR}/../bin:$PATH"" +for as_dir in $as_dummy +do + IFS=$as_save_IFS + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PROTOC="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PROTOC=$ac_cv_path_PROTOC +if test -n "$PROTOC"; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PROTOC" >&5 +printf "%s\n" "$PROTOC" >&6; } else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } +fi - as_fn_error $? "protoc compiler needed for chromecast was not found" "$LINENO" 5 + + test -n "$PROTOC" && break +done +test -n "$PROTOC" || PROTOC="no" + + if test "${PROTOC}" != "no" +then : + + PROTOC_FULL_VERSION="$(eval ${PROTOC} --version 2>/dev/null | head -1 | sed s/'.* '//)" + PROTOC_MAJ_VERSION="$(echo ${PROTOC_FULL_VERSION} | cut -d '.' -f -1)" + if test "${PROTOC_MAJ_VERSION}" -lt "5" +then : + + PROTOBUF_VERSION="$(echo ${PROTOC_FULL_VERSION} | cut -d '.' -f -2)" + PROTOBUF_MAX_VERSION="${PROTOBUF_VERSION%.*}.$((${PROTOBUF_VERSION##*.}+1))" + PROTOBUF_TEST="protobuf-lite >= ${PROTOBUF_VERSION} protobuf-lite < ${PROTOBUF_MAX_VERSION}" + +else $as_nop + + if test "${PROTOC_MAJ_VERSION}" -lt "22" +then : + + PROTOBUF_VERSION="$(echo ${PROTOC_FULL_VERSION} | cut -d '.' -f -3)" + PROTOBUF_MAX_VERSION="${PROTOBUF_VERSION%.*}.$((${PROTOBUF_VERSION##*.}+1))" + PROTOBUF_TEST="protobuf-lite >= ${PROTOBUF_VERSION} protobuf-lite < ${PROTOBUF_MAX_VERSION}" + +else $as_nop + + PROTOBUF_VERSION="$(echo ${PROTOC_FULL_VERSION} | cut -d '.' -f -2)" + PROTOBUF_MAX_VERSION="${PROTOBUF_VERSION%.*}.$((${PROTOBUF_VERSION##*.}+1))" + PROTOBUF_TEST="protobuf-lite >= ${PROTOBUF_VERSION} protobuf-lite < ${PROTOBUF_MAX_VERSION}" fi -fi ;; #( - *) : - ;; -esac +fi + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking protobuf-lite matches ${PROTOC} version ${PROTOBUF_VERSION}" >&5 +printf %s "checking protobuf-lite matches ${PROTOC} version ${PROTOBUF_VERSION}... " >&6; } + ($PKG_CONFIG --exists --print-errors "${PROTOBUF_TEST}") 2>&6 + ac_status=$? + if test $ac_status = 0 +then : + + protoc_matching=yes + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } + +else $as_nop + protoc_matching=no + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } +fi + +else $as_nop + protoc_matching=no +fi +fi - if test "${build_chromecast}" = "yes"; then + if test "${enable_chromecast}" != "no" -a "${protoc_matching}" = yes; then BUILD_CHROMECAST_TRUE= BUILD_CHROMECAST_FALSE='#' else @@ -54572,13 +57030,14 @@ - # Check whether --enable-qt was given. -if test "${enable_qt+set}" = set; then : +if test ${enable_qt+y} +then : enableval=$enable_qt; -else +else $as_nop - if test "${SYS}" = "darwin"; then : + if test "${SYS}" = "darwin" +then : enable_qt="no" @@ -54587,21 +57046,23 @@ fi have_qt5_x11="no" -if test "${enable_qt}" != "no"; then : +qt6_configured="no" +if test "${enable_qt}" != "no" +then : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT" >&5 -$as_echo_n "checking for QT... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for QT" >&5 +printf %s "checking for QT... " >&6; } if test -n "$QT_CFLAGS"; then pkg_cv_QT_CFLAGS="$QT_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Core >= 5.5.0 Qt5Widgets Qt5Gui Qt5Svg\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Core >= 5.5.0 Qt5Widgets Qt5Gui Qt5Svg\""; } >&5 ($PKG_CONFIG --exists --print-errors "Qt5Core >= 5.5.0 Qt5Widgets Qt5Gui Qt5Svg") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_QT_CFLAGS=`$PKG_CONFIG --cflags "Qt5Core >= 5.5.0 Qt5Widgets Qt5Gui Qt5Svg" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -54615,10 +57076,10 @@ pkg_cv_QT_LIBS="$QT_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Core >= 5.5.0 Qt5Widgets Qt5Gui Qt5Svg\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Core >= 5.5.0 Qt5Widgets Qt5Gui Qt5Svg\""; } >&5 ($PKG_CONFIG --exists --print-errors "Qt5Core >= 5.5.0 Qt5Widgets Qt5Gui Qt5Svg") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_QT_LIBS=`$PKG_CONFIG --libs "Qt5Core >= 5.5.0 Qt5Widgets Qt5Gui Qt5Svg" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -54632,8 +57093,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -54653,11 +57114,12 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_QMAKE6+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_QMAKE6+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $QMAKE6 in [\\/]* | ?:[\\/]*) ac_cv_path_QMAKE6="$QMAKE6" # Let the user override the test with a path. @@ -54668,11 +57130,15 @@ for as_dir in $as_dummy do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_QMAKE6="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_QMAKE6="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -54684,11 +57150,11 @@ fi QMAKE6=$ac_cv_path_QMAKE6 if test -n "$QMAKE6"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QMAKE6" >&5 -$as_echo "$QMAKE6" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $QMAKE6" >&5 +printf "%s\n" "$QMAKE6" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -54696,62 +57162,70 @@ done test -n "$QMAKE6" || QMAKE6="qmake6" + QT_QMAKE_MAJOR="$(${QMAKE6} -query QT_VERSION 2>/dev/null | cut -d. -f1)" # Check whether --with-qtconf was given. -if test "${with_qtconf+set}" = set; then : +if test ${with_qtconf+y} +then : withval=$with_qtconf; fi - if test -z "${with_qtconf}"; then : + if test -z "${with_qtconf}" +then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if contribs provide target_qt.conf" >&5 -$as_echo_n "checking if contribs provide target_qt.conf... " >&6; } - if test -e "${CONTRIB_DIR}/bin/target_qt.conf"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if contribs provide target_qt.conf" >&5 +printf %s "checking if contribs provide target_qt.conf... " >&6; } + if test -e "${CONTRIB_DIR}/bin/target_qt.conf" +then : with_qtconf=${CONTRIB_DIR}/bin/target_qt.conf - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi fi QT_PATHS=${QMAKE6} - if test -n "${QMAKE6}"; then : + if test -n "${QMAKE6}" +then : - if test -n "${with_qtconf}"; then : + if test -n "${with_qtconf}" +then : QT_BIN_DIRECTORY="$(${QMAKE6} -qtconf ${with_qtconf} -query QT_HOST_BINS 2>/dev/null)" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if qmake6 is found with qtconf" >&5 -$as_echo_n "checking if qmake6 is found with qtconf... " >&6; } - if test -n "${QT_BIN_DIRECTORY}" -a -x "${QT_BIN_DIRECTORY}/qmake6"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if qmake6 is found with qtconf" >&5 +printf %s "checking if qmake6 is found with qtconf... " >&6; } + if test -n "${QT_BIN_DIRECTORY}" -a -x "${QT_BIN_DIRECTORY}/qmake6" +then : QMAKE6="${QT_BIN_DIRECTORY}/qmake6" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if qmake is found with qtconf" >&5 -$as_echo_n "checking if qmake is found with qtconf... " >&6; } - if test -n "${QT_BIN_DIRECTORY}" -a -x "${QT_BIN_DIRECTORY}/qmake"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if qmake is found with qtconf" >&5 +printf %s "checking if qmake is found with qtconf... " >&6; } + if test -n "${QT_BIN_DIRECTORY}" -a -x "${QT_BIN_DIRECTORY}/qmake" +then : QMAKE6="${QT_BIN_DIRECTORY}/qmake" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -54763,16 +57237,17 @@ fi QMAKE="${QT_PATHS}" - { $as_echo "$as_me:${as_lineno-$LINENO}: using ${QMAKE}" >&5 -$as_echo "$as_me: using ${QMAKE}" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using ${QMAKE}" >&5 +printf "%s\n" "$as_me: using ${QMAKE}" >&6;} - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt libraries" >&5 -$as_echo_n "checking for Qt libraries... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Qt libraries" >&5 +printf %s "checking for Qt libraries... " >&6; } mkdir -p ${ac_pwd}/modules/gui/qt touch ${ac_pwd}/modules/gui/qt/.qmake.stash QT_PKG_ERRORS=$(${QT_PATHS} ${srcdir}/modules/gui/qt/qt6.pro -o ${ac_pwd}/modules/gui/qt/qmake-qt 2>&1) ac_status=$? - if test $ac_status = 0 && test -f "${ac_pwd}/modules/gui/qt/qmake-qt"; then : + if test $ac_status = 0 && test -f "${ac_pwd}/modules/gui/qt/qmake-qt" +then : echo "get_cflags:" > ${ac_pwd}/modules/gui/qt/qmake-common.mk echo ' $(info $(DEFINES) $(INCPATH))' >> ${ac_pwd}/modules/gui/qt/qmake-common.mk @@ -54783,8 +57258,8 @@ echo "include ${ac_pwd}/modules/gui/qt/qmake-common.mk" >> ${ac_pwd}/modules/gui/qt/qmake-qt - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } QT_LIBS=$(cd ${ac_pwd}/modules/gui/qt && make -s -f qmake-qt get_libs) QT_CFLAGS=$(cd ${ac_pwd}/modules/gui/qt && make -s -f qmake-qt get_cflags) QT_LDFLAGS=$(cd ${ac_pwd}/modules/gui/qt && make -s -f qmake-qt get_ldflags) @@ -54801,11 +57276,12 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_MOC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_MOC+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $MOC in [\\/]* | ?:[\\/]*) ac_cv_path_MOC="$MOC" # Let the user override the test with a path. @@ -54815,11 +57291,15 @@ for as_dir in "${QT_HOST_PATH}" "${QT_PATH}/bin" "${QT_HOST_LIBEXEC_DIRECTORY}" "${QT_LIBEXEC_DIRECTORY}" do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_MOC="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_MOC="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -54831,11 +57311,11 @@ fi MOC=$ac_cv_path_MOC if test -n "$MOC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5 -$as_echo "$MOC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5 +printf "%s\n" "$MOC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -54847,11 +57327,12 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_RCC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_RCC+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $RCC in [\\/]* | ?:[\\/]*) ac_cv_path_RCC="$RCC" # Let the user override the test with a path. @@ -54861,11 +57342,15 @@ for as_dir in "${QT_HOST_PATH}" "${QT_PATH}/bin" "${QT_HOST_LIBEXEC_DIRECTORY}" "${QT_LIBEXEC_DIRECTORY}" do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_RCC="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_RCC="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -54877,11 +57362,11 @@ fi RCC=$ac_cv_path_RCC if test -n "$RCC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RCC" >&5 -$as_echo "$RCC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RCC" >&5 +printf "%s\n" "$RCC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -54893,11 +57378,12 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_UIC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_UIC+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $UIC in [\\/]* | ?:[\\/]*) ac_cv_path_UIC="$UIC" # Let the user override the test with a path. @@ -54907,11 +57393,15 @@ for as_dir in "${QT_HOST_PATH}" "${QT_PATH}/bin" "${QT_HOST_LIBEXEC_DIRECTORY}" "${QT_LIBEXEC_DIRECTORY}" do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_UIC="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_UIC="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -54923,11 +57413,11 @@ fi UIC=$ac_cv_path_UIC if test -n "$UIC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UIC" >&5 -$as_echo "$UIC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $UIC" >&5 +printf "%s\n" "$UIC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -54936,38 +57426,45 @@ test -n "$UIC" || UIC="uic" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt GUI private" >&5 -$as_echo_n "checking for Qt GUI private... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Qt GUI private" >&5 +printf %s "checking for Qt GUI private... " >&6; } (${QMAKE} ${srcdir}/modules/gui/qt/private-gui.pro -o ${ac_pwd}/modules/gui/qt/qmake-private-gui) 2>/dev/null ac_status=$? - if test $ac_status = 0 && test -f ${ac_pwd}/modules/gui/qt/qmake-private-gui; then : + if test $ac_status = 0 && test -f ${ac_pwd}/modules/gui/qt/qmake-private-gui +then : echo "include ${ac_pwd}/modules/gui/qt/qmake-common.mk" >> ${ac_pwd}/modules/gui/qt/qmake-private-gui - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } QT_GUI_PRIVATE_CFLAGS=$(cd ${ac_pwd}/modules/gui/qt && make -s -f qmake-private-gui get_cflags) have_qt_gui_private="yes" -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi rm -f ${ac_pwd}/modules/gui/qt/qmake-private-gui -else + if test "${QT_QMAKE_MAJOR}" = "6" +then : + qt6_configured="yes" +fi + +else $as_nop - if test -n "${enable_qt}"; then : + if test -n "${enable_qt}" +then : as_fn_error $? "${QT_PKG_ERRORS}." "$LINENO" 5 -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${QT_PKG_ERRORS}." >&5 -$as_echo "$as_me: WARNING: ${QT_PKG_ERRORS}." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${QT_PKG_ERRORS}." >&5 +printf "%s\n" "$as_me: WARNING: ${QT_PKG_ERRORS}." >&2;} fi enable_qt="no" @@ -54975,18 +57472,19 @@ fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } for ac_prog in qmake6 qmake do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_QMAKE6+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_QMAKE6+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $QMAKE6 in [\\/]* | ?:[\\/]*) ac_cv_path_QMAKE6="$QMAKE6" # Let the user override the test with a path. @@ -54997,11 +57495,15 @@ for as_dir in $as_dummy do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_QMAKE6="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_QMAKE6="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -55013,11 +57515,11 @@ fi QMAKE6=$ac_cv_path_QMAKE6 if test -n "$QMAKE6"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QMAKE6" >&5 -$as_echo "$QMAKE6" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $QMAKE6" >&5 +printf "%s\n" "$QMAKE6" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -55025,62 +57527,70 @@ done test -n "$QMAKE6" || QMAKE6="qmake6" + QT_QMAKE_MAJOR="$(${QMAKE6} -query QT_VERSION 2>/dev/null | cut -d. -f1)" # Check whether --with-qtconf was given. -if test "${with_qtconf+set}" = set; then : +if test ${with_qtconf+y} +then : withval=$with_qtconf; fi - if test -z "${with_qtconf}"; then : + if test -z "${with_qtconf}" +then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if contribs provide target_qt.conf" >&5 -$as_echo_n "checking if contribs provide target_qt.conf... " >&6; } - if test -e "${CONTRIB_DIR}/bin/target_qt.conf"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if contribs provide target_qt.conf" >&5 +printf %s "checking if contribs provide target_qt.conf... " >&6; } + if test -e "${CONTRIB_DIR}/bin/target_qt.conf" +then : with_qtconf=${CONTRIB_DIR}/bin/target_qt.conf - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi fi QT_PATHS=${QMAKE6} - if test -n "${QMAKE6}"; then : + if test -n "${QMAKE6}" +then : - if test -n "${with_qtconf}"; then : + if test -n "${with_qtconf}" +then : QT_BIN_DIRECTORY="$(${QMAKE6} -qtconf ${with_qtconf} -query QT_HOST_BINS 2>/dev/null)" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if qmake6 is found with qtconf" >&5 -$as_echo_n "checking if qmake6 is found with qtconf... " >&6; } - if test -n "${QT_BIN_DIRECTORY}" -a -x "${QT_BIN_DIRECTORY}/qmake6"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if qmake6 is found with qtconf" >&5 +printf %s "checking if qmake6 is found with qtconf... " >&6; } + if test -n "${QT_BIN_DIRECTORY}" -a -x "${QT_BIN_DIRECTORY}/qmake6" +then : QMAKE6="${QT_BIN_DIRECTORY}/qmake6" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if qmake is found with qtconf" >&5 -$as_echo_n "checking if qmake is found with qtconf... " >&6; } - if test -n "${QT_BIN_DIRECTORY}" -a -x "${QT_BIN_DIRECTORY}/qmake"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if qmake is found with qtconf" >&5 +printf %s "checking if qmake is found with qtconf... " >&6; } + if test -n "${QT_BIN_DIRECTORY}" -a -x "${QT_BIN_DIRECTORY}/qmake" +then : QMAKE6="${QT_BIN_DIRECTORY}/qmake" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -55092,16 +57602,17 @@ fi QMAKE="${QT_PATHS}" - { $as_echo "$as_me:${as_lineno-$LINENO}: using ${QMAKE}" >&5 -$as_echo "$as_me: using ${QMAKE}" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using ${QMAKE}" >&5 +printf "%s\n" "$as_me: using ${QMAKE}" >&6;} - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt libraries" >&5 -$as_echo_n "checking for Qt libraries... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Qt libraries" >&5 +printf %s "checking for Qt libraries... " >&6; } mkdir -p ${ac_pwd}/modules/gui/qt touch ${ac_pwd}/modules/gui/qt/.qmake.stash QT_PKG_ERRORS=$(${QT_PATHS} ${srcdir}/modules/gui/qt/qt6.pro -o ${ac_pwd}/modules/gui/qt/qmake-qt 2>&1) ac_status=$? - if test $ac_status = 0 && test -f "${ac_pwd}/modules/gui/qt/qmake-qt"; then : + if test $ac_status = 0 && test -f "${ac_pwd}/modules/gui/qt/qmake-qt" +then : echo "get_cflags:" > ${ac_pwd}/modules/gui/qt/qmake-common.mk echo ' $(info $(DEFINES) $(INCPATH))' >> ${ac_pwd}/modules/gui/qt/qmake-common.mk @@ -55112,8 +57623,8 @@ echo "include ${ac_pwd}/modules/gui/qt/qmake-common.mk" >> ${ac_pwd}/modules/gui/qt/qmake-qt - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } QT_LIBS=$(cd ${ac_pwd}/modules/gui/qt && make -s -f qmake-qt get_libs) QT_CFLAGS=$(cd ${ac_pwd}/modules/gui/qt && make -s -f qmake-qt get_cflags) QT_LDFLAGS=$(cd ${ac_pwd}/modules/gui/qt && make -s -f qmake-qt get_ldflags) @@ -55130,11 +57641,12 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_MOC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_MOC+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $MOC in [\\/]* | ?:[\\/]*) ac_cv_path_MOC="$MOC" # Let the user override the test with a path. @@ -55144,11 +57656,15 @@ for as_dir in "${QT_HOST_PATH}" "${QT_PATH}/bin" "${QT_HOST_LIBEXEC_DIRECTORY}" "${QT_LIBEXEC_DIRECTORY}" do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_MOC="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_MOC="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -55160,11 +57676,11 @@ fi MOC=$ac_cv_path_MOC if test -n "$MOC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5 -$as_echo "$MOC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5 +printf "%s\n" "$MOC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -55176,11 +57692,12 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_RCC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_RCC+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $RCC in [\\/]* | ?:[\\/]*) ac_cv_path_RCC="$RCC" # Let the user override the test with a path. @@ -55190,11 +57707,15 @@ for as_dir in "${QT_HOST_PATH}" "${QT_PATH}/bin" "${QT_HOST_LIBEXEC_DIRECTORY}" "${QT_LIBEXEC_DIRECTORY}" do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_RCC="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_RCC="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -55206,11 +57727,11 @@ fi RCC=$ac_cv_path_RCC if test -n "$RCC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RCC" >&5 -$as_echo "$RCC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RCC" >&5 +printf "%s\n" "$RCC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -55222,11 +57743,12 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_UIC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_UIC+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $UIC in [\\/]* | ?:[\\/]*) ac_cv_path_UIC="$UIC" # Let the user override the test with a path. @@ -55236,11 +57758,15 @@ for as_dir in "${QT_HOST_PATH}" "${QT_PATH}/bin" "${QT_HOST_LIBEXEC_DIRECTORY}" "${QT_LIBEXEC_DIRECTORY}" do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_UIC="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_UIC="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -55252,11 +57778,11 @@ fi UIC=$ac_cv_path_UIC if test -n "$UIC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UIC" >&5 -$as_echo "$UIC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $UIC" >&5 +printf "%s\n" "$UIC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -55265,38 +57791,45 @@ test -n "$UIC" || UIC="uic" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt GUI private" >&5 -$as_echo_n "checking for Qt GUI private... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Qt GUI private" >&5 +printf %s "checking for Qt GUI private... " >&6; } (${QMAKE} ${srcdir}/modules/gui/qt/private-gui.pro -o ${ac_pwd}/modules/gui/qt/qmake-private-gui) 2>/dev/null ac_status=$? - if test $ac_status = 0 && test -f ${ac_pwd}/modules/gui/qt/qmake-private-gui; then : + if test $ac_status = 0 && test -f ${ac_pwd}/modules/gui/qt/qmake-private-gui +then : echo "include ${ac_pwd}/modules/gui/qt/qmake-common.mk" >> ${ac_pwd}/modules/gui/qt/qmake-private-gui - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } QT_GUI_PRIVATE_CFLAGS=$(cd ${ac_pwd}/modules/gui/qt && make -s -f qmake-private-gui get_cflags) have_qt_gui_private="yes" -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi rm -f ${ac_pwd}/modules/gui/qt/qmake-private-gui -else + if test "${QT_QMAKE_MAJOR}" = "6" +then : + qt6_configured="yes" +fi - if test -n "${enable_qt}"; then : +else $as_nop + + if test -n "${enable_qt}" +then : as_fn_error $? "${QT_PKG_ERRORS}." "$LINENO" 5 -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${QT_PKG_ERRORS}." >&5 -$as_echo "$as_me: WARNING: ${QT_PKG_ERRORS}." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${QT_PKG_ERRORS}." >&5 +printf "%s\n" "$as_me: WARNING: ${QT_PKG_ERRORS}." >&2;} fi enable_qt="no" @@ -55306,22 +57839,22 @@ else QT_CFLAGS=$pkg_cv_QT_CFLAGS QT_LIBS=$pkg_cv_QT_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT5_X11" >&5 -$as_echo_n "checking for QT5_X11... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for QT5_X11" >&5 +printf %s "checking for QT5_X11... " >&6; } if test -n "$QT5_X11_CFLAGS"; then pkg_cv_QT5_X11_CFLAGS="$QT5_X11_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5X11Extras\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5X11Extras\""; } >&5 ($PKG_CONFIG --exists --print-errors "Qt5X11Extras") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_QT5_X11_CFLAGS=`$PKG_CONFIG --cflags "Qt5X11Extras" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -55335,10 +57868,10 @@ pkg_cv_QT5_X11_LIBS="$QT5_X11_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5X11Extras\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5X11Extras\""; } >&5 ($PKG_CONFIG --exists --print-errors "Qt5X11Extras") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_QT5_X11_LIBS=`$PKG_CONFIG --libs "Qt5X11Extras" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -55352,8 +57885,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -55369,21 +57902,21 @@ echo "$QT5_X11_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Not building Qt Interface with X11 helpers." >&5 -$as_echo "$as_me: WARNING: Not building Qt Interface with X11 helpers." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Not building Qt Interface with X11 helpers." >&5 +printf "%s\n" "$as_me: WARNING: Not building Qt Interface with X11 helpers." >&2;} elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Not building Qt Interface with X11 helpers." >&5 -$as_echo "$as_me: WARNING: Not building Qt Interface with X11 helpers." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Not building Qt Interface with X11 helpers." >&5 +printf "%s\n" "$as_me: WARNING: Not building Qt Interface with X11 helpers." >&2;} else QT5_X11_CFLAGS=$pkg_cv_QT5_X11_CFLAGS QT5_X11_LIBS=$pkg_cv_QT5_X11_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_qt5_x11="yes" @@ -55395,11 +57928,12 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_MOC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_MOC+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $MOC in [\\/]* | ?:[\\/]*) ac_cv_path_MOC="$MOC" # Let the user override the test with a path. @@ -55409,11 +57943,15 @@ for as_dir in "${QT_HOST_PATH}" "${QT_PATH}/bin" do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_MOC="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_MOC="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -55425,11 +57963,11 @@ fi MOC=$ac_cv_path_MOC if test -n "$MOC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5 -$as_echo "$MOC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5 +printf "%s\n" "$MOC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -55441,11 +57979,12 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_RCC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_RCC+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $RCC in [\\/]* | ?:[\\/]*) ac_cv_path_RCC="$RCC" # Let the user override the test with a path. @@ -55455,11 +57994,15 @@ for as_dir in "${QT_HOST_PATH}" "${QT_PATH}/bin" do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_RCC="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_RCC="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -55471,11 +58014,11 @@ fi RCC=$ac_cv_path_RCC if test -n "$RCC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RCC" >&5 -$as_echo "$RCC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RCC" >&5 +printf "%s\n" "$RCC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -55487,11 +58030,12 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_UIC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_UIC+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $UIC in [\\/]* | ?:[\\/]*) ac_cv_path_UIC="$UIC" # Let the user override the test with a path. @@ -55501,11 +58045,15 @@ for as_dir in "${QT_HOST_PATH}" "${QT_PATH}/bin" do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_UIC="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_UIC="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -55517,11 +58065,11 @@ fi UIC=$ac_cv_path_UIC if test -n "$UIC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UIC" >&5 -$as_echo "$UIC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $UIC" >&5 +printf "%s\n" "$UIC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -55534,7 +58082,8 @@ fi -if test "${enable_qt}" != "no"; then : +if test "${enable_qt}" != "no" +then : ALIASES="${ALIASES} qvlc" @@ -55548,6 +58097,35 @@ ENABLE_QT_FALSE= fi +have_qt_x11="no" +if test "${enable_qt}" != "no" +then : + + if test "${qt6_configured}" = "yes" +then : + + if test "${no_x}" != "yes" +then : + + have_qt_x11="yes" + +fi + +else $as_nop + + have_qt_x11="${have_qt5_x11}" + +fi + +fi + if test "${have_qt_x11}" = "yes"; then + HAVE_QT_X11_TRUE= + HAVE_QT_X11_FALSE='#' +else + HAVE_QT_X11_TRUE='#' + HAVE_QT_X11_FALSE= +fi + if test "${have_qt5_x11}" = "yes"; then HAVE_QT5_X11_TRUE= HAVE_QT5_X11_FALSE='#' @@ -55566,38 +58144,44 @@ -if test "x$KDE4_CONFIG" = "x"; then : +if test "x$KDE4_CONFIG" = "x" +then : KDE4_CONFIG="kde4-config" fi -if test "$enable_qt" = "no"; then : +if test "$enable_qt" = "no" +then : - if test "${enable_skins2}" = "yes"; then : + if test "${enable_skins2}" = "yes" +then : as_fn_error $? "The skins2 module depends on the Qt interface. Without it you will not be able to open any dialog box from the interface, which makes the skins2 interface rather useless. Install the Qt development package or alternatively you can also configure with: --disable-qt --disable-skins2." "$LINENO" 5 -else +else $as_nop enable_skins2="no" - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The skins2 module depends on the Qt interface, Qt is not built so skins2 is disabled." >&5 -$as_echo "$as_me: WARNING: The skins2 module depends on the Qt interface, Qt is not built so skins2 is disabled." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: The skins2 module depends on the Qt interface, Qt is not built so skins2 is disabled." >&5 +printf "%s\n" "$as_me: WARNING: The skins2 module depends on the Qt interface, Qt is not built so skins2 is disabled." >&2;} fi fi # Check whether --enable-skins2 was given. -if test "${enable_skins2+set}" = set; then : +if test ${enable_skins2+y} +then : enableval=$enable_skins2; fi -if test "${enable_skins2}" != "no"; then : +if test "${enable_skins2}" != "no" +then : have_skins_deps="yes" - if test "${SYS}" = "mingw32"; then : + if test "${SYS}" = "mingw32" +then : @@ -55612,7 +58196,8 @@ -elif test "${SYS}" = "os2"; then : +elif test "${SYS}" = "os2" +then : @@ -55621,21 +58206,21 @@ -else +else $as_nop pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XPM" >&5 -$as_echo_n "checking for XPM... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XPM" >&5 +printf %s "checking for XPM... " >&6; } if test -n "$XPM_CFLAGS"; then pkg_cv_XPM_CFLAGS="$XPM_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xpm\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xpm\""; } >&5 ($PKG_CONFIG --exists --print-errors "xpm") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_XPM_CFLAGS=`$PKG_CONFIG --cflags "xpm" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -55649,10 +58234,10 @@ pkg_cv_XPM_LIBS="$XPM_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xpm\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xpm\""; } >&5 ($PKG_CONFIG --exists --print-errors "xpm") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_XPM_LIBS=`$PKG_CONFIG --libs "xpm" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -55666,8 +58251,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -55684,29 +58269,29 @@ have_skins_deps="no" elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } have_skins_deps="no" else XPM_CFLAGS=$pkg_cv_XPM_CFLAGS XPM_LIBS=$pkg_cv_XPM_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } fi pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XINERAMA" >&5 -$as_echo_n "checking for XINERAMA... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XINERAMA" >&5 +printf %s "checking for XINERAMA... " >&6; } if test -n "$XINERAMA_CFLAGS"; then pkg_cv_XINERAMA_CFLAGS="$XINERAMA_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xinerama\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xinerama\""; } >&5 ($PKG_CONFIG --exists --print-errors "xinerama") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_XINERAMA_CFLAGS=`$PKG_CONFIG --cflags "xinerama" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -55720,10 +58305,10 @@ pkg_cv_XINERAMA_LIBS="$XINERAMA_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xinerama\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xinerama\""; } >&5 ($PKG_CONFIG --exists --print-errors "xinerama") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_XINERAMA_LIBS=`$PKG_CONFIG --libs "xinerama" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -55737,8 +58322,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -55755,29 +58340,29 @@ have_skins_deps="no" elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } have_skins_deps="no" else XINERAMA_CFLAGS=$pkg_cv_XINERAMA_CFLAGS XINERAMA_LIBS=$pkg_cv_XINERAMA_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } fi pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5 -$as_echo_n "checking for XEXT... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5 +printf %s "checking for XEXT... " >&6; } if test -n "$XEXT_CFLAGS"; then pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5 ($PKG_CONFIG --exists --print-errors "xext") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xext" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -55791,10 +58376,10 @@ pkg_cv_XEXT_LIBS="$XEXT_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5 ($PKG_CONFIG --exists --print-errors "xext") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xext" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -55808,8 +58393,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -55826,14 +58411,14 @@ have_skins_deps="no" elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } have_skins_deps="no" else XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS XEXT_LIBS=$pkg_cv_XEXT_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } fi @@ -55851,27 +58436,30 @@ fi - if test "${have_freetype}" != "yes"; then : + if test "${have_freetype}" != "yes" +then : have_skins_deps="no" fi - if test "${have_skins_deps}" = "no"; then : + if test "${have_skins_deps}" = "no" +then : - if test "x${enable_skins2}" = "x"; then : + if test "x${enable_skins2}" = "x" +then : - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Skins2 interface disabled due to missing dependencies." >&5 -$as_echo "$as_me: WARNING: Skins2 interface disabled due to missing dependencies." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Skins2 interface disabled due to missing dependencies." >&5 +printf "%s\n" "$as_me: WARNING: Skins2 interface disabled due to missing dependencies." >&2;} -else +else $as_nop as_fn_error $? "Skins2 interface requires FreeType, libxpm, libxext and libxinerama" "$LINENO" 5 fi enable_skins2="no" -else +else $as_nop ALIASES="${ALIASES} svlc" enable_skins2="yes" @@ -55889,7 +58477,8 @@ # Check whether --enable-macosx was given. -if test "${enable_macosx+set}" = set; then : +if test ${enable_macosx+y} +then : enableval=$enable_macosx; fi @@ -55899,11 +58488,12 @@ # Extract the first word of "xcrun", so it can be a program name with args. set dummy xcrun; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_XCRUN+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_XCRUN+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $XCRUN in [\\/]* | ?:[\\/]*) ac_cv_path_XCRUN="$XCRUN" # Let the user override the test with a path. @@ -55913,11 +58503,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_XCRUN="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_XCRUN="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -55930,38 +58524,41 @@ fi XCRUN=$ac_cv_path_XCRUN if test -n "$XCRUN"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XCRUN" >&5 -$as_echo "$XCRUN" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XCRUN" >&5 +printf "%s\n" "$XCRUN" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi - if test ! "x${XCRUN}" = "xno"; then : + if test ! "x${XCRUN}" = "xno" +then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ibtool (using xcrun)" >&5 -$as_echo_n "checking for ibtool (using xcrun)... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ibtool (using xcrun)" >&5 +printf %s "checking for ibtool (using xcrun)... " >&6; } XIB="$(eval $XCRUN -f ibtool 2>/dev/null || echo no)" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${XIB}" >&5 -$as_echo "${XIB}" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${XIB}" >&5 +printf "%s\n" "${XIB}" >&6; } -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Looking for tools without using xcrun" >&5 -$as_echo "$as_me: WARNING: Looking for tools without using xcrun" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Looking for tools without using xcrun" >&5 +printf "%s\n" "$as_me: WARNING: Looking for tools without using xcrun" >&2;} fi - if test "x${XIB}" = "xno"; then : + if test "x${XIB}" = "xno" +then : # Extract the first word of "ibtool", so it can be a program name with args. set dummy ibtool; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_XIB+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_XIB+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $XIB in [\\/]* | ?:[\\/]*) ac_cv_path_XIB="$XIB" # Let the user override the test with a path. @@ -55971,11 +58568,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_XIB="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_XIB="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -55988,15 +58589,16 @@ fi XIB=$ac_cv_path_XIB if test -n "$XIB"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XIB" >&5 -$as_echo "$XIB" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XIB" >&5 +printf "%s\n" "$XIB" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi - if test "x${XIB}" = "xno"; then : + if test "x${XIB}" = "xno" +then : as_fn_error $? "ibtool was not found, but is required for --enable-macosx" "$LINENO" 5 @@ -56014,7 +58616,8 @@ # Check whether --enable-sparkle was given. -if test "${enable_sparkle+set}" = set; then : +if test ${enable_sparkle+y} +then : enableval=$enable_sparkle; fi @@ -56026,7 +58629,7 @@ fi -$as_echo "#define HAVE_SPARKLE 1" >>confdefs.h +printf "%s\n" "#define HAVE_SPARKLE 1" >>confdefs.h fi if test "$enable_sparkle" != "no"; then @@ -56040,56 +58643,61 @@ # Check whether --with-breakpad was given. -if test "${with_breakpad+set}" = set; then : +if test ${with_breakpad+y} +then : withval=$with_breakpad; -else +else $as_nop with_breakpad=no fi -if test "$with_breakpad" != "no"; then : +if test "$with_breakpad" != "no" +then : - if test "$with_breakpad" = "yes"; then : + if test "$with_breakpad" = "yes" +then : as_fn_error $? "You need to supply the CrashDragon Server URL as value for --with-breakpad" "$LINENO" 5 fi - if test "$HAVE_OSX" = "1"; then : + if test "$HAVE_OSX" = "1" +then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Breakpad framework" >&5 -$as_echo_n "checking for Breakpad framework... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Breakpad framework" >&5 +printf %s "checking for Breakpad framework... " >&6; } if test ! -d ${CONTRIB_DIR}/Breakpad.framework -a \ - ! -d ${CONTRIB_DIR}/Frameworks/Breakpad.framework; then : + ! -d ${CONTRIB_DIR}/Frameworks/Breakpad.framework +then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } with_breakpad="no" as_fn_error $? "Breakpad framework is required and was not found in ${CONTRIB_DIR}" "$LINENO" 5 -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } fi -else +else $as_nop pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BREAKPAD" >&5 -$as_echo_n "checking for BREAKPAD... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BREAKPAD" >&5 +printf %s "checking for BREAKPAD... " >&6; } if test -n "$BREAKPAD_CFLAGS"; then pkg_cv_BREAKPAD_CFLAGS="$BREAKPAD_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"breakpad-client\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"breakpad-client\""; } >&5 ($PKG_CONFIG --exists --print-errors "breakpad-client") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_BREAKPAD_CFLAGS=`$PKG_CONFIG --cflags "breakpad-client" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -56103,10 +58711,10 @@ pkg_cv_BREAKPAD_LIBS="$BREAKPAD_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"breakpad-client\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"breakpad-client\""; } >&5 ($PKG_CONFIG --exists --print-errors "breakpad-client") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_BREAKPAD_LIBS=`$PKG_CONFIG --libs "breakpad-client" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -56120,8 +58728,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -56140,16 +58748,16 @@ as_fn_error $? "\"breakpad not found\"" "$LINENO" 5 elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } as_fn_error $? "\"breakpad not found\"" "$LINENO" 5 else BREAKPAD_CFLAGS=$pkg_cv_BREAKPAD_CFLAGS BREAKPAD_LIBS=$pkg_cv_BREAKPAD_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LDFLAGS="${LDFLAGS} -Wl,--build-id" @@ -56167,7 +58775,8 @@ HAVE_BREAKPAD_FALSE= fi -if test "$with_breakpad" != "no"; then : +if test "$with_breakpad" != "no" +then : BREAKPAD_URL="${with_breakpad}" @@ -56175,7 +58784,8 @@ fi # Check whether --enable-minimal-macosx was given. -if test "${enable_minimal_macosx+set}" = set; then : +if test ${enable_minimal_macosx+y} +then : enableval=$enable_minimal_macosx; fi @@ -56193,11 +58803,12 @@ then # Extract the first word of "dmgbuild", so it can be a program name with args. set dummy dmgbuild; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_DMGBUILD+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_DMGBUILD+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $DMGBUILD in [\\/]* | ?:[\\/]*) ac_cv_path_DMGBUILD="$DMGBUILD" # Let the user override the test with a path. @@ -56207,11 +58818,15 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_DMGBUILD="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_DMGBUILD="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -56224,18 +58839,19 @@ fi DMGBUILD=$ac_cv_path_DMGBUILD if test -n "$DMGBUILD"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DMGBUILD" >&5 -$as_echo "$DMGBUILD" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DMGBUILD" >&5 +printf "%s\n" "$DMGBUILD" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi - if test "x${DMGBUILD}" = "xno"; then : + if test "x${DMGBUILD}" = "xno" +then : - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dmgbuild not found -- unable to build fancy DMGs" >&5 -$as_echo "$as_me: WARNING: dmgbuild not found -- unable to build fancy DMGs" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: dmgbuild not found -- unable to build fancy DMGs" >&5 +printf "%s\n" "$as_me: WARNING: dmgbuild not found -- unable to build fancy DMGs" >&2;} fi fi @@ -56248,13 +58864,12 @@ fi -for ac_header in VideoToolbox/VideoToolbox.h + for ac_header in VideoToolbox/VideoToolbox.h do : - ac_fn_c_check_header_mongrel "$LINENO" "VideoToolbox/VideoToolbox.h" "ac_cv_header_VideoToolbox_VideoToolbox_h" "$ac_includes_default" -if test "x$ac_cv_header_VideoToolbox_VideoToolbox_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_VIDEOTOOLBOX_VIDEOTOOLBOX_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "VideoToolbox/VideoToolbox.h" "ac_cv_header_VideoToolbox_VideoToolbox_h" "$ac_includes_default" +if test "x$ac_cv_header_VideoToolbox_VideoToolbox_h" = xyes +then : + printf "%s\n" "#define HAVE_VIDEOTOOLBOX_VIDEOTOOLBOX_H 1" >>confdefs.h @@ -56273,14 +58888,12 @@ done - -for ac_header in AudioToolbox/AudioToolbox.h + for ac_header in AudioToolbox/AudioToolbox.h do : - ac_fn_c_check_header_mongrel "$LINENO" "AudioToolbox/AudioToolbox.h" "ac_cv_header_AudioToolbox_AudioToolbox_h" "$ac_includes_default" -if test "x$ac_cv_header_AudioToolbox_AudioToolbox_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_AUDIOTOOLBOX_AUDIOTOOLBOX_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "AudioToolbox/AudioToolbox.h" "ac_cv_header_AudioToolbox_AudioToolbox_h" "$ac_includes_default" +if test "x$ac_cv_header_AudioToolbox_AudioToolbox_h" = xyes +then : + printf "%s\n" "#define HAVE_AUDIOTOOLBOX_AUDIOTOOLBOX_H 1" >>confdefs.h @@ -56293,28 +58906,29 @@ done - # Check whether --enable-ncurses was given. -if test "${enable_ncurses+set}" = set; then : +if test ${enable_ncurses+y} +then : enableval=$enable_ncurses; fi have_ncurses="no" -if test "${enable_ncurses}" != "no" ; then : +if test "${enable_ncurses}" != "no" +then : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NCURSES" >&5 -$as_echo_n "checking for NCURSES... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for NCURSES" >&5 +printf %s "checking for NCURSES... " >&6; } if test -n "$NCURSES_CFLAGS"; then pkg_cv_NCURSES_CFLAGS="$NCURSES_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncursesw\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncursesw\""; } >&5 ($PKG_CONFIG --exists --print-errors "ncursesw") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_NCURSES_CFLAGS=`$PKG_CONFIG --cflags "ncursesw" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -56328,10 +58942,10 @@ pkg_cv_NCURSES_LIBS="$NCURSES_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncursesw\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncursesw\""; } >&5 ($PKG_CONFIG --exists --print-errors "ncursesw") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_NCURSES_LIBS=`$PKG_CONFIG --libs "ncursesw" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -56345,8 +58959,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -56362,17 +58976,19 @@ echo "$NCURSES_PKG_ERRORS" >&5 - if test -n "${enable_ncurses}"; then : + if test -n "${enable_ncurses}" +then : as_fn_error $? "${NCURSES_PKG_ERRORS}." "$LINENO" 5 fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - if test -n "${enable_ncurses}"; then : + if test -n "${enable_ncurses}" +then : as_fn_error $? "${NCURSES_PKG_ERRORS}." "$LINENO" 5 @@ -56381,8 +58997,8 @@ else NCURSES_CFLAGS=$pkg_cv_NCURSES_CFLAGS NCURSES_LIBS=$pkg_cv_NCURSES_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } have_ncurses="yes" ALIASES="${ALIASES} nvlc" @@ -56400,21 +59016,25 @@ # Check whether --enable-lirc was given. -if test "${enable_lirc+set}" = set; then : +if test ${enable_lirc+y} +then : enableval=$enable_lirc; fi have_lirc="no" -if test "${enable_lirc}" = "yes"; then : - - ac_fn_c_check_header_mongrel "$LINENO" "lirc/lirc_client.h" "ac_cv_header_lirc_lirc_client_h" "$ac_includes_default" -if test "x$ac_cv_header_lirc_lirc_client_h" = xyes; then : +if test "${enable_lirc}" = "yes" +then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lirc_init in -llirc_client" >&5 -$as_echo_n "checking for lirc_init in -llirc_client... " >&6; } -if ${ac_cv_lib_lirc_client_lirc_init+:} false; then : - $as_echo_n "(cached) " >&6 -else + ac_fn_c_check_header_compile "$LINENO" "lirc/lirc_client.h" "ac_cv_header_lirc_lirc_client_h" "$ac_includes_default" +if test "x$ac_cv_header_lirc_lirc_client_h" = xyes +then : + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lirc_init in -llirc_client" >&5 +printf %s "checking for lirc_init in -llirc_client... " >&6; } +if test ${ac_cv_lib_lirc_client_lirc_init+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-llirc_client $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -56423,30 +59043,29 @@ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char lirc_init (); int -main () +main (void) { return lirc_init (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_lirc_client_lirc_init=yes -else +else $as_nop ac_cv_lib_lirc_client_lirc_init=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lirc_client_lirc_init" >&5 -$as_echo "$ac_cv_lib_lirc_client_lirc_init" >&6; } -if test "x$ac_cv_lib_lirc_client_lirc_init" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lirc_client_lirc_init" >&5 +printf "%s\n" "$ac_cv_lib_lirc_client_lirc_init" >&6; } +if test "x$ac_cv_lib_lirc_client_lirc_init" = xyes +then : have_lirc="yes" @@ -56456,7 +59075,6 @@ fi - fi if test "${have_lirc}" = "yes"; then HAVE_LIRC_TRUE= @@ -56484,9 +59102,10 @@ # Check whether --enable-srt was given. -if test "${enable_srt+set}" = set; then : +if test ${enable_srt+y} +then : enableval=$enable_srt; -else +else $as_nop enable_srt=auto fi @@ -56495,17 +59114,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SRT" >&5 -$as_echo_n "checking for SRT... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SRT" >&5 +printf %s "checking for SRT... " >&6; } if test -n "$SRT_CFLAGS"; then pkg_cv_SRT_CFLAGS="$SRT_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"srt >= 1.3.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"srt >= 1.3.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "srt >= 1.3.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SRT_CFLAGS=`$PKG_CONFIG --cflags "srt >= 1.3.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -56519,10 +59138,10 @@ pkg_cv_SRT_LIBS="$SRT_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"srt >= 1.3.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"srt >= 1.3.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "srt >= 1.3.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SRT_LIBS=`$PKG_CONFIG --libs "srt >= 1.3.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -56536,8 +59155,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -56552,28 +59171,30 @@ # Put the nasty error message in config.log where it belongs echo "$SRT_PKG_ERRORS" >&5 - if test x"$enable_srt" = "xyes"; then : + if test x"$enable_srt" = "xyes" +then : as_fn_error $? "Library srt >= 1.3.0 needed for srt was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library srt >= 1.3.0 needed for srt was not found" >&5 -$as_echo "$as_me: WARNING: Library srt >= 1.3.0 needed for srt was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library srt >= 1.3.0 needed for srt was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library srt >= 1.3.0 needed for srt was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_srt" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_srt" = "xyes" +then : as_fn_error $? "Library srt >= 1.3.0 needed for srt was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library srt >= 1.3.0 needed for srt was not found" >&5 -$as_echo "$as_me: WARNING: Library srt >= 1.3.0 needed for srt was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library srt >= 1.3.0 needed for srt was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library srt >= 1.3.0 needed for srt was not found" >&2;} fi else SRT_CFLAGS=$pkg_cv_SRT_CFLAGS SRT_LIBS=$pkg_cv_SRT_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBaccess_srt=libaccess_srt_plugin.la @@ -56612,17 +59233,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SRT" >&5 -$as_echo_n "checking for SRT... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SRT" >&5 +printf %s "checking for SRT... " >&6; } if test -n "$SRT_CFLAGS"; then pkg_cv_SRT_CFLAGS="$SRT_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"srt >= 1.3.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"srt >= 1.3.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "srt >= 1.3.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SRT_CFLAGS=`$PKG_CONFIG --cflags "srt >= 1.3.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -56636,10 +59257,10 @@ pkg_cv_SRT_LIBS="$SRT_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"srt >= 1.3.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"srt >= 1.3.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "srt >= 1.3.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SRT_LIBS=`$PKG_CONFIG --libs "srt >= 1.3.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -56653,8 +59274,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -56670,29 +59291,31 @@ echo "$SRT_PKG_ERRORS" >&5 enable_srt=no - if test x"$enable_srt" = "xyes"; then : + if test x"$enable_srt" = "xyes" +then : as_fn_error $? "Library srt >= 1.3.0 needed for srt was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library srt >= 1.3.0 needed for srt was not found" >&5 -$as_echo "$as_me: WARNING: Library srt >= 1.3.0 needed for srt was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library srt >= 1.3.0 needed for srt was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library srt >= 1.3.0 needed for srt was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_srt=no - if test x"$enable_srt" = "xyes"; then : + if test x"$enable_srt" = "xyes" +then : as_fn_error $? "Library srt >= 1.3.0 needed for srt was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library srt >= 1.3.0 needed for srt was not found" >&5 -$as_echo "$as_me: WARNING: Library srt >= 1.3.0 needed for srt was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library srt >= 1.3.0 needed for srt was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library srt >= 1.3.0 needed for srt was not found" >&2;} fi else SRT_CFLAGS=$pkg_cv_SRT_CFLAGS SRT_LIBS=$pkg_cv_SRT_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_srt=yes @@ -56762,11 +59385,280 @@ +# Check whether --enable-librist was given. +if test ${enable_librist+y} +then : + enableval=$enable_librist; +else $as_nop + enable_librist=auto +fi + + +case $enable_librist in #( + yes) : + +pkg_failed=no +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBRIST" >&5 +printf %s "checking for LIBRIST... " >&6; } + +if test -n "$LIBRIST_CFLAGS"; then + pkg_cv_LIBRIST_CFLAGS="$LIBRIST_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librist >= 0.2.1\""; } >&5 + ($PKG_CONFIG --exists --print-errors "librist >= 0.2.1") 2>&5 + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_LIBRIST_CFLAGS=`$PKG_CONFIG --cflags "librist >= 0.2.1" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$LIBRIST_LIBS"; then + pkg_cv_LIBRIST_LIBS="$LIBRIST_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librist >= 0.2.1\""; } >&5 + ($PKG_CONFIG --exists --print-errors "librist >= 0.2.1") 2>&5 + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_LIBRIST_LIBS=`$PKG_CONFIG --libs "librist >= 0.2.1" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + LIBRIST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "librist >= 0.2.1" 2>&1` + else + LIBRIST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "librist >= 0.2.1" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$LIBRIST_PKG_ERRORS" >&5 + + if test x"$enable_librist" = "xyes" +then : + as_fn_error $? "Library librist >= 0.2.1 needed for librist was not found" "$LINENO" 5 +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library librist >= 0.2.1 needed for librist was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library librist >= 0.2.1 needed for librist was not found" >&2;} + +fi +elif test $pkg_failed = untried; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_librist" = "xyes" +then : + as_fn_error $? "Library librist >= 0.2.1 needed for librist was not found" "$LINENO" 5 +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library librist >= 0.2.1 needed for librist was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library librist >= 0.2.1 needed for librist was not found" >&2;} + +fi +else + LIBRIST_CFLAGS=$pkg_cv_LIBRIST_CFLAGS + LIBRIST_LIBS=$pkg_cv_LIBRIST_LIBS + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } + LTLIBrist=librist_plugin.la + + + LTLIBaccess_output_rist=libaccess_output_rist_plugin.la + + + + + + + eval "CFLAGS_rist="'"$'"{CFLAGS_rist} $LIBRIST_CFLAGS "'"' + + + eval "CFLAGS_access_output_rist="'"$'"{CFLAGS_access_output_rist} $LIBRIST_CFLAGS "'"' + + + + + + eval "LIBS_rist="'"'"$LIBRIST_LIBS "'$'"{LIBS_rist}"'"' + + + eval "LIBS_access_output_rist="'"'"$LIBRIST_LIBS "'$'"{LIBS_access_output_rist}"'"' + + + +fi ;; #( + auto) : + +pkg_failed=no +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBRIST" >&5 +printf %s "checking for LIBRIST... " >&6; } + +if test -n "$LIBRIST_CFLAGS"; then + pkg_cv_LIBRIST_CFLAGS="$LIBRIST_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librist >= 0.2.1\""; } >&5 + ($PKG_CONFIG --exists --print-errors "librist >= 0.2.1") 2>&5 + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_LIBRIST_CFLAGS=`$PKG_CONFIG --cflags "librist >= 0.2.1" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$LIBRIST_LIBS"; then + pkg_cv_LIBRIST_LIBS="$LIBRIST_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librist >= 0.2.1\""; } >&5 + ($PKG_CONFIG --exists --print-errors "librist >= 0.2.1") 2>&5 + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_LIBRIST_LIBS=`$PKG_CONFIG --libs "librist >= 0.2.1" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + LIBRIST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "librist >= 0.2.1" 2>&1` + else + LIBRIST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "librist >= 0.2.1" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$LIBRIST_PKG_ERRORS" >&5 + + enable_librist=no + if test x"$enable_librist" = "xyes" +then : + as_fn_error $? "Library librist >= 0.2.1 needed for librist was not found" "$LINENO" 5 +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library librist >= 0.2.1 needed for librist was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library librist >= 0.2.1 needed for librist was not found" >&2;} + +fi +elif test $pkg_failed = untried; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + enable_librist=no + if test x"$enable_librist" = "xyes" +then : + as_fn_error $? "Library librist >= 0.2.1 needed for librist was not found" "$LINENO" 5 +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library librist >= 0.2.1 needed for librist was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library librist >= 0.2.1 needed for librist was not found" >&2;} + +fi +else + LIBRIST_CFLAGS=$pkg_cv_LIBRIST_CFLAGS + LIBRIST_LIBS=$pkg_cv_LIBRIST_LIBS + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } + enable_librist=yes + + + LTLIBrist=librist_plugin.la + + + LTLIBaccess_output_rist=libaccess_output_rist_plugin.la + + + + + + + eval "CFLAGS_rist="'"$'"{CFLAGS_rist} $LIBRIST_CFLAGS "'"' + + + eval "CFLAGS_access_output_rist="'"$'"{CFLAGS_access_output_rist} $LIBRIST_CFLAGS "'"' + + + + + + eval "LIBS_rist="'"'"$LIBRIST_LIBS "'$'"{LIBS_rist}"'"' + + + eval "LIBS_access_output_rist="'"'"$LIBRIST_LIBS "'$'"{LIBS_access_output_rist}"'"' + + + +fi ;; #( + *) : + ;; +esac + + + + + + + + + + + + + + + + + + + + + + + + + + + + # Check whether --enable-goom was given. -if test "${enable_goom+set}" = set; then : +if test ${enable_goom+y} +then : enableval=$enable_goom; -else +else $as_nop enable_goom=auto fi @@ -56775,17 +59667,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOOM" >&5 -$as_echo_n "checking for GOOM... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GOOM" >&5 +printf %s "checking for GOOM... " >&6; } if test -n "$GOOM_CFLAGS"; then pkg_cv_GOOM_CFLAGS="$GOOM_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgoom2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgoom2\""; } >&5 ($PKG_CONFIG --exists --print-errors "libgoom2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GOOM_CFLAGS=`$PKG_CONFIG --cflags "libgoom2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -56799,10 +59691,10 @@ pkg_cv_GOOM_LIBS="$GOOM_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgoom2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgoom2\""; } >&5 ($PKG_CONFIG --exists --print-errors "libgoom2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GOOM_LIBS=`$PKG_CONFIG --libs "libgoom2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -56816,8 +59708,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -56832,28 +59724,30 @@ # Put the nasty error message in config.log where it belongs echo "$GOOM_PKG_ERRORS" >&5 - if test x"$enable_goom" = "xyes"; then : + if test x"$enable_goom" = "xyes" +then : as_fn_error $? "Library libgoom2 needed for goom was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libgoom2 needed for goom was not found" >&5 -$as_echo "$as_me: WARNING: Library libgoom2 needed for goom was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libgoom2 needed for goom was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libgoom2 needed for goom was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_goom" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_goom" = "xyes" +then : as_fn_error $? "Library libgoom2 needed for goom was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libgoom2 needed for goom was not found" >&5 -$as_echo "$as_me: WARNING: Library libgoom2 needed for goom was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libgoom2 needed for goom was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libgoom2 needed for goom was not found" >&2;} fi else GOOM_CFLAGS=$pkg_cv_GOOM_CFLAGS GOOM_LIBS=$pkg_cv_GOOM_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBgoom=libgoom_plugin.la @@ -56875,17 +59769,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOOM" >&5 -$as_echo_n "checking for GOOM... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GOOM" >&5 +printf %s "checking for GOOM... " >&6; } if test -n "$GOOM_CFLAGS"; then pkg_cv_GOOM_CFLAGS="$GOOM_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgoom2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgoom2\""; } >&5 ($PKG_CONFIG --exists --print-errors "libgoom2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GOOM_CFLAGS=`$PKG_CONFIG --cflags "libgoom2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -56899,10 +59793,10 @@ pkg_cv_GOOM_LIBS="$GOOM_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgoom2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgoom2\""; } >&5 ($PKG_CONFIG --exists --print-errors "libgoom2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GOOM_LIBS=`$PKG_CONFIG --libs "libgoom2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -56916,8 +59810,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -56933,29 +59827,31 @@ echo "$GOOM_PKG_ERRORS" >&5 enable_goom=no - if test x"$enable_goom" = "xyes"; then : + if test x"$enable_goom" = "xyes" +then : as_fn_error $? "Library libgoom2 needed for goom was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libgoom2 needed for goom was not found" >&5 -$as_echo "$as_me: WARNING: Library libgoom2 needed for goom was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libgoom2 needed for goom was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libgoom2 needed for goom was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_goom=no - if test x"$enable_goom" = "xyes"; then : + if test x"$enable_goom" = "xyes" +then : as_fn_error $? "Library libgoom2 needed for goom was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libgoom2 needed for goom was not found" >&5 -$as_echo "$as_me: WARNING: Library libgoom2 needed for goom was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libgoom2 needed for goom was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libgoom2 needed for goom was not found" >&2;} fi else GOOM_CFLAGS=$pkg_cv_GOOM_CFLAGS GOOM_LIBS=$pkg_cv_GOOM_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_goom=yes @@ -56993,25 +59889,27 @@ # Check whether --enable-projectm was given. -if test "${enable_projectm+set}" = set; then : +if test ${enable_projectm+y} +then : enableval=$enable_projectm; fi -if test "${enable_projectm}" != "no"; then : +if test "${enable_projectm}" != "no" +then : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PROJECTM" >&5 -$as_echo_n "checking for PROJECTM... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PROJECTM" >&5 +printf %s "checking for PROJECTM... " >&6; } if test -n "$PROJECTM_CFLAGS"; then pkg_cv_PROJECTM_CFLAGS="$PROJECTM_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libprojectM\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libprojectM\""; } >&5 ($PKG_CONFIG --exists --print-errors "libprojectM") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PROJECTM_CFLAGS=`$PKG_CONFIG --cflags "libprojectM" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -57025,10 +59923,10 @@ pkg_cv_PROJECTM_LIBS="$PROJECTM_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libprojectM\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libprojectM\""; } >&5 ($PKG_CONFIG --exists --print-errors "libprojectM") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PROJECTM_LIBS=`$PKG_CONFIG --libs "libprojectM" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -57042,8 +59940,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -57059,21 +59957,21 @@ echo "$PROJECTM_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${PROJECTM_PKG_ERRORS}." >&5 -$as_echo "$as_me: WARNING: ${PROJECTM_PKG_ERRORS}." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${PROJECTM_PKG_ERRORS}." >&5 +printf "%s\n" "$as_me: WARNING: ${PROJECTM_PKG_ERRORS}." >&2;} elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${PROJECTM_PKG_ERRORS}." >&5 -$as_echo "$as_me: WARNING: ${PROJECTM_PKG_ERRORS}." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${PROJECTM_PKG_ERRORS}." >&5 +printf "%s\n" "$as_me: WARNING: ${PROJECTM_PKG_ERRORS}." >&2;} else PROJECTM_CFLAGS=$pkg_cv_PROJECTM_CFLAGS PROJECTM_LIBS=$pkg_cv_PROJECTM_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } @@ -57082,17 +59980,17 @@ if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libprojectM >= 2.0.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libprojectM >= 2.0.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libprojectM >= 2.0.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then -$as_echo "#define HAVE_PROJECTM2 1" >>confdefs.h +printf "%s\n" "#define HAVE_PROJECTM2 1" >>confdefs.h else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Using libprojectM version 1 " >&5 -$as_echo "$as_me: WARNING: Using libprojectM version 1 " >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Using libprojectM version 1 " >&5 +printf "%s\n" "$as_me: WARNING: Using libprojectM version 1 " >&2;} fi @@ -57101,25 +59999,27 @@ fi # Check whether --enable-vsxu was given. -if test "${enable_vsxu+set}" = set; then : +if test ${enable_vsxu+y} +then : enableval=$enable_vsxu; fi -if test "${enable_vsxu}" != "no"; then : +if test "${enable_vsxu}" != "no" +then : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for VSXU" >&5 -$as_echo_n "checking for VSXU... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for VSXU" >&5 +printf %s "checking for VSXU... " >&6; } if test -n "$VSXU_CFLAGS"; then pkg_cv_VSXU_CFLAGS="$VSXU_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvsxu\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvsxu\""; } >&5 ($PKG_CONFIG --exists --print-errors "libvsxu") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_VSXU_CFLAGS=`$PKG_CONFIG --cflags "libvsxu" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -57133,10 +60033,10 @@ pkg_cv_VSXU_LIBS="$VSXU_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvsxu\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvsxu\""; } >&5 ($PKG_CONFIG --exists --print-errors "libvsxu") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_VSXU_LIBS=`$PKG_CONFIG --libs "libvsxu" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -57150,8 +60050,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -57167,21 +60067,21 @@ echo "$VSXU_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${VSXU_PKG_ERRORS}." >&5 -$as_echo "$as_me: WARNING: ${VSXU_PKG_ERRORS}." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${VSXU_PKG_ERRORS}." >&5 +printf "%s\n" "$as_me: WARNING: ${VSXU_PKG_ERRORS}." >&2;} elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${VSXU_PKG_ERRORS}." >&5 -$as_echo "$as_me: WARNING: ${VSXU_PKG_ERRORS}." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${VSXU_PKG_ERRORS}." >&5 +printf "%s\n" "$as_me: WARNING: ${VSXU_PKG_ERRORS}." >&2;} else VSXU_CFLAGS=$pkg_cv_VSXU_CFLAGS VSXU_LIBS=$pkg_cv_VSXU_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } @@ -57212,9 +60112,10 @@ # Check whether --enable-avahi was given. -if test "${enable_avahi+set}" = set; then : +if test ${enable_avahi+y} +then : enableval=$enable_avahi; -else +else $as_nop enable_avahi=auto fi @@ -57223,17 +60124,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for AVAHI" >&5 -$as_echo_n "checking for AVAHI... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for AVAHI" >&5 +printf %s "checking for AVAHI... " >&6; } if test -n "$AVAHI_CFLAGS"; then pkg_cv_AVAHI_CFLAGS="$AVAHI_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client >= 0.6\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client >= 0.6\""; } >&5 ($PKG_CONFIG --exists --print-errors "avahi-client >= 0.6") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_AVAHI_CFLAGS=`$PKG_CONFIG --cflags "avahi-client >= 0.6" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -57247,10 +60148,10 @@ pkg_cv_AVAHI_LIBS="$AVAHI_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client >= 0.6\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client >= 0.6\""; } >&5 ($PKG_CONFIG --exists --print-errors "avahi-client >= 0.6") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_AVAHI_LIBS=`$PKG_CONFIG --libs "avahi-client >= 0.6" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -57264,8 +60165,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -57280,28 +60181,30 @@ # Put the nasty error message in config.log where it belongs echo "$AVAHI_PKG_ERRORS" >&5 - if test x"$enable_avahi" = "xyes"; then : + if test x"$enable_avahi" = "xyes" +then : as_fn_error $? "Library avahi-client >= 0.6 needed for avahi was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library avahi-client >= 0.6 needed for avahi was not found" >&5 -$as_echo "$as_me: WARNING: Library avahi-client >= 0.6 needed for avahi was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library avahi-client >= 0.6 needed for avahi was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library avahi-client >= 0.6 needed for avahi was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_avahi" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_avahi" = "xyes" +then : as_fn_error $? "Library avahi-client >= 0.6 needed for avahi was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library avahi-client >= 0.6 needed for avahi was not found" >&5 -$as_echo "$as_me: WARNING: Library avahi-client >= 0.6 needed for avahi was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library avahi-client >= 0.6 needed for avahi was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library avahi-client >= 0.6 needed for avahi was not found" >&2;} fi else AVAHI_CFLAGS=$pkg_cv_AVAHI_CFLAGS AVAHI_LIBS=$pkg_cv_AVAHI_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBavahi=libavahi_plugin.la @@ -57323,17 +60226,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for AVAHI" >&5 -$as_echo_n "checking for AVAHI... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for AVAHI" >&5 +printf %s "checking for AVAHI... " >&6; } if test -n "$AVAHI_CFLAGS"; then pkg_cv_AVAHI_CFLAGS="$AVAHI_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client >= 0.6\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client >= 0.6\""; } >&5 ($PKG_CONFIG --exists --print-errors "avahi-client >= 0.6") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_AVAHI_CFLAGS=`$PKG_CONFIG --cflags "avahi-client >= 0.6" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -57347,10 +60250,10 @@ pkg_cv_AVAHI_LIBS="$AVAHI_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client >= 0.6\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client >= 0.6\""; } >&5 ($PKG_CONFIG --exists --print-errors "avahi-client >= 0.6") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_AVAHI_LIBS=`$PKG_CONFIG --libs "avahi-client >= 0.6" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -57364,8 +60267,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -57381,29 +60284,31 @@ echo "$AVAHI_PKG_ERRORS" >&5 enable_avahi=no - if test x"$enable_avahi" = "xyes"; then : + if test x"$enable_avahi" = "xyes" +then : as_fn_error $? "Library avahi-client >= 0.6 needed for avahi was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library avahi-client >= 0.6 needed for avahi was not found" >&5 -$as_echo "$as_me: WARNING: Library avahi-client >= 0.6 needed for avahi was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library avahi-client >= 0.6 needed for avahi was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library avahi-client >= 0.6 needed for avahi was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_avahi=no - if test x"$enable_avahi" = "xyes"; then : + if test x"$enable_avahi" = "xyes" +then : as_fn_error $? "Library avahi-client >= 0.6 needed for avahi was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library avahi-client >= 0.6 needed for avahi was not found" >&5 -$as_echo "$as_me: WARNING: Library avahi-client >= 0.6 needed for avahi was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library avahi-client >= 0.6 needed for avahi was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library avahi-client >= 0.6 needed for avahi was not found" >&2;} fi else AVAHI_CFLAGS=$pkg_cv_AVAHI_CFLAGS AVAHI_LIBS=$pkg_cv_AVAHI_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_avahi=yes @@ -57457,9 +60362,10 @@ # Check whether --enable-udev was given. -if test "${enable_udev+set}" = set; then : +if test ${enable_udev+y} +then : enableval=$enable_udev; -else +else $as_nop enable_udev=auto fi @@ -57468,17 +60374,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UDEV" >&5 -$as_echo_n "checking for UDEV... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for UDEV" >&5 +printf %s "checking for UDEV... " >&6; } if test -n "$UDEV_CFLAGS"; then pkg_cv_UDEV_CFLAGS="$UDEV_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev >= 142\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev >= 142\""; } >&5 ($PKG_CONFIG --exists --print-errors "libudev >= 142") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_UDEV_CFLAGS=`$PKG_CONFIG --cflags "libudev >= 142" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -57492,10 +60398,10 @@ pkg_cv_UDEV_LIBS="$UDEV_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev >= 142\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev >= 142\""; } >&5 ($PKG_CONFIG --exists --print-errors "libudev >= 142") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_UDEV_LIBS=`$PKG_CONFIG --libs "libudev >= 142" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -57509,8 +60415,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -57525,28 +60431,30 @@ # Put the nasty error message in config.log where it belongs echo "$UDEV_PKG_ERRORS" >&5 - if test x"$enable_udev" = "xyes"; then : + if test x"$enable_udev" = "xyes" +then : as_fn_error $? "Library libudev >= 142 needed for udev was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libudev >= 142 needed for udev was not found" >&5 -$as_echo "$as_me: WARNING: Library libudev >= 142 needed for udev was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libudev >= 142 needed for udev was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libudev >= 142 needed for udev was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_udev" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_udev" = "xyes" +then : as_fn_error $? "Library libudev >= 142 needed for udev was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libudev >= 142 needed for udev was not found" >&5 -$as_echo "$as_me: WARNING: Library libudev >= 142 needed for udev was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libudev >= 142 needed for udev was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libudev >= 142 needed for udev was not found" >&2;} fi else UDEV_CFLAGS=$pkg_cv_UDEV_CFLAGS UDEV_LIBS=$pkg_cv_UDEV_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBudev=libudev_plugin.la @@ -57568,17 +60476,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UDEV" >&5 -$as_echo_n "checking for UDEV... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for UDEV" >&5 +printf %s "checking for UDEV... " >&6; } if test -n "$UDEV_CFLAGS"; then pkg_cv_UDEV_CFLAGS="$UDEV_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev >= 142\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev >= 142\""; } >&5 ($PKG_CONFIG --exists --print-errors "libudev >= 142") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_UDEV_CFLAGS=`$PKG_CONFIG --cflags "libudev >= 142" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -57592,10 +60500,10 @@ pkg_cv_UDEV_LIBS="$UDEV_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev >= 142\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev >= 142\""; } >&5 ($PKG_CONFIG --exists --print-errors "libudev >= 142") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_UDEV_LIBS=`$PKG_CONFIG --libs "libudev >= 142" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -57609,8 +60517,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -57626,29 +60534,31 @@ echo "$UDEV_PKG_ERRORS" >&5 enable_udev=no - if test x"$enable_udev" = "xyes"; then : + if test x"$enable_udev" = "xyes" +then : as_fn_error $? "Library libudev >= 142 needed for udev was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libudev >= 142 needed for udev was not found" >&5 -$as_echo "$as_me: WARNING: Library libudev >= 142 needed for udev was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libudev >= 142 needed for udev was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libudev >= 142 needed for udev was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_udev=no - if test x"$enable_udev" = "xyes"; then : + if test x"$enable_udev" = "xyes" +then : as_fn_error $? "Library libudev >= 142 needed for udev was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libudev >= 142 needed for udev was not found" >&5 -$as_echo "$as_me: WARNING: Library libudev >= 142 needed for udev was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libudev >= 142 needed for udev was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libudev >= 142 needed for udev was not found" >&2;} fi else UDEV_CFLAGS=$pkg_cv_UDEV_CFLAGS UDEV_LIBS=$pkg_cv_UDEV_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_udev=yes @@ -57702,9 +60612,10 @@ # Check whether --enable-mtp was given. -if test "${enable_mtp+set}" = set; then : +if test ${enable_mtp+y} +then : enableval=$enable_mtp; -else +else $as_nop enable_mtp=auto fi @@ -57713,17 +60624,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MTP" >&5 -$as_echo_n "checking for MTP... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MTP" >&5 +printf %s "checking for MTP... " >&6; } if test -n "$MTP_CFLAGS"; then pkg_cv_MTP_CFLAGS="$MTP_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmtp >= 1.0.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmtp >= 1.0.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libmtp >= 1.0.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MTP_CFLAGS=`$PKG_CONFIG --cflags "libmtp >= 1.0.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -57737,10 +60648,10 @@ pkg_cv_MTP_LIBS="$MTP_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmtp >= 1.0.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmtp >= 1.0.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libmtp >= 1.0.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MTP_LIBS=`$PKG_CONFIG --libs "libmtp >= 1.0.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -57754,8 +60665,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -57770,28 +60681,30 @@ # Put the nasty error message in config.log where it belongs echo "$MTP_PKG_ERRORS" >&5 - if test x"$enable_mtp" = "xyes"; then : + if test x"$enable_mtp" = "xyes" +then : as_fn_error $? "Library libmtp >= 1.0.0 needed for mtp was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libmtp >= 1.0.0 needed for mtp was not found" >&5 -$as_echo "$as_me: WARNING: Library libmtp >= 1.0.0 needed for mtp was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libmtp >= 1.0.0 needed for mtp was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libmtp >= 1.0.0 needed for mtp was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_mtp" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_mtp" = "xyes" +then : as_fn_error $? "Library libmtp >= 1.0.0 needed for mtp was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libmtp >= 1.0.0 needed for mtp was not found" >&5 -$as_echo "$as_me: WARNING: Library libmtp >= 1.0.0 needed for mtp was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libmtp >= 1.0.0 needed for mtp was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libmtp >= 1.0.0 needed for mtp was not found" >&2;} fi else MTP_CFLAGS=$pkg_cv_MTP_CFLAGS MTP_LIBS=$pkg_cv_MTP_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBmtp=libmtp_plugin.la @@ -57822,17 +60735,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MTP" >&5 -$as_echo_n "checking for MTP... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MTP" >&5 +printf %s "checking for MTP... " >&6; } if test -n "$MTP_CFLAGS"; then pkg_cv_MTP_CFLAGS="$MTP_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmtp >= 1.0.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmtp >= 1.0.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libmtp >= 1.0.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MTP_CFLAGS=`$PKG_CONFIG --cflags "libmtp >= 1.0.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -57846,10 +60759,10 @@ pkg_cv_MTP_LIBS="$MTP_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmtp >= 1.0.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmtp >= 1.0.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libmtp >= 1.0.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MTP_LIBS=`$PKG_CONFIG --libs "libmtp >= 1.0.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -57863,8 +60776,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -57880,29 +60793,31 @@ echo "$MTP_PKG_ERRORS" >&5 enable_mtp=no - if test x"$enable_mtp" = "xyes"; then : + if test x"$enable_mtp" = "xyes" +then : as_fn_error $? "Library libmtp >= 1.0.0 needed for mtp was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libmtp >= 1.0.0 needed for mtp was not found" >&5 -$as_echo "$as_me: WARNING: Library libmtp >= 1.0.0 needed for mtp was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libmtp >= 1.0.0 needed for mtp was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libmtp >= 1.0.0 needed for mtp was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_mtp=no - if test x"$enable_mtp" = "xyes"; then : + if test x"$enable_mtp" = "xyes" +then : as_fn_error $? "Library libmtp >= 1.0.0 needed for mtp was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libmtp >= 1.0.0 needed for mtp was not found" >&5 -$as_echo "$as_me: WARNING: Library libmtp >= 1.0.0 needed for mtp was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libmtp >= 1.0.0 needed for mtp was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libmtp >= 1.0.0 needed for mtp was not found" >&2;} fi else MTP_CFLAGS=$pkg_cv_MTP_CFLAGS MTP_LIBS=$pkg_cv_MTP_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_mtp=yes @@ -57965,9 +60880,10 @@ # Check whether --enable-upnp was given. -if test "${enable_upnp+set}" = set; then : +if test ${enable_upnp+y} +then : enableval=$enable_upnp; -else +else $as_nop enable_upnp=auto fi @@ -57976,17 +60892,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UPNP" >&5 -$as_echo_n "checking for UPNP... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for UPNP" >&5 +printf %s "checking for UPNP... " >&6; } if test -n "$UPNP_CFLAGS"; then pkg_cv_UPNP_CFLAGS="$UPNP_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libupnp\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libupnp\""; } >&5 ($PKG_CONFIG --exists --print-errors "libupnp") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_UPNP_CFLAGS=`$PKG_CONFIG --cflags "libupnp" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -58000,10 +60916,10 @@ pkg_cv_UPNP_LIBS="$UPNP_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libupnp\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libupnp\""; } >&5 ($PKG_CONFIG --exists --print-errors "libupnp") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_UPNP_LIBS=`$PKG_CONFIG --libs "libupnp" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -58017,8 +60933,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -58033,28 +60949,30 @@ # Put the nasty error message in config.log where it belongs echo "$UPNP_PKG_ERRORS" >&5 - if test x"$enable_upnp" = "xyes"; then : + if test x"$enable_upnp" = "xyes" +then : as_fn_error $? "Library libupnp needed for upnp was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libupnp needed for upnp was not found" >&5 -$as_echo "$as_me: WARNING: Library libupnp needed for upnp was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libupnp needed for upnp was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libupnp needed for upnp was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_upnp" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_upnp" = "xyes" +then : as_fn_error $? "Library libupnp needed for upnp was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libupnp needed for upnp was not found" >&5 -$as_echo "$as_me: WARNING: Library libupnp needed for upnp was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libupnp needed for upnp was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libupnp needed for upnp was not found" >&2;} fi else UPNP_CFLAGS=$pkg_cv_UPNP_CFLAGS UPNP_LIBS=$pkg_cv_UPNP_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBupnp=libupnp_plugin.la @@ -58076,17 +60994,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UPNP" >&5 -$as_echo_n "checking for UPNP... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for UPNP" >&5 +printf %s "checking for UPNP... " >&6; } if test -n "$UPNP_CFLAGS"; then pkg_cv_UPNP_CFLAGS="$UPNP_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libupnp\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libupnp\""; } >&5 ($PKG_CONFIG --exists --print-errors "libupnp") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_UPNP_CFLAGS=`$PKG_CONFIG --cflags "libupnp" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -58100,10 +61018,10 @@ pkg_cv_UPNP_LIBS="$UPNP_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libupnp\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libupnp\""; } >&5 ($PKG_CONFIG --exists --print-errors "libupnp") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_UPNP_LIBS=`$PKG_CONFIG --libs "libupnp" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -58117,8 +61035,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -58134,29 +61052,31 @@ echo "$UPNP_PKG_ERRORS" >&5 enable_upnp=no - if test x"$enable_upnp" = "xyes"; then : + if test x"$enable_upnp" = "xyes" +then : as_fn_error $? "Library libupnp needed for upnp was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libupnp needed for upnp was not found" >&5 -$as_echo "$as_me: WARNING: Library libupnp needed for upnp was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libupnp needed for upnp was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libupnp needed for upnp was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_upnp=no - if test x"$enable_upnp" = "xyes"; then : + if test x"$enable_upnp" = "xyes" +then : as_fn_error $? "Library libupnp needed for upnp was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libupnp needed for upnp was not found" >&5 -$as_echo "$as_me: WARNING: Library libupnp needed for upnp was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libupnp needed for upnp was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libupnp needed for upnp was not found" >&2;} fi else UPNP_CFLAGS=$pkg_cv_UPNP_CFLAGS UPNP_LIBS=$pkg_cv_UPNP_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_upnp=yes @@ -58210,9 +61130,10 @@ # Check whether --enable-microdns was given. -if test "${enable_microdns+set}" = set; then : +if test ${enable_microdns+y} +then : enableval=$enable_microdns; -else +else $as_nop enable_microdns=auto fi @@ -58221,17 +61142,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MICRODNS" >&5 -$as_echo_n "checking for MICRODNS... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MICRODNS" >&5 +printf %s "checking for MICRODNS... " >&6; } if test -n "$MICRODNS_CFLAGS"; then pkg_cv_MICRODNS_CFLAGS="$MICRODNS_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"microdns >= 0.1.2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"microdns >= 0.1.2\""; } >&5 ($PKG_CONFIG --exists --print-errors "microdns >= 0.1.2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MICRODNS_CFLAGS=`$PKG_CONFIG --cflags "microdns >= 0.1.2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -58245,10 +61166,10 @@ pkg_cv_MICRODNS_LIBS="$MICRODNS_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"microdns >= 0.1.2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"microdns >= 0.1.2\""; } >&5 ($PKG_CONFIG --exists --print-errors "microdns >= 0.1.2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MICRODNS_LIBS=`$PKG_CONFIG --libs "microdns >= 0.1.2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -58262,8 +61183,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -58278,28 +61199,30 @@ # Put the nasty error message in config.log where it belongs echo "$MICRODNS_PKG_ERRORS" >&5 - if test x"$enable_microdns" = "xyes"; then : + if test x"$enable_microdns" = "xyes" +then : as_fn_error $? "Library microdns >= 0.1.2 needed for microdns was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library microdns >= 0.1.2 needed for microdns was not found" >&5 -$as_echo "$as_me: WARNING: Library microdns >= 0.1.2 needed for microdns was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library microdns >= 0.1.2 needed for microdns was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library microdns >= 0.1.2 needed for microdns was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_microdns" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_microdns" = "xyes" +then : as_fn_error $? "Library microdns >= 0.1.2 needed for microdns was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library microdns >= 0.1.2 needed for microdns was not found" >&5 -$as_echo "$as_me: WARNING: Library microdns >= 0.1.2 needed for microdns was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library microdns >= 0.1.2 needed for microdns was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library microdns >= 0.1.2 needed for microdns was not found" >&2;} fi else MICRODNS_CFLAGS=$pkg_cv_MICRODNS_CFLAGS MICRODNS_LIBS=$pkg_cv_MICRODNS_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBmicrodns=libmicrodns_plugin.la @@ -58321,17 +61244,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MICRODNS" >&5 -$as_echo_n "checking for MICRODNS... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MICRODNS" >&5 +printf %s "checking for MICRODNS... " >&6; } if test -n "$MICRODNS_CFLAGS"; then pkg_cv_MICRODNS_CFLAGS="$MICRODNS_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"microdns >= 0.1.2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"microdns >= 0.1.2\""; } >&5 ($PKG_CONFIG --exists --print-errors "microdns >= 0.1.2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MICRODNS_CFLAGS=`$PKG_CONFIG --cflags "microdns >= 0.1.2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -58345,10 +61268,10 @@ pkg_cv_MICRODNS_LIBS="$MICRODNS_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"microdns >= 0.1.2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"microdns >= 0.1.2\""; } >&5 ($PKG_CONFIG --exists --print-errors "microdns >= 0.1.2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MICRODNS_LIBS=`$PKG_CONFIG --libs "microdns >= 0.1.2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -58362,8 +61285,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -58379,29 +61302,31 @@ echo "$MICRODNS_PKG_ERRORS" >&5 enable_microdns=no - if test x"$enable_microdns" = "xyes"; then : + if test x"$enable_microdns" = "xyes" +then : as_fn_error $? "Library microdns >= 0.1.2 needed for microdns was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library microdns >= 0.1.2 needed for microdns was not found" >&5 -$as_echo "$as_me: WARNING: Library microdns >= 0.1.2 needed for microdns was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library microdns >= 0.1.2 needed for microdns was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library microdns >= 0.1.2 needed for microdns was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_microdns=no - if test x"$enable_microdns" = "xyes"; then : + if test x"$enable_microdns" = "xyes" +then : as_fn_error $? "Library microdns >= 0.1.2 needed for microdns was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library microdns >= 0.1.2 needed for microdns was not found" >&5 -$as_echo "$as_me: WARNING: Library microdns >= 0.1.2 needed for microdns was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library microdns >= 0.1.2 needed for microdns was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library microdns >= 0.1.2 needed for microdns was not found" >&2;} fi else MICRODNS_CFLAGS=$pkg_cv_MICRODNS_CFLAGS MICRODNS_LIBS=$pkg_cv_MICRODNS_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_microdns=yes @@ -58458,9 +61383,10 @@ # Check whether --enable-libxml2 was given. -if test "${enable_libxml2+set}" = set; then : +if test ${enable_libxml2+y} +then : enableval=$enable_libxml2; -else +else $as_nop enable_libxml2=auto fi @@ -58469,17 +61395,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXML2" >&5 -$as_echo_n "checking for LIBXML2... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBXML2" >&5 +printf %s "checking for LIBXML2... " >&6; } if test -n "$LIBXML2_CFLAGS"; then pkg_cv_LIBXML2_CFLAGS="$LIBXML2_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.5\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.5\""; } >&5 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.5") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBXML2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.5" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -58493,10 +61419,10 @@ pkg_cv_LIBXML2_LIBS="$LIBXML2_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.5\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.5\""; } >&5 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.5") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBXML2_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.5" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -58510,8 +61436,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -58526,28 +61452,30 @@ # Put the nasty error message in config.log where it belongs echo "$LIBXML2_PKG_ERRORS" >&5 - if test x"$enable_libxml2" = "xyes"; then : + if test x"$enable_libxml2" = "xyes" +then : as_fn_error $? "Library libxml-2.0 >= 2.5 needed for libxml2 was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libxml-2.0 >= 2.5 needed for libxml2 was not found" >&5 -$as_echo "$as_me: WARNING: Library libxml-2.0 >= 2.5 needed for libxml2 was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libxml-2.0 >= 2.5 needed for libxml2 was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libxml-2.0 >= 2.5 needed for libxml2 was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_libxml2" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_libxml2" = "xyes" +then : as_fn_error $? "Library libxml-2.0 >= 2.5 needed for libxml2 was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libxml-2.0 >= 2.5 needed for libxml2 was not found" >&5 -$as_echo "$as_me: WARNING: Library libxml-2.0 >= 2.5 needed for libxml2 was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libxml-2.0 >= 2.5 needed for libxml2 was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libxml-2.0 >= 2.5 needed for libxml2 was not found" >&2;} fi else LIBXML2_CFLAGS=$pkg_cv_LIBXML2_CFLAGS LIBXML2_LIBS=$pkg_cv_LIBXML2_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBxml=libxml_plugin.la @@ -58569,17 +61497,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXML2" >&5 -$as_echo_n "checking for LIBXML2... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBXML2" >&5 +printf %s "checking for LIBXML2... " >&6; } if test -n "$LIBXML2_CFLAGS"; then pkg_cv_LIBXML2_CFLAGS="$LIBXML2_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.5\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.5\""; } >&5 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.5") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBXML2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.5" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -58593,10 +61521,10 @@ pkg_cv_LIBXML2_LIBS="$LIBXML2_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.5\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.5\""; } >&5 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.5") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBXML2_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.5" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -58610,8 +61538,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -58627,29 +61555,31 @@ echo "$LIBXML2_PKG_ERRORS" >&5 enable_libxml2=no - if test x"$enable_libxml2" = "xyes"; then : + if test x"$enable_libxml2" = "xyes" +then : as_fn_error $? "Library libxml-2.0 >= 2.5 needed for libxml2 was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libxml-2.0 >= 2.5 needed for libxml2 was not found" >&5 -$as_echo "$as_me: WARNING: Library libxml-2.0 >= 2.5 needed for libxml2 was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libxml-2.0 >= 2.5 needed for libxml2 was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libxml-2.0 >= 2.5 needed for libxml2 was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_libxml2=no - if test x"$enable_libxml2" = "xyes"; then : + if test x"$enable_libxml2" = "xyes" +then : as_fn_error $? "Library libxml-2.0 >= 2.5 needed for libxml2 was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libxml-2.0 >= 2.5 needed for libxml2 was not found" >&5 -$as_echo "$as_me: WARNING: Library libxml-2.0 >= 2.5 needed for libxml2 was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libxml-2.0 >= 2.5 needed for libxml2 was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libxml-2.0 >= 2.5 needed for libxml2 was not found" >&2;} fi else LIBXML2_CFLAGS=$pkg_cv_LIBXML2_CFLAGS LIBXML2_LIBS=$pkg_cv_LIBXML2_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_libxml2=yes @@ -58688,7 +61618,8 @@ # Check whether --enable-libgcrypt was given. -if test "${enable_libgcrypt+set}" = set; then : +if test ${enable_libgcrypt+y} +then : enableval=$enable_libgcrypt; fi @@ -58696,13 +61627,15 @@ # require libgcrypt >= 1.6.0 -if test "${enable_libgcrypt}" != "no"; then : +if test "${enable_libgcrypt}" != "no" +then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcrypt 1.6.0 or later" >&5 -$as_echo_n "checking for gcrypt 1.6.0 or later... " >&6; } -if ${ac_cv_lib_gcrypt+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gcrypt 1.6.0 or later" >&5 +printf %s "checking for gcrypt 1.6.0 or later... " >&6; } +if test ${ac_cv_lib_gcrypt+y} +then : + printf %s "(cached) " >&6 +else $as_nop CPPFLAGS_save="${CPPFLAGS}" @@ -58721,23 +61654,24 @@ #error #endif int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_lib_gcrypt=yes -else +else $as_nop ac_cv_lib_gcrypt=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CPPFLAGS="${CPPFLAGS_save}" CFLAGS="${CFLAGS_save}" @@ -58748,18 +61682,97 @@ fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gcrypt" >&5 -$as_echo "$ac_cv_lib_gcrypt" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gcrypt" >&5 +printf "%s\n" "$ac_cv_lib_gcrypt" >&6; } - if test "${ac_cv_lib_gcrypt}" = "yes"; then : + if test "${ac_cv_lib_gcrypt}" = "yes" +then : -$as_echo "#define HAVE_GCRYPT 1" >>confdefs.h +printf "%s\n" "#define HAVE_GCRYPT 1" >>confdefs.h +pkg_failed=no +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GPGERROR" >&5 +printf %s "checking for GPGERROR... " >&6; } + +if test -n "$GPGERROR_CFLAGS"; then + pkg_cv_GPGERROR_CFLAGS="$GPGERROR_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gpg-error\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gpg-error") 2>&5 + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GPGERROR_CFLAGS=`$PKG_CONFIG --cflags "gpg-error" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$GPGERROR_LIBS"; then + pkg_cv_GPGERROR_LIBS="$GPGERROR_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gpg-error\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gpg-error") 2>&5 + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GPGERROR_LIBS=`$PKG_CONFIG --libs "gpg-error" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else + pkg_failed=yes +fi + else + pkg_failed=untried +fi - if test "${enable_libgcrypt}" = "yes"; then : + + +if test $pkg_failed = yes; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + GPGERROR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gpg-error" 2>&1` + else + GPGERROR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gpg-error" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$GPGERROR_PKG_ERRORS" >&5 + + + have_gpg_error="no" + +elif test $pkg_failed = untried; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + + have_gpg_error="no" + +else + GPGERROR_CFLAGS=$pkg_cv_GPGERROR_CFLAGS + GPGERROR_LIBS=$pkg_cv_GPGERROR_LIBS + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } + + have_gpg_error="yes" + +fi + +else $as_nop + + if test "${enable_libgcrypt}" = "yes" +then : as_fn_error $? "libgcrypt version 1.6.0 or higher not found. Install libgcrypt or pass --disable-libgcrypt." "$LINENO" 5 @@ -58769,9 +61782,19 @@ fi -if test -z "$GCRYPT_LIBS"; then : +if test -z "$GCRYPT_LIBS" +then : + + if test "${have_gpg_error}" = "yes" +then : - GCRYPT_LIBS="-lgcrypt -lgpg-error" + GCRYPT_LIBS="-lgcrypt ${GPGERROR_LIBS}" + +else $as_nop + + GCRYPT_LIBS="-lgcrypt -lgpg-error" + +fi fi @@ -58787,25 +61810,27 @@ # Check whether --enable-gnutls was given. -if test "${enable_gnutls+set}" = set; then : +if test ${enable_gnutls+y} +then : enableval=$enable_gnutls; fi -if test "${enable_gnutls}" != "no"; then : +if test "${enable_gnutls}" != "no" +then : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNUTLS" >&5 -$as_echo_n "checking for GNUTLS... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNUTLS" >&5 +printf %s "checking for GNUTLS... " >&6; } if test -n "$GNUTLS_CFLAGS"; then pkg_cv_GNUTLS_CFLAGS="$GNUTLS_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 3.3.6\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 3.3.6\""; } >&5 ($PKG_CONFIG --exists --print-errors "gnutls >= 3.3.6") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GNUTLS_CFLAGS=`$PKG_CONFIG --cflags "gnutls >= 3.3.6" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -58819,10 +61844,10 @@ pkg_cv_GNUTLS_LIBS="$GNUTLS_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 3.3.6\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 3.3.6\""; } >&5 ($PKG_CONFIG --exists --print-errors "gnutls >= 3.3.6") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GNUTLS_LIBS=`$PKG_CONFIG --libs "gnutls >= 3.3.6" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -58836,8 +61861,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -58853,17 +61878,19 @@ echo "$GNUTLS_PKG_ERRORS" >&5 - if test -n "${enable_gnutls}"; then : + if test -n "${enable_gnutls}" +then : as_fn_error $? "${GNUTLS_PKG_ERRORS}.)" "$LINENO" 5 fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - if test -n "${enable_gnutls}"; then : + if test -n "${enable_gnutls}" +then : as_fn_error $? "${GNUTLS_PKG_ERRORS}.)" "$LINENO" 5 @@ -58872,8 +61899,8 @@ else GNUTLS_CFLAGS=$pkg_cv_GNUTLS_CFLAGS GNUTLS_LIBS=$pkg_cv_GNUTLS_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } @@ -58888,25 +61915,27 @@ # Check whether --enable-taglib was given. -if test "${enable_taglib+set}" = set; then : +if test ${enable_taglib+y} +then : enableval=$enable_taglib; fi -if test "${enable_taglib}" != "no"; then : +if test "${enable_taglib}" != "no" +then : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TAGLIB" >&5 -$as_echo_n "checking for TAGLIB... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TAGLIB" >&5 +printf %s "checking for TAGLIB... " >&6; } if test -n "$TAGLIB_CFLAGS"; then pkg_cv_TAGLIB_CFLAGS="$TAGLIB_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"taglib >= 1.9\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"taglib >= 1.9\""; } >&5 ($PKG_CONFIG --exists --print-errors "taglib >= 1.9") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_TAGLIB_CFLAGS=`$PKG_CONFIG --cflags "taglib >= 1.9" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -58920,10 +61949,10 @@ pkg_cv_TAGLIB_LIBS="$TAGLIB_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"taglib >= 1.9\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"taglib >= 1.9\""; } >&5 ($PKG_CONFIG --exists --print-errors "taglib >= 1.9") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_TAGLIB_LIBS=`$PKG_CONFIG --libs "taglib >= 1.9" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -58937,8 +61966,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -58954,19 +61983,19 @@ echo "$TAGLIB_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${TAGLIB_PKG_ERRORS}." >&5 -$as_echo "$as_me: WARNING: ${TAGLIB_PKG_ERRORS}." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${TAGLIB_PKG_ERRORS}." >&5 +printf "%s\n" "$as_me: WARNING: ${TAGLIB_PKG_ERRORS}." >&2;} elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${TAGLIB_PKG_ERRORS}." >&5 -$as_echo "$as_me: WARNING: ${TAGLIB_PKG_ERRORS}." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${TAGLIB_PKG_ERRORS}." >&5 +printf "%s\n" "$as_me: WARNING: ${TAGLIB_PKG_ERRORS}." >&2;} else TAGLIB_CFLAGS=$pkg_cv_TAGLIB_CFLAGS TAGLIB_LIBS=$pkg_cv_TAGLIB_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } @@ -58996,9 +62025,10 @@ # Check whether --enable-secret was given. -if test "${enable_secret+set}" = set; then : +if test ${enable_secret+y} +then : enableval=$enable_secret; -else +else $as_nop enable_secret=auto fi @@ -59007,17 +62037,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SECRET" >&5 -$as_echo_n "checking for SECRET... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SECRET" >&5 +printf %s "checking for SECRET... " >&6; } if test -n "$SECRET_CFLAGS"; then pkg_cv_SECRET_CFLAGS="$SECRET_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsecret-1 >= 0.18\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsecret-1 >= 0.18\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsecret-1 >= 0.18") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SECRET_CFLAGS=`$PKG_CONFIG --cflags "libsecret-1 >= 0.18" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -59031,10 +62061,10 @@ pkg_cv_SECRET_LIBS="$SECRET_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsecret-1 >= 0.18\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsecret-1 >= 0.18\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsecret-1 >= 0.18") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SECRET_LIBS=`$PKG_CONFIG --libs "libsecret-1 >= 0.18" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -59048,8 +62078,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -59064,28 +62094,30 @@ # Put the nasty error message in config.log where it belongs echo "$SECRET_PKG_ERRORS" >&5 - if test x"$enable_secret" = "xyes"; then : + if test x"$enable_secret" = "xyes" +then : as_fn_error $? "Library libsecret-1 >= 0.18 needed for secret was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libsecret-1 >= 0.18 needed for secret was not found" >&5 -$as_echo "$as_me: WARNING: Library libsecret-1 >= 0.18 needed for secret was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libsecret-1 >= 0.18 needed for secret was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libsecret-1 >= 0.18 needed for secret was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_secret" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_secret" = "xyes" +then : as_fn_error $? "Library libsecret-1 >= 0.18 needed for secret was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libsecret-1 >= 0.18 needed for secret was not found" >&5 -$as_echo "$as_me: WARNING: Library libsecret-1 >= 0.18 needed for secret was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libsecret-1 >= 0.18 needed for secret was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libsecret-1 >= 0.18 needed for secret was not found" >&2;} fi else SECRET_CFLAGS=$pkg_cv_SECRET_CFLAGS SECRET_LIBS=$pkg_cv_SECRET_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBsecret=libsecret_plugin.la @@ -59107,17 +62139,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SECRET" >&5 -$as_echo_n "checking for SECRET... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SECRET" >&5 +printf %s "checking for SECRET... " >&6; } if test -n "$SECRET_CFLAGS"; then pkg_cv_SECRET_CFLAGS="$SECRET_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsecret-1 >= 0.18\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsecret-1 >= 0.18\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsecret-1 >= 0.18") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SECRET_CFLAGS=`$PKG_CONFIG --cflags "libsecret-1 >= 0.18" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -59131,10 +62163,10 @@ pkg_cv_SECRET_LIBS="$SECRET_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsecret-1 >= 0.18\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsecret-1 >= 0.18\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsecret-1 >= 0.18") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SECRET_LIBS=`$PKG_CONFIG --libs "libsecret-1 >= 0.18" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -59148,8 +62180,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -59165,29 +62197,31 @@ echo "$SECRET_PKG_ERRORS" >&5 enable_secret=no - if test x"$enable_secret" = "xyes"; then : + if test x"$enable_secret" = "xyes" +then : as_fn_error $? "Library libsecret-1 >= 0.18 needed for secret was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libsecret-1 >= 0.18 needed for secret was not found" >&5 -$as_echo "$as_me: WARNING: Library libsecret-1 >= 0.18 needed for secret was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libsecret-1 >= 0.18 needed for secret was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libsecret-1 >= 0.18 needed for secret was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_secret=no - if test x"$enable_secret" = "xyes"; then : + if test x"$enable_secret" = "xyes" +then : as_fn_error $? "Library libsecret-1 >= 0.18 needed for secret was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libsecret-1 >= 0.18 needed for secret was not found" >&5 -$as_echo "$as_me: WARNING: Library libsecret-1 >= 0.18 needed for secret was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libsecret-1 >= 0.18 needed for secret was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libsecret-1 >= 0.18 needed for secret was not found" >&2;} fi else SECRET_CFLAGS=$pkg_cv_SECRET_CFLAGS SECRET_LIBS=$pkg_cv_SECRET_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_secret=yes @@ -59225,11 +62259,13 @@ # Check whether --enable-kwallet was given. -if test "${enable_kwallet+set}" = set; then : +if test ${enable_kwallet+y} +then : enableval=$enable_kwallet; fi -if test "${enable_kwallet}" != "no" -a "${have_dbus}" = "yes"; then : +if test "${enable_kwallet}" != "no" -a "${have_dbus}" = "yes" +then : @@ -59241,13 +62277,15 @@ fi # Check whether --enable-update-check was given. -if test "${enable_update_check+set}" = set; then : +if test ${enable_update_check+y} +then : enableval=$enable_update_check; fi if test "${enable_update_check}" = "yes" then - if test "${ac_cv_lib_gcrypt}" != "yes"; then : + if test "${ac_cv_lib_gcrypt}" != "yes" +then : as_fn_error $? "libgcrypt is required for update checking system" "$LINENO" 5 fi @@ -59262,13 +62300,15 @@ # Check whether --enable-osx_notifications was given. -if test "${enable_osx_notifications+set}" = set; then : +if test ${enable_osx_notifications+y} +then : enableval=$enable_osx_notifications; -else +else $as_nop enable_osx_notifications=no fi -if test "${enable_osx_notifications}" != "no"; then : +if test "${enable_osx_notifications}" != "no" +then : if test -d ${CONTRIB_DIR}/Growl.framework -o -d ${CONTRIB_DIR}/Frameworks/Growl.framework then @@ -59321,9 +62361,10 @@ # Check whether --enable-notify was given. -if test "${enable_notify+set}" = set; then : +if test ${enable_notify+y} +then : enableval=$enable_notify; -else +else $as_nop enable_notify=auto fi @@ -59332,17 +62373,17 @@ yes) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NOTIFY" >&5 -$as_echo_n "checking for NOTIFY... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for NOTIFY" >&5 +printf %s "checking for NOTIFY... " >&6; } if test -n "$NOTIFY_CFLAGS"; then pkg_cv_NOTIFY_CFLAGS="$NOTIFY_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify gtk+-3.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify gtk+-3.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libnotify gtk+-3.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_NOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify gtk+-3.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -59356,10 +62397,10 @@ pkg_cv_NOTIFY_LIBS="$NOTIFY_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify gtk+-3.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify gtk+-3.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libnotify gtk+-3.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_NOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify gtk+-3.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -59373,8 +62414,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -59389,28 +62430,30 @@ # Put the nasty error message in config.log where it belongs echo "$NOTIFY_PKG_ERRORS" >&5 - if test x"$enable_notify" = "xyes"; then : + if test x"$enable_notify" = "xyes" +then : as_fn_error $? "Library libnotify gtk+-3.0 needed for notify was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libnotify gtk+-3.0 needed for notify was not found" >&5 -$as_echo "$as_me: WARNING: Library libnotify gtk+-3.0 needed for notify was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libnotify gtk+-3.0 needed for notify was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libnotify gtk+-3.0 needed for notify was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - if test x"$enable_notify" = "xyes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + if test x"$enable_notify" = "xyes" +then : as_fn_error $? "Library libnotify gtk+-3.0 needed for notify was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libnotify gtk+-3.0 needed for notify was not found" >&5 -$as_echo "$as_me: WARNING: Library libnotify gtk+-3.0 needed for notify was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libnotify gtk+-3.0 needed for notify was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libnotify gtk+-3.0 needed for notify was not found" >&2;} fi else NOTIFY_CFLAGS=$pkg_cv_NOTIFY_CFLAGS NOTIFY_LIBS=$pkg_cv_NOTIFY_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } LTLIBnotify=libnotify_plugin.la @@ -59432,17 +62475,17 @@ auto) : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NOTIFY" >&5 -$as_echo_n "checking for NOTIFY... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for NOTIFY" >&5 +printf %s "checking for NOTIFY... " >&6; } if test -n "$NOTIFY_CFLAGS"; then pkg_cv_NOTIFY_CFLAGS="$NOTIFY_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify gtk+-3.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify gtk+-3.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libnotify gtk+-3.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_NOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify gtk+-3.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -59456,10 +62499,10 @@ pkg_cv_NOTIFY_LIBS="$NOTIFY_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify gtk+-3.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify gtk+-3.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libnotify gtk+-3.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_NOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify gtk+-3.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -59473,8 +62516,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -59490,29 +62533,31 @@ echo "$NOTIFY_PKG_ERRORS" >&5 enable_notify=no - if test x"$enable_notify" = "xyes"; then : + if test x"$enable_notify" = "xyes" +then : as_fn_error $? "Library libnotify gtk+-3.0 needed for notify was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libnotify gtk+-3.0 needed for notify was not found" >&5 -$as_echo "$as_me: WARNING: Library libnotify gtk+-3.0 needed for notify was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libnotify gtk+-3.0 needed for notify was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libnotify gtk+-3.0 needed for notify was not found" >&2;} fi elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } enable_notify=no - if test x"$enable_notify" = "xyes"; then : + if test x"$enable_notify" = "xyes" +then : as_fn_error $? "Library libnotify gtk+-3.0 needed for notify was not found" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library libnotify gtk+-3.0 needed for notify was not found" >&5 -$as_echo "$as_me: WARNING: Library libnotify gtk+-3.0 needed for notify was not found" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Library libnotify gtk+-3.0 needed for notify was not found" >&5 +printf "%s\n" "$as_me: WARNING: Library libnotify gtk+-3.0 needed for notify was not found" >&2;} fi else NOTIFY_CFLAGS=$pkg_cv_NOTIFY_CFLAGS NOTIFY_LIBS=$pkg_cv_NOTIFY_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } enable_notify=yes @@ -59550,26 +62595,28 @@ # Check whether --enable-libplacebo was given. -if test "${enable_libplacebo+set}" = set; then : +if test ${enable_libplacebo+y} +then : enableval=$enable_libplacebo; fi -if test "$enable_libplacebo" != "no"; then : +if test "$enable_libplacebo" != "no" +then : pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBPLACEBO" >&5 -$as_echo_n "checking for LIBPLACEBO... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBPLACEBO" >&5 +printf %s "checking for LIBPLACEBO... " >&6; } if test -n "$LIBPLACEBO_CFLAGS"; then pkg_cv_LIBPLACEBO_CFLAGS="$LIBPLACEBO_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libplacebo >= 0.2.1 libplacebo < 6\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libplacebo >= 0.2.1 libplacebo < 6\""; } >&5 ($PKG_CONFIG --exists --print-errors "libplacebo >= 0.2.1 libplacebo < 6") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBPLACEBO_CFLAGS=`$PKG_CONFIG --cflags "libplacebo >= 0.2.1 libplacebo < 6" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -59583,10 +62630,10 @@ pkg_cv_LIBPLACEBO_LIBS="$LIBPLACEBO_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libplacebo >= 0.2.1 libplacebo < 6\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libplacebo >= 0.2.1 libplacebo < 6\""; } >&5 ($PKG_CONFIG --exists --print-errors "libplacebo >= 0.2.1 libplacebo < 6") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBPLACEBO_LIBS=`$PKG_CONFIG --libs "libplacebo >= 0.2.1 libplacebo < 6" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -59600,8 +62647,8 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -59617,7 +62664,8 @@ echo "$LIBPLACEBO_PKG_ERRORS" >&5 - if test -n "${enable_libplacebo}"; then : + if test -n "${enable_libplacebo}" +then : as_fn_error $? "${LIBPLACEBO_PKG_ERRORS}." "$LINENO" 5 @@ -59625,10 +62673,11 @@ enable_libplacebo="no" elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - if test -n "${enable_libplacebo}"; then : + if test -n "${enable_libplacebo}" +then : as_fn_error $? "${LIBPLACEBO_PKG_ERRORS}." "$LINENO" 5 @@ -59638,11 +62687,11 @@ else LIBPLACEBO_CFLAGS=$pkg_cv_LIBPLACEBO_CFLAGS LIBPLACEBO_LIBS=$pkg_cv_LIBPLACEBO_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } -$as_echo "#define HAVE_LIBPLACEBO 1" >>confdefs.h +printf "%s\n" "#define HAVE_LIBPLACEBO 1" >>confdefs.h fi @@ -59658,11 +62707,12 @@ - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 -$as_echo_n "checking whether byte ordering is bigendian... " >&6; } -if ${ac_cv_c_bigendian+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 +printf %s "checking whether byte ordering is bigendian... " >&6; } +if test ${ac_cv_c_bigendian+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_cv_c_bigendian=unknown # See if we're dealing with a universal compiler. cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -59673,7 +62723,8 @@ typedef int dummy; _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : # Check for potential -arch flags. It is not universal unless # there are at least two -arch flags with different values. @@ -59697,7 +62748,7 @@ fi done fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test $ac_cv_c_bigendian = unknown; then # See if sys/param.h defines the BYTE_ORDER macro. cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -59706,7 +62757,7 @@ #include int -main () +main (void) { #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ @@ -59718,7 +62769,8 @@ return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : # It does; now see whether it defined to BIG_ENDIAN or not. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -59726,7 +62778,7 @@ #include int -main () +main (void) { #if BYTE_ORDER != BIG_ENDIAN not big endian @@ -59736,14 +62788,15 @@ return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_c_bigendian=yes -else +else $as_nop ac_cv_c_bigendian=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi if test $ac_cv_c_bigendian = unknown; then # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). @@ -59752,7 +62805,7 @@ #include int -main () +main (void) { #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) bogus endian macros @@ -59762,14 +62815,15 @@ return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : # It does; now see whether it defined to _BIG_ENDIAN or not. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { #ifndef _BIG_ENDIAN not big endian @@ -59779,31 +62833,33 @@ return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_c_bigendian=yes -else +else $as_nop ac_cv_c_bigendian=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi if test $ac_cv_c_bigendian = unknown; then # Compile a test program. - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes +then : # Try to guess by grepping values from an object file. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -short int ascii_mm[] = +unsigned short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; - short int ascii_ii[] = + unsigned short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; int use_ascii (int i) { return ascii_mm[i] + ascii_ii[i]; } - short int ebcdic_ii[] = + unsigned short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; - short int ebcdic_mm[] = + unsigned short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; int use_ebcdic (int i) { return ebcdic_mm[i] + ebcdic_ii[i]; @@ -59811,14 +62867,15 @@ extern int foo; int -main () +main (void) { return use_ascii (foo) == use_ebcdic (foo); ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then ac_cv_c_bigendian=yes fi @@ -59831,13 +62888,13 @@ fi fi fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -else +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int -main () +main (void) { /* Are we little or big endian? From Harbison&Steele. */ @@ -59853,9 +62910,10 @@ return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : ac_cv_c_bigendian=no -else +else $as_nop ac_cv_c_bigendian=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -59864,17 +62922,17 @@ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 -$as_echo "$ac_cv_c_bigendian" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 +printf "%s\n" "$ac_cv_c_bigendian" >&6; } case $ac_cv_c_bigendian in #( yes) - $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h + printf "%s\n" "#define WORDS_BIGENDIAN 1" >>confdefs.h ;; #( no) ;; #( universal) -$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h +printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h ;; #( *) @@ -59882,11 +62940,12 @@ presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; esac -if test "${ac_cv_c_bigendian}" = "yes"; then : +if test "${ac_cv_c_bigendian}" = "yes" +then : DEFS_BIGENDIAN="-DWORDS_BIGENDIAN=1" -else +else $as_nop DEFS_BIGENDIAN="" @@ -59895,9 +62954,10 @@ # Check whether --with-kde-solid was given. -if test "${with_kde_solid+set}" = set; then : +if test ${with_kde_solid+y} +then : withval=$with_kde_solid; -else +else $as_nop if test "${SYS}" != "mingw32" -a "${SYS}" != "darwin" -a "${HAVE_ANDROID}" != "1" ; then @@ -59907,17 +62967,20 @@ fi soliddatadir="" -if test "${with_kde_solid}" != "no"; then : +if test "${with_kde_solid}" != "no" +then : - if test "${with_kde_solid}" = "yes"; then : + if test "${with_kde_solid}" = "yes" +then : kde4datadir="`${KDE4_CONFIG} --install data`" - if test "x$kde4datadir" = "x"; then : + if test "x$kde4datadir" = "x" +then : kde4datadir='${datadir}/kde4/apps' fi soliddatadir="${kde4datadir}/solid/actions" -else +else $as_nop soliddatadir="${with_kde_solid}" @@ -59937,11 +63000,10 @@ if test "${SYS}" = "mingw32"; then ac_fn_c_check_type "$LINENO" "PROCESS_MITIGATION_IMAGE_LOAD_POLICY" "ac_cv_type_PROCESS_MITIGATION_IMAGE_LOAD_POLICY" "#include " -if test "x$ac_cv_type_PROCESS_MITIGATION_IMAGE_LOAD_POLICY" = xyes; then : +if test "x$ac_cv_type_PROCESS_MITIGATION_IMAGE_LOAD_POLICY" = xyes +then : -cat >>confdefs.h <<_ACEOF -#define HAVE_PROCESS_MITIGATION_IMAGE_LOAD_POLICY 1 -_ACEOF +printf "%s\n" "#define HAVE_PROCESS_MITIGATION_IMAGE_LOAD_POLICY 1" >>confdefs.h fi @@ -59951,7 +63013,8 @@ # Check whether --enable-vlc was given. -if test "${enable_vlc+set}" = set; then : +if test ${enable_vlc+y} +then : enableval=$enable_vlc; fi @@ -59964,16 +63027,18 @@ fi -if test "x$with_libfuzzer" = xno; then : +if test "x$with_libfuzzer" = xno +then : -else +else $as_nop LIBS="-lstdc++ ${LIBM} ${LIBPTHREAD} -L${with_libfuzzer} -lFuzzer" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fsanitize-coverage=trace-pc-guard" >&5 -$as_echo_n "checking whether C compiler accepts -fsanitize-coverage=trace-pc-guard... " >&6; } -if ${ax_cv_check_cflags___fsanitize_coverage_trace_pc_guard+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fsanitize-coverage=trace-pc-guard" >&5 +printf %s "checking whether C compiler accepts -fsanitize-coverage=trace-pc-guard... " >&6; } +if test ${ax_cv_check_cflags___fsanitize_coverage_trace_pc_guard+y} +then : + printf %s "(cached) " >&6 +else $as_nop ax_check_save_flags=$CFLAGS CFLAGS="$CFLAGS -fsanitize-coverage=trace-pc-guard" @@ -59981,85 +63046,89 @@ /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ax_cv_check_cflags___fsanitize_coverage_trace_pc_guard=yes -else +else $as_nop ax_cv_check_cflags___fsanitize_coverage_trace_pc_guard=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$ax_check_save_flags fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fsanitize_coverage_trace_pc_guard" >&5 -$as_echo "$ax_cv_check_cflags___fsanitize_coverage_trace_pc_guard" >&6; } -if test "x$ax_cv_check_cflags___fsanitize_coverage_trace_pc_guard" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fsanitize_coverage_trace_pc_guard" >&5 +printf "%s\n" "$ax_cv_check_cflags___fsanitize_coverage_trace_pc_guard" >&6; } +if test "x$ax_cv_check_cflags___fsanitize_coverage_trace_pc_guard" = xyes +then : -if ${CFLAGS+:} false; then : +if test ${CFLAGS+y} +then : case " $CFLAGS " in #( *" -fsanitize-coverage=trace-pc-guard "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains -fsanitize-coverage=trace-pc-guard"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains -fsanitize-coverage=trace-pc-guard"; } >&5 (: CFLAGS already contains -fsanitize-coverage=trace-pc-guard) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append CFLAGS " -fsanitize-coverage=trace-pc-guard" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 (: CFLAGS="$CFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop CFLAGS=-fsanitize-coverage=trace-pc-guard - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 (: CFLAGS="$CFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi -if ${CXXFLAGS+:} false; then : +if test ${CXXFLAGS+y} +then : case " $CXXFLAGS " in #( *" -fsanitize-coverage=trace-pc-guard "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains -fsanitize-coverage=trace-pc-guard"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains -fsanitize-coverage=trace-pc-guard"; } >&5 (: CXXFLAGS already contains -fsanitize-coverage=trace-pc-guard) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append CXXFLAGS " -fsanitize-coverage=trace-pc-guard" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 (: CXXFLAGS="$CXXFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop CXXFLAGS=-fsanitize-coverage=trace-pc-guard - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 (: CXXFLAGS="$CXXFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi @@ -60069,12 +63138,13 @@ for flag in -fsanitize-coverage=trace-cmp; do - as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 -$as_echo_n "checking whether C compiler accepts $flag... " >&6; } -if eval \${$as_CACHEVAR+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 +printf %s "checking whether C compiler accepts $flag... " >&6; } +if eval test \${$as_CACHEVAR+y} +then : + printf %s "(cached) " >&6 +else $as_nop ax_check_save_flags=$CFLAGS CFLAGS="$CFLAGS $flag" @@ -60082,58 +63152,61 @@ /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$as_CACHEVAR=yes" -else +else $as_nop eval "$as_CACHEVAR=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$ax_check_save_flags fi eval ac_res=\$$as_CACHEVAR - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_CACHEVAR"\" = x"yes" +then : -if ${CFLAGS+:} false; then : +if test ${CFLAGS+y} +then : case " $CFLAGS " in #( *" $flag "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 (: CFLAGS already contains $flag) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append CFLAGS " $flag" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 (: CFLAGS="$CFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop CFLAGS=$flag - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 (: CFLAGS="$CFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi -else +else $as_nop : fi @@ -60144,12 +63217,13 @@ for flag in -fsanitize-coverage=trace-cmp; do - as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 -$as_echo_n "checking whether C compiler accepts $flag... " >&6; } -if eval \${$as_CACHEVAR+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 +printf %s "checking whether C compiler accepts $flag... " >&6; } +if eval test \${$as_CACHEVAR+y} +then : + printf %s "(cached) " >&6 +else $as_nop ax_check_save_flags=$CFLAGS CFLAGS="$CFLAGS $flag" @@ -60157,71 +63231,75 @@ /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$as_CACHEVAR=yes" -else +else $as_nop eval "$as_CACHEVAR=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$ax_check_save_flags fi eval ac_res=\$$as_CACHEVAR - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_CACHEVAR"\" = x"yes" +then : -if ${CXXFLAGS+:} false; then : +if test ${CXXFLAGS+y} +then : case " $CXXFLAGS " in #( *" $flag "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$flag"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$flag"; } >&5 (: CXXFLAGS already contains $flag) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append CXXFLAGS " $flag" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 (: CXXFLAGS="$CXXFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop CXXFLAGS=$flag - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 (: CXXFLAGS="$CXXFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi -else +else $as_nop : fi done -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fsanitize-coverage=trace-pc" >&5 -$as_echo_n "checking whether C compiler accepts -fsanitize-coverage=trace-pc... " >&6; } -if ${ax_cv_check_cflags___fsanitize_coverage_trace_pc+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fsanitize-coverage=trace-pc" >&5 +printf %s "checking whether C compiler accepts -fsanitize-coverage=trace-pc... " >&6; } +if test ${ax_cv_check_cflags___fsanitize_coverage_trace_pc+y} +then : + printf %s "(cached) " >&6 +else $as_nop ax_check_save_flags=$CFLAGS CFLAGS="$CFLAGS -fsanitize-coverage=trace-pc" @@ -60229,91 +63307,95 @@ /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ax_cv_check_cflags___fsanitize_coverage_trace_pc=yes -else +else $as_nop ax_cv_check_cflags___fsanitize_coverage_trace_pc=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$ax_check_save_flags fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fsanitize_coverage_trace_pc" >&5 -$as_echo "$ax_cv_check_cflags___fsanitize_coverage_trace_pc" >&6; } -if test "x$ax_cv_check_cflags___fsanitize_coverage_trace_pc" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fsanitize_coverage_trace_pc" >&5 +printf "%s\n" "$ax_cv_check_cflags___fsanitize_coverage_trace_pc" >&6; } +if test "x$ax_cv_check_cflags___fsanitize_coverage_trace_pc" = xyes +then : -if ${CFLAGS+:} false; then : +if test ${CFLAGS+y} +then : case " $CFLAGS " in #( *" -fsanitize-coverage=trace-pc "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains -fsanitize-coverage=trace-pc"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains -fsanitize-coverage=trace-pc"; } >&5 (: CFLAGS already contains -fsanitize-coverage=trace-pc) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append CFLAGS " -fsanitize-coverage=trace-pc" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 (: CFLAGS="$CFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop CFLAGS=-fsanitize-coverage=trace-pc - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 (: CFLAGS="$CFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi -if ${CXXFLAGS+:} false; then : +if test ${CXXFLAGS+y} +then : case " $CXXFLAGS " in #( *" -fsanitize-coverage=trace-pc "*) : - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains -fsanitize-coverage=trace-pc"; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains -fsanitize-coverage=trace-pc"; } >&5 (: CXXFLAGS already contains -fsanitize-coverage=trace-pc) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append CXXFLAGS " -fsanitize-coverage=trace-pc" - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 (: CXXFLAGS="$CXXFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac -else +else $as_nop CXXFLAGS=-fsanitize-coverage=trace-pc - { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 (: CXXFLAGS="$CXXFLAGS") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi -else +else $as_nop as_fn_error $? "Sanitizer coverage not supported by your compiler" "$LINENO" 5 @@ -60328,49 +63410,31 @@ VERSION_MESSAGE="${VERSION} ${CODENAME}" COPYRIGHT_MESSAGE="Copyright © ${COPYRIGHT_YEARS} the VideoLAN team" -cat >>confdefs.h <<_ACEOF -#define VERSION_MESSAGE "${VERSION_MESSAGE}" -_ACEOF +printf "%s\n" "#define VERSION_MESSAGE \"${VERSION_MESSAGE}\"" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define COPYRIGHT_MESSAGE "${COPYRIGHT_MESSAGE}" -_ACEOF +printf "%s\n" "#define COPYRIGHT_MESSAGE \"${COPYRIGHT_MESSAGE}\"" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define COPYRIGHT_YEARS "${COPYRIGHT_YEARS}" -_ACEOF +printf "%s\n" "#define COPYRIGHT_YEARS \"${COPYRIGHT_YEARS}\"" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define CONFIGURE_LINE "${CONFIGURE_LINE}" -_ACEOF +printf "%s\n" "#define CONFIGURE_LINE \"${CONFIGURE_LINE}\"" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define PACKAGE_VERSION_MAJOR ${VERSION_MAJOR} -_ACEOF +printf "%s\n" "#define PACKAGE_VERSION_MAJOR ${VERSION_MAJOR}" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define PACKAGE_VERSION_MINOR ${VERSION_MINOR} -_ACEOF +printf "%s\n" "#define PACKAGE_VERSION_MINOR ${VERSION_MINOR}" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define PACKAGE_VERSION_REVISION ${VERSION_REVISION} -_ACEOF +printf "%s\n" "#define PACKAGE_VERSION_REVISION ${VERSION_REVISION}" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define PACKAGE_VERSION_EXTRA ${VERSION_EXTRA} -_ACEOF +printf "%s\n" "#define PACKAGE_VERSION_EXTRA ${VERSION_EXTRA}" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define PACKAGE_VERSION_DEV "${VERSION_DEV}" -_ACEOF +printf "%s\n" "#define PACKAGE_VERSION_DEV \"${VERSION_DEV}\"" >>confdefs.h @@ -60379,25 +63443,23 @@ -if test -z "$VLC_COMPILE_BY"; then : +if test -z "$VLC_COMPILE_BY" +then : VLC_COMPILE_BY=`whoami|sed -e 's/\\\/\\\\\\\/g'` fi -cat >>confdefs.h <<_ACEOF -#define VLC_COMPILE_BY "$VLC_COMPILE_BY" -_ACEOF +printf "%s\n" "#define VLC_COMPILE_BY \"$VLC_COMPILE_BY\"" >>confdefs.h -if test -z "$VLC_COMPILE_HOST"; then : +if test -z "$VLC_COMPILE_HOST" +then : VLC_COMPILE_HOST=`hostname -f 2>/dev/null || hostname` fi -cat >>confdefs.h <<_ACEOF -#define VLC_COMPILE_HOST "$VLC_COMPILE_HOST" -_ACEOF +printf "%s\n" "#define VLC_COMPILE_HOST \"$VLC_COMPILE_HOST\"" >>confdefs.h cat >>confdefs.h <<_ACEOF @@ -60465,8 +63527,8 @@ case $ac_val in #( *${as_nl}*) case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( @@ -60496,15 +63558,15 @@ /^ac_cv_env_/b end t clear :clear - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ + s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" != "x/dev/null"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 -$as_echo "$as_me: updating cache $cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 +printf "%s\n" "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else @@ -60518,8 +63580,8 @@ fi fi else - { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 -$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 +printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache @@ -60536,7 +63598,7 @@ for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' - ac_i=`$as_echo "$ac_i" | sed "$ac_script"` + ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" @@ -60547,14 +63609,14 @@ LTLIBOBJS=$ac_ltlibobjs -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 -$as_echo_n "checking that generated files are newer than configure... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 +printf %s "checking that generated files are newer than configure... " >&6; } if test -n "$am_sleep_pid"; then # Hide warnings about reused PIDs. wait $am_sleep_pid 2>/dev/null fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 -$as_echo "done" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 +printf "%s\n" "done" >&6; } if test -n "$EXEEXT"; then am__EXEEXT_TRUE= am__EXEEXT_FALSE='#' @@ -60939,6 +64001,10 @@ as_fn_error $? "conditional \"ENABLE_QT\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi +if test -z "${HAVE_QT_X11_TRUE}" && test -z "${HAVE_QT_X11_FALSE}"; then + as_fn_error $? "conditional \"HAVE_QT_X11\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi if test -z "${HAVE_QT5_X11_TRUE}" && test -z "${HAVE_QT5_X11_FALSE}"; then as_fn_error $? "conditional \"HAVE_QT5_X11\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 @@ -61005,8 +64071,8 @@ ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 -$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 +printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL @@ -61029,14 +64095,16 @@ # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : +as_nop=: +if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 +then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST -else +else $as_nop case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( @@ -61046,46 +64114,46 @@ fi + +# Reset variables that may have inherited troublesome values from +# the environment. + +# IFS needs to be set, to space, tab, and newline, in precisely that order. +# (If _AS_PATH_WALK were called with IFS unset, it would have the +# side effect of setting IFS to empty, thus disabling word splitting.) +# Quoting is to prevent editors from complaining about space-tab. as_nl=' ' export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='print -r --' - as_echo_n='print -rn --' -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in #( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi +IFS=" "" $as_nl" + +PS1='$ ' +PS2='> ' +PS4='+ ' + +# Ensure predictable behavior from utilities with locale-dependent output. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# We cannot yet rely on "unset" to work, but we need these variables +# to be unset--not just set to an empty or harmless value--now, to +# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct +# also avoids known problems related to "unset" and subshell syntax +# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). +for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH +do eval test \${$as_var+y} \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done + +# Ensure that fds 0, 1, and 2 are open. +if (exec 3>&0) 2>/dev/null; then :; else exec 0&1) 2>/dev/null; then :; else exec 1>/dev/null; fi +if (exec 3>&2) ; then :; else exec 2>/dev/null; fi # The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then +if ${PATH_SEPARATOR+false} :; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || @@ -61094,13 +64162,6 @@ fi -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( @@ -61109,8 +64170,12 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + test -r "$as_dir$0" && as_myself=$as_dir$0 && break done IFS=$as_save_IFS @@ -61122,30 +64187,10 @@ as_myself=$0 fi if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} = xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH # as_fn_error STATUS ERROR [LINENO LOG_FD] @@ -61158,13 +64203,14 @@ as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi - $as_echo "$as_me: error: $2" >&2 + printf "%s\n" "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error + # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. @@ -61191,18 +64237,20 @@ { eval $1=; unset $1;} } as_unset=as_fn_unset + # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null +then : eval 'as_fn_append () { eval $1+=\$2 }' -else +else $as_nop as_fn_append () { eval $1=\$$1\$2 @@ -61214,12 +64262,13 @@ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null +then : eval 'as_fn_arith () { as_val=$(( $* )) }' -else +else $as_nop as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` @@ -61250,7 +64299,7 @@ $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | +printf "%s\n" X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q @@ -61272,6 +64321,10 @@ as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits + +# Determine whether it's possible to make 'echo' print without a newline. +# These variables are no longer used directly by Autoconf, but are AC_SUBSTed +# for compatibility with existing Makefiles. ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) @@ -61285,6 +64338,12 @@ ECHO_N='-n';; esac +# For backward compatibility with old third-party macros, we provide +# the shell variables $as_echo and $as_echo_n. New code should use +# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. +as_echo='printf %s\n' +as_echo_n='printf %s' + rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file @@ -61326,7 +64385,7 @@ as_dirs= while :; do case $as_dir in #( - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" @@ -61335,7 +64394,7 @@ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | +printf "%s\n" X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -61397,8 +64456,8 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by vlc $as_me 3.0.23, which was -generated by GNU Autoconf 2.69. Invocation command line was +This file was extended by vlc $as_me 3.0.24, which was +generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS @@ -61460,14 +64519,16 @@ Report bugs to the package provider." _ACEOF +ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` +ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" +ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -vlc config.status 3.0.23 -configured by $0, generated by GNU Autoconf 2.69, +vlc config.status 3.0.24 +configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\" -Copyright (C) 2012 Free Software Foundation, Inc. +Copyright (C) 2021 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." @@ -61507,15 +64568,15 @@ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) - $as_echo "$ac_cs_version"; exit ;; + printf "%s\n" "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) - $as_echo "$ac_cs_config"; exit ;; + printf "%s\n" "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" @@ -61523,7 +64584,7 @@ --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; @@ -61532,7 +64593,7 @@ as_fn_error $? "ambiguous option: \`$1' Try \`$0 --help' for more information.";; --help | --hel | -h ) - $as_echo "$ac_cs_usage"; exit ;; + printf "%s\n" "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; @@ -61560,7 +64621,7 @@ if \$ac_cs_recheck; then set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift - \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 + \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" @@ -61574,7 +64635,7 @@ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX - $as_echo "$ac_log" + printf "%s\n" "$ac_log" } >&5 _ACEOF @@ -62100,9 +65161,9 @@ # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands + test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files + test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers + test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree @@ -62438,7 +65499,7 @@ esac || as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac - case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done @@ -62446,17 +65507,17 @@ # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` - $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 -$as_echo "$as_me: creating $ac_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +printf "%s\n" "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) - ac_sed_conf_input=`$as_echo "$configure_input" | + ac_sed_conf_input=`printf "%s\n" "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac @@ -62473,7 +65534,7 @@ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$ac_file" | +printf "%s\n" X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -62497,9 +65558,9 @@ case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; @@ -62561,8 +65622,8 @@ case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 -$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' @@ -62606,9 +65667,9 @@ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ "$ac_tmp/out"`; test -z "$ac_out"; } && - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 -$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} rm -f "$ac_tmp/stdin" @@ -62624,20 +65685,20 @@ # if test x"$ac_file" != x-; then { - $as_echo "/* $configure_input */" \ + printf "%s\n" "/* $configure_input */" >&1 \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" } >"$ac_tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 -$as_echo "$as_me: $ac_file is unchanged" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 +printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$ac_tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else - $as_echo "/* $configure_input */" \ + printf "%s\n" "/* $configure_input */" >&1 \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi @@ -62657,7 +65718,7 @@ X"$_am_arg" : 'X\(//\)[^/]' \| \ X"$_am_arg" : 'X\(//\)$' \| \ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$_am_arg" | +printf "%s\n" X"$_am_arg" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -62677,8 +65738,8 @@ s/.*/./; q'`/stamp-h$_am_stamp_count ;; - :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 -$as_echo "$as_me: executing $ac_file commands" >&6;} + :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 +printf "%s\n" "$as_me: executing $ac_file commands" >&6;} ;; esac @@ -62704,7 +65765,7 @@ for am_mf do # Strip MF so we end up with the name of the file. - am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` + am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile which includes # dependency-tracking related rules and includes. # Grep'ing the whole file directly is not great: AIX grep has a line @@ -62716,7 +65777,7 @@ X"$am_mf" : 'X\(//\)[^/]' \| \ X"$am_mf" : 'X\(//\)$' \| \ X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$am_mf" | +printf "%s\n" X"$am_mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -62738,7 +65799,7 @@ $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ X"$am_mf" : 'X\(//\)$' \| \ X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$am_mf" | +printf "%s\n" X/"$am_mf" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q @@ -62763,8 +65824,8 @@ (exit $ac_status); } || am_rc=$? done if test $am_rc -ne 0; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "Something went wrong bootstrapping makefile fragments for automatic dependency tracking. Try re-running configure with the '--disable-dependency-tracking' option to at least be able to build @@ -63322,6 +66383,7 @@ esac + ltmain=$ac_aux_dir/ltmain.sh @@ -63791,8 +66853,8 @@ $ac_cs_success || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 -$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 +printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi @@ -63833,3 +66895,4 @@ fi echo " To build vlc and its plugins, type \`$MAKE', or \`./compile' if you like nice colors." + diff -Nru vlc-3.0.23/configure.ac vlc-3.0.24/configure.ac --- vlc-3.0.23/configure.ac 2025-12-23 10:49:20.000000000 +0000 +++ vlc-3.0.24/configure.ac 2026-09-17 12:37:40.000000000 +0000 @@ -2,19 +2,23 @@ AC_COPYRIGHT([Copyright 1999-2025 VLC authors and VideoLAN]) -AC_INIT(vlc, 3.0.23) +AC_INIT(vlc, 3.0.24) VERSION_MAJOR=3 VERSION_MINOR=0 -VERSION_REVISION=23 +VERSION_REVISION=24 VERSION_EXTRA=0 VERSION_DEV= +VERSION_DATE=2026-09-17 + +AC_SUBST([VERSION_DATE]) + PKGDIR="vlc" AC_SUBST(PKGDIR) CONFIGURE_LINE="`echo "$0 $ac_configure_args" | sed -e 's/\\\/\\\\\\\/g'`" CODENAME="Vetinari" -COPYRIGHT_YEARS="1996-2025" +COPYRIGHT_YEARS="1996-2026" AC_CONFIG_SRCDIR(src/libvlc.c) AC_CONFIG_AUX_DIR(autotools) @@ -137,10 +141,15 @@ SYS=dragonfly ;; darwin*) - dnl Workaround possible Xcode 11 bug - CFLAGS="${CFLAGS} -fno-stack-check" - CXXFLAGS="${CXXFLAGS} -fno-stack-check" - OBJCFLAGS="${OBJCFLAGS} -fno-stack-check" + AC_MSG_CHECKING([if AppleClang requires -fno-stack-check]) + COMPILER_VERSION_MAJ="$(${CC} -dumpversion | cut -d '.' -f -1)" + AS_IF([ test ${COMPILER_VERSION_MAJ} -eq 11 ],[ + dnl Work around an Xcode 11 bug, fixed in Xcode 11.3.1 + AC_MSG_RESULT([yes]) + AX_APPEND_FLAG([-fno-stack-check], [CFLAGS]) + AX_APPEND_FLAG([-fno-stack-check], [CXXFLAGS]) + AX_APPEND_FLAG([-fno-stack-check], [OBJCFLAGS]) + ],[AC_MSG_RESULT([no])]) dnl Force gcc "-arch" flag ARCH_flag="" @@ -379,8 +388,8 @@ AX_APPEND_FLAG([-DWINSTORECOMPAT],[CXXFLAGS]) AX_APPEND_FLAG([-lwinstorecompat], [LDFLAGS]) VLC_ADD_LIBS([libvlccore], [-lruntimeobject]) - AC_LIBOBJ([gai_strerror]) ],[]) + AC_LIBOBJ([gai_strerror]) AC_SUBST(LIBCOM) ]) AC_DEFINE_UNQUOTED(VLC_WINSTORE_APP, ${vlc_winstore_app}, [Define to 1 if you want to build for Windows Store apps]) @@ -1011,13 +1020,13 @@ dnl Checks for socket stuff VLC_SAVE_FLAGS SOCKET_LIBS="" -AC_SEARCH_LIBS(connect, [socket], [ - AS_IF([test "$ac_cv_search_connect" != "none required"], [ - SOCKET_LIBS="$ac_cv_search_connect" - ]) -], [ - AS_IF([test "${SYS}" = "mingw32"], [ - SOCKET_LIBS="-lws2_32 -liphlpapi" +AS_IF([test "${SYS}" = "mingw32"], [ + SOCKET_LIBS="-lws2_32 -liphlpapi" +],[ + AC_SEARCH_LIBS(connect, [socket], [ + AS_IF([test "$ac_cv_search_connect" != "none required"], [ + SOCKET_LIBS="$ac_cv_search_connect" + ]) ]) ]) @@ -1238,7 +1247,10 @@ dnl Win32 requires linking to ssp for stack-protection AS_IF([test "${SYS}" = "mingw32"], [ LDFLAGS="${LDFLAGS} -lssp" - AS_IF([test "${vlc_winstore_app}" != 1], [LDFLAGS="${LDFLAGS} -ladvapi32"]) + dnl library for Crypt/BCrypt APIs + AS_IF([test "${vlc_winstore_app}" != 1], + [LDFLAGS="${LDFLAGS} -ladvapi32"], + [LDFLAGS="${LDFLAGS} -lbcrypt"]) ]) ]) @@ -2226,8 +2238,23 @@ dnl dnl DCP plugin (using asdcplib) dnl -PKG_WITH_MODULES([ASDCP], [asdcplib], [have_asdcp="yes"]) -AM_CONDITIONAL(HAVE_ASDCP, [test "${have_asdcp}" = "yes"]) +ASDCPLIB_FACTORY=0 +PKG_WITH_MODULES([ASDCP], [asdcplib]) +AS_IF([test "${enable_asdcp}" = "yes"],[ + dnl asdcplib does not provide a version define + dnl check the factory necessary API from the package version + AC_MSG_CHECKING([asdcplib API version]) + ($PKG_CONFIG --print-errors "asdcplib >= 2.12.2") 2>&1 + ac_status=$? + AS_IF([test $ac_status = 0],[ + ASDCPLIB_FACTORY=1 + AC_MSG_RESULT([2.12.2 API]) + ],[ + AC_MSG_RESULT([old API]) + ]) +]) +AC_SUBST([ASDCPLIB_FACTORY]) +AM_CONDITIONAL(HAVE_ASDCP, [test "${enable_asdcp}" = "yes"]) dnl dnl Demux plugins @@ -2895,6 +2922,12 @@ dnl PKG_ENABLE_MODULES_VLC([SPATIALAUDIO], [], [spatialaudio], [Ambisonic channel mixer and binauralizer], [auto]) +AS_IF([test -n ${SPATIALAUDIO_CFLAGS+set}], [ + PKG_CHECK_MODULES(SPATIALAUDIO_040, [spatialaudio >= 0.4.0], [ + AX_APPEND_FLAG([-DHAVE_SPATIALAUDIOVERSION_H=1], [SPATIALAUDIO_CFLAGS]) + ],[:]) +]) + dnl dnl theora decoder plugin dnl @@ -2911,9 +2944,9 @@ PKG_ENABLE_MODULES_VLC([DAALA], [], [daaladec daalaenc], [experimental daala codec], [disabled]) dnl -dnl schroedinger decoder plugin (for dirac format video) +dnl OpenAPV decoder plugin dnl -PKG_ENABLE_MODULES_VLC([SCHROEDINGER], [], [schroedinger-1.0 >= 1.0.10], [dirac decoder and encoder using schroedinger], [auto]) +PKG_ENABLE_MODULES_VLC([OPENAPV], [], [oapv >= 0.3], [OpenAPV decoder], [disabled]) dnl dnl PNG decoder module @@ -3031,9 +3064,9 @@ dnl -dnl Intel QuickSync (aka MediaSDK) H264/H262 encoder +dnl Intel Video Processing Library dnl -PKG_ENABLE_MODULES_VLC([MFX], [qsv], [libmfx], [Intel QuickSync MPEG4-Part10/MPEG2 (aka H.264/H.262) encoder], [auto]) +PKG_ENABLE_MODULES_VLC([VPL], [qsv], [vpl], [Intel Video Processing Library encoder], [auto]) dnl dnl libfluidsynth (MIDI synthetizer) plugin @@ -3816,24 +3849,57 @@ dnl dnl Chromecast streaming support dnl -m4_pushdef([protobuf_lite_version], 2.5.0) -AC_ARG_VAR(PROTOC, [protobuf compiler]) -AC_CHECK_PROGS(PROTOC, protoc, no) -PKG_WITH_MODULES([CHROMECAST],[protobuf-lite >= protobuf_lite_version], [ - AS_IF([test "x${PROTOC}" != "xno"], [ - build_chromecast="yes" - ], [ - AC_MSG_ERROR(protoc compiler needed for [chromecast] was not found) +PKG_WITH_MODULES([CHROMECAST],[protobuf-lite], [],[ + AS_IF([test "${enable_chromecast}" = "yes"],[ + AC_MSG_ERROR(Library protobuf-lite needed for [chromecast] was not found) + ],[ + AC_MSG_WARN(Library protobuf-lite needed for [chromecast] was not found) ]) -], [ - AS_IF([test "${enable_chromecast}" = "yes"], - AC_MSG_ERROR(Library [protobuf-lite >= protobuf_lite_version] needed for [chromecast] was not found), - AC_MSG_WARN(Library [protobuf-lite >= protobuf_lite_version] needed for [chromecast] was not found) - ) - enable_chromecast="no" + enable_chromecast=no ], [(Chromecast streaming support)], [auto]) -AM_CONDITIONAL([BUILD_CHROMECAST], [test "${build_chromecast}" = "yes"]) -m4_popdef([protobuf_lite_version]) + +AC_ARG_VAR(PROTOC, [protobuf compiler]) +AS_IF([test -n "$PKG_CONFIG"],[ + AC_PATH_PROGS(PROTOC, [protoc], no, ["${CONTRIB_DIR}/../bin:$PATH"]) + AS_IF([test "${PROTOC}" != "no"], [ + dnl silently checks the protoc version matches the protobuf library + PROTOC_FULL_VERSION="$(eval ${PROTOC} --version 2>/dev/null | head -1 | sed s/'.* '//)" + PROTOC_MAJ_VERSION="$(echo ${PROTOC_FULL_VERSION} | cut -d '.' -f -1)" + AS_IF([test "${PROTOC_MAJ_VERSION}" -lt "5" ], [ + dnl protoc x.y.0 is compatible with protobuf x.y.* + PROTOBUF_VERSION="$(echo ${PROTOC_FULL_VERSION} | cut -d '.' -f -2)" + PROTOBUF_MAX_VERSION="${PROTOBUF_VERSION%.*}.$((${PROTOBUF_VERSION##*.}+1))" + PROTOBUF_TEST="protobuf-lite >= ${PROTOBUF_VERSION} protobuf-lite < ${PROTOBUF_MAX_VERSION}" + ],[ + AS_IF([test "${PROTOC_MAJ_VERSION}" -lt "22" ], [ + dnl protoc x.y.z is compatible with protobuf x.y.z + PROTOBUF_VERSION="$(echo ${PROTOC_FULL_VERSION} | cut -d '.' -f -3)" + dnl the protoc version is in the x.y.z format but protobuf version is in the x.y.z.r format + PROTOBUF_MAX_VERSION="${PROTOBUF_VERSION%.*}.$((${PROTOBUF_VERSION##*.}+1))" + PROTOBUF_TEST="protobuf-lite >= ${PROTOBUF_VERSION} protobuf-lite < ${PROTOBUF_MAX_VERSION}" + ],[ + dnl protoc x.y is compatible with protobuf x.y.* + PROTOBUF_VERSION="$(echo ${PROTOC_FULL_VERSION} | cut -d '.' -f -2)" + PROTOBUF_MAX_VERSION="${PROTOBUF_VERSION%.*}.$((${PROTOBUF_VERSION##*.}+1))" + PROTOBUF_TEST="protobuf-lite >= ${PROTOBUF_VERSION} protobuf-lite < ${PROTOBUF_MAX_VERSION}" + ]) + ]) + AC_MSG_CHECKING([protobuf-lite matches ${PROTOC} version ${PROTOBUF_VERSION}]) + ($PKG_CONFIG --exists --print-errors "${PROTOBUF_TEST}") 2>&AS_MESSAGE_FD + ac_status=$? + AS_IF([test $ac_status = 0],[ + protoc_matching=yes + AC_MSG_RESULT([yes]) + ],[ + protoc_matching=no + AC_MSG_RESULT([no]) + ]) + ],[ + protoc_matching=no + ]) +]) +AC_SUBST([PROTOBUF_VERSION]) +AM_CONDITIONAL([BUILD_CHROMECAST], [test "${enable_chromecast}" != "no" -a "${protoc_matching}" = yes]) dnl dnl Interface plugins @@ -3851,6 +3917,7 @@ ]) ]) have_qt5_x11="no" +qt6_configured="no" AS_IF([test "${enable_qt}" != "no"], [ PKG_CHECK_MODULES([QT], [Qt5Core >= 5.5.0 Qt5Widgets Qt5Gui Qt5Svg], [ PKG_CHECK_MODULES([QT5_X11], [Qt5X11Extras], [ @@ -3867,6 +3934,7 @@ ], [ dnl use any qmake that is available, including from contrib tools AC_PATH_PROGS(QMAKE6, [qmake6 qmake], qmake6, ["${CONTRIB_DIR}/../bin:$PATH"]) + QT_QMAKE_MAJOR="$(${QMAKE6} -query QT_VERSION 2>/dev/null | cut -d. -f1)" AC_ARG_WITH([qtconf], AS_HELP_STRING([--with-qtconf=PATH], [location of Qt6 qt.conf file (auto)]) @@ -3957,6 +4025,8 @@ AC_MSG_RESULT([no]) ]) rm -f ${ac_pwd}/modules/gui/qt/qmake-private-gui + + AS_IF([test "${QT_QMAKE_MAJOR}" = "6"], [qt6_configured="yes"]) ],[ AS_IF([test -n "${enable_qt}"],[ AC_MSG_ERROR([${QT_PKG_ERRORS}.]) @@ -3973,6 +4043,18 @@ ]) AC_SUBST(QT_VERSION) AM_CONDITIONAL(ENABLE_QT, [test "$enable_qt" != "no"]) +dnl HAVE_QT_X11 enables the helper code that abstracts Qt5 v Qt6 access to X11 +have_qt_x11="no" +AS_IF([test "${enable_qt}" != "no"], [ + AS_IF([test "${qt6_configured}" = "yes"], [ + AS_IF([test "${no_x}" != "yes"], [ + have_qt_x11="yes" + ]) + ], [ + have_qt_x11="${have_qt5_x11}" + ]) +]) +AM_CONDITIONAL([HAVE_QT_X11], [test "${have_qt_x11}" = "yes"]) AM_CONDITIONAL([HAVE_QT5_X11], [test "${have_qt5_x11}" = "yes"]) AM_CONDITIONAL([HAVE_QT_GUI_PRIVATE], [test "${have_qt_gui_private}" = "yes"]) @@ -4194,6 +4276,11 @@ dnl PKG_ENABLE_MODULES_VLC([SRT], [access_srt access_output_srt], [srt >= 1.3.0], [SRT input/output plugin], [auto], [], [], [-DENABLE_SRT]) +dnl +dnl libRIST plugin +dnl +PKG_ENABLE_MODULES_VLC([LIBRIST], [rist access_output_rist], [librist >= 0.2.1], [RIST input/output plugin], [auto]) + EXTEND_HELP_STRING([Visualisations and Video filter plugins:]) dnl dnl goom visualization plugin @@ -4293,6 +4380,11 @@ AS_IF([test "${ac_cv_lib_gcrypt}" = "yes"], [ AC_DEFINE([HAVE_GCRYPT], 1, [Defined if having gcrypt]) + PKG_CHECK_MODULES([GPGERROR], [gpg-error], [ + have_gpg_error="yes" + ], [ + have_gpg_error="no" + ]) ], [ AS_IF([test "${enable_libgcrypt}" = "yes"], [ AC_MSG_ERROR([libgcrypt version 1.6.0 or higher not found. Install libgcrypt or pass --disable-libgcrypt.]) @@ -4301,7 +4393,11 @@ ]) AS_IF([test -z "$GCRYPT_LIBS"], [ - GCRYPT_LIBS="-lgcrypt -lgpg-error" + AS_IF([test "${have_gpg_error}" = "yes"],[ + GCRYPT_LIBS="-lgcrypt ${GPGERROR_LIBS}" + ],[ + GCRYPT_LIBS="-lgcrypt -lgpg-error" + ]) ]) AC_SUBST(GCRYPT_CFLAGS) diff -Nru vlc-3.0.23/contrib/src/README vlc-3.0.24/contrib/src/README --- vlc-3.0.23/contrib/src/README 2025-12-23 10:49:20.000000000 +0000 +++ vlc-3.0.24/contrib/src/README 2026-09-17 12:37:40.000000000 +0000 @@ -44,8 +44,10 @@ $(MOVE) .foo: libfoo - cd $< && $(HOSTVARS) ./configure $(HOSTCONF) - cd $< && $(MAKE) install + $(MAKEBUILDDIR) + $(MAKECONFIGURE) + +$(MAKEBUILD) + +$(MAKEBUILD) install touch $@ Conditional builds diff -Nru vlc-3.0.23/contrib/src/SDL_image/SDL_image.patch vlc-3.0.24/contrib/src/SDL_image/SDL_image.patch --- vlc-3.0.23/contrib/src/SDL_image/SDL_image.patch 2025-12-23 10:49:20.000000000 +0000 +++ vlc-3.0.24/contrib/src/SDL_image/SDL_image.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,43 +0,0 @@ ---- SDL_image/Makefile.am.orig 2009-11-08 05:55:32.000000000 -0500 -+++ SDL_image/Makefile.am 2011-11-22 22:17:14.234702385 -0500 -@@ -47,7 +47,6 @@ - else - libSDL_image_la_LDFLAGS = \ - -no-undefined \ -- -release $(LT_RELEASE) \ - -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) - libSDL_image_la_LIBADD = $(IMG_LIBS) - endif -@@ -58,7 +57,7 @@ - %.o : %.rc - $(WINDRES) $< $@ - --noinst_PROGRAMS = showimage -+#noinst_PROGRAMS = showimage - - showimage_LDADD = libSDL_image.la - ---- SDL_image/Makefile.in.orig 2009-11-12 01:42:10.000000000 -0500 -+++ SDL_image/Makefile.in 2011-11-22 22:17:10.714684927 -0500 -@@ -41,7 +41,7 @@ - host_triplet = @host@ - @USE_VERSION_RC_FALSE@libSDL_image_la_DEPENDENCIES = \ - @USE_VERSION_RC_FALSE@ $(am__DEPENDENCIES_1) --noinst_PROGRAMS = showimage$(EXEEXT) -+#noinst_PROGRAMS = showimage$(EXEEXT) - subdir = . - DIST_COMMON = README $(am__configure_deps) \ - $(libSDL_imageinclude_HEADERS) $(srcdir)/Makefile.am \ -@@ -297,12 +297,10 @@ - - @USE_VERSION_RC_FALSE@libSDL_image_la_LDFLAGS = \ - @USE_VERSION_RC_FALSE@ -no-undefined \ --@USE_VERSION_RC_FALSE@ -release $(LT_RELEASE) \ - @USE_VERSION_RC_FALSE@ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) - - @USE_VERSION_RC_TRUE@libSDL_image_la_LDFLAGS = \ - @USE_VERSION_RC_TRUE@ -no-undefined \ --@USE_VERSION_RC_TRUE@ -release $(LT_RELEASE) \ - @USE_VERSION_RC_TRUE@ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -Wl,version.o - - @USE_VERSION_RC_FALSE@libSDL_image_la_LIBADD = $(IMG_LIBS) diff -Nru vlc-3.0.23/contrib/src/SDL_image/SHA512SUMS vlc-3.0.24/contrib/src/SDL_image/SHA512SUMS --- vlc-3.0.23/contrib/src/SDL_image/SHA512SUMS 2025-12-23 10:49:20.000000000 +0000 +++ vlc-3.0.24/contrib/src/SDL_image/SHA512SUMS 2026-09-17 12:37:40.000000000 +0000 @@ -1 +1 @@ -0e71b280abc2a7f15755e4480a3c1b52d41f9f8b0c9216a6f5bd9fc0e939456fb5d6c10419e1d1904785783f9a1891ead278c03e88b0466fecc6871c3ca40136 SDL_image-1.2.12.tar.gz +1d0482e4ddc813111bfe539c0916866517225a76a462d46e764123947b5d0e2653dc64a03843ccd12eb8ce7fa122a257f077a3cac8983bf6ab4042863f4cb8c5 SDL3_image-3.4.4.tar.gz diff -Nru vlc-3.0.23/contrib/src/SDL_image/pkg-config.patch vlc-3.0.24/contrib/src/SDL_image/pkg-config.patch --- vlc-3.0.23/contrib/src/SDL_image/pkg-config.patch 2025-12-23 10:49:20.000000000 +0000 +++ vlc-3.0.24/contrib/src/SDL_image/pkg-config.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,9 +0,0 @@ ---- SDL_image/SDL_image.pc.in.orig 2011-11-15 10:34:23.504770604 -0500 -+++ SDL_image/SDL_image.pc.in 2011-11-15 10:34:39.924852030 -0500 -@@ -8,5 +8,6 @@ - Version: @VERSION@ - Requires: sdl >= @SDL_VERSION@ - Libs: -L${libdir} -lSDL_image -+Libs.private: -ljpeg -ltiff - Cflags: -I${includedir}/SDL - diff -Nru vlc-3.0.23/contrib/src/SDL_image/rules.mak vlc-3.0.24/contrib/src/SDL_image/rules.mak --- vlc-3.0.23/contrib/src/SDL_image/rules.mak 2025-12-23 10:49:20.000000000 +0000 +++ vlc-3.0.24/contrib/src/SDL_image/rules.mak 2026-09-17 12:37:40.000000000 +0000 @@ -1,7 +1,7 @@ # SDL_image -SDL_IMAGE_VERSION := 1.2.12 -SDL_IMAGE_URL := http://www.libsdl.org/projects/SDL_image/release/SDL_image-$(SDL_IMAGE_VERSION).tar.gz +SDL_IMAGE_VERSION := 3.4.4 +SDL_IMAGE_URL := https://github.com/libsdl-org/SDL_image/releases/download/release-$(SDL_IMAGE_VERSION)/SDL3_image-$(SDL_IMAGE_VERSION).tar.gz # sdl_image module is disabled on macOS, and it's dependency sdl failed to build ifndef HAVE_DARWIN_OS @@ -11,22 +11,27 @@ PKGS_FOUND += SDL_image endif -$(TARBALLS)/SDL_image-$(SDL_IMAGE_VERSION).tar.gz: +$(TARBALLS)/SDL3_image-$(SDL_IMAGE_VERSION).tar.gz: $(call download_pkg,$(SDL_IMAGE_URL),SDL_image) -.sum-SDL_image: SDL_image-$(SDL_IMAGE_VERSION).tar.gz +.sum-SDL_image: SDL3_image-$(SDL_IMAGE_VERSION).tar.gz -SDL_image: SDL_image-$(SDL_IMAGE_VERSION).tar.gz .sum-SDL_image +SDL_image: SDL3_image-$(SDL_IMAGE_VERSION).tar.gz .sum-SDL_image $(UNPACK) - $(APPLY) $(SRC)/SDL_image/SDL_image.patch - $(APPLY) $(SRC)/SDL_image/pkg-config.patch - $(UPDATE_AUTOCONFIG) + $(call pkg_static,"cmake/sdl3-image.pc.in") $(MOVE) -DEPS_SDL_image = jpeg $(DEPS_jpeg) tiff $(DEPS_tiff) \ +DEPS_SDL_image = jpeg $(DEPS_jpeg) \ sdl $(DEPS_sdl) -.SDL_image: SDL_image - cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --enable-tif --disable-sdltest --disable-png - $(MAKE) -C $< install +SDL_IMAGE_CONF := -DSDLIMAGE_TIF=OFF \ + -DSDLIMAGE_PNG=OFF \ + -DSDLIMAGE_TESTS=OFF \ + -DSDLIMAGE_SAMPLES=OFF + +.SDL_image: SDL_image toolchain.cmake + $(CMAKECLEAN) + $(HOSTVARS_CMAKE) $(CMAKE) $(SDL_IMAGE_CONF) + +$(CMAKEBUILD) + $(CMAKEINSTALL) touch $@ diff -Nru vlc-3.0.23/contrib/src/a52/rules.mak vlc-3.0.24/contrib/src/a52/rules.mak --- vlc-3.0.23/contrib/src/a52/rules.mak 2025-12-23 10:49:20.000000000 +0000 +++ vlc-3.0.24/contrib/src/a52/rules.mak 2026-09-17 12:37:40.000000000 +0000 @@ -14,7 +14,6 @@ a52dec: a52dec-$(A52DEC_VERSION).tar.gz .sum-a52 $(UNPACK) - $(UPDATE_AUTOCONFIG) $(APPLY) $(SRC)/a52/liba52-pic.patch $(APPLY) $(SRC)/a52/liba52-silence.patch $(APPLY) $(SRC)/a52/liba52-inline.patch @@ -26,7 +25,10 @@ .a52: a52dec $(REQUIRE_GPL) $(RECONF) - cd $< && $(HOSTVARS) ./configure $(HOSTCONF) - $(MAKE) -C $< -C liba52 install - $(MAKE) -C $< -C include install + $(MAKEBUILDDIR) + $(MAKECONFIGURE) + +$(MAKEBUILD) -C liba52 + +$(MAKEBUILD) -C include + +$(MAKEBUILD) -C liba52 install + +$(MAKEBUILD) -C include install touch $@ diff -Nru vlc-3.0.23/contrib/src/amf/0001-Move-AMF_UNICODE-into-Platform.h.patch vlc-3.0.24/contrib/src/amf/0001-Move-AMF_UNICODE-into-Platform.h.patch --- vlc-3.0.23/contrib/src/amf/0001-Move-AMF_UNICODE-into-Platform.h.patch 2025-12-23 10:49:20.000000000 +0000 +++ vlc-3.0.24/contrib/src/amf/0001-Move-AMF_UNICODE-into-Platform.h.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,38 +0,0 @@ -From 56828b95fc427e8475d0a03ac016fa7edcc0dfc8 Mon Sep 17 00:00:00 2001 -From: Steve Lhomme -Date: Fri, 16 Feb 2024 07:43:32 +0100 -Subject: [PATCH 1/3] Move AMF_UNICODE into Platform.h - -It's a common macro that can be used in other places. ---- - core/Platform.h | 14 ++++ - 1 files changed, 14 insertions(+), 0 deletions(-) - -diff --git a/core/Platform.h b/core/Platform.h -index 35cbc9a..2ced091 100644 ---- a/core/Platform.h -+++ b/core/Platform.h -@@ -66,6 +66,20 @@ - - #define AMF_TODO(_todo) (__FILE__ "(" AMF_MACRO_STRING(__LINE__) "): TODO: "_todo) - -+/** -+******************************************************************************* -+* AMF_UNICODE -+* -+* @brief -+* Macro to convert string constant into wide char string constant -+* -+* Auxilary AMF_UNICODE_ macro is needed as otherwise it is not possible to use AMF_UNICODE(__FILE__) -+* Microsoft macro _T also uses 2 passes to accomplish that -+******************************************************************************* -+*/ -+#define AMF_UNICODE(s) AMF_UNICODE_(s) -+#define AMF_UNICODE_(s) L ## s -+ - - #if defined(__GNUC__) || defined(__clang__) - #define AMF_ALIGN(n) __attribute__((aligned(n))) --- -2.45.0.windows.1 - diff -Nru vlc-3.0.23/contrib/src/amf/0002-Define-LPRI-d-ud-x-64-as-Unicode-wide-versions-of-AM.patch vlc-3.0.24/contrib/src/amf/0002-Define-LPRI-d-ud-x-64-as-Unicode-wide-versions-of-AM.patch --- vlc-3.0.23/contrib/src/amf/0002-Define-LPRI-d-ud-x-64-as-Unicode-wide-versions-of-AM.patch 2025-12-23 10:49:20.000000000 +0000 +++ vlc-3.0.24/contrib/src/amf/0002-Define-LPRI-d-ud-x-64-as-Unicode-wide-versions-of-AM.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,63 +0,0 @@ -From a2c7dbd97a22febdb19b8a82cfea4fda7af0d4b6 Mon Sep 17 00:00:00 2001 -From: Steve Lhomme -Date: Fri, 16 Feb 2024 07:45:25 +0100 -Subject: [PATCH 2/3] Define LPRI(d|ud|x)64 as Unicode (wide) versions of - AMFPRI(d|ud|x)64 - -It's always true for all platforms. ---- - core/Platform.h | 27 ++++----------------------- - 1 file changed, 4 insertions(+), 23 deletions(-) - -diff --git a/core/Platform.h b/core/Platform.h -index 2ced091..12541f3 100644 ---- a/core/Platform.h -+++ b/core/Platform.h -@@ -124,13 +110,10 @@ typedef signed int HRESULT; - #endif - - #define AMFPRId64 "I64d" -- #define LPRId64 L"I64d" - - #define AMFPRIud64 "Iu64d" -- #define LPRIud64 L"Iu64d" - - #define AMFPRIx64 "I64x" -- #define LPRIx64 L"I64x" - - #else // !WIN32 - Linux and Mac - -@@ -147,26 +130,24 @@ typedef signed int HRESULT; - - #if defined(__x86_64__) || defined(__aarch64__) - #define AMFPRId64 "ld" -- #define LPRId64 L"ld" - - #define AMFPRIud64 "uld" -- #define LPRIud64 L"uld" - - #define AMFPRIx64 "lx" -- #define LPRIx64 L"lx" - #else - #define AMFPRId64 "lld" -- #define LPRId64 L"lld" - - #define AMFPRIud64 "ulld" -- #define LPRIud64 L"ulld" - - #define AMFPRIx64 "llx" -- #define LPRIx64 L"llx" - #endif - - #endif // WIN32 - -+#define LPRId64 AMF_UNICODE(AMFPRId64) -+#define LPRIud64 AMF_UNICODE(AMFPRIud64) -+#define LPRIx64 AMF_UNICODE(AMFPRIx64) -+ - - #if defined(_WIN32) - #define AMF_WEAK __declspec( selectany ) --- -2.45.0.windows.1 - diff -Nru vlc-3.0.23/contrib/src/amf/0003-Define-AMFPRI-d-ud-x-64-using-the-standard-C-format-.patch vlc-3.0.24/contrib/src/amf/0003-Define-AMFPRI-d-ud-x-64-using-the-standard-C-format-.patch --- vlc-3.0.23/contrib/src/amf/0003-Define-AMFPRI-d-ud-x-64-using-the-standard-C-format-.patch 2025-12-23 10:49:20.000000000 +0000 +++ vlc-3.0.24/contrib/src/amf/0003-Define-AMFPRI-d-ud-x-64-using-the-standard-C-format-.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,73 +0,0 @@ -From 3ecced3ba3ad710b6f86104a648f2c1b6dbb86fa Mon Sep 17 00:00:00 2001 -From: Steve Lhomme -Date: Fri, 16 Feb 2024 07:50:03 +0100 -Subject: [PATCH 3/3] Define AMFPRI(d|ud|x)64 using the standard C++ format for - C+11 and up - -See https://en.cppreference.com/w/cpp/types/integer - -When compiled in C, it depends whether it's the Microsoft flavor or the standard C format. Not -whether it's Win32 or not. Clang or GCC use the proper string formats on windows. ---- - core/Platform.h | 33 +++++++++++++++--------------- - 1 file changed, 17 insertions(+), 16 deletions(-) - -diff --git a/core/Platform.h b/core/Platform.h -index 12541f3..a1fa96c 100644 ---- a/core/Platform.h -+++ b/core/Platform.h -@@ -109,12 +109,6 @@ typedef signed int HRESULT; - #define AMF_FORCEINLINE __forceinline - #endif - -- #define AMFPRId64 "I64d" -- -- #define AMFPRIud64 "Iu64d" -- -- #define AMFPRIx64 "I64x" -- - #else // !WIN32 - Linux and Mac - - #define AMF_STD_CALL -@@ -128,21 +122,28 @@ typedef signed int HRESULT; - #define AMF_FORCEINLINE __inline__ - #endif - -- #if defined(__x86_64__) || defined(__aarch64__) -- #define AMFPRId64 "ld" -+#endif // WIN32 - -- #define AMFPRIud64 "uld" -+#if defined(__cplusplus) && (__cplusplus >= 201103L) -+ #include -+ #define AMFPRId64 PRId64 - -- #define AMFPRIx64 "lx" -- #else -- #define AMFPRId64 "lld" -+ #define AMFPRIud64 PRIu64 - -- #define AMFPRIud64 "ulld" -+ #define AMFPRIx64 PRIx64 -+#elif defined(_MSC_VER) -+ #define AMFPRId64 "I64d" - -- #define AMFPRIx64 "llx" -- #endif -+ #define AMFPRIud64 "Iu64d" - --#endif // WIN32 -+ #define AMFPRIx64 "I64x" -+#elif !defined(AMFPRId64) -+ #define AMFPRId64 "lld" -+ -+ #define AMFPRIud64 "ulld" -+ -+ #define AMFPRIx64 "llx" -+#endif - - #define LPRId64 AMF_UNICODE(AMFPRId64) - #define LPRIud64 AMF_UNICODE(AMFPRIud64) --- -2.45.0.windows.1 - diff -Nru vlc-3.0.23/contrib/src/amf/SHA512SUMS vlc-3.0.24/contrib/src/amf/SHA512SUMS --- vlc-3.0.23/contrib/src/amf/SHA512SUMS 2025-12-23 10:49:20.000000000 +0000 +++ vlc-3.0.24/contrib/src/amf/SHA512SUMS 2026-09-17 12:37:40.000000000 +0000 @@ -1 +1 @@ -2f6e43908260d9f7cb8b28ab8dd34f8f2a1f61c6f2b24d847f277deb264de74d37e60b71e35f6eb079af5c1a16967d0fb780271aee751c18f2013023dcb96f6c AMF-1.4.34.tar.gz +b992d4a1f59f7b1c789d03e7bd9876417a569fb239bfe2e2178f2434ae18653bbacc912de2b8a5f8ff0a85fad28b0c1091c2a8d3417407a37c22c1e907e4c159 AMF-1.5.2.tar.gz diff -Nru vlc-3.0.23/contrib/src/amf/rules.mak vlc-3.0.24/contrib/src/amf/rules.mak --- vlc-3.0.23/contrib/src/amf/rules.mak 2025-12-23 10:49:20.000000000 +0000 +++ vlc-3.0.24/contrib/src/amf/rules.mak 2026-09-17 12:37:40.000000000 +0000 @@ -1,10 +1,10 @@ # AMF -AMF_VERSION := 1.4.34 -AMF_URL := $(GITHUB)/GPUOpen-LibrariesAndSDKs/AMF/releases/download/v$(AMF_VERSION)/AMF-headers.tar.gz +AMF_VERSION := 1.5.2 +AMF_URL := $(GITHUB)/GPUOpen-LibrariesAndSDKs/AMF/releases/download/v$(AMF_VERSION)/AMF-headers-v$(AMF_VERSION).tar.gz AMF_GITURL := $(GITHUB)/GPUOpen-LibrariesAndSDKs/AMF.git AMF_BRANCH := v$(AMF_VERSION) -AMF_GITVERSION := 6d7bec0469961e2891c6e1aaa5122b76ed82e1db +AMF_GITVERSION := eae4a4b7efc35f8b0a3977a0984c0d642efc4e63 ifeq ($(ARCH),x86_64) ifdef HAVE_WIN32 @@ -18,7 +18,7 @@ endif $(TARBALLS)/AMF-$(AMF_VERSION).tar.gz: - $(call download,$(AMF_URL)) + $(call download_pkg,$(AMF_URL),amf) .sum-amf: AMF-$(AMF_VERSION).tar.gz @@ -39,20 +39,15 @@ # $(call check_githash,$(AMF_GITVERSION)) # touch "$@" +amf: UNPACK_DIR=amf-headers-v$(AMF_VERSION) amf: AMF-$(AMF_VERSION).tar.gz .sum-amf # amf: AMF-$(AMF_GITVERSION).tar.xz .sum-amf $(RM) -Rf AMF $(UNPACK) - # the tarball is extracted to AMF but it the filesystem is case insenstive - # we can't move AMF to amf - mv -f -- AMF AMF-$(AMF_VERSION) - $(APPLY) $(SRC)/amf/0001-Move-AMF_UNICODE-into-Platform.h.patch - $(APPLY) $(SRC)/amf/0002-Define-LPRI-d-ud-x-64-as-Unicode-wide-versions-of-AM.patch - $(APPLY) $(SRC)/amf/0003-Define-AMFPRI-d-ud-x-64-using-the-standard-C-format-.patch $(MOVE) .amf: amf $(RM) -Rf $(PREFIX)/include/AMF mkdir -p $(PREFIX)/include/AMF - cp -R $ +Date: Mon, 20 Jul 2026 10:36:22 +0200 +Subject: [PATCH] Do not force _WIN32_WINNT + +Either it's set in the environment or the user wants to use the toolchain default. +If a minimum version is required it should be checked there, not in the code when +we force this value. + +Change-Id: I47400eadc5c2e0dcee874e932a99e6c987ddf5c9 +--- + cmake/aom_configure.cmake | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/cmake/aom_configure.cmake b/cmake/aom_configure.cmake +index d5cd4db55b..39d77a4aae 100644 +--- a/cmake/aom_configure.cmake ++++ b/cmake/aom_configure.cmake +@@ -244,7 +244,7 @@ endif() + if(AOM_TARGET_SYSTEM STREQUAL "Windows") + # The default _WIN32_WINNT value in MinGW is 0x0502 (Windows XP with SP2). Set + # it to 0x0601 (Windows 7). +- add_compiler_flag_if_supported("-D_WIN32_WINNT=0x0601") ++ # add_compiler_flag_if_supported("-D_WIN32_WINNT=0x0601") + # Quiet warnings related to fopen, printf, etc. + add_compiler_flag_if_supported("-D_CRT_SECURE_NO_WARNINGS") + endif() +-- +2.52.0.windows.1 + diff -Nru vlc-3.0.23/contrib/src/aom/0001-Work-around-broken-Xcode-12-SDK-which-doesn-t-correc.patch vlc-3.0.24/contrib/src/aom/0001-Work-around-broken-Xcode-12-SDK-which-doesn-t-correc.patch --- vlc-3.0.23/contrib/src/aom/0001-Work-around-broken-Xcode-12-SDK-which-doesn-t-correc.patch 1970-01-01 00:00:00.000000000 +0000 +++ vlc-3.0.24/contrib/src/aom/0001-Work-around-broken-Xcode-12-SDK-which-doesn-t-correc.patch 2026-09-17 12:37:40.000000000 +0000 @@ -0,0 +1,33 @@ +From 4611d41a7c9ebcac286a69122f0d0006ec7d61f3 Mon Sep 17 00:00:00 2001 +From: Marvin Scholz +Date: Mon, 7 Sep 2026 23:38:55 +0200 +Subject: [PATCH] Work around broken Xcode 12 SDK which doesn't correctly + define vdotq_lane_s32 as returning signed vs. unsigned + +Co-authored-by: Steve Lhomme +Change-Id: I84709659987eec504934101703bc7dffad6e78a6 +--- + cmake/aom_configure.cmake | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/cmake/aom_configure.cmake b/cmake/aom_configure.cmake +index d94c97beb6..eafe8cc16c 100644 +--- a/cmake/aom_configure.cmake ++++ b/cmake/aom_configure.cmake +@@ -428,8 +428,13 @@ else() + # Do not allow implicit vector type conversions on Clang builds (this is + # already the default on GCC builds). + if(CMAKE_C_COMPILER_ID MATCHES "Clang") ++ if(CMAKE_CXX_COMPILER_ID MATCHES "AppleClang" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "12" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS "13") ++ # Work around broken Xcode 12 SDK ++ add_compiler_flag_if_supported("-flax-vector-conversions=integer") ++ else() + # Clang 8.0.1 (in Cygwin) doesn't support -flax-vector-conversions=none. + add_compiler_flag_if_supported("-flax-vector-conversions=none") ++ endif() + endif() + endif() + +-- +2.52.0.windows.1 + diff -Nru vlc-3.0.23/contrib/src/aom/SHA512SUMS vlc-3.0.24/contrib/src/aom/SHA512SUMS --- vlc-3.0.23/contrib/src/aom/SHA512SUMS 2025-12-23 10:49:20.000000000 +0000 +++ vlc-3.0.24/contrib/src/aom/SHA512SUMS 2026-09-17 12:37:40.000000000 +0000 @@ -1 +1 @@ -370c529a84d54c95f05c5a3b3edadd1cca95eeccd5a6b5454e574211c6dd9bf5bd33ab67b43587c6de37688fe546ea9e16de0ab2d721e965143b7e8c85db6fd4 libaom-3.5.0.tar.gz +68712a22e6912cdc16a208a62b4bd3a21fd4840924ed09191a4b85717bb6412b306ef302037e2ec4b524cdfb3c63ea2743671b989d84e45eca9c962eaa4d466b libaom-3.15.0.tar.gz diff -Nru vlc-3.0.23/contrib/src/aom/aom-android-cpufeatures.patch vlc-3.0.24/contrib/src/aom/aom-android-cpufeatures.patch --- vlc-3.0.23/contrib/src/aom/aom-android-cpufeatures.patch 2025-12-23 10:49:20.000000000 +0000 +++ vlc-3.0.24/contrib/src/aom/aom-android-cpufeatures.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,27 +0,0 @@ -diff --git a/aom_ports/aom_ports.cmake b/aom_ports/aom_ports.cmake -index d57989654..11d4b5550 100644 ---- a/aom_ports/aom_ports.cmake -+++ b/aom_ports/aom_ports.cmake -@@ -30,7 +30,8 @@ list(APPEND AOM_PORTS_ASM_X86 "${AOM_ROOT}/aom_ports/emms.asm") - list(APPEND AOM_PORTS_INCLUDES_X86 "${AOM_ROOT}/aom_ports/x86_abi_support.asm") - - list(APPEND AOM_PORTS_SOURCES_ARM "${AOM_ROOT}/aom_ports/arm.h" -- "${AOM_ROOT}/aom_ports/arm_cpudetect.c") -+ "${AOM_ROOT}/aom_ports/arm_cpudetect.c" -+ "${AOM_ROOT}/aom_ports/cpu-features.c") - - list(APPEND AOM_PORTS_SOURCES_PPC "${AOM_ROOT}/aom_ports/ppc.h" - "${AOM_ROOT}/aom_ports/ppc_cpudetect.c") -diff --git a/aom_ports/arm_cpudetect.c b/aom_ports/arm_cpudetect.c -index 5a75bb348..bd5e1cb93 100644 ---- a/aom_ports/arm_cpudetect.c -+++ b/aom_ports/arm_cpudetect.c -@@ -88,7 +88,7 @@ int aom_arm_cpu_caps(void) { - } - - #elif defined(__ANDROID__) /* end _MSC_VER */ --#include -+#include "cpu-features.h" - - int aom_arm_cpu_caps(void) { - int flags; diff -Nru vlc-3.0.23/contrib/src/aom/aom-android-pthreads.patch vlc-3.0.24/contrib/src/aom/aom-android-pthreads.patch --- vlc-3.0.23/contrib/src/aom/aom-android-pthreads.patch 2025-12-23 10:49:20.000000000 +0000 +++ vlc-3.0.24/contrib/src/aom/aom-android-pthreads.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,14 +0,0 @@ ---- aom/build/cmake/pkg_config.cmake 2021-05-07 16:22:27.118065285 -0400 -+++ aom/build/cmake/pkg_config.cmake.new 2021-05-07 16:23:24.937812883 -0400 -@@ -56,10 +56,6 @@ - file(APPEND "${pkgconfig_file}" " libvmaf") - endif() - file(APPEND "${pkgconfig_file}" "\nConflicts:\n") --file(APPEND "${pkgconfig_file}" "Libs: -L\${libdir} -l${pkg_name}\n") --if(CONFIG_MULTITHREAD AND HAVE_PTHREAD_H) -- file(APPEND "${pkgconfig_file}" "Libs.private: -lm -lpthread\n") --else() -+file(APPEND "${pkgconfig_file}" "Libs: -L\${prefix}/lib -l${pkg_name} -lm\n") - file(APPEND "${pkgconfig_file}" "Libs.private: -lm\n") --endif() - file(APPEND "${pkgconfig_file}" "Cflags: -I\${includedir}\n") diff -Nru vlc-3.0.23/contrib/src/aom/rules.mak vlc-3.0.24/contrib/src/aom/rules.mak --- vlc-3.0.23/contrib/src/aom/rules.mak 2025-12-23 10:49:20.000000000 +0000 +++ vlc-3.0.24/contrib/src/aom/rules.mak 2026-09-17 12:37:40.000000000 +0000 @@ -1,5 +1,5 @@ # aom -AOM_VERSION := 3.5.0 +AOM_VERSION := 3.15.0 AOM_URL := https://storage.googleapis.com/aom-releases/libaom-$(AOM_VERSION).tar.gz PKGS += aom @@ -14,24 +14,26 @@ aom: libaom-$(AOM_VERSION).tar.gz .sum-aom $(UNPACK) -ifdef HAVE_ANDROID - $(APPLY) $(SRC)/aom/aom-android-pthreads.patch - $(APPLY) $(SRC)/aom/aom-android-cpufeatures.patch + $(APPLY) $(SRC)/aom/0001-Do-not-force-_WIN32_WINNT.patch + # do not force C++17, it's not supported by older compilers we support + sed -i.orig 's,++17,++14,g' $(UNPACK_DIR)/cmake/aom_configure.cmake +ifndef HAVE_WINSTORE + # disable Windows InitOnceBeginInitialize not compatible with XP + sed -i.orig 's,defined(_WIN32),0,' $(UNPACK_DIR)/aom_ports/aom_once.h endif + $(APPLY) $(SRC)/aom/0001-Work-around-broken-Xcode-12-SDK-which-doesn-t-correc.patch $(MOVE) -ifdef HAVE_ANDROID - cp $(ANDROID_NDK)/sources/android/cpufeatures/cpu-features.c $(ANDROID_NDK)/sources/android/cpufeatures/cpu-features.h aom/aom_ports/ -endif DEPS_aom = ifdef HAVE_WIN32 -DEPS_aom += pthreads $(DEPS_pthreads) +DEPS_aom += winpthreads $(DEPS_winpthreads) endif AOM_CONF := \ -DCONFIG_RUNTIME_CPU_DETECT=1 \ -DCONFIG_MULTITHREAD=1 \ -DENABLE_DOCS=OFF \ + -DENABLE_APPS=OFF \ -DENABLE_EXAMPLES=OFF \ -DENABLE_TOOLS=OFF \ -DENABLE_TESTS=OFF @@ -57,6 +59,9 @@ AOM_CONF += -DENABLE_SSE2=0 -DENABLE_SSE3=0 -DENABLE_SSE=0 -DENABLE_SSSE3=0 -DENABLE_SSE4_1=0 AOM_CONF += -DENABLE_SSE4_2=0 -DENABLE_AVX=0 -DENABLE_AVX2=0 endif +ifeq ($(call gcc_at_most, 7), true) +AOM_CONF += -DENABLE_AVX2=OFF +endif endif ifdef HAVE_DARWIN_OS @@ -73,7 +78,7 @@ # Force cpu detection ifdef HAVE_ANDROID ifeq ($(ARCH),arm) -AOM_CONF += -DAOM_TARGET_CPU=armv7 +AOM_CONF += -DAOM_TARGET_CPU=armv7 -DENABLE_NEON=OFF endif ifeq ($(ARCH),aarch64) AOM_CONF += -DAOM_TARGET_CPU=arm64 @@ -84,7 +89,7 @@ .aom: aom toolchain.cmake rm -rf $(PREFIX)/include/aom $(CMAKECLEAN) - $(HOSTVARS) $(CMAKE) $(AOM_CONF) + $(HOSTVARS_CMAKE) $(CMAKE) $(AOM_CONF) +$(CMAKEBUILD) $(call pkg_static,"$(BUILD_DIRUNPACK)/aom.pc") $(CMAKEINSTALL) diff -Nru vlc-3.0.23/contrib/src/aribb24/rules.mak vlc-3.0.24/contrib/src/aribb24/rules.mak --- vlc-3.0.23/contrib/src/aribb24/rules.mak 2025-12-23 10:49:20.000000000 +0000 +++ vlc-3.0.24/contrib/src/aribb24/rules.mak 2026-09-17 12:37:40.000000000 +0000 @@ -23,12 +23,15 @@ $(call pkg_static,"src/aribb24.pc.in") $(MOVE) -DEPS_aribb24 = png +DEPS_aribb24 = png $(DEPS_png) .aribb24: aribb24 $(REQUIRE_GPL) $(REQUIRE_GNUV3) - cd $< && $(SHELL) ./bootstrap - cd $< && $(HOSTVARS) ./configure $(HOSTCONF) - $(MAKE) -C $< && $(MAKE) -C $< install + mkdir -p $ -Date: Wed, 3 Jun 2020 11:34:26 +0200 -Subject: [PATCH] add an option not to build the b25 sample code - -Given it's built with -Werror it may fail in many cases. ---- - Makefile.am | 2 ++ - configure.ac | 5 +++++ - 2 files changed, 7 insertions(+) - -diff --git a/Makefile.am b/Makefile.am -index 0cf8e51..dd9ddc8 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -17,7 +17,9 @@ pkginclude_HEADERS = src/arib_std_b25_error_code.h src/b_cas_card_error_code.h \ - pkgconfigdir = $(libdir)/pkgconfig - pkgconfig_DATA = src/aribb25.pc - -+if BUILD_B25 - bin_PROGRAMS = b25 -+endif - b25_SOURCES = src/td.c - b25_CFLAGS = $(AM_CFLAGS) -Wall -Werror $(pcsclite_CFLAGS) - b25_LDADD = libaribb25.la $(pcsclite_LIBS) $(PCSC_LIBS) -diff --git a/configure.ac b/configure.ac -index baa856e..292a748 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -82,6 +82,11 @@ AS_IF([test "$SYS" = mingw32],[ - ], [AC_MSG_ERROR([${pcsclite_PKG_ERRORS}.])]) - ]) - -+AC_ARG_ENABLE([b25], -+ AS_HELP_STRING([--disable-b25], [don't build the b25 sample app])) -+AM_CONDITIONAL([BUILD_B25], [test "${enable_b25}" != "no"]) -+ -+ - AC_CONFIG_HEADERS([src/config.h]) - AC_CONFIG_FILES([Makefile src/aribb25.pc]) - AC_OUTPUT --- -2.26.0.windows.1 - diff -Nru vlc-3.0.23/contrib/src/aribb25/rules.mak vlc-3.0.24/contrib/src/aribb25/rules.mak --- vlc-3.0.23/contrib/src/aribb25/rules.mak 2025-12-23 10:49:20.000000000 +0000 +++ vlc-3.0.24/contrib/src/aribb25/rules.mak 2026-09-17 12:37:40.000000000 +0000 @@ -22,13 +22,12 @@ $(UNPACK) $(APPLY) $(SRC)/aribb25/0001-fix-build-script.patch $(APPLY) $(SRC)/aribb25/0002-fix-libs-include.patch - $(APPLY) $(SRC)/aribb25/0001-add-an-option-not-to-build-the-b25-sample-code.patch $(MOVE) -ARIBB25_CONF := --disable-b25 - .aribb25: aribb25 $(RECONF) - cd $< && $(HOSTVARS) ./configure $(HOSTCONF) $(ARIBB25_CONF) - $(MAKE) -C $< && $(MAKE) -C $< install + $(MAKEBUILDDIR) + $(MAKECONFIGURE) + +$(MAKEBUILD) bin_PROGRAMS= + +$(MAKEBUILD) bin_PROGRAMS= install touch $@ diff -Nru vlc-3.0.23/contrib/src/asdcplib/0001-Remove-a-broken-unused-template-class.patch vlc-3.0.24/contrib/src/asdcplib/0001-Remove-a-broken-unused-template-class.patch --- vlc-3.0.23/contrib/src/asdcplib/0001-Remove-a-broken-unused-template-class.patch 2025-12-23 10:49:20.000000000 +0000 +++ vlc-3.0.24/contrib/src/asdcplib/0001-Remove-a-broken-unused-template-class.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,64 +0,0 @@ -From ecbe9cac1fe74a6fcb42857f57ebd6930d6e8c62 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Martin=20Storsj=C3=B6?= -Date: Mon, 6 May 2024 13:33:14 +0300 -Subject: [PATCH] Remove a broken, unused template class - -Since Clang changes -https://github.com/llvm/llvm-project/pull/84050 and -https://github.com/llvm/llvm-project/pull/90152 (upcoming in -Clang 19.x), Clang will diagnose member accesses before instantiating -C++ templates. - -Within the optional_container_property template, this causes errors -for the calls to this->Copy() and this->clear(), as there are no -corresponding methods within that template class. - -This template is unused, and these faulty calls have been present -since the class was added in 02915821cfb49cb6851086f5d991cee58328102b. - -Simply remove the unused template class, to avoid these compiler -errors. - -This fixes https://github.com/cinecert/asdcplib/issues/136. ---- - src/MXF.h | 24 ------------------------ - 1 file changed, 24 deletions(-) - -diff --git a/src/MXF.h b/src/MXF.h -index 8ce77e1..32422b2 100755 ---- a/src/MXF.h -+++ b/src/MXF.h -@@ -263,30 +263,6 @@ namespace ASDCP - const PropertyType& const_get() const { return m_property; } - }; - -- // wrapper object manages optional properties -- template -- class optional_container_property -- { -- PropertyType m_property; -- -- public: -- optional_container_property() {} -- optional_container_property(const PropertyType& value) : m_property(value) {} -- const optional_container_property& operator=(const PropertyType& rhs) { -- this->Copy(rhs.m_property); -- return *this; -- } -- -- bool operator==(const PropertyType& rhs) const { return this->m_property == rhs; } -- bool operator==(const optional_property& rhs) const { return this->m_property == rhs.m_property; } -- operator PropertyType&() { return this->m_property; } -- void set(const PropertyType& rhs) { this->m_property = rhs; } -- void reset(const PropertyType& rhs) { this->clear(); } -- bool empty() const { return ! this->m_property.HasValue(); } -- PropertyType& get() { return m_property; } -- const PropertyType& const_get() const { return m_property; } -- }; -- - // base class of all metadata objects - // - class InterchangeObject : public ASDCP::KLVPacket --- -2.34.1 - diff -Nru vlc-3.0.23/contrib/src/asdcplib/0005-Include-cstdint-where-int64_t-is-needed.patch vlc-3.0.24/contrib/src/asdcplib/0005-Include-cstdint-where-int64_t-is-needed.patch --- vlc-3.0.23/contrib/src/asdcplib/0005-Include-cstdint-where-int64_t-is-needed.patch 1970-01-01 00:00:00.000000000 +0000 +++ vlc-3.0.24/contrib/src/asdcplib/0005-Include-cstdint-where-int64_t-is-needed.patch 2026-09-17 12:37:40.000000000 +0000 @@ -0,0 +1,24 @@ +From 2bf3c0ba6f42bd3b44915d4b03518fed1097cbf0 Mon Sep 17 00:00:00 2001 +From: Steve Lhomme +Date: Thu, 16 Apr 2026 12:54:02 +0200 +Subject: [PATCH 5/5] Include where int64_t is needed + +--- + src/KM_fileio.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/KM_fileio.h b/src/KM_fileio.h +index 8d07429..e66b0bf 100755 +--- a/src/KM_fileio.h ++++ b/src/KM_fileio.h +@@ -34,6 +34,7 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + #include + #include ++#include + + #ifdef KM_WIN32 + # include +-- +2.52.0.windows.1 + diff -Nru vlc-3.0.23/contrib/src/asdcplib/SHA512SUMS vlc-3.0.24/contrib/src/asdcplib/SHA512SUMS --- vlc-3.0.23/contrib/src/asdcplib/SHA512SUMS 2025-12-23 10:49:20.000000000 +0000 +++ vlc-3.0.24/contrib/src/asdcplib/SHA512SUMS 2026-09-17 12:37:40.000000000 +0000 @@ -1 +1 @@ -2ae375b2cbb76bbb0ca75a6b2a37b5b51350165ad07b92957f269611b37d92475da44c1046f06f316a1dc1e00f3141b5c9763abd64c41c341131b9c7c4d04bab asdcplib-2.7.19.tar.gz +aa98f3a3dfc2d19e9dbe7aaeb487201a09ec658a9cd1a48f88443993a69f6951a43ca4788ef52120ce8604aa72e8f134af6a9656106a64a8b660baa5c4a79a1f asdcplib-rel_2_13_2.tar.gz \ No newline at end of file diff -Nru vlc-3.0.23/contrib/src/asdcplib/adding-pkg-config-file.patch vlc-3.0.24/contrib/src/asdcplib/adding-pkg-config-file.patch --- vlc-3.0.23/contrib/src/asdcplib/adding-pkg-config-file.patch 2025-12-23 10:49:20.000000000 +0000 +++ vlc-3.0.24/contrib/src/asdcplib/adding-pkg-config-file.patch 2026-09-17 12:37:40.000000000 +0000 @@ -1,48 +1,83 @@ -From 283142c645a906a64da4a8e9d6d619762a0c8305 Mon Sep 17 00:00:00 2001 -From: Aaron Boxer -Date: Fri, 27 May 2016 19:25:38 -0400 -Subject: [PATCH 5/5] adding pkg-config file +From aae5b28b08d67e4ddf18d0d265ea6bd772492bd6 Mon Sep 17 00:00:00 2001 +From: Steve Lhomme +Date: Thu, 26 Mar 2020 08:54:36 +0100 +Subject: [PATCH] generate a pkg-config file +(hardcoded to nettle for now) --- - asdcplib.pc | 10 ++++++++++ - 1 file changed, 10 insertions(+) - create mode 100644 asdcplib.pc + CMakeLists.txt | 5 +++++ + Makefile.am | 4 ++++ + asdcplib.pc.in | 10 ++++++++++ + configure.ac | 11 +++++++++++ + 4 files changed, 30 insertions(+) + create mode 100644 asdcplib.pc.in +diff --git a/CMakeLists.txt b/CMakeLists.txt +index cf5b240..daef20b 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -51,3 +51,8 @@ set(CPACK_PACKAGE_VERSION_PATCH ${VERSION_PATCH}) + set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON) + set(CPACK_PACKAGE_INSTALL_DIRECTORY ${PROJECT_NAME}{VERSION_MAJOR}.${VERSION_MINOR}) + include(CPack) ++ ++# Produce a pkg-config file ++configure_file("asdcplib.pc.in" "asdcplib.pc" @ONLY) ++install(FILES "${CMAKE_CURRENT_BINARY_DIR}/asdcplib.pc" ++ DESTINATION "${LIB_INSTALL_DIR}/pkgconfig") +diff --git a/Makefile.am b/Makefile.am +index b107364..bb8c729 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -28,3 +28,7 @@ + SUBDIRS = src win32 + + ACLOCAL_AMFLAGS = -I m4 ++ ++pkgconfigdir = $(libdir)/pkgconfig ++pkgconfig_DATA = asdcplib.pc ++CLEANFILES = asdcplib.pc diff --git a/asdcplib.pc.in b/asdcplib.pc.in new file mode 100644 -index 0000000..36fdd12 +index 0000000..c498e88 --- /dev/null +++ b/asdcplib.pc.in -@@ -0,0 +1,10 @@ -+prefix=@prefix@ -+exec_prefix=@exec_prefix@ -+includedir=@incudedir@ -+libdir=@libdir@ +@@ -0,0 +1,11 @@ ++prefix=@CMAKE_INSTALL_PREFIX@ ++exec_prefix=${prefix} ++includedir=${prefix}/include ++libdir=${exec_prefix}/@LIB_INSTALL_DIR@ + +Name: asdcplib -+Description: The asdcp library -+Version: 2.7.19 ++Description: @CPACK_PACKAGE_DESCRIPTION_SUMMARY@ ++Version: @VERSION_STRING@ +Cflags: -I${includedir} -+Libs: -L${libdir} -lasdcp -lkumu -lnettle -lgmp --- -2.11.0 - ---- asdcplib/configure.ac.old 2021-07-23 12:28:12.527748193 +0200 -+++ asdcplib/configure.ac 2021-07-23 12:28:37.223750245 +0200 -@@ -142,5 +142,6 @@ ++Libs: -L${libdir} -lasdcp -lkumu ++Requires: nettle, gmp +diff --git a/configure.ac b/configure.ac +index c26f4d1..325faee 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -141,8 +141,19 @@ AC_CHECK_LIB([pthread], [pthread_create]) + #AC_FUNC_STAT + #AC_CHECK_FUNCS([getcwd memset regcomp strchr strerror strrchr strstr strtol]) + ++dnl Mimick CMake strings ++CPACK_PACKAGE_DESCRIPTION_SUMMARY="asdcplib from cinecert.com" ++CMAKE_INSTALL_PREFIX=${prefix} ++LIB_INSTALL_DIR=lib ++VERSION_STRING=${VERSION} ++AC_SUBST(CPACK_PACKAGE_DESCRIPTION_SUMMARY) ++AC_SUBST(CMAKE_INSTALL_PREFIX) ++AC_SUBST(LIB_INSTALL_DIR) ++AC_SUBST(VERSION_STRING) ++ AC_CONFIG_FILES([Makefile src/Makefile ++ asdcplib.pc win32/Makefile -- win32/Makefile.mak:win32/Makefile.wmk]) -+ win32/Makefile.mak:win32/Makefile.wmk -+ asdcplib.pc]) + win32/Makefile.mak:win32/Makefile32.wmk]) AC_OUTPUT ---- asdcplib/Makefile.am 2021-07-23 12:38:49.607823290 +0200 -+++ asdcplib/Makefile.am.old 2021-07-23 12:39:46.655848784 +0200 -@@ -28,3 +28,6 @@ - SUBDIRS = src win32 - - ACLOCAL_AMFLAGS = -I m4 -+pkgconfigdir = $(libdir)/pkgconfig -+pkgconfig_DATA = asdcplib.pc -+CLEANFILES = asdcplib.pc +-- +2.37.3.windows.1 + diff -Nru vlc-3.0.23/contrib/src/asdcplib/port-to-nettle.patch vlc-3.0.24/contrib/src/asdcplib/port-to-nettle.patch --- vlc-3.0.23/contrib/src/asdcplib/port-to-nettle.patch 2025-12-23 10:49:20.000000000 +0000 +++ vlc-3.0.24/contrib/src/asdcplib/port-to-nettle.patch 2026-09-17 12:37:40.000000000 +0000 @@ -1,7 +1,35 @@ -diff -ruN asdcplib.old/configure.ac asdcplib/configure.ac ---- asdcplib.old/configure.ac 2017-01-17 22:38:59.494475028 +0100 -+++ asdcplib/configure.ac 2017-01-17 22:40:43.762470383 +0100 -@@ -65,7 +65,7 @@ +From cf6ba1b49686398f9b1eb55948c8eb3f3c51013e Mon Sep 17 00:00:00 2001 +From: Steve Lhomme +Date: Wed, 25 Mar 2020 16:20:03 +0100 +Subject: [PATCH] port to nettle + +This removes the OpenSSL dependency + +Co-Authored-by: Jean-Baptiste Kempf +--- + configure.ac | 2 +- + m4/ax_lib_nettle.m4 | 278 ++++++++++++++++++++++++++++++++++++ + m4/ax_lib_openssl.m4 | 293 -------------------------------------- + src/AS_DCP.h | 4 +- + src/AS_DCP_AES.cpp | 26 +--- + src/KM_prng.cpp | 104 ++++++-------- + src/Makefile.am | 2 +- + src/ST2052_TextParser.cpp | 3 +- + src/asdcp-test.cpp | 2 +- + src/asdcp-util.cpp | 4 +- + src/fips-186-rng-test.cpp | 2 +- + src/kmfilegen.cpp | 2 +- + src/nettle_map.h | 14 ++ + 13 files changed, 350 insertions(+), 386 deletions(-) + create mode 100644 m4/ax_lib_nettle.m4 + delete mode 100644 m4/ax_lib_openssl.m4 + create mode 100644 src/nettle_map.h + +diff --git a/configure.ac b/configure.ac +index 9fe94b2..c26f4d1 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -65,7 +65,7 @@ if test "$ac_cv_sys_largefile_CC" != no; then CXX=$CXX$ac_cv_sys_largefile_CC fi @@ -9,11 +37,13 @@ +AX_LIB_NETTLE([0.9.7]) AX_LIB_EXPAT AX_LIB_XERCES - #AM_PATH_PYTHON([2.3], , [:]) -diff -ruN asdcplib.old/m4/ax_lib_nettle.m4 asdcplib/m4/ax_lib_nettle.m4 ---- asdcplib.old/m4/ax_lib_nettle.m4 1970-01-01 01:00:00.000000000 +0100 -+++ asdcplib/m4/ax_lib_nettle.m4 2017-01-17 22:40:43.762470383 +0100 -@@ -0,0 +1,277 @@ + +diff --git a/m4/ax_lib_nettle.m4 b/m4/ax_lib_nettle.m4 +new file mode 100644 +index 0000000..f62c1eb +--- /dev/null ++++ b/m4/ax_lib_nettle.m4 +@@ -0,0 +1,278 @@ +# =========================================================================== +# ax_lib_nettle.html +# =========================================================================== @@ -101,7 +131,7 @@ + elif test -d /usr/include/nettle ; then + nettle_prefix=/usr + elif test -d /usr/local/include/nettle ; then -+ nettle_prefix=/usr/local ++ nettle_prefix=/usr/local + else + nettle_prefix="" + fi @@ -290,11 +320,14 @@ + CPPFLAGS="$CPPFLAGS $NETTLE_CPPFLAGS -DHAVE_SSL=1" + LDFLAGS="$LDFLAGS $NETTLE_LDFLAGS $NETTLE_LIBS" + fi ++ AM_CONDITIONAL([HAVE_NETTLE], [test x$HAVE_NETTLE = xyes]) +]) -diff -ruN asdcplib.old/m4/ax_lib_openssl.m4 asdcplib/m4/ax_lib_openssl.m4 ---- asdcplib.old/m4/ax_lib_openssl.m4 2017-01-17 22:38:59.494475028 +0100 -+++ asdcplib/m4/ax_lib_openssl.m4 1970-01-01 01:00:00.000000000 +0100 -@@ -1,290 +0,0 @@ +diff --git a/m4/ax_lib_openssl.m4 b/m4/ax_lib_openssl.m4 +deleted file mode 100644 +index 074bdfb..0000000 +--- a/m4/ax_lib_openssl.m4 ++++ /dev/null +@@ -1,293 +0,0 @@ -# =========================================================================== -# ax_lib_openssl.html -# =========================================================================== @@ -534,7 +567,7 @@ - if test -f "$openssl_include_dir/openssl/opensslv.h"; then - - OPENSSL_VERSION=`grep OPENSSL_VERSION_TEXT $openssl_include_dir/openssl/opensslv.h \ -- | grep -v fips | grep -v PTEXT | cut -f 2 | tr -d \"` +- | grep -v fips | grep -v PTEXT | sed -e 's/^.*OPENSSL_VERSION_TEXT[ ]*\"[ ]*OpenSSL[ ]*//' -e 's/[ ].*//'` - AC_SUBST([OPENSSL_VERSION]) - - dnl Decompose required version string and calculate numerical representation @@ -556,7 +589,7 @@ - \+ $((0xf))` - - dnl Calculate numerical representation of detected version -- openssl_version_number=`expr $(($(grep OPENSSL_VERSION_NUMBER $openssl_include_dir/openssl/opensslv.h | cut -f 2 | tr -d L)))` +- openssl_version_number=`expr $(($(grep OPENSSL_VERSION_NUMBER $openssl_include_dir/openssl/opensslv.h | sed -e 's/[ ][ ][ ]*/\t/g' | cut -f 2 | tr -d L)))` - - openssl_version_check=`expr $openssl_version_number \>\= $openssl_version_req_number` - if test "$openssl_version_check" = "1"; then @@ -581,1242 +614,49 @@ - fi - fi - if test "$HAVE_OPENSSL" = "yes"; then -- CPPFLAGS="$CPPFLAGS $OPENSSL_CPPFLAGS -DHAVE_SSL=1" +- CPPFLAGS="$CPPFLAGS $OPENSSL_CPPFLAGS -DHAVE_OPENSSL=1" - LDFLAGS="$LDFLAGS $OPENSSL_LDFLAGS $OPENSSL_LIBS" +- else +- HAVE_OPENSSL="no" - fi +- AM_CONDITIONAL([HAVE_OPENSSL], [test x$HAVE_OPENSSL = xyes]) -]) -diff -ruN asdcplib.old/README asdcplib/README ---- asdcplib.old/README 2017-01-17 22:38:59.494475028 +0100 -+++ asdcplib/README 2017-01-17 22:40:43.762470383 +0100 -@@ -56,7 +56,7 @@ - The author strives mightily to provide an API that is completely - independent of operating system and other library dependencies, - and which allows selective replacement of some modules for --local needs. Specifically, the essence parsers and OpenSSL -+local needs. Specifically, the essence parsers and Nettle - crypto functions can be replaced by linking to alternative - implementations of the ASDCP:: objects which provide those - services. -@@ -81,8 +81,8 @@ - this natively, an "nmake" build file and instructions can be found - in the win32 subdirectory. - --OpenSSL is also required, any recent version should be fine. See --http://www.openssl.org/ for more information and download instructions. -+Nettle is also required, any recent version should be fine. See -+http://www.nettle.org/ for more information and download instructions. - - Optional support for writing Timed Text Track Files is supported by - either Xerces-C or Expat. See http://xerces.apache.org/xerces-c/ or -@@ -817,7 +817,7 @@ - Macros are now used in any module that includes KM_log.h. - o MPEG2 VES with run of zero values at the head is now OK. - o Increased VESHeaderBufSize to 16K. -- o Added makefile support for local OpenSSL in ../openssl, if -+ o Added makefile support for local Nettle in ../nettle, if - present. - o The Kumu::PathIs*() functions now return false if a null or - empty string is given (used to be an assert). -@@ -938,7 +938,7 @@ - - - 2006.03.09 - full read-write -- o Removed ASDCP_WITHOUT_OPENSSL compile-time option. -+ o Removed ASDCP_WITHOUT_NETTLE compile-time option. - o Full read/write now working on new MXF library - - -@@ -1104,8 +1104,8 @@ - +diff --git a/src/AS_DCP.h b/src/AS_DCP.h +index aab7f77..93c95cc 100755 +--- a/src/AS_DCP.h ++++ b/src/AS_DCP.h +@@ -52,7 +52,7 @@ be be limited to: + o SMPTE ST 422:2006 - JPEG 2000 picture in GC + o SMPTE ST 382:2007 - WAV/PCM sound in GC + o IETF RFC 2104 - HMAC/SHA1 +- o NIST FIPS 197 - AES (Rijndael) (via OpenSSL) ++ o NIST FIPS 197 - AES (Rijndael) (via Nettle) - 2004.06.14 - plaintext read/write w/key generator v0.4.5 -- o Project now uses OpenSSL (tested with 0.9.7d on win32, Linux, Darwin) -- Use `make ASDCP_WITHOUT_OPENSSL=1` to make plaintext-only version -+ o Project now uses Nettle (tested with 0.9.7d on win32, Linux, Darwin) -+ Use `make ASDCP_WITHOUT_NETTLE=1` to make plaintext-only version - o Accepts interior I frames when parsing MPEG2 VES - o Improved error reporting on format errors - o Added support for encryption to asdcp-test -diff -ruN asdcplib.old/README.orig asdcplib/README.orig ---- asdcplib.old/README.orig 1970-01-01 01:00:00.000000000 +0100 -+++ asdcplib/README.orig 2017-01-17 22:40:39.146470588 +0100 -@@ -0,0 +1,1159 @@ -+ -+$Id: README,v 1.111 2016/12/11 04:42:35 jhurst Exp $ -+ -+The asdcplib library is a set of objects that offer -+simplified access to files conforming to the sound and -+picture track file formats developed by the SMPTE Working -+Group DC28.20 (now TC 21DC). -+ -+Recently, support has also been added for SMPTE draft ST -+2067-5 "IMF Essence Component", AKA "AS-02". This code was -+donated by Fraunhofer IIS. It carries additional copyright -+information which should be listed whenever you link the -+AS-02 elements of the library. Please look at the top of -+the AS-02 files to see this copyright information. -+ -+AS-02 support is carried in separate object modules, so -+unless you #include and link libas-02.so you are -+still using plain old asdcp. -+ -+This work was originally funded by Digital Cinema Initiatives, -+LLC (DCI). Subsequent efforts have been funded by Deluxe -+Laboratories, Doremi Labs, CineCert LLC, Avica Technology -+and others. -+ -+**The asdcplib project was originally housed on SourceForge. -+The project has moved to http://www.cinecert.com/asdcplib/ -+ -+The project formerly depended upon the mxflib project. Because -+of its focus on covering the whole of the MXF specifications, -+mxflib is considerably larger and more complex that what I -+require for this application. For this reason I have created -+a dedicated MXF implementation that is now part of this -+library. Special thanks to Matt Beard and Oliver Morgan for -+their great work and support. -+ -+Thanks also to the members of the SMPTE DC28.20 packaging -+ad-hoc group and the members of the MXF Interop Initiative -+for their encouragement and support. Special thanks to -+Jim Whittlesey and Howard Lukk at DCI for proposing and -+supporting this project. -+ -+ -+Design Notes -+ -+This library is intended (but of course not limited) for -+use by developers of commercial D-Cinema products (and now -+IMF!). It is designed to be easily integrated into a wide -+variety of development environments. Commercial users are -+strongly urged to use static linking (at least where you use -+this library) to prevent malicious in-field replacement of -+critical system modules. This recommendation should be -+considered wherever Open Source or Free software is being -+used in conjunction with critical security parameters, such -+as cryptographic keys. -+ -+The author strives mightily to provide an API that is completely -+independent of operating system and other library dependencies, -+and which allows selective replacement of some modules for -+local needs. Specifically, the essence parsers and OpenSSL -+crypto functions can be replaced by linking to alternative -+implementations of the ASDCP:: objects which provide those -+services. -+ -+AS_DCP.h contains the entire AS-DCP API. You do not need to -+read any of the other files, except maybe asdcp-test.cpp which -+contains detailed usage examples of each of the API's services. -+The KM_* files may be of interest for general development -+support, but may be ignored if all you want is simple AS-DCP -+support. -+ -+Likewise, draft 2067-5 "IMF Essence Component" (AS-02) support -+is entirely contained in AS-02.h -+ -+ -+Build Instructions -+ -+On more-or-less POSIX systems (OS X, Linux, and BSD), GNU make and -+autotools are required to build asdcplib. The same configure script -+will also build this package on Windows machines with Cygwin and -+MinGW installed. For those Windows users who would prefer to build -+this natively, an "nmake" build file and instructions can be found -+in the win32 subdirectory. -+ -+OpenSSL is also required, any recent version should be fine. See -+http://www.openssl.org/ for more information and download instructions. -+ -+Optional support for writing Timed Text Track Files is supported by -+either Xerces-C or Expat. See http://xerces.apache.org/xerces-c/ or -+http://expat.sourceforge.net/ for source and build instructions. -+ -+To configure and build, type './configure' followed by 'make'. There -+are several test targets on the POSIX side, but you need to assemble -+a set of test files to use them. AS-02 support can be enabled with -+ --enable-as-02. -+ -+I have tested this build on win32, Linux, OpenBSD, and Darwin -+platforms. Others may work as well. -+ -+ -+ -+ -+Utilities -+ -+asdcp-test - Writes, reads and verifies AS-DCP (MXF) track files. -+ -+asdcp-wrap - Writes AS-DCP (MXF) track files. -+ -+asdcp-unwrap - Extracts essence from AS-DCP (MXF) track files. -+ -+asdcp-info - Displays information about AS-DCP (MXF) track files. -+ -+asdcp-util - Calculates digests and generates random numbers and UUIDs. -+ -+as-02-wrap - Writes AS-02 Essence Component files. -+ -+as-02-unwrap - Extracts essence from AS-02 Essence Component files. -+ -+kmfilegen - Writes and verifies large files using a platform- -+independent format. Use it to test issues related to large files. -+ -+kmuuidgen, kmrandgen - generate UUID values and random numbers. -+ -+wavesplit - Splits a WAVE file into two or more output files. Used -+ to untangle incorrectly-paired DCDM sound files. -+ -+blackwave - Write a WAVE file of zeros. -+ -+pinkwave - Write a WAVE file of SMPTE ST 2095 pink noise. -+ -+j2c-test - Displays information about JP2K codestreams. -+ -+Experimental feature: Prototype for High Dynamic Range is a wrapper -+for the IMF application that allows JPEG-2000 codestreams to be paired -+with opaque blobs of metadata. AS-02 support must be enabled to -+build this feature, so --enable-as-02 must be enabled if -+--enable-phdr is to be used. The following executable programs will be -+built: -+ -+phdr-wrap - Writes AS-02 PHDR Essence Component files. -+ -+phdr-unwrap - Extracts essence from AS-02 PHDR Essence Component files. -+ -+ -+Documentation -+ -+The API documentation is mostly in AS_DCP.h. and AS_02.h Read those -+files for a detailed description of the library's capabilities. Read -+asdcp-*.cpp and as-02-*.cpp files for library usage examples. The -+command-line utilities all respond to -h. -+ -+ -+Change History -+ -+2016-12-10 - MDD bug fix 2.7.19 -+ o The previous version (2.7.18) contained incorrect MDD.cpp and MDD.h -+ files which affect the PIMF and JP2KEssenceCompression labels. -+ -+ -+2016-12-10 - bug fixes 2.7.18 -+ o Fixed *all* Partiton version numbers in AS-02 files (the previous attempt -+ only affected the header partition) -+ o Improved IMSC-1 profile detection. May not yet be perfect, experimentation -+ encouraged! -+ o Added IMF App2e UL values and new MXF data types ColorPrimary and -+ ThreeColorPrimaries (contributed by Schleich) -+ o Added picture descriptor elements MasteringDisplayPrimaries, -+ MasteringDisplayWhitePointChromaticity, MasteringDisplayMaximumLuminance, -+ and MasteringDisplayMinimumLuminance -+ o Added -o and -O options to as-02-wrap -+ o Fixed as-02-wrap option -p when making 4:4:4 files -+ o Simplified as-02-wrap syntax description -+ -+ -+2016-12-01 - bug fixes 2.6.17 -+ o Fixed Partiton and Preface version numbers in AS-02 files -+ o Replaced WIN32 directory scanner with dirent_win.h -+ o The NamespaceURI property of AS-02 timed text files has been exposed in the API -+ and via as-02-wrap -P. This behavior replaces previous bad behavior, but puts -+ responsibility for selecting the correct value on the operator. -+ o Exposed CreatePNGNameId and CreateFontNameId subroutines in AS_02::TimedText -+ o Adjusted UUID generation based on PNG and font names to exclude paths by -+ inserting a call to PathBasename at each Id generation site -+ o Fixed AS-02 timed text index partition -+ o Fixed contents of generic partiton EssenceContainers property in AS-DCP timed -+ text files -+ o Added PixelLayout to RGBAEssenceDescriptor (contributed by Schleich) -+ o Cleared up MXFGCP1FrameWrappedPictureElement / MXFGCP1FrameWrappedPictureElement -+ ambiguity. PHDR continues to use MXFGCP1FrameWrappedPictureElement. -+ MXFGCI1FrameWrappedPictureElement is supported for interlace. -+ o Added support for 192, 200 and 240 fps images, includes 96, 100 and 120 fpe stereo -+ o Added missing MCA properties to MCALabelSubDescriptor (contributed by Ruppel) -+ o New MXF data type: LineMapPair -+ o Added default 0,0 VideoLineMap value when wrapping CDCI with as-02-wrap -+ o Added VideoLineMap property to GenericPictureEssenceDescriptor -+ o Added timed text unwrap support to as-02-unwrap (contributed by Ruppel) -+ o Added prototype PIDM dynamic metadata wrapping, config with --enable-phdr -+ (Not for production use, caveat emptor, not the droids, etc.) -+ -+ -+2016-08-11 - bug fixes, 2.5.15 -+ -+ o Modified as-02-wrap to pass WhiteRefLev, BlackRefLev and ColorRange -+ (contributed by Elmer Musser / Rod Bogart) -+ o Fixed a bug in the index reader that allowed an out-of-bounds vector index -+ to be used. -+ o Modified the IndexEntry parser to ignore additional bytes belonging to slice -+ values. -+ -+ -+2016-05-06 - bug fixes, 2.5.14 -+ -+ o Release 2.5.12 caused two problems with Atoms and DTS-X wrapping that are -+ addressed by this release. The UL values that were changed to correct the -+ DCData (ST 429-14) implementation had two unintended side-effects: -+ 1. v2.5.12 cannot read old DCData (and thus DTS-X) track files -+ 2. v2.5.12 creates broken Atmos track files (incorrect ULs) -+ The fix for this involved the following changes: -+ 1. ASDCP::DCData::(MXFReader|MXFWriter) are no longer base classes of -+ ASDCP::ATMOS::(MXFReader|MXFWriter). -+ 2. New UL values have been added to carry the original Atoms UL values: -+ a. DolbyAtmosDCDataWrappingFrame -+ b. DolbyAtmosDCDataEssence -+ c. DolbyAtmosDCDataDescriptor -+ 3. ASDCP::ATMOS::(MXFReader|MXFWriter) have been modified to use the -+ DolbyAtmosDCData* UL values. -+ 4. ASDCP::DCData::MXFReader will parse files having either DCData* or -+ DolbyAtmosDCData* UL values. -+ 5. ASDCP::DCData:: MXFWriter continues to use DCData* UL values from ST -+ 429-14 -+ o Some optional parameters of the MXF metadata packs were being erroneously -+ initialized with a value of zero (0), such as GenericPictureEssenceDescriptor -+ ::SignalStandard, GenericPictureEssenceDescriptor::SampledXOffset(0), etc. -+ o Added higher edit rates (96, 100, 120) to the cinema TimedText_Parser -+ -+ o Defined bool ASDCP::UL::operator<(const UL& rhs) const, which is needed to -+ carry out the version-insensitive lookup policy when searching for ULs in a -+ std::map<> of UL entries. -+ o New files: src/info.in src/CMakeLists.txt -+ o Removed filess: AS_DCP_DCData_internal.h -+ -+ -+2016-03-17 - bug fixes, 2.5.12 -+ o Changed default UNIX file permissions to "666" -+ o Changed default UNIX file permissions to "777" -+ o Added missing initializer for caltime::offset -+ o Fixed UL values for Aux Data files (per ST 429-14) -+ o Added support for default TTML fonts (ST2052_TextParser) -+ o Added Solaris patch to KM_fileio (Thanks Mikey!) -+ o Fixed the version byte in UL DataEssenceCoding -+ o Fixed duplicate linkage error for symbol MIME2str -+ o Big patch from Wolfgang Ruppel: -+ o Corrected erroneous fixed-tag values in ActiveHeight, ActiveWidth, -+ ActiveXOffset, ActiveYOffset UL definitions. -+ o Provided a stub implementation for Kumu::DirScannerEx (A real -+ implementation will follow soon.) -+ o Added as-02-info program -+ o Added Seek() method to PCM parsers -+ o Added CMakeLists.txt -+ -+ -+2015-11-10 - bug fixes, IMF text, pink noise, 2.5.11 -+ o I moved personal dev environment from older gcc to newer clang. Many -+ small changes were made to satisfy the new compiler: -+ - Altered many printf format codes to use the correct format for the -+ given integer type. -+ - Parenthesized some expressions to clarify previously ambiguous -+ expectation about precedence. -+ - Created macro KM_MACOSX for use in OS-specific code selection. -+ - Removed last uses of the old C-language abs(), now using Kumu::xabs(). -+ - Removed last uses of the old C-language atoi(), not using strtol(). -+ o Added platform-independent call Kumu::GetExecutablePath() (to be tested -+ on win32). -+ o Added new capabilities to Result_t. -+ o Added imlementation of SMPTE ST 2092-1 pink noise generator. -+ o Added pinkwave CLI utility. -+ o Added font support to the IMF timed-text wrapper. -+ o Fixed a bug that was causing Array properties to be written without -+ the (count, length) header (from PAL). -+ o General review of Batch/Array distinction throughout the project. -+ o Cleaned up definitions of optional properties in all MXF metadata packs. -+ o Fixed Win32 build (from Crowe). -+ o Fixed a bug that caused incorrect failure when parsing JPEG 2000 -+ codestreams having fewer than five decomposition levels. (from Korneder). -+ o Fixed missing UUID generation in some instances of the MCALinkID property. -+ o Added -w option to asdcp-wrap to support use of WTF label with MCA. -+ o Altered asdcp-wrap to recognize "-C
    " when MCA is being used. -+ o Fixed broken -A / option in as-02-wrap and phdr-wrap. -+ o asdcp-wrap and as-02-wrap now allow split channel groups in MCA labels. -+ -+ -+2015-02-23 - bug fixes, 2.4.10 -+ o Fixed a new bug introduced by the fix to large numbers of subtitle ancillary -+ resources. -+ o Added support for generic Aux Data (ST 429-14) to asdcp-wrap. -+ -+ -+2015-02-19 - PHDR feature, bug fixes, 2.4.9 -+ o Modified PCMParser and PCMParserList to return partial frame buffers at the -+ end of a WAV input file. This was needed to allow wrapping all samples into -+ an AS-02 audio file (which is clip-wrapped) in the case where the input file -+ has an odd number of samples with respect to the frame buffer size being -+ used. If there is more than one input file the length of the last buffer -+ will be determined by PCMParserList to be the shortest of the input files. -+ Prior to this change, partial samples in an input WAV file have been -+ abandoned (i.e., not written out to the MXF file). As a result, AS-DCP -+ applications will have to decide whether to abandon the partial last frame -+ (usually detected by testing frame_buffer.Size() != frame_buffer.Capacity()) -+ or write it to the MXF file. Programs written to the old API will write the -+ partial frame (i.e., new behavior.) This should not be harmful since the -+ remainder of the buffer is zeroed and the output file will contain one -+ additional edit unit compared to the previous version. -+ o asdcp-wrap has been modified to test for the partial buffer and by default -+ will complain and abandon the buffer (i.e., same behavior but with a warning -+ message.) A new command line switch (-g) alters this behavior and writes -+ the buffer to the MXF file (it still warns the user that this condition is -+ present.) -+ o as-02-wrap now wraps all samples from the input file to the MXF file. There -+ is no padding, the clip is exactly the set of samples from the input. -+ o as-02 unwrap is temporarily restricted to creating wav files that are -+ aligned with the frame buffer size. This means that the output file will -+ be longer than the original WAV input in the case where the input file has -+ an odd number of samples with respect to the frame buffer size being used. -+ The pad samples are zero (silence). -+ o Modified CalcFramesFromDurationInSamples() to increment the count by one for -+ the case where the input file has an odd number of samples with respect to -+ the frame buffer size being used (previously it truncated the odd samples.) -+ o Fixed ST 429-5 / ST 2067-5 wrapping to increase header space when ancillary -+ resources are present (fixes a bug that cause the header to overflow the -+ allotted space when large numbers of PNG files were present.) -+ o Refactored GetXMLDocType() to use the XML parser. -+ o Added ParseFirstFromString() method to Kumu::XMLElement -+ o Removed Kumu::StringIsXML from the API. -+ o Added ASDCP::MXF::RGBALayout type -+ o Added J2CLayout property to JPEG2000PictureSubDescriptor -+ o Changed km_token_split() to retain empty elements in the output list -+ o Added PHDR wrapping for AS-02. -+ o Added J2CLayout property to the JPEG2000PictureSubDescriptor. This -+ support is preliminary: the Raw data type is being used instead of -+ RGBALayout type, which will be in the next release. -+ -+ -+2014-10-2 - Bug fixes and enhancements, 2.2.6 -+ o Fixed erroneous 377-4 MCA identifier in AS_DCP_PCM dump routine -+ o Fixed erroneous byte 13 in -+ WaveAudioDescriptor_ReferenceAudioAlignmentLevel label -+ o Added missing implementation of -W option to as-02.unwrap -+ o Fixed erroneous use of d-cinema ChannelAssignment label in as-02-wrap -+ -+ -+2014-10-01 - Bug fixes and enhancements, 2.2.5 -+ o Finished AS-02 text wrap/unwrap -+ o Fixed fractional seconds parsing for Timestamp objects -+ o Updated KLVPacket to use 64-bit length; allows huge packets -+ in AS-02 PCM files -+ o cleaned up use of atoi() in the library -+ -+ -+2014-07-09 - Additional IMF/AS-02 support, bug fixes and enhancements, 2.1.4 -+ o Added IMF App 2 edit rates in AS_02 namespace: EditRate_29_97, -+ EditRate_59_94. -+ o Revised AEC CBC context objects to copy the key rather than -+ keep the reference passed in to it. -+ o Addressed a bug that would allow unimpeded iteration of component -+ values in a JP2K::PictureDescriptor object. -+ o Addressed a bug that was incorrectly recording the sequence Duration -+ in MXF Track objects. -+ o Added ASDCP::AtmosSyncChannelMixer::AppendSilenceChannels() -+ o Added a QCD decoder to the j2c parser. -+ o Altered ASDCP::KLVPacket::HasUL() to use version-blind matching. -+ o Fixed an uninitialized variable in MemIOReader::ReadString() that -+ caused unbounded reads. -+ o Fixed broken ByteString::ArchiveLength() method -+ o Fixed broken version numbers on SoundfieldGroupLinkID and -+ GroupOfSoundfieldGroupsLinkID UL values. -+ o Added DBOXMotionCodePrimaryStream and DBOXMotionCodeSecondaryStream UL -+ values to the internal dictionary. -+ o Added optional prefix handling to MCA label generator. -+ o Re-factored MCA label generator to include additional -+ metadata (Thanks to Mike Radford). -+ o Added new options to as-02-wrap. -+ -+ -+2014-01-06 – Additional IMF/AS-02 support, bug fixes 2.1.1 -+ o Fixed missing-index-partion bugs for AS-02 files. -+ o Moved LocalFilenameResolver into the AS_DCP public API so that it -+ can be used by other modules including AS-02. -+ o Did further refactoring of AS-02 Writer classes to separate CBR -+ and VBR indexing implementations. -+ o Fixed wave wrapping UL in clip-wrapped AS-02 files. Renamed some -+ UL constants to reflect "clip" or "frame" wrapping. -+ o Re-factored JP2K_PDesc_to_MD() and MD_to_JP2K_PDesc() to work -+ with GenericPictureEssenceDescriptor objects. -+ o Fixed a bug that was suppressing PictureComponentSizing, -+ CodingStyleDefault and QuantizationDefault when writing the -+ essence descriptor in a JP2K file (AS-DCP and AS-02). -+ o Fixed the version byte on the following UL values: -+ StereoscopicPictureSubDescriptor -+ GenericPictureEssenceDescriptor_ColorPrimaries -+ GenericPictureEssenceDescriptor_ActiveHeight -+ GenericPictureEssenceDescriptor_ActiveWidth -+ GenericPictureEssenceDescriptor_ActiveXOffset -+ GenericPictureEssenceDescriptor_ActiveYOffset -+ o Added some essence descriptor options to as-02-wrap. -+ o Changed bit rate display in asdcp-info from mebi-bits/s to -+ mega-bits/s. -+ o Added "SMPTE" / "Interop" format type display to asdcp-info. -+ o Improved integration of ST 377-4 MCA concepts with ST 429-2 static -+ labels. -+ o Modified asdcp-wrap to assume -L when wrapping timed-text (since -+ there is no MXF text wrapping for Interop.) -+ o Added new EssenceType_t values for IMF/AS-02 track files. -+ o Added detection for AS-02 track files to ASDCP::EssenceType() -+ o Changed lots of "const char*" to "const std::string&" in the -+ APIs defined by KM_fileio.h and AS_DCP.h. -+ o Fixed VBR Delta Segment entries to correctly flag progressive -+ material. -+ o Fixed PCM unwrapping bugs in as-02-unwrap. -+ o Fixed missing return statement in ArchivableString::ArchiveLength -+ (thanks to both Kristof Provost and Franck Chopin) -+ o Fixed broken sample alignment in RF64Writer (thanks to Wolfgang -+ Woehl and Dolby) -+ o Fixed win32 build (thanks to Dolby) -+ o fixed a bug that caused blackwave to only produce 96kHz WAV files. -+ (thanks to Stephane W) -+ -+ -+2013-07-02 – IMF/AS-02 support, bug fixes 2.0.0 -+ o Massive refactoring of internals to allow easier implementation -+ of AS-02. Some API changes were made as well (note that -+ OPAtomHeader is now OP1aHeader and RIP is no longer part of the -+ OP1aHeader.) If you are using this project as a library (and -+ especially if you are keeping patches against it) PLEASE TAKE -+ TIME TO EVALUATE THIS RELEASE THOUROUGHLY BEFORE ADDING IT TO -+ YOUR RELEASE PATH. -+ o Final integration of Fraunhoffer IIS code contribution. AS-02 -+ files are now fully supported with some TODOs and two major -+ exceptions: LEAD indexes are not supported by the MXF writers -+ and interlace images are not yet supported. -+ o Added support for MCA labels (ST 428-12) to asdcp-wrap. Note -+ that this project is still in the early stages of interop testing -+ so errors are likely present and don't expect any server to -+ make use of this feature. -+ -+ -+2013-07-01 - Bug fixes, enhancements 1.12.50 -+ o Fixed missing return statement in ArchivableString::ArchiveLength -+ (thanks to both Kristof Provost and Franck Chopin) -+ o Fixed broken sample alignment in RF64Writer (thanks to Dolby) -+ o Fixed win32 build (thanks to Dolby) -+ -+ -+2013-04-12 - Dolby Atmos support and more audio labels 1.11.49 -+ o Significant code contribution from Dolby Laboratories to add -+ support for generic data track files as proposed in ST 21DC -+ and also Dolby Atmos track file support as a specialization. -+ o Added Dolby-contributed code to support generating the external -+ sync signal for d-cinema as proposed in ST 21DC. -+ o Added Dolby-contributed code to support RF64 WAVE files. -+ o Fixed UL error in ST 429-5 DM encoding (contributed by Dolby). -+ o Added ULs for ST 428-12 and Amd. 429-2 2013. Please check! -+ -+ -+2013-02-20 - bug fixes, enhancements 1.10.48 -+ o Refactored internals of the AS-DCP file readers. While no -+ changes in behavior are intended, users are cautioned to test -+ thouroughly before use in production. -+ o Fixed a bug in ReadAncillaryResource that was causing bogus HMAC -+ failures when reading resources from a file. -+ o Fixed premature-release bug in the Expat version of the XML parser. -+ Thanks to Carsten Feldheim (IIS) for the tip. -+ o Fixed -W option in asdcp-unwrap. Thanks to RGB. -+ o Added P-HFR support to asdcp-wrap (see URL for details: -+ http://isdcf.com/papers/ISDCF-HighFrameRate-DCP.pdf). -+ o Added support for SMPTE ST 428-21 "Archival Frame Rates". -+ o Added -P option to asdcp-wrap (inserts arbitrary UL into the -+ PictureEssenceCoding property when wrapping JP2K files.) -+ o Added support for 96 kHz files to blackwave. -+ o Added new path and string manglers to Kumu. -+ o Updated MCA ULs (I warned you...). Again please take some -+ time to proof this work against ST 477-4 including the latest -+ drafts of the registries. -+ Changed the version byte (8 0f 16) to 0x0e: -+ MCALabelSubDescriptor -+ AudioChannelLabelSubDescriptor -+ SoundfieldGroupLabelSubDescriptor -+ GroupOfSoundfieldGroupsLabelSubDescriptor -+ GroupOfSoundfieldGroupsLinkID -+ Changed bytes 8 and and 13 of SoundfieldGroupLinkID -+ Added items to the UL dictionary: -+ MCAPartitionKind -+ MCAPartitionNumber -+ MCATitle -+ MCATitleVersion -+ MCATitleSubVersion -+ MCAEpisode -+ MCAAudioContentKind -+ MCAAudioElementKind -+ -+ -+2012-08-07 - bug fix, 1.10.46 -+ o Added missing zero-initializers to time values when parsing a -+ timestamp string (in the case where the optional [Thh:mm.[:ss]] -+ syntax is not present in an encoded string). -+ -+2012-03-06 - bug fixes, enhancements 1.9.45 -+ o Removed ASDCP::Timestamp, all items that were of that class are now -+ of class Kumu::Timestamp -+ o Refactored Kumu::Timestamp to use KM_tai for internal representation -+ (replaced public Y M D, h, m, s variables) -+ o Refactored Kumu::Timestamp to use KM_tai for WIN32 builds -+ o Added UTC offset awareness to Kumu::Timestamp -+ o Replaced "long GetSecondsSinceEpoch(void) const" with -+ "ui64_t GetCTime() const" -+ o Corrected UL version segment in "7.1 DS" and "WTF" audio format -+ labels (corresponds with publication of ST 429-2:2011). -+ o Exposed MXF object interface (MXF.h, Metadata.h) via ASDCP MXFReader -+ and MXFWriter classes. -+ o Added UL values from ST 377-4:2012. >>>>NOTE: These are preliminary -+ values, subject to change upon final publication of not only ST 377-4 -+ but also the relevant registries. This is a good time to compare them -+ to the standard and complain if you think they are wrong! -+ o Added MCALabelSubDescriptor, AudioChannelLabelSubDescriptor, -+ SoundfieldGroupLabelSubDescriptor, and -+ GroupOfSoundfieldGroupsLabelSubDescriptor (from ST 377-4:2012) to -+ Metadata.h -+ o Changed some internals to make MXFWriter::OPAtomHeader() work correctly. -+ o Split asdcp-test into several different programs to help relieve -+ the impenetrable-list-of-arguments problem. asdcp-wrap, asdcp-unwrap -+ and asdcp-info take the place of asdcp-test's -c, -x and -i options, -+ respectively. asdcp-util contains the remaining functions. Note that -+ asdcp-test is now DEPRECATED, new functionality and bug fixes will be -+ aimed at the new tools. Also note that some options and calling -+ conventions are different for the new tools as compared to asdcp-test. -+ Please read the synopses and make sure you understand the new idioms. -+ o asdcp-wrap has a new argument, -C
      , that writes the given UL to the -+ ChannelAssignment item in the WaveAudioDescriptor (only useful when -+ writing PCM essence). -+ -+ -+2011-11-30 - bug fixes v1.8.44 -+ o Corrected a wrong decryption UL selection when unwrapping MXF. -+ -+ -+2011-10-27 - bug fixes v1.8.43 -+ o Corrected broken Essence UL matching. (Thanks to Michael Loder). -+ -+ -+2011-08-31 - bug fixes v1.8.42 -+ o Added missing HFR support for PCM essence reader/writer. -+ -+ -+2011-08-30 - bug fixes, enhancements v1.8.41 -+ o UL version byte now ignored when comparing UL values. -+ o Changed the version byte in the TimedTextEssence UL to 0x01. There -+ is no published Essence Keys registry so it can't have a maintained -+ version number. -+ o JP2K Sequence Parser modified to skip directory entries that -+ are not files in the case where the parser is initialized with -+ a directory path. When initialized with a list of file names -+ this check is not performed. Based on a hint by Steve Quartly. -+ o Increased the size of the MPEG header parser buffer. -+ o Added missing FrameType() implementation to ASDCP::MPEG2::MXFReader. -+ o Added missing Close() implementations to MXF reader classes. -+ o Added missing Timestamp::Timestamp(const char* datestr) implementation. -+ (Thanks to Matt Sheby for this and the previous three items.) -+ o Fixed error in Kumu::FortunaRNG::FillRandom() that was returning the -+ end of the random buffer instead of the front (Thanks to Mike Radford). -+ o Added support for proposed sound channel format identifiers -+ '7.1DS' and 'WTF'. Optimistically chose version '0x0c'. -+ o Added support for stereoscopic images in JP2K files at edit -+ rates of 48, 50 and 60 eups (96, 100 and 120 fps). -+ -+ -+2010.11.15 - bug fixes, enhancements v1.7.40 -+ o Fixed bug in long KLV packet support (Thanks to Jim Radford). -+ o Fixed AvgBps in PCM files, *again*. Sorry for the crazy. -+ o More fixes and changes in support of 25, 30, 50, 60 fps. -+ (Thanks to Hans K. for the TC rate bug). -+ o Updated KLVFill UL version element to 0x02. -+ o Type change to support Xerces-C 3.x. (Thanks to Matt Sheby). -+ o Some internal API changes to KLV types. Does not affect -+ operation. -+ o Added NetworkLocator type to MXF metadata types. -+ o Added file offset display to klvwalk. -+ -+ -+2010.09.09 - bug fixes, enhancements, v1.7.39 -+ o Fixed bug in JP2K PictureDescriptor initialization in -+ JP2K::MXFReader::OpenRead() and JP2K::MXFSReader::OpenRead() -+ o Once again fiddling with AvgBbs. How can something so simple -+ be such a constant cause of trouble? Tested with 1-, 2- and -+ 6-channel input Wav files. -+ o asdcp-test now accepts a directory name when making PCM -+ files (-c). The directory name should be the only filename -+ argument. All files in the directory must be Wav files -+ (mixed channel sizes OK). Files are sorted alphabetically by -+ filename. Hint: use numeric name infix to define order: -+ my_movie_00_L.wav -+ my_movie_01_R.wav -+ my_movie_02_C.wav -+ my_movie_03_LFE.wav -+ my_movie_04_LS.wav -+ my_movie_05_RS.wav -+ -+ -+2010.07.20 - bug fixes, v1.6.37 -+ o Fixed TimedTextResourceSubDescriptor UL value. -+ -+ -+2010.06.16 - bug fixes, v1.6.36 -+ o Added support for new Edit Rates to asdcp-test.cpp. -+ o Expanded timed-text file reader in asdcp-test.cpp. -+ o Fixed large BER value encoding (plaintext) and decoding -+ (plaintext and ciphertext). This feature was introduced in -+ v1.5.31). -+ o Fixed AvgBps value for multi-channel Wave input. -+ -+ -+2010.05.13 - bug fixes, enhancements, v1.6.34 -+ o ST 429-5 files have corrected ULs for DCTimedTextDescriptor and -+ GenericStream DataElement. Files made with previous versions of -+ the library are incompatible with this and future versions. -+ o Fixed File Package TrackNumber values. Th -+anks to Sankar. -+ o Added edit rate constants to AS_DCP.h (25, 30, 50, 60). -+ o Changed AudioDescriptor "SampleRate" element name to "EditRate" -+ to make it consistent with the other types. -+ o Now builds with XercesC 3.x. -+ o KM_memio.h has better const behavior. -+ o Fixed a bug in KM_memio.h string archiving. -+ -+ -+2010.01.05 - bug fixes, enhancements, v1.5.32 -+ o Re-fixed swapped Interop and SMPTE OP Atom UL values. The swap -+ introduced in v1.5.31 was done in error. -+ o Added -z,-Z options to asdcp-test (j2c parameter checking) -+ o Reformed jp2k-test as j2c-test, added help and list processing, -+ added to standard install target. -+ -+ -+2009.12.31 - bug fixes, enhancements, v1.5.31 -+ o Fixed swapped Interop and SMPTE OP Atom UL values. -+ o Added get_BER_length_for_value() subroutine. -+ o Modified ASDCP::h__Writer::WriteEKLVPacket() to allow larger BER -+ lengths for KLV packets larger than 16 MB. This was required to -+ support large font files in the SMPTE 429-5 implementation. -+ -+ -+2009.11.06 - bug fixes, enhancements, v1.5.29 -+ o Fixed a bug that could cause HMAC values to be incorrectly -+ stored in MXF files. Files created with versions of asdcplib -+ prior to this version may have incorrect HMAC values. -+ o Improved handing of XML files for MXF wrapping. -+ o Jpeg2000 codestream EditRate and SampleRate mismatches -+ now warns instead of returning an error. -+ o Improved error handling in Jpeg2000 sequence parsing routines. -+ o Added two methods to Kumu::Timestamp, AddSeconds(), to add (or -+ subtract) seconds to a time value, and GetSecondsSinceEpoch() -+ to get the number of seconds since the unix epoch. -+ o Added new option to asdcp-test, '-a', to specify a UUID when -+ creating MXF files. -+ o Added support for specifying the intrinsic duration of MXF files -+ containing timed text. -+ o Added new option to wavesplit, '-i', to display WAV file metadata. -+ -+ -+2009.05.21 - bug fixes, v.1.4.24 -+ o Fixed a bug that caused incorrect SubDescriptors UL values to be -+ written into interop format MXF track files. Note that this involved -+ a substantial reorganization of MXF internals. Please test thoroughly -+ in your application before using in production. Note that this is a -+ significant bug fix and track files created with 1.4.22 may be incompatible -+ with other systems. -+ -+ -+2009.04.09 - SMPTE format fixes, enhancements and bug fixes, v.1.4.22 -+ o asdcplib now uses GNU autotools on POSIX systems to configure -+ and build. See "./configure" for details. Note that two options, -+ --enable-freedist and --with-python are not enabled in the free -+ version of asdcplib and should not be used. -+ o Added build option (CONFIG_RANDOM_UUID) to enable mixed case UUID -+ generation when environment variable KM_USE_RANDOM_UUID is defined. -+ o Fixed a condition that could cause an error to occur when wrapping -+ SMPTE format timed text track files that do not define a starting -+ frame. -+ o Updated ULs for SMPTE format track files. -+ o SampleRate added to JP2K metadata -+ o Support for wrapping 96kHz WAV files added. -+ o Updated ULs for audio channel formats (ChannelFormat) -+ o Updated font subdescriptor MIME Types for TimedText Trackfiles. -+ o Changed time implementation to support dates beyond Jan 19th, 2038. -+ o Xerces-C XML parser support added. -+ o New build method for Windows (see win32/README.txt for details). -+ o Added new functionality in Kumu to recursively create and delete files -+ and directories, and get free disk space for a given volume path. -+ o Added a method to Kumu::Timestamp, AddMinutes(), to add (or subtract) -+ minutes to a time value. -+ o Improved how Kumu::Timestamp parses timestamps with offsets. -+ o Fixed a bug that caused incorrect HMAC values to be calculated. -+ -+ -+2008.02.16 - SMPTE format fixes, bug fixes v.1.3.18 -+ o Added correct SMPTE UL for StereoscopicPictureSubDescriptor. -+ o Exposed JP2K metadata parser as ParseMetadataIntoDesc(). -+ o Added simple stereoscopic framebuffer to support paired ReadFrame() -+ and WriteFrame() methods (allows simpler integration with other -+ single-buffer code). -+ o Improved detection of JPEG Interop stereoscopic files. -+ o Win32 build fixes (Thanks to Mike Crowe at DTS). -+ o Added the WITH_MD macro to the makefile. Set this value to one -+ to build Win32 with /MD[d] instead of /MT[d]. -+ o The Generic Container UL has been added to the EssenceContainers -+ set in the header partition pack for encrypted files. It has always -+ been there in plaintext files. -+ - Below this point the changes are internal and should not affect you -+ unless you use Kumu directly. -+ o Major refactoring of KM_log.[h|cpp]. -+ o Fixed buffer re-sizing issue in Kumu::ByteString. -+ o Replaced type IdentifierList with ArchivableList. -+ o Added COPYING file to the release bundle. -+ -+ -+2007.12.13 - Bug fixes v.1.2.17 -+ o Changed Result_t implementation to use int instead of long, which -+ was causing trouble on some 64 bit platforms. -+ o Fixed EKLV HMAC. NOTE: Breaks backward compatibility with older -+ Interop files. To validate these files, use asdcplib-1.1.14. This -+ should not cause too much trouble since files with broken and -+ non-broken HMAC have been in the wild for years without issue. -+ o Fixed HMAC sequence numbering in encrypted stereoscopic files. -+ o Finished stereoscopic test targets in the makefile. -+ o Fixed the win32 build, now expects VS2005 compiler by default, -+ use WITH_VC6=1 top get VC6 flags. -+ o Stereoscopic and Timed Text modes now have SMPTE UL values. -+ NOTE: SMPTE 429-5 and 429-10 are not yet published. It is possible -+ that these UL values may change before publication. Please use -+ caution when using these features for production work. -+ o Changed a bunch of symbol names in the 429-5 implementation to -+ better match the spec. -+ o Added -U option to asdcp-test to dump the UL library to stdout. -+ o Fixed erroneous placement of the PictureEssenceCoding UL in JP2K -+ files (Interop and SMPTE modes). -+ -+ -+2007.10.22 - Timed Text, Stereoscopic Picture and Bug fixes v.1.2.16 -+ o Significant API changes have been made. Please read all entries -+ in this changelog to be sure you understand the changes. Also -+ note that some changes have been made to LS_MXF_SMPTE files that -+ are incompatible with earlier releases (e.g., EKLV HMAC). If -+ you are looking for a stable interop release, use v.1.1.14. -+ o Fixed RFC 2104 HMAC implementation for LS_MXF_SMPTE only. The -+ broken implementation has been maintained for Interop mode. -+ o Added support for draft SMPTE 429-5 Timed Text Track File. This -+ is still waiting for official SMPTE ULs, so do not use it for -+ shipping products. An XML parser is needed to create a Timed -+ Text Track File; Expat is now an optional part of the build. -+ Make with WITH_XML_PARSER=1 to link with Expat. If you do not -+ link with expat, you will get an error when using the TimedText:: -+ DCSubtitleParser class. See also S429-5-cgi.cpp for an example -+ that shows how to serve plaintext MXF file elements directly via -+ HTTP. -+ o Added support for draft SMPTE 429-10 Stereoscopic Picture Track -+ File, including the JPEG Interop version. This is still waiting -+ for official SMPTE ULs, so do not use it with LS_MXF_SMPTE for -+ shipping products. -+ o Refactored the following files as a side-effect of the above -+ work: AS_DCP_JP2K.cpp AS_DCP_MPEG2.cpp AS_DCP_PCM.cpp -+ AS_DCP_MXF.cpp AS_DCP_internal.h MXF.[h|cpp] MXFTypes.[h|cpp] -+ Metadata.[h|cpp] h__Reader.cpp h__Writer.cpp klvwalk.cpp. -+ WARNING: While significant effort has been extended to make sure -+ that these changes do not affect existing stable file support, -+ users are cautioned to test this release thouroughly. -+ o Added a large set of filesystem path manglers to KM_fileio.h. See -+ path-test.cpp for example usage. The path manglers have not yet -+ been tested on win32 platforms (they are currently used only by -+ the Timed Text module. -+ o The PathIsFile(), PathIsDirectory() and FileSize() subroutines -+ have been modified to accept const std::string& instead of -+ const char*. -+ o Added namespace and parsing support (Expat) to Kumu::XMLElement -+ (currently used only for Timed Text support). Also added some -+ new accessors. -+ o Altered MXF::UTF16String to use mbtowc() and wctomb(). -+ -+ -+2007.03.31 - Bug fixes v.1.1.14 -+ o Fixed KeyFrameOffset value in MPEG wrapping to have negative -+ value. This is probably not yet complete for handling all -+ types of GOPs. Please send chunks of MPEG-2 VES that you -+ find which break this. Thanks to Doremi. -+ ** no other file format changes in this release ** -+ o Fixed error in RIP interpretation when reading arbitrary (i.e., -+ non-MXF) files. -+ o Fixed a memory leak in ASDCP::MXF::OPAtomHeader when used -+ in read mode. Thanks to Mahesh Bajaj for pointing out this -+ bug and the one above. -+ o Removed asserts from KM_fileio, replaced with RESULT_WRITEFAIL -+ return value statements. -+ o Added -s and -p to the makefile install target. -+ o Altered ByteString behavior to use target Length() in copy -+ operations (instead of Capacity()). -+ o Added new Set() method to ByteString. -+ o Fixed a bug in ByteString::Unarchive() that caused the operation -+ to fail when the buffer was smaller than the read (i.e., when -+ Capacity() was called). -+ o Added IdentifierList class to KM_util.h. -+ o Changed some Error() messages to Debug() in Wav.cpp -+ o Revived jp2k-test.cpp and asdcp-mem-test.cpp (they both had -+ stale #includes). -+ -+ -+2007.02.15 - Bug fixes v1.1.13 -+ o Removed 'VDescObj->SampleRate.Numerator = VDesc.FrameRate;' -+ from MPEG2_VDesc_to_MD() in AS_DCP_MPEG2.cpp, was line 76. -+ o Added KM_TEST_NULL_STR_L() and KM_TEST_NULL_L() macros to -+ KM_log.h. These versions log the location of the null value. -+ Macros are now used in any module that includes KM_log.h. -+ o MPEG2 VES with run of zero values at the head is now OK. -+ o Increased VESHeaderBufSize to 16K. -+ o Added makefile support for local OpenSSL in ../openssl, if -+ present. -+ o The Kumu::PathIs*() functions now return false if a null or -+ empty string is given (used to be an assert). -+ o Cleaned up the install target in the makefile. -+ o Fixed SMPTE 429-6 HMAC -- FIPS 186-2 implementation was -+ laughably incorrect. Thanks to Doremi for pointing this out. -+ o Removed default parameter to HMACContext::InitKey(). -+ o Cleaned up messages and CLI arg handling in asdcp-test. -+ -+ -+2006.11.19 - Mo better stuff v1.1.12 -+ o Changed read-only Result_t accessor methods to const. -+ o Added Base64 (-B) option to kmrandgen. -+ o Removed 16-bit alignment restriction from kmrandgen. -+ o Improved WAV file extraction speed (Thanks to Jim Radford -+ for pointing this out). -+ o Added single-channel split for WAV extraction (asdcp-test -1). -+ o Fixed remainder bug in h__RNG::fill_rand(). -+ -+ -+2006.11.03 - Bug fixes v1.1.11 -+ o Increased index table entry list size to 5000. -+ o Added length checking to TLV writer (returns error if TLV -+ payload exceeds 64kB). -+ o Fixed partition header and RIP errors related to 2-partition -+ files (MXF Interop mode). -+ o Added -t option to asdcp-test (SHA-1 digest with Base64 output -+ on stdout). -+ o Fixed Sub Descriptor reference bug (Thanks to Denis Leconte -+ for dogged determination). -+ o Added directory-of-wav detection to RawEssenceType() -+ o Modified MXF::Partition::AddChildObject() to only generate -+ a UUID if the InstanceID is unset. -+ o Added ComponentMaxRef & ComponentMinRef to RGBAEssenceDescriptor. -+ More to follow. -+ o Added detection of 2K/4K jp2c, writing correct 4K metadata. -+ -+ -+2006.10.05 - Bug fixes v1.1.10 -+ o Changed RM_RELEASE to RL_RELEASE in MXFTypes.h. -+ o Changed the MXF writer to use RL_RELEASE (was RL_DEVELOPMENT). -+ o Really fixed source reference chain. -+ o Updated JP2K file package label. -+ o Changed location of JPEG2000PictureSubDescriptor in the -+ header (was erroneously before Preface). -+ o Altered LS_MXF_INTEROP to produce 2-partition files. -+ -+ -+2006.09.25 - Bug fixes v1.1.9 -+ o Fixed SourcePackageID value. All files will be 'original', -+ i.e. SourcePackageID will be all zeros. Let me know if you -+ want to set SourcePackageID. -+ o Fixed compiler warnings on some Linux platforms -+ o Fixed the build so that BUILD_DIR is no longer created -+ as a dependency. -+ o Added duration detection to the raw essence parsers. The -+ MPEG parser uses a nasty approximation so don't use it -+ without paying close attention to the result. -+ o Modified PCMParserList to make it more useful as a base -+ class. -+ o Fixed bugs and re-organized command-line help in asdcp-test -+ and klvwalk. -+ o Fixed two-partition file reads. -+ o Fixed Win32 PRNG initialization. -+ o Renamed asdcp-lf-test as kmfilegen. -+ o Added kmrandgen and kmuuidgen. -+ o Added string retrieval mechanism to Result_t. -+ o Refactored Kumu::Identifier and its sub-classes. -+ o Altered Kumu::PathIsFile to return true when the path -+ is a symbolic link (unix only). -+ o Altered Kumu::FileWriter::OpenWrite to use file creation -+ mode 0664 (was 0644) (unix only). -+ o Added Kumu::WriteStringIntoFile() subroutine. -+ -+ -+2006.04.05 - Bug fixes and new stuff v1.1.7 -+ o Fixed a bug in the MPEG parser that caused it to fail when -+ handling start codes spanning buffer boundaries -+ o Added wavesplit and blackwave utility programs -+ o Added support for revised SMPTE HMAC key derivation when -+ using LS_MXF_SMPTE -+ o Refactored platform compatibility and general utilities -+ into a new sub-library "Kumu". There are no new build -+ steps or dependencies, but some important things have -+ changed: -+ + Result_t is no longer an enum, it is now a class. -+ Library result codes are now declared as const objects -+ like this: -+ -+ const Kumu::Result_t RESULT_FORMAT (-101, "The file..."); -+ -+ The macros ASDCP_SUCCESS and ASDCP_FAILURE still work -+ the same way thanks to an operator overload for type long. -+ See KM_error.h for more information. -+ + The logging interface has been moved out of AS_DCP.h -+ and into KM_log.h -+ o Some of the command line utilities that were using headers -+ other than AS_DCP.h have been changed to use the Kumu -+ equivalents. If you have code based on those utilities, you -+ will have to update by hand. -+ o Added new types to the EssenceType_t enum. -+ o The guard macro for Win32 code has changed from WIN32 to -+ KM_WIN32. -+ -+ -+2006.03.2x - new stuff -+ o Proper handling of stream-id byte of essence UL values -+ o writes 3-partition files, reads 2-part or 3-part -+ -+ -+2006.03.16 - bug fixes plus -+ o Removed SMPTE_LABELS compile-time option. The reader will now -+ silently accept either SMPTE or MXF Interop labels, the writer -+ can be instructed which to use at runtime. Default is Interop. -+ o Added an AIFF reader. Support is preliminary, it works with the -+ AIFF files I have on hand. -+ o More code refactoring. More to come. -+ -+ -+2006.03.09 - full read-write -+ o Removed ASDCP_WITHOUT_OPENSSL compile-time option. -+ o Full read/write now working on new MXF library -+ -+ -+2005.00.00 - A New Hope -+ o The temporary mxf-lite has been removed. MXF files are now -+ managed via the objects in KLV.h, MXFTypes.h MXF.h and -+ Metadata.h. This release does not support writing MXF files. -+ o Fixed a header interpretation error in the Wav parser. -+ -+ -+2005.00.00 - The Reformation -+ o Removed mxflib as a dependency by forking the necessary -+ functions and placing them in the mxf-lite subdirectory. -+ Please note that the very heavy modifications done here -+ render all comparisson to mxflib code a substantial task. -+ All errors are now mine and users are warned not to bug -+ Oliver or Matt for help with this code. The version of -+ mxflib at the time of the fork was: 0.5.1.3. -+ -+ -+2005.06.03 - bug fixes v0.10.18 -+ o Updated UL batch to include GC UL. -+ -+ -+2005.05.27 - bug fixes v0.10.17 -+ o Un-did essence container and compression descriptor changes. -+ The default build reflects MXF Interop decisions as of 26 May. -+ o Added note about build versions to README (see above). -+ o Added warnings to SMPTE_LABELS builds. -+ o Fixed JP2K essence container label. -+ -+ -+2005.05.02 - bug fixes v0.10.16 -+ o Reorganized internal files, added file reader object, added OS -+ portability header, removed and renamed some files. If you have a -+ patch against previous versions of the source, you should check -+ it thoroughly. -+ o Added RGBA attributes to JP2K descriptor. -+ o Changed interface to CodestreamParser. -+ o Added JP2K parser implementation. It is parsing each frame but is -+ not yet being used to populate the descriptor. -+ o Added 48fps option for `asdcp-test -p`. -+ o Added picture rate constants to AS_DCP.h (23.976, 24, 48). -+ o Added sample rate constant to AS_DCP.h (48k). -+ o Changed asdcp-test to encrypt picture headers by default -+ (plaintext offset will be 0), added -E option to allow -+ plaintext headers. -+ -+ -+2005.04.28 - bug fixes v0.9.15 -+ o The XML descriptors for the crypto DMS have moved in mxflib to -+ the file DMS_Crypto.xml (they were in DMS_DCPENC.xml). Older -+ installations should update the file from mxflib. -+ o Added Close() and Seek() to ~MyFileWriter(), cleaned up headers -+ o Added UUID generator output mode (-u). -+ o Added -S option to extract PCM essence into stereo wav files -+ o Added more UL testing and conformance checking. -+ o Added macro SMPTE_LABELS which causes the library to be built -+ with SMPTE (as opposed to MXF Interop) labels. This is not -+ set by default, and currently only affects the PCM container -+ label and encrypted element label. -+ o Cleaned up the GNUmakefile test targets, the source files -+ are now named with the TEST_FILE_PREFIX macro. -+ o enabled 23.976-framed PCM (2002 samples per frame) -+ o The size of the asdcp-test frame buffer for picture essence -+ may now be set from the command line (-b). The default is 4MB. -+ o h__Reader::ReadEKLVPacket() now tests the UL (duh) and switches -+ on the value, allowing plaintext and ciphertext frames to -+ be mixed in the file. -+ o Fixed error in UUID generator format. -+ o JP2K files now use the GenericPictureDescriptor to store -+ ContainerDuration and SampleRate. SampleRate is mapped -+ to EditRate in the PictureDescriptor struct. This fixes -+ the second caveat from the 0.8.13 release. -+ o Fxed bug in PCMParserList that was miscalculating the extent -+ of a PCM sample. This bug did not affect API users, it was -+ only present in asdcp-test. -+ o Fixed EditRate on PCM files (was showing sample rate) -+ o Fixed Encrypted Essence Container UL -+ o Fixed BlockAlign value for PCM essence -+ -+ - The following changes were provided by Jeff Loewenguth -+ - Thanks Jeff! -+ o Moved the DMS CryptographicFramework entry from the material -+ package to the source package -+ o Fixed erroneous Source Essence Container Label value -+ o Fixed broken sort of JP2K frames in JP2K parser -+ o Added FindFrameGOPStart() method to the MPEG2 MXFReader -+ o Added missing length values for EKLV packets without HMAC -+ o -x with JP2K essence writes to files with 6 digit names -+ (up from 5 digits). -+ o The Key ID may now be specified as an argument to asdcp-test -+ (-j ) -+ -+ -+2004.12.30 - bug fixes + wav files v0.8.14 -+ o Added WAV file write to asdcp-test (uses mxflib::waveheader_t). -+ o Three-partition files reading properly. adscplib still writes -+ two-partition files. -+ o Changes in the mxflib WAV essence parser API had broken -+ asdcplib's ability to read essence from a WAV file. I have -+ fixed this bug, but at the expense of breaking compatibility -+ with older versions of mxflib. Beware! -+ o Removed redundant (but working) bin-text-bin conversions. -+ -+ -+2004.12.23 - JPEG 2000 support v0.8.13 -+ o Reads/writes JPEG 2000 essence in plaintext and ciphertext -+ with the following caveats: -+ - The Picture Essence Descriptor is empty. -+ - Because there is no essence descriptor, the reader code -+ in asdcp-test has no idea how many frames are in the file -+ and ends with an out-of-bounds frame error. This error -+ is being suppressed in asdcp-test for the current release. -+ o Still broken when reading three-partition files. -+ -+ -+2004.10.22 - fixes and UL updates v0.7.11 -+ WARNING: COMPATIBILITY BREAKPOINT -+ Files created with this and future versions of this library are -+ not compatible with previous versions of this library. As you -+ might suspect, files created with previous versions of this -+ library are not compatible with this and future versions. -+ -+ o h__Reader will now open a three-partitition file (untested) -+ o Moved DMS from Material partition to File partition -+ o Added length fields to appropriate places in EKLV packet -+ -+ -+2004.10.22 - fixes and UL updates v0.7.10 -+ o fixed frame buffer handling of externally allocated buffer, -+ created unit test (asdcp-mem-test) -+ o added operator==() and operator!=() to Rational type -+ o fixed some type-related compiler warnings -+ o asdcp-test -p now works on unwrap -+ o updated some ULs to match documentation (thanks to Arun -+ for the submission) -+ o canonicalized line endings -+ -+ -+2004.07.02 - full plaintext + ciphertext read/write v0.6.9 -+ o HMAC, plaintext offest and raw ciphertext read supported -+ o back to proper CBR index -+ o MPEG temporal offset working -+ -+ -+2004.07.01 - plaintext + ciphertext read/write v0.5.8 -+ o encryption of MPEG and PCM essence supported with the -+ following caveats: -+ - no HMAC support -+ - no plaintext offest support -+ - no raw ciphertext read support -+ o moved to reflecting the whole KLV triplet in the CBR -+ index (now incompatible with mxflib, still searching -+ for info about what's "right") -+ o awaitng the following fixes/features: -+ - retrieve Temporal Offset from index in MPEG2::Reader -+ - test for correct ULs when reading frame triplets -+ - fix header metadata items for encrypted files -+ - HMAC support -+ - plaintext offest support -+ - raw ciphertext read support -+ -+ -+2004.06.14 - plaintext read/write w/key generator v0.4.5 -+ o Project now uses OpenSSL (tested with 0.9.7d on win32, Linux, Darwin) -+ Use `make ASDCP_WITHOUT_OPENSSL=1` to make plaintext-only version -+ o Accepts interior I frames when parsing MPEG2 VES -+ o Improved error reporting on format errors -+ o Added support for encryption to asdcp-test -+ o Added RNG for asdcp-test (non-production use only, see notes in FortunaRNG.h) -+ o Implemented CBC encrypt, decrypt module -+ o Added partial TemporalOffset retrieval from MPEG2 parser -+ o Fixed win32 binmode bug -+ -+ -+2004.05.12 - plaintext read/write v0.3.4 -+ o Full read/write of plaintext MPEG-2 VES and WAV files -+ (does not yet support mux from or demux to 2 channel pairs) -+ o Builds with autoconf-based mxflib -+ o Added ASDCP_ prefix to macros -+ o Updated documentation, fixed documentation errors -+ o Simplified API for MXF writer setup -+ o Decoupled essence parsers from MXF writers -+ o added raw ciphertext support to FrameBuffer -+ o Cleaned up Get/Set naming confusion -+ o Added missing const qualifiers -+ -+ -+2004.04.27 - preview release v0.2.1 -+ o hasty release for quick review -+ o this release may not build with mxflib using autoconf. -+ o writes plaintext AS-DCP MPEG2 essence files -+ o tested under win32 and linux. FreeBSD and Darwin do not work -+ -+ -+2004.02.04 - First release (v0.1.1): -+ o asdcp-test is mostly complete. It should correctly provide -+ access to the read and info capabilities of the library. -+ o The MPEG2 reader is functional but not fully tested. -+ o Some file format integrity tests remain to be coded. -+ o The PCM reader is mostly complete, I am having difficulty -+ getting a suitable test file from mxfwrap. -+ o The makefile creates a static library module. The API -+ will cleanly support a DSO (or DLL). Let me know if DSO -+ support is important to you. -+ o Nothing is thread safe. Thread safety was not a requirement -+ in the initial project definition. Thread safety may be added -+ above the mxflib/klvlib level. Let me know if it is important -+ to you. -+ o The files xmldict.xml and types.xml must be in the current -+ directory when the program is run. The files are supplied -+ with mxflib. Runtime location of the files is not currently -+ a project goal. Comments on how best to handle this situation -+ would be appreciated. See AS_DCP.cpp at init_mxf_types() -+ for a more detailed discussion. -+ -+-- -diff -ruN asdcplib.old/src/AS_DCP_AES.cpp asdcplib/src/AS_DCP_AES.cpp ---- asdcplib.old/src/AS_DCP_AES.cpp 2017-01-17 22:38:59.494475028 +0100 -+++ asdcplib/src/AS_DCP_AES.cpp 2017-01-17 22:40:55.166469875 +0100 -@@ -37,25 +37,16 @@ - using Kumu::DefaultLogSink; + o MXF Interop Track File Specification + o MXF Interop Track File Essence Encryption Specification +@@ -75,7 +75,7 @@ The following use cases are supported by the library: + o Read header metadata from an AS-DCP file + This project depends upon the following libraries: +- - OpenSSL http://www.openssl.org/ ++ - Nettle http://www.nettle.org/ + - Expat http://expat.sourceforge.net/ or + Xerces-C http://xerces.apache.org/xerces-c/ + An XML library is not needed if you don't need support for SMPTE ST 429-5:2009. +diff --git a/src/AS_DCP_AES.cpp b/src/AS_DCP_AES.cpp +index 6409f5b..6aa0a76 100755 +--- a/src/AS_DCP_AES.cpp ++++ b/src/AS_DCP_AES.cpp +@@ -39,20 +39,9 @@ using Kumu::DefaultLogSink; using namespace ASDCP; --const int KEY_SIZE_BITS = 128; + const int KEY_SIZE_BITS = 128; -#include -#include -#include -#include ++#include "nettle_map.h" -+#include -+#include -+#include -void -print_ssl_error() @@ -1825,15 +665,11 @@ - unsigned long errval = ERR_get_error(); - DefaultLogSink().Error("OpenSSL: %s\n", ERR_error_string(errval, err_buf)); -} - +- //------------------------------------------------------------------------------------------ --class ASDCP::AESEncContext::h__AESContext : public AES_KEY -+class ASDCP::AESEncContext::h__AESContext : public aes128_ctx - { - public: - Kumu::SymmetricKey m_KeyBuf; -@@ -79,12 +70,8 @@ + class ASDCP::AESEncContext::h__AESContext : public AES_KEY +@@ -79,11 +68,8 @@ ASDCP::AESEncContext::InitKey(const byte_t* key) m_Context = new h__AESContext; m_Context->m_KeyBuf.Set(key); @@ -1842,31 +678,12 @@ - print_ssl_error(); - return RESULT_CRYPT_INIT; - } -- + // nettle set/get encrypt key returns void + aes128_set_encrypt_key(m_Context, m_Context->m_KeyBuf.Value()); + return RESULT_OK; } - -@@ -144,7 +131,7 @@ - for ( ui32_t i = 0; i < CBC_BLOCK_SIZE; i++ ) - tmp_buf[i] = in_p[i] ^ Ctx->m_IVec[i]; - -- AES_encrypt(tmp_buf, Ctx->m_IVec, Ctx); -+ aes128_encrypt(Ctx, sizeof(tmp_buf), Ctx->m_IVec, tmp_buf); - memcpy(out_p, Ctx->m_IVec, CBC_BLOCK_SIZE); - - in_p += CBC_BLOCK_SIZE; -@@ -158,7 +145,7 @@ - - //------------------------------------------------------------------------------------------ - --class ASDCP::AESDecContext::h__AESContext : public AES_KEY -+class ASDCP::AESDecContext::h__AESContext : public aes128_ctx - { - public: - Kumu::SymmetricKey m_KeyBuf; -@@ -182,12 +169,7 @@ +@@ -182,11 +168,7 @@ ASDCP::AESDecContext::InitKey(const byte_t* key) m_Context = new h__AESContext; m_Context->m_KeyBuf.Set(key); @@ -1875,2476 +692,31 @@ - print_ssl_error(); - return RESULT_CRYPT_INIT; - } -- -+ aes128_set_decrypt_key(m_Context, m_Context->m_KeyBuf.Value()) ; ++ aes128_set_decrypt_key(m_Context, m_Context->m_KeyBuf.Value()); + return RESULT_OK; } - -@@ -226,7 +208,7 @@ - - while ( block_size ) - { -- AES_decrypt(in_p, out_p, Ctx); -+ aes128_decrypt(Ctx, sizeof(in_p), out_p,in_p ); - - for ( ui32_t i = 0; i < CBC_BLOCK_SIZE; i++ ) - out_p[i] ^= Ctx->m_IVec[i]; -@@ -250,7 +232,7 @@ - - class HMACContext::h__HMACContext - { -- SHA_CTX m_SHA; -+ sha1_ctx m_SHA; - byte_t m_key[KeyLen]; - ASDCP_NO_COPY_CONSTRUCT(h__HMACContext); - -@@ -264,12 +246,12 @@ - // SMPTE 429.6 MIC key generation - void SetKey(const byte_t* key) - { -- byte_t rng_buf[SHA_DIGEST_LENGTH*2]; -- Kumu::Gen_FIPS_186_Value(key, KeyLen, rng_buf, SHA_DIGEST_LENGTH*2); -+ byte_t rng_buf[SHA1_DIGEST_SIZE*2]; -+ Kumu::Gen_FIPS_186_Value(key, KeyLen, rng_buf, SHA1_DIGEST_SIZE*2); - - // rng_buf contains two rounds, x0 and x1 (each 160 bits). - // Use x1 per SMPTE 430-6-2006 Sec. 7.10 -- memcpy(m_key, rng_buf+SHA_DIGEST_LENGTH, KeyLen); -+ memcpy(m_key, rng_buf+SHA1_DIGEST_SIZE, KeyLen); - Reset(); - } - -@@ -278,14 +260,14 @@ - { - static byte_t key_nonce[KeyLen] = { 0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, - 0x88, 0x99, 0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff }; -- byte_t sha_buf[SHA_DIGEST_LENGTH]; -+ byte_t sha_buf[SHA1_DIGEST_SIZE]; - - // 7.10: MICKey = trunc( SHA1 ( key, key_nonce ) ) -- SHA_CTX SHA; -- SHA1_Init(&SHA); -- SHA1_Update(&SHA, key, KeyLen); -- SHA1_Update(&SHA, key_nonce, KeyLen); -- SHA1_Final(sha_buf, &SHA); -+ sha1_ctx SHA; -+ sha1_init(&SHA); -+ sha1_update(&SHA, KeyLen, key); -+ sha1_update(&SHA, KeyLen, key_nonce); -+ sha1_digest(&SHA, sizeof(sha_buf), sha_buf); - memcpy(m_key, sha_buf, KeyLen); - Reset(); - } -@@ -300,14 +282,14 @@ - - memset(m_SHAValue, 0, HMAC_SIZE); - m_Final = false; -- SHA1_Init(&m_SHA); -+ sha1_init(&m_SHA); - - // H(K XOR opad, H(K XOR ipad, text)) - // ^^^^^^^^^^ - for ( ui32_t i = 0; i < B_len; i++ ) - xor_buf[i] ^= ipad_const; - -- SHA1_Update(&m_SHA, xor_buf, B_len); -+ sha1_update(&m_SHA, B_len, xor_buf); - } - - // -@@ -316,37 +298,37 @@ - { - // H(K XOR opad, H(K XOR ipad, text)) - // ^^^^ -- SHA1_Update(&m_SHA, buf, buf_len); -+ sha1_update(&m_SHA, buf_len,buf); - } - - // - void - Finalize() - { -- SHA_CTX SHA; -- SHA1_Init(&SHA); -+ sha1_ctx SHA; -+ sha1_init(&SHA); - - byte_t xor_buf[B_len]; - memset(xor_buf, 0, B_len); - memcpy(xor_buf, m_key, KeyLen); - -- SHA1_Init(&SHA); -+ sha1_init(&SHA); - - // H(K XOR opad, H(K XOR ipad, text)) - // ^^^^^^^^^^ - for ( ui32_t i = 0; i < B_len; i++ ) - xor_buf[i] ^= opad_const; - -- SHA1_Update(&SHA, xor_buf, B_len); -+ sha1_update(&SHA, B_len, xor_buf); - - // H(K XOR opad, H(K XOR ipad, text)) - // ^ -- SHA1_Final(m_SHAValue, &m_SHA); -- SHA1_Update(&SHA, m_SHAValue, HMAC_SIZE); -+ sha1_digest( &m_SHA, sizeof(m_SHAValue), m_SHAValue); -+ sha1_update(&SHA, sizeof(m_SHAValue), m_SHAValue); - - // H(K XOR opad, H(K XOR ipad, text)) - // ^ -- SHA1_Final(m_SHAValue, &SHA); -+ sha1_digest( &m_SHA, sizeof(m_SHAValue),m_SHAValue); - m_Final = true; - } - }; -diff -ruN asdcplib.old/src/AS_DCP.h asdcplib/src/AS_DCP.h ---- asdcplib.old/src/AS_DCP.h 2017-01-17 22:38:59.494475028 +0100 -+++ asdcplib/src/AS_DCP.h 2017-01-17 22:40:55.166469875 +0100 -@@ -52,7 +52,7 @@ - o SMPTE ST 422:2006 - JPEG 2000 picture in GC - o SMPTE ST 382:2007 - WAV/PCM sound in GC - o IETF RFC 2104 - HMAC/SHA1 -- o NIST FIPS 197 - AES (Rijndael) (via OpenSSL) -+ o NIST FIPS 197 - AES (Rijndael) (via Nettle) - - o MXF Interop Track File Specification - o MXF Interop Track File Essence Encryption Specification -@@ -75,7 +75,7 @@ - o Read header metadata from an AS-DCP file - - This project depends upon the following libraries: -- - OpenSSL http://www.openssl.org/ -+ - Nettle http://www.nettle.org/ - - Expat http://expat.sourceforge.net/ or - Xerces-C http://xerces.apache.org/xerces-c/ - An XML library is not needed if you don't need support for SMPTE ST 429-5:2009. -diff -ruN asdcplib.old/src/asdcp-test.cpp asdcplib/src/asdcp-test.cpp ---- asdcplib.old/src/asdcp-test.cpp 2017-01-17 22:38:59.494475028 +0100 -+++ asdcplib/src/asdcp-test.cpp 2017-01-17 22:40:55.166469875 +0100 -@@ -53,7 +53,7 @@ - #include - #include - #include --#include -+#include - - #include - #include -@@ -1889,8 +1889,8 @@ - - ASDCP_TEST_NULL_STR(filename); - FileReader Reader; -- SHA_CTX Ctx; -- SHA1_Init(&Ctx); -+ sha1_ctx Ctx; -+ sha1_init(&Ctx); - ByteString Buf(8192); - - Result_t result = Reader.OpenRead(filename); -@@ -1907,7 +1907,7 @@ - } - - if ( ASDCP_SUCCESS(result) ) -- SHA1_Update(&Ctx, Buf.Data(), read_count); -+ sha1_update(&Ctx, read_count, Buf.Data()); - } - - if ( ASDCP_SUCCESS(result) ) -@@ -1915,7 +1915,7 @@ - const ui32_t sha_len = 20; - byte_t bin_buf[sha_len]; - char sha_buf[64]; -- SHA1_Final(bin_buf, &Ctx); -+ sha1_digest(&Ctx, sizeof(bin_buf), bin_buf); - - fprintf(stdout, "%s %s\n", base64encode(bin_buf, sha_len, sha_buf, 64), filename); - } -diff -ruN asdcplib.old/src/asdcp-test.cpp.orig asdcplib/src/asdcp-test.cpp.orig ---- asdcplib.old/src/asdcp-test.cpp.orig 1970-01-01 01:00:00.000000000 +0100 -+++ asdcplib/src/asdcp-test.cpp.orig 2017-01-17 22:40:39.146470588 +0100 -@@ -0,0 +1,2101 @@ -+/* -+Copyright (c) 2003-2014, John Hurst -+All rights reserved. -+ -+Redistribution and use in source and binary forms, with or without -+modification, are permitted provided that the following conditions -+are met: -+1. Redistributions of source code must retain the above copyright -+ notice, this list of conditions and the following disclaimer. -+2. Redistributions in binary form must reproduce the above copyright -+ notice, this list of conditions and the following disclaimer in the -+ documentation and/or other materials provided with the distribution. -+3. The name of the author may not be used to endorse or promote products -+ derived from this software without specific prior written permission. -+ -+THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR -+IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -+OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. -+IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, -+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -+NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -+THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -+*/ -+/*! \file asdcp-test.cpp -+ \version $Id: asdcp-test.cpp,v 1.54 2016/11/22 17:58:19 jhurst Exp $ -+ \brief AS-DCP file manipulation utility -+ -+ This program provides command line access to the major features of the asdcplib -+ library, and serves as a library unit test which provides the functionality of -+ the supported use cases. -+ -+ For more information about asdcplib, please refer to the header file AS_DCP.h -+ -+ WARNING: While the asdcplib library attempts to provide a complete and secure -+ implementation of the cryptographic features of the AS-DCP file formats, this -+ unit test program is NOT secure and is therefore NOT SUITABLE FOR USE in a -+ production environment without some modification. -+ -+ In particular, this program uses weak IV generation and externally generated -+ plaintext keys. These shortcomings exist because cryptographic-quality -+ random number generation and key management are outside the scope of the -+ asdcplib library. Developers using asdcplib for commercial implementations -+ claiming SMPTE conformance are expected to provide proper implementations of -+ these features. -+*/ -+ -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+ -+#include -+#include -+ -+using namespace ASDCP; -+ -+const ui32_t FRAME_BUFFER_SIZE = 4 * Kumu::Megabyte; -+ -+//------------------------------------------------------------------------------------------ -+// -+// command line option parser class -+ -+static const char* PROGRAM_NAME = "asdcp-test"; // program name for messages -+const ui32_t MAX_IN_FILES = 16; // maximum number of input files handled by -+ // the command option parser -+ -+// local program identification info written to file headers -+class MyInfo : public WriterInfo -+{ -+public: -+ MyInfo() -+ { -+ static byte_t default_ProductUUID_Data[UUIDlen] = -+ { 0x7d, 0x83, 0x6e, 0x16, 0x37, 0xc7, 0x4c, 0x22, -+ 0xb2, 0xe0, 0x46, 0xa7, 0x17, 0xe8, 0x4f, 0x42 }; -+ -+ memcpy(ProductUUID, default_ProductUUID_Data, UUIDlen); -+ CompanyName = "WidgetCo"; -+ ProductName = "asdcp-test"; -+ ProductVersion = ASDCP::Version(); -+ } -+} s_MyInfo; -+ -+ -+ -+// Increment the iterator, test for an additional non-option command line argument. -+// Causes the caller to return if there are no remaining arguments or if the next -+// argument begins with '-'. -+#define TEST_EXTRA_ARG(i,c) if ( ++i >= argc || argv[(i)][0] == '-' ) \ -+ { \ -+ fprintf(stderr, "Argument not found for option -%c.\n", (c)); \ -+ return; \ -+ } -+// -+void -+banner(FILE* stream = stdout) -+{ -+ fprintf(stream, "\n\ -+%s (asdcplib %s)\n\n\ -+Copyright (c) 2003-2015 John Hurst\n\n\ -+asdcplib may be copied only under the terms of the license found at\n\ -+the top of every file in the asdcplib distribution kit.\n\n\ -+Specify the -h (help) option for further information about %s\n\n", -+ PROGRAM_NAME, ASDCP::Version(), PROGRAM_NAME); -+} -+ -+// -+void -+usage(FILE* stream = stdout) -+{ -+ fprintf(stream, "\ -+USAGE: %s -c [-3] [-a ] [-b ]\n\ -+ [-d ] [-e|-E] [-f ] [-j ]\n\ -+ [-k ] [-l