Version in base suite: 8.4.16-1~deb13u1 Version in overlay suite: 8.4.21-1~deb13u1 Base version: php8.4_8.4.21-1~deb13u1 Target version: php8.4_8.4.23-1~deb13u1 Base file: /srv/ftp-master.debian.org/ftp/pool/main/p/php8.4/php8.4_8.4.21-1~deb13u1.dsc Target file: /srv/ftp-master.debian.org/policy/pool/main/p/php8.4/php8.4_8.4.23-1~deb13u1.dsc /srv/release.debian.org/tmp/uFcy4rCe5K/php8.4-8.4.23/ext/zlib/tests/bug55544-win.phpt |binary php8.4-8.4.23/.github/CODEOWNERS | 2 php8.4-8.4.23/.github/actions/setup-windows/action.yml | 3 php8.4-8.4.23/.github/matrix.php | 14 php8.4-8.4.23/.github/scripts/windows/find-vs-toolset.bat | 7 php8.4-8.4.23/.github/workflows/test-suite.yml | 112 php8.4-8.4.23/EXTENSIONS | 1 php8.4-8.4.23/NEWS | 123 php8.4-8.4.23/UPGRADING | 10 php8.4-8.4.23/Zend/asm/save_xmm_x86_64_ms_masm.asm | 48 php8.4-8.4.23/Zend/tests/try/gh22280.phpt | 19 php8.4-8.4.23/Zend/zend.h | 2 php8.4-8.4.23/Zend/zend_compile.c | 2 php8.4-8.4.23/Zend/zend_inheritance.c | 13 php8.4-8.4.23/Zend/zend_ini_scanner.c | 2 php8.4-8.4.23/Zend/zend_ini_scanner_defs.h | 2 php8.4-8.4.23/Zend/zend_language_scanner.c | 2 php8.4-8.4.23/Zend/zend_language_scanner_defs.h | 2 php8.4-8.4.23/Zend/zend_opcode.c | 4 php8.4-8.4.23/Zend/zend_vm_def.h | 5 php8.4-8.4.23/Zend/zend_vm_execute.h | 25 php8.4-8.4.23/configure | 9203 ++++------ php8.4-8.4.23/configure.ac | 2 php8.4-8.4.23/debian/changelog | 8 php8.4-8.4.23/ext/bcmath/bcmath.c | 18 php8.4-8.4.23/ext/bcmath/libbcmath/src/round.c | 10 php8.4-8.4.23/ext/bcmath/tests/bcround_precision_bounds.phpt | 28 php8.4-8.4.23/ext/com_dotnet/tests/variants.phpt | 10 php8.4-8.4.23/ext/curl/config.w32 | 24 php8.4-8.4.23/ext/date/config0.m4 | 4 php8.4-8.4.23/ext/date/php_date.c | 16 php8.4-8.4.23/ext/date/tests/date_period_bad_iso_format.phpt | 4 php8.4-8.4.23/ext/date/tests/gh18422.phpt | 21 php8.4-8.4.23/ext/dba/libinifile/inifile.c | 6 php8.4-8.4.23/ext/dom/CREDITS | 2 php8.4-8.4.23/ext/dom/document.c | 42 php8.4-8.4.23/ext/dom/namespace_compat.c | 138 php8.4-8.4.23/ext/dom/node.c | 91 php8.4-8.4.23/ext/dom/php_dom.h | 7 php8.4-8.4.23/ext/dom/tests/gh22219.phpt | 54 php8.4-8.4.23/ext/dom/tests/modern/xml/gh21544.phpt | 28 php8.4-8.4.23/ext/exif/exif.c | 4 php8.4-8.4.23/ext/gd/libgd/gd.c | 13 php8.4-8.4.23/ext/gd/libgd/gd_filter.c | 26 php8.4-8.4.23/ext/gd/libgd/gd_interpolation.c | 35 php8.4-8.4.23/ext/gd/libgd/gd_security.c | 18 php8.4-8.4.23/ext/gd/libgd/gdhelpers.h | 1 php8.4-8.4.23/ext/gd/tests/gh16559.phpt | 7 php8.4-8.4.23/ext/gd/tests/gh17349.phpt | 6 php8.4-8.4.23/ext/gd/tests/gh19666.phpt | 34 php8.4-8.4.23/ext/gd/tests/gh19730.phpt | 18 php8.4-8.4.23/ext/gd/tests/gh19739.phpt | 18 php8.4-8.4.23/ext/intl/calendar/calendar_methods.cpp | 30 php8.4-8.4.23/ext/intl/calendar/gregoriancalendar_methods.cpp | 2 php8.4-8.4.23/ext/intl/dateformat/dateformat_create.cpp | 2 php8.4-8.4.23/ext/intl/spoofchecker/spoofchecker.stub.php | 4 php8.4-8.4.23/ext/intl/spoofchecker/spoofchecker_arginfo.h | 22 php8.4-8.4.23/ext/intl/spoofchecker/spoofchecker_main.c | 6 php8.4-8.4.23/ext/intl/tests/calendar_set_date_out_of_bounds.phpt | 32 php8.4-8.4.23/ext/intl/tests/calendar_set_date_time_out_of_bounds.phpt | 53 php8.4-8.4.23/ext/intl/tests/calendar_set_out_of_bounds.phpt | 55 php8.4-8.4.23/ext/intl/tests/calendar_uninitialized_argument_position.phpt | 36 php8.4-8.4.23/ext/intl/tests/gh12243.phpt | 4 php8.4-8.4.23/ext/intl/tests/gregoriancalendar___construct_out_of_bounds.phpt | 53 php8.4-8.4.23/ext/intl/tests/spoofchecker_007.phpt | 2 php8.4-8.4.23/ext/intl/tests/spoofchecker_008.phpt | 2 php8.4-8.4.23/ext/intl/tests/spoofchecker_supported_icu57_apis.phpt | 42 php8.4-8.4.23/ext/intl/tests/spoofchecker_unknown_restriction_level.phpt | 2 php8.4-8.4.23/ext/intl/tests/timezone_getDisplayName_error.phpt | 6 php8.4-8.4.23/ext/intl/tests/transliterator_transliterate_error.phpt | 36 php8.4-8.4.23/ext/intl/timezone/timezone_methods.cpp | 6 php8.4-8.4.23/ext/intl/transliterator/transliterator_methods.c | 10 php8.4-8.4.23/ext/intl/uchar/uchar.c | 2 php8.4-8.4.23/ext/json/json_scanner.c | 2 php8.4-8.4.23/ext/json/php_json_scanner_defs.h | 2 php8.4-8.4.23/ext/libxml/tests/bug61367-read_2.phpt | 3 php8.4-8.4.23/ext/libxml/tests/libxml_disable_entity_loader_2.phpt | 3 php8.4-8.4.23/ext/libxml/tests/libxml_entity_loading_disabled_by_default.phpt | 4 php8.4-8.4.23/ext/mbstring/mbstring.c | 24 php8.4-8.4.23/ext/mysqli/mysqli_api.c | 8 php8.4-8.4.23/ext/mysqli/tests/mysqli_execute_query_leak.phpt | 37 php8.4-8.4.23/ext/mysqli/tests/mysqli_real_connect_retry_attr.phpt | 26 php8.4-8.4.23/ext/mysqlnd/mysqlnd_alloc.c | 10 php8.4-8.4.23/ext/mysqlnd/mysqlnd_connection.c | 11 php8.4-8.4.23/ext/mysqlnd/mysqlnd_result.c | 6 php8.4-8.4.23/ext/mysqlnd/mysqlnd_wireprotocol.c | 2 php8.4-8.4.23/ext/opcache/jit/ir/.gitignore | 3 php8.4-8.4.23/ext/opcache/jit/ir/ir.c | 66 php8.4-8.4.23/ext/opcache/jit/ir/ir.h | 13 php8.4-8.4.23/ext/opcache/jit/ir/ir_aarch64.dasc | 30 php8.4-8.4.23/ext/opcache/jit/ir/ir_builder.h | 46 php8.4-8.4.23/ext/opcache/jit/ir/ir_cfg.c | 19 php8.4-8.4.23/ext/opcache/jit/ir/ir_check.c | 21 php8.4-8.4.23/ext/opcache/jit/ir/ir_dump.c | 4 php8.4-8.4.23/ext/opcache/jit/ir/ir_fold.h | 162 php8.4-8.4.23/ext/opcache/jit/ir/ir_gcm.c | 47 php8.4-8.4.23/ext/opcache/jit/ir/ir_private.h | 12 php8.4-8.4.23/ext/opcache/jit/ir/ir_ra.c | 70 php8.4-8.4.23/ext/opcache/jit/ir/ir_save.c | 5 php8.4-8.4.23/ext/opcache/jit/ir/ir_sccp.c | 139 php8.4-8.4.23/ext/opcache/jit/ir/ir_x86.dasc | 26 php8.4-8.4.23/ext/opcache/jit/zend_jit_ir.c | 25 php8.4-8.4.23/ext/opcache/jit/zend_jit_trace.c | 5 php8.4-8.4.23/ext/opcache/tests/gh20469.phpt | 134 php8.4-8.4.23/ext/opcache/tests/gh20469_child_variance_resolves_parent.phpt | 181 php8.4-8.4.23/ext/opcache/tests/gh20469_inheritance_cache_cleanup.phpt | 22 php8.4-8.4.23/ext/opcache/tests/gh20469_inherited_method.phpt | 138 php8.4-8.4.23/ext/opcache/tests/jit/gh21368_call_vm.phpt | 36 php8.4-8.4.23/ext/opcache/tests/jit/gh22004.phpt | 63 php8.4-8.4.23/ext/opcache/tests/opt/gh21972.phpt | 39 php8.4-8.4.23/ext/opcache/zend_persist.c | 3 php8.4-8.4.23/ext/openssl/openssl.c | 33 php8.4-8.4.23/ext/openssl/php_openssl.h | 4 php8.4-8.4.23/ext/openssl/tests/gh22186.phpt | 32 php8.4-8.4.23/ext/openssl/xp_ssl.c | 14 php8.4-8.4.23/ext/pdo/pdo_sql_parser.c | 2 php8.4-8.4.23/ext/pdo_mysql/mysql_sql_parser.c | 2 php8.4-8.4.23/ext/pdo_pgsql/pgsql_sql_parser.c | 2 php8.4-8.4.23/ext/pdo_sqlite/sqlite_sql_parser.c | 2 php8.4-8.4.23/ext/phar/phar_object.c | 13 php8.4-8.4.23/ext/phar/phar_path_check.c | 2 php8.4-8.4.23/ext/phar/tests/mkdir.phpt | 9 php8.4-8.4.23/ext/phar/tests/tar/gh21986.phpt | 43 php8.4-8.4.23/ext/phar/util.c | 30 php8.4-8.4.23/ext/readline/readline_cli.c | 4 php8.4-8.4.23/ext/readline/tests/readline_cli_ini_directive.phpt | 21 php8.4-8.4.23/ext/reflection/php_reflection.c | 4 php8.4-8.4.23/ext/reflection/tests/ReflectionClass_getProperty_003.phpt | 2 php8.4-8.4.23/ext/reflection/tests/ReflectionClass_getProperty_004.phpt | 2 php8.4-8.4.23/ext/soap/php_encoding.c | 38 php8.4-8.4.23/ext/soap/php_packet_soap.c | 40 php8.4-8.4.23/ext/soap/soap.c | 24 php8.4-8.4.23/ext/soap/tests/soap_array_index_overflow.phpt | 89 php8.4-8.4.23/ext/spl/spl_array.c | 4 php8.4-8.4.23/ext/spl/spl_fixedarray.c | 12 php8.4-8.4.23/ext/spl/spl_observer.c | 23 php8.4-8.4.23/ext/spl/tests/ArrayObject_construct_during_sorting.phpt | 34 php8.4-8.4.23/ext/spl/tests/SplFixedArray_setSize_destruct_grow_during_clear.phpt | 28 php8.4-8.4.23/ext/spl/tests/gh21927.phpt | 151 php8.4-8.4.23/ext/sqlite3/sqlite3.c | 44 php8.4-8.4.23/ext/standard/basic_functions.c | 14 php8.4-8.4.23/ext/standard/credits_ext.h | 2 php8.4-8.4.23/ext/standard/head.c | 9 php8.4-8.4.23/ext/standard/tests/GHSA-96wq-48vp-hh57.phpt | 2 php8.4-8.4.23/ext/standard/tests/network/setcookie_option_case_variant_leak.phpt | 15 php8.4-8.4.23/ext/standard/tests/versioning/version_compare.phpt | 5 php8.4-8.4.23/ext/standard/url_scanner_ex.c | 2 php8.4-8.4.23/ext/standard/var_unserializer.c | 2 php8.4-8.4.23/ext/standard/versioning.c | 10 php8.4-8.4.23/ext/xml/xml.c | 14 php8.4-8.4.23/ext/xmlreader/tests/012.phpt | 4 php8.4-8.4.23/ext/zend_test/observer.c | 23 php8.4-8.4.23/ext/zend_test/php_test.h | 1 php8.4-8.4.23/ext/zend_test/tests/observer_jit_vm_interrupt.inc | 8 php8.4-8.4.23/ext/zend_test/tests/observer_jit_vm_interrupt.phpt | 50 php8.4-8.4.23/ext/zip/php_zip.c | 16 php8.4-8.4.23/ext/zlib/tests/func.inc | 18 php8.4-8.4.23/ext/zlib/tests/gzencode_variation2-win32.phpt | 7 php8.4-8.4.23/ext/zlib/tests/gzgetc_basic.phpt | 4 php8.4-8.4.23/ext/zlib/tests/gzgetc_basic_1.phpt | 4 php8.4-8.4.23/ext/zlib/tests/inflate_add_no_dict.phpt | 22 php8.4-8.4.23/ext/zlib/zlib.c | 3 php8.4-8.4.23/main/php_config.h.in | 4 php8.4-8.4.23/main/php_version.h | 6 php8.4-8.4.23/sapi/phpdbg/phpdbg_lexer.c | 2 php8.4-8.4.23/tests/classes/autoload_016.phpt | 4 php8.4-8.4.23/win32/build/confutils.js | 2 167 files changed, 7670 insertions(+), 5439 deletions(-) dpkg-source: warning: cannot verify inline signature for /srv/release.debian.org/tmp/tmpz8jiwm3t/php8.4_8.4.21-1~deb13u1.dsc: no acceptable signature found dpkg-source: warning: cannot verify inline signature for /srv/release.debian.org/tmp/tmpz8jiwm3t/php8.4_8.4.23-1~deb13u1.dsc: no acceptable signature found diff -Nru php8.4-8.4.21/.github/CODEOWNERS php8.4-8.4.23/.github/CODEOWNERS --- php8.4-8.4.21/.github/CODEOWNERS 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/.github/CODEOWNERS 2026-07-01 04:28:00.000000000 +0000 @@ -25,7 +25,7 @@ /ext/gd @devnexen /ext/gettext @devnexen /ext/gmp @Girgias -/ext/intl @devnexen +/ext/intl @devnexen @LamentXU123 /ext/libxml @devnexen /ext/json @bukka /ext/mbstring @alexdowad @youkidearitai diff -Nru php8.4-8.4.21/.github/actions/setup-windows/action.yml php8.4-8.4.23/.github/actions/setup-windows/action.yml --- php8.4-8.4.21/.github/actions/setup-windows/action.yml 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/.github/actions/setup-windows/action.yml 2026-07-01 04:28:00.000000000 +0000 @@ -16,5 +16,6 @@ - name: Setup PostgreSQL shell: pwsh run: | - Set-Service -Name "postgresql-x64-14" -StartupType manual -Status Running + $postgresService = if ($env:PHP_BUILD_CRT -eq "vs18") { "postgresql-x64-17" } else { "postgresql-x64-14" } + Set-Service -Name $postgresService -StartupType manual -Status Running pwsh -Command { $env:PGPASSWORD="root"; & "$env:PGBIN\psql" -U postgres -c "ALTER USER postgres WITH PASSWORD 'Password12!';" } diff -Nru php8.4-8.4.21/.github/matrix.php php8.4-8.4.23/.github/matrix.php --- php8.4-8.4.21/.github/matrix.php 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/.github/matrix.php 2026-07-01 04:28:00.000000000 +0000 @@ -61,7 +61,6 @@ $test_macos = in_array('CI: macOS', $labels, true); $test_msan = in_array('CI: MSAN', $labels, true); $test_opcache_variation = in_array('CI: Opcache Variation', $labels, true); - $test_pecl = in_array('CI: PECL', $labels, true); $test_solaris = in_array('CI: Solaris', $labels, true); $test_windows = in_array('CI: Windows', $labels, true); @@ -137,9 +136,6 @@ if ($all_jobs || $test_opcache_variation) { $jobs['OPCACHE_VARIATION'] = true; } - if (($all_jobs && $ref === 'master') || $test_pecl) { - $jobs['PECL'] = true; - } if (version_compare($php_version, '8.6', '>=') && ($all_jobs || $test_solaris)) { $jobs['SOLARIS'] = true; } @@ -148,14 +144,16 @@ if ($all_variations) { $matrix[] = ['asan' => true, 'opcache' => true, 'x64' => true, 'zts' => true]; $matrix[] = ['asan' => false, 'opcache' => false, 'x64' => false, 'zts' => false]; - if (version_compare($php_version, '8.5', '>=')) { + if (version_compare($php_version, '8.6', '>=')) { $matrix[] = ['asan' => false, 'opcache' => true, 'x64' => true, 'zts' => true, 'clang' => true]; } } $jobs['WINDOWS']['matrix'] = ['include' => $matrix]; - $jobs['WINDOWS']['config'] = version_compare($php_version, '8.4', '>=') - ? ['vs_crt_version' => 'vs17'] - : ['vs_crt_version' => 'vs16']; + $jobs['WINDOWS']['config'] = match (true) { + version_compare($php_version, '8.6', '>=') => ['vs_crt_version' => 'vs18', 'runs_on' => 'windows-2025-vs2026'], + version_compare($php_version, '8.4', '>=') => ['vs_crt_version' => 'vs17', 'runs_on' => 'windows-2022'], + default => ['vs_crt_version' => 'vs16', 'runs_on' => 'windows-2022'], + }; } if ($all_jobs || !$no_jobs || $test_freebsd) { $jobs['FREEBSD']['matrix'] = $all_variations && version_compare($php_version, '8.3', '>=') diff -Nru php8.4-8.4.21/.github/scripts/windows/find-vs-toolset.bat php8.4-8.4.23/.github/scripts/windows/find-vs-toolset.bat --- php8.4-8.4.21/.github/scripts/windows/find-vs-toolset.bat 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/.github/scripts/windows/find-vs-toolset.bat 2026-07-01 04:28:00.000000000 +0000 @@ -3,7 +3,7 @@ setlocal enabledelayedexpansion if "%~1"=="" ( - echo ERROR: Usage: %~nx0 [vc14^|vc15^|vs16^|vs17] + echo ERROR: Usage: %~nx0 [vc14^|vc15^|vs16^|vs17^|vs18] exit /b 1 ) @@ -11,6 +11,7 @@ set "toolsets_vc15=" set "toolsets_vs16=" set "toolsets_vs17=" +set "toolsets_vs18=" for /f "usebackq tokens=*" %%I in (`vswhere.exe -latest -find "VC\Tools\MSVC"`) do set "MSVCDIR=%%I" @@ -30,8 +31,10 @@ set "toolsets_vc15=%%D" ) else if !min! LEQ 29 ( set "toolsets_vs16=%%D" - ) else ( + ) else if !min! LEQ 49 ( set "toolsets_vs17=%%D" + ) else ( + set "toolsets_vs18=%%D" ) ) ) diff -Nru php8.4-8.4.21/.github/workflows/test-suite.yml php8.4-8.4.23/.github/workflows/test-suite.yml --- php8.4-8.4.21/.github/workflows/test-suite.yml 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/.github/workflows/test-suite.yml 2026-07-01 04:28:00.000000000 +0000 @@ -827,126 +827,18 @@ uses: ./.github/actions/test-libmysqlclient - name: Verify generated files are up to date uses: ./.github/actions/verify-generated-files - PECL: - if: ${{ fromJson(inputs.branch).jobs.PECL }} - runs-on: ubuntu-24.04 - steps: - - name: git checkout PHP - uses: actions/checkout@v6 - with: - path: php - ref: ${{ fromJson(inputs.branch).ref }} - # Used for ccache action - - name: Move .github - run: mv php/.github . - - name: git checkout apcu - uses: actions/checkout@v6 - with: - repository: krakjoe/apcu - path: apcu - - name: git checkout imagick - uses: actions/checkout@v6 - with: - repository: Imagick/imagick - path: imagick - - name: git checkout memcached - uses: actions/checkout@v6 - with: - repository: php-memcached-dev/php-memcached - path: memcached - - name: git checkout redis - if: ${{ false }} - uses: actions/checkout@v6 - with: - repository: phpredis/phpredis - path: redis - - name: git checkout xdebug - uses: actions/checkout@v6 - with: - repository: xdebug/xdebug - path: xdebug - - name: git checkout yaml - uses: actions/checkout@v6 - with: - repository: php/pecl-file_formats-yaml - path: yaml - - name: apt - run: | - sudo apt-get update - sudo apt-get install -y --no-install-recommends \ - ccache \ - libmemcached-dev \ - imagemagick \ - libmagickwand-dev \ - bison \ - re2c - - name: ccache - uses: ./.github/actions/ccache - with: - name: "${{ github.job }}" - php_directory: php - - name: build PHP - run: | - cd php - ./buildconf --force - ./configure \ - --enable-option-checking=fatal \ - --prefix=/opt/php \ - --enable-cli \ - --disable-all \ - --enable-session \ - --enable-werror - make -j$(/usr/bin/nproc) - sudo make install - - name: build apcu - run: | - cd apcu - /opt/php/bin/phpize - ./configure --prefix=/opt/php --with-php-config=/opt/php/bin/php-config - make -j$(/usr/bin/nproc) - - name: build imagick - run: | - cd imagick - /opt/php/bin/phpize - ./configure --prefix=/opt/php --with-php-config=/opt/php/bin/php-config - make -j$(/usr/bin/nproc) - - name: build memcached - run: | - cd memcached - /opt/php/bin/phpize - ./configure --prefix=/opt/php --with-php-config=/opt/php/bin/php-config - make -j$(/usr/bin/nproc) - - name: build redis - if: ${{ false }} - run: | - cd redis - /opt/php/bin/phpize - ./configure --prefix=/opt/php --with-php-config=/opt/php/bin/php-config - make -j$(/usr/bin/nproc) - - name: build xdebug - run: | - cd xdebug - /opt/php/bin/phpize - ./configure --prefix=/opt/php --with-php-config=/opt/php/bin/php-config - make -j$(/usr/bin/nproc) - - name: build yaml - run: | - cd yaml - /opt/php/bin/phpize - ./configure --prefix=/opt/php --with-php-config=/opt/php/bin/php-config - make -j$(/usr/bin/nproc) WINDOWS: if: ${{ fromJson(inputs.branch).jobs.WINDOWS }} strategy: fail-fast: false matrix: ${{ fromJson(inputs.branch).jobs.WINDOWS.matrix }} name: "WINDOWS_${{ matrix.x64 && 'X64' || 'X86' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}${{ matrix.asan && '_ASAN' || ''}}${{ matrix.clang && '_CLANG' || ''}}" - runs-on: windows-2022 + runs-on: ${{ fromJson(inputs.branch).jobs.WINDOWS.config.runs_on }} env: PHP_BUILD_CACHE_BASE_DIR: C:\build-cache PHP_BUILD_OBJ_DIR: C:\obj PHP_BUILD_CACHE_SDK_DIR: C:\build-cache\sdk - PHP_BUILD_SDK_BRANCH: php-sdk-2.5.0 + PHP_BUILD_SDK_BRANCH: php-sdk-2.7.1 PHP_BUILD_CRT: ${{ fromJson(inputs.branch).jobs.WINDOWS.config.vs_crt_version }} PLATFORM: ${{ matrix.x64 && 'x64' || 'x86' }} THREAD_SAFE: "${{ matrix.zts && '1' || '0' }}" diff -Nru php8.4-8.4.21/EXTENSIONS php8.4-8.4.23/EXTENSIONS --- php8.4-8.4.21/EXTENSIONS 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/EXTENSIONS 2026-07-01 04:28:00.000000000 +0000 @@ -343,6 +343,7 @@ EXTENSION: intl PRIMARY MAINTAINER: Stanislav Malyshev (2008 - 2019) Anatol Belski (2017 - 2018) + Weilin Du (2026 - 2026) MAINTENANCE: Maintained STATUS: Working SINCE: 5.3 diff -Nru php8.4-8.4.21/NEWS php8.4-8.4.23/NEWS --- php8.4-8.4.21/NEWS 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/NEWS 2026-07-01 04:28:00.000000000 +0000 @@ -1,5 +1,126 @@ PHP NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| +03 Jul 2026, PHP 8.4.23 + +- Core: + . Fixed bug GH-22280 (Incorrect compile error for goto to label preceding + try/finally block). (Pratik Bhujel) + +- BCMath: + . Fixed issues with oversized allocations and signed overflow in bcround() + and BcMath\Number::round(). (edorian) + +- Date: + . Fix incorrect recurrence check of DatePeriod::createFromISO8601String(). + (ndossche) + +- DOM: + . Fix GH-22219 (Dom\XMLDocument::schemaValidate fails to resolve + xs:QName with prefix from imported schema). (David Carlier) + +- Exif: + . Read correct value for single and double tags. (ndossche) + +- GD: + . Fixed bug GH-22121 (Double free in gdImageSetStyle() after + overflow-triggered early return). (iliaal) + . Fixed bug GH-19666 (imageconvolution() unexpected nan filter value). + (David Carlier) + . Fixed bug GH-19739 (imageellipse/imagefilledellipse overflow). + (David Carlier) + . Fixed bug GH-19730 (imageaffine overflow). + (David Carlier) + +- Intl: + . Fix incorrect argument positions for uninitialized calendar arguments in + IntlCalendar::equals(), ::before(), ::after(), and ::isEquivalentTo(), and + for invalid start/end arguments in transliterator_transliterate(). + (Weilin Du) + . Fixed IntlTimeZone::getDisplayName() to synchronize object error state + for invalid display types. (Weilin Du) + . Fixed Spoofchecker restriction-level APIs to only be exposed with ICU 53 + and later. (Graham Campbell) + +- mysqli: + . Fix stmt->query leak in mysqli_execute_query() validation errors. + (David Carlier) + +- Opcache: + . Fixed bug GH-20469 (Unsafe inheritance cache replay with reentrant + autoloading). (Levi Morrison) + +- OpenSSL: + . Fixed bug GH-22187 (Memory corruption (zend_mm_heap corrupted) in + openssl_encrypt with AES-WRAP-PAD). (David Carlier) + +- Phar: + . Fixed a bypass of the magic ".phar" directory protection in + Phar::addEmptyDir() for paths starting with "/.phar", while allowing + non-magic directory names that merely share the ".phar" prefix. (Weilin Du) + +- Reflection: + . Preserve class-name case in ReflectionClass::getProperty() error messages + and autoloading. (jorgsowa) + +- Sqlite: + . Fix error checks for column retrieval. (ndossche) + +- Zlib: + . Fixed memory leak if deflate initialization fails and there is a dict. + (ndossche) + . Fixed memory leak in inflate_add(). (ndossche) + +- Zip: + . Fixed error-related memory leaks. (ndossche) + +04 Jun 2026, PHP 8.4.22 + +- Date: + . Fixed bug GH-18422 (int overflow in php_date_llabs). (iliaal) + +- Intl: + . Fix incorrect argument positions in out-of-bounds errors for + IntlCalendar::set(), IntlCalendar::setDate(), IntlCalendar::setDateTime(), + and IntlGregorianCalendar date/time construction. (Weilin Du) + . Expose Spoofchecker restriction-level APIs on all supported ICU + versions. (Weilin Du) + . Fix SpoofChecker::setAllowedChars() and IntlDateFormatter::__construct() + to report PHP constant names instead of ICU constant names in + user-visible error messages. + (Weilin Du) + +- MySQLnd: + . Fix persistent free of non-persistent connect_attr key (David Carlier). + +- Opcache: + . Fixed bug GH-21972 (Corrupted variable type when a typed by-value return + contains a reference wrapper). (Weilin Du) + . Fixed tracing JIT crash when a VM interrupt is handled during an observed + user function call. (Levi Morrison) + . Fixed bug GH-22004 (Assertion failure at ext/opcache/jit/zend_jit_trace.c). + (Arnaud) + +- OpenSSL: + . Fix compatibility issues with OpenSSL 4.0. (jordikroon, Remi) + +- Phar: + . Fixed bug GH-21986 (PharData::getContent() crash on infinite recursion + with symlinks). (David Carlier) + +- SOAP: + . Fixed integer overflow when decoding SOAP array indexes. (Weilin Du) + +- SPL: + . Fix SplFixedArray::setSize leak when destructor grows during clear. + (David Carlier) + . Fixed bug GH-21933 (use after free of self-freeing MultipleIterator + children). (David Carlier) + +- Standard: + . Fixed bug GH-21689 (version_compare() incorrectly handles versions ending + with a dot). (timwolla) + . Fixed ip2long() leading zeros handling inconsistency on AIX. (ayappanec) + 07 May 2026, PHP 8.4.21 - Core: @@ -29,6 +150,8 @@ (David Carlier) . Upgrade to lexbor v2.7.0. (CVE-2026-29078, CVE-2026-29079) (ndossche, ilutov) + . Fixed bug GH-21544 (Dom\XMLDocument::C14N*( drops namespace declarations + on DOM-built documents). (David Carlier, ndossche) - FPM: . Fixed GHSA-7qg2-v9fj-4mwv (XSS within status endpoint). (CVE-2026-6735) diff -Nru php8.4-8.4.21/UPGRADING php8.4-8.4.23/UPGRADING --- php8.4-8.4.21/UPGRADING 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/UPGRADING 2026-07-01 04:28:00.000000000 +0000 @@ -82,6 +82,9 @@ . bind_textdomain_codeset, textdomain and d(*)gettext functions now throw an exception if the domain argument is empty. . Intl: + . IntlCalendar::set(), IntlCalendar::setDate(), IntlCalendar::setDateTime(), + and IntlGregorianCalendar date/time construction now report the correct + argument position for out-of-bounds integer values. . resourcebundle_get(), ResourceBundle::get(), and accessing offsets on a ResourceBundle object now throw: - TypeError for invalid offset types @@ -89,6 +92,9 @@ - ValueError if the integer index does not fit in a signed 32 bit integer . IntlDateFormatter::__construct() throws a ValueError if the locale is invalid. . NumberFormatter::__construct() throws a ValueError if the locale is invalid. + . SpoofChecker::setAllowedChars() and IntlDateFormatter::__construct() + now report PHP constant names instead of ICU constant names in + user-visible error messages. . MBString: . mb_encode_numericentity() and mb_decode_numericentity() now check that the $map is only composed of integers, if not a ValueError is thrown. @@ -619,6 +625,10 @@ 5. Changed Functions ======================================== +- BCMath: + . bcround() and BcMath\Number::round() now throw a ValueError when the precision + argument is out of range. + - Core: . trigger_error() and user_error() now have a return type of true instead of bool. diff -Nru php8.4-8.4.21/Zend/asm/save_xmm_x86_64_ms_masm.asm php8.4-8.4.23/Zend/asm/save_xmm_x86_64_ms_masm.asm --- php8.4-8.4.21/Zend/asm/save_xmm_x86_64_ms_masm.asm 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/Zend/asm/save_xmm_x86_64_ms_masm.asm 2026-07-01 04:28:00.000000000 +0000 @@ -9,34 +9,34 @@ ; save the preserved registers when re-entering the VM from JIT code. ; See GH-18136. execute_ex PROC EXPORT FRAME - ; 10 floating points numbers + ; 10 XMM registers ; 32 bytes shadow space ; 8 bytes to align after the return address - sub rsp, 8*10 + 32 + 8 - .allocstack 8*10 + 32 + 8 + sub rsp, 16*10 + 32 + 8 + .allocstack 16*10 + 32 + 8 .endprolog - movsd qword ptr [rsp + 32 + 8*0], xmm6 - movsd qword ptr [rsp + 32 + 8*1], xmm7 - movsd qword ptr [rsp + 32 + 8*2], xmm8 - movsd qword ptr [rsp + 32 + 8*3], xmm9 - movsd qword ptr [rsp + 32 + 8*4], xmm10 - movsd qword ptr [rsp + 32 + 8*5], xmm11 - movsd qword ptr [rsp + 32 + 8*6], xmm12 - movsd qword ptr [rsp + 32 + 8*7], xmm13 - movsd qword ptr [rsp + 32 + 8*8], xmm14 - movsd qword ptr [rsp + 32 + 8*9], xmm15 + movaps xmmword ptr [rsp + 32 + 16*0], xmm6 + movaps xmmword ptr [rsp + 32 + 16*1], xmm7 + movaps xmmword ptr [rsp + 32 + 16*2], xmm8 + movaps xmmword ptr [rsp + 32 + 16*3], xmm9 + movaps xmmword ptr [rsp + 32 + 16*4], xmm10 + movaps xmmword ptr [rsp + 32 + 16*5], xmm11 + movaps xmmword ptr [rsp + 32 + 16*6], xmm12 + movaps xmmword ptr [rsp + 32 + 16*7], xmm13 + movaps xmmword ptr [rsp + 32 + 16*8], xmm14 + movaps xmmword ptr [rsp + 32 + 16*9], xmm15 call execute_ex_real - movsd xmm6, qword ptr [rsp + 32 + 8*0] - movsd xmm7, qword ptr [rsp + 32 + 8*1] - movsd xmm8, qword ptr [rsp + 32 + 8*2] - movsd xmm9, qword ptr [rsp + 32 + 8*3] - movsd xmm10, qword ptr [rsp + 32 + 8*4] - movsd xmm11, qword ptr [rsp + 32 + 8*5] - movsd xmm12, qword ptr [rsp + 32 + 8*6] - movsd xmm13, qword ptr [rsp + 32 + 8*7] - movsd xmm14, qword ptr [rsp + 32 + 8*8] - movsd xmm15, qword ptr [rsp + 32 + 8*9] - add rsp, 8*10 + 32 + 8 + movaps xmm6, xmmword ptr [rsp + 32 + 16*0] + movaps xmm7, xmmword ptr [rsp + 32 + 16*1] + movaps xmm8, xmmword ptr [rsp + 32 + 16*2] + movaps xmm9, xmmword ptr [rsp + 32 + 16*3] + movaps xmm10, xmmword ptr [rsp + 32 + 16*4] + movaps xmm11, xmmword ptr [rsp + 32 + 16*5] + movaps xmm12, xmmword ptr [rsp + 32 + 16*6] + movaps xmm13, xmmword ptr [rsp + 32 + 16*7] + movaps xmm14, xmmword ptr [rsp + 32 + 16*8] + movaps xmm15, xmmword ptr [rsp + 32 + 16*9] + add rsp, 16*10 + 32 + 8 ret execute_ex ENDP diff -Nru php8.4-8.4.21/Zend/tests/try/gh22280.phpt php8.4-8.4.23/Zend/tests/try/gh22280.phpt --- php8.4-8.4.21/Zend/tests/try/gh22280.phpt 1970-01-01 00:00:00.000000000 +0000 +++ php8.4-8.4.23/Zend/tests/try/gh22280.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -0,0 +1,19 @@ +--TEST-- +GH-22280: goto to label before try/finally after try/catch +--FILE-- + +--EXPECT-- +try +finally +done diff -Nru php8.4-8.4.21/Zend/zend.h php8.4-8.4.23/Zend/zend.h --- php8.4-8.4.21/Zend/zend.h 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/Zend/zend.h 2026-07-01 04:28:00.000000000 +0000 @@ -20,7 +20,7 @@ #ifndef ZEND_H #define ZEND_H -#define ZEND_VERSION "4.4.21" +#define ZEND_VERSION "4.4.23" #define ZEND_ENGINE_3 diff -Nru php8.4-8.4.21/Zend/zend_compile.c php8.4-8.4.23/Zend/zend_compile.c --- php8.4-8.4.21/Zend/zend_compile.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/Zend/zend_compile.c 2026-07-01 04:28:00.000000000 +0000 @@ -5203,7 +5203,7 @@ } zval_ptr_dtor(&name_node.u.constant); - ZVAL_NEW_STR(&name_node.u.constant, lcname); + ZVAL_STR(&name_node.u.constant, lcname); opline = zend_emit_op(NULL, ZEND_INIT_FCALL, NULL, &name_node); opline->result.num = zend_alloc_cache_slot(); diff -Nru php8.4-8.4.21/Zend/zend_inheritance.c php8.4-8.4.23/Zend/zend_inheritance.c --- php8.4-8.4.21/Zend/zend_inheritance.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/Zend/zend_inheritance.c 2026-07-01 04:28:00.000000000 +0000 @@ -3735,6 +3735,11 @@ if (ce->ce_flags & ZEND_ACC_UNRESOLVED_VARIANCE) { resolve_delayed_variance_obligations(ce); } + /* Delayed variance resolution can re-enter linking before the full + * hierarchy is linked. See ext/opcache/tests/gh20469*.phpt. */ + if (CG(unlinked_uses) && zend_hash_index_exists(CG(unlinked_uses), (zend_long)(uintptr_t) ce)) { + ce->ce_flags &= ~ZEND_ACC_CACHEABLE; + } if (ce->ce_flags & ZEND_ACC_CACHEABLE) { ce->ce_flags &= ~ZEND_ACC_CACHEABLE; } else { @@ -3742,6 +3747,7 @@ } } + bool was_cacheable = is_cacheable; if (!CG(current_linking_class)) { is_cacheable = 0; } @@ -3762,6 +3768,13 @@ zend_hash_destroy(ht); FREE_HASHTABLE(ht); } + } else if (was_cacheable && ce->inheritance_cache) { + /* Cacheability can be disabled after dependency tracking prepared + * an inheritance-cache dependency table. Discard it here. */ + HashTable *ht = (HashTable*)ce->inheritance_cache; + ce->inheritance_cache = NULL; + zend_hash_destroy(ht); + FREE_HASHTABLE(ht); } if (!orig_record_errors) { diff -Nru php8.4-8.4.21/Zend/zend_ini_scanner.c php8.4-8.4.23/Zend/zend_ini_scanner.c --- php8.4-8.4.21/Zend/zend_ini_scanner.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/Zend/zend_ini_scanner.c 2026-07-01 04:28:00.000000000 +0000 @@ -1,4 +1,4 @@ -/* Generated by re2c 4.3 */ +/* Generated by re2c 4.5.1 */ /* +----------------------------------------------------------------------+ | Zend Engine | diff -Nru php8.4-8.4.21/Zend/zend_ini_scanner_defs.h php8.4-8.4.23/Zend/zend_ini_scanner_defs.h --- php8.4-8.4.21/Zend/zend_ini_scanner_defs.h 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/Zend/zend_ini_scanner_defs.h 2026-07-01 04:28:00.000000000 +0000 @@ -1,4 +1,4 @@ -/* Generated by re2c 4.3 */ +/* Generated by re2c 4.5.1 */ enum YYCONDTYPE { yycINITIAL, diff -Nru php8.4-8.4.21/Zend/zend_language_scanner.c php8.4-8.4.23/Zend/zend_language_scanner.c --- php8.4-8.4.21/Zend/zend_language_scanner.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/Zend/zend_language_scanner.c 2026-07-01 04:28:00.000000000 +0000 @@ -1,4 +1,4 @@ -/* Generated by re2c 4.3 */ +/* Generated by re2c 4.5.1 */ /* +----------------------------------------------------------------------+ | Zend Engine | diff -Nru php8.4-8.4.21/Zend/zend_language_scanner_defs.h php8.4-8.4.23/Zend/zend_language_scanner_defs.h --- php8.4-8.4.21/Zend/zend_language_scanner_defs.h 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/Zend/zend_language_scanner_defs.h 2026-07-01 04:28:00.000000000 +0000 @@ -1,4 +1,4 @@ -/* Generated by re2c 4.3 */ +/* Generated by re2c 4.5.1 */ enum YYCONDTYPE { yycST_IN_SCRIPTING, diff -Nru php8.4-8.4.21/Zend/zend_opcode.c php8.4-8.4.23/Zend/zend_opcode.c --- php8.4-8.4.21/Zend/zend_opcode.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/Zend/zend_opcode.c 2026-07-01 04:28:00.000000000 +0000 @@ -684,6 +684,10 @@ int i; for (i = 0; i < op_array->last_try_catch; i++) { + if (!op_array->try_catch_array[i].finally_op) { + continue; + } + if ((op_num < op_array->try_catch_array[i].finally_op || op_num >= op_array->try_catch_array[i].finally_end) && (dst_num >= op_array->try_catch_array[i].finally_op && diff -Nru php8.4-8.4.21/Zend/zend_vm_def.h php8.4-8.4.23/Zend/zend_vm_def.h --- php8.4-8.4.21/Zend/zend_vm_def.h 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/Zend/zend_vm_def.h 2026-07-01 04:28:00.000000000 +0000 @@ -4387,7 +4387,7 @@ ZVAL_DEREF(retval_ptr); } - if (EXPECTED(ZEND_TYPE_CONTAINS_CODE(ret_info->type, Z_TYPE_P(retval_ptr)))) { + if (EXPECTED(ZEND_TYPE_CONTAINS_CODE(ret_info->type, Z_TYPE_P(retval_ref)))) { ZEND_VM_NEXT_OPCODE(); } @@ -4417,6 +4417,9 @@ } retval_ptr = retval_ref; } + if (EXPECTED(ZEND_TYPE_CONTAINS_CODE(ret_info->type, Z_TYPE_P(retval_ptr)))) { + ZEND_VM_NEXT_OPCODE(); + } } SAVE_OPLINE(); diff -Nru php8.4-8.4.21/Zend/zend_vm_execute.h php8.4-8.4.23/Zend/zend_vm_execute.h --- php8.4-8.4.21/Zend/zend_vm_execute.h 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/Zend/zend_vm_execute.h 2026-07-01 04:28:00.000000000 +0000 @@ -10772,7 +10772,7 @@ ZVAL_DEREF(retval_ptr); } - if (EXPECTED(ZEND_TYPE_CONTAINS_CODE(ret_info->type, Z_TYPE_P(retval_ptr)))) { + if (EXPECTED(ZEND_TYPE_CONTAINS_CODE(ret_info->type, Z_TYPE_P(retval_ref)))) { ZEND_VM_NEXT_OPCODE(); } @@ -10802,6 +10802,9 @@ } retval_ptr = retval_ref; } + if (EXPECTED(ZEND_TYPE_CONTAINS_CODE(ret_info->type, Z_TYPE_P(retval_ptr)))) { + ZEND_VM_NEXT_OPCODE(); + } } SAVE_OPLINE(); @@ -21517,7 +21520,7 @@ ZVAL_DEREF(retval_ptr); } - if (EXPECTED(ZEND_TYPE_CONTAINS_CODE(ret_info->type, Z_TYPE_P(retval_ptr)))) { + if (EXPECTED(ZEND_TYPE_CONTAINS_CODE(ret_info->type, Z_TYPE_P(retval_ref)))) { ZEND_VM_NEXT_OPCODE(); } @@ -21547,6 +21550,9 @@ } retval_ptr = retval_ref; } + if (EXPECTED(ZEND_TYPE_CONTAINS_CODE(ret_info->type, Z_TYPE_P(retval_ptr)))) { + ZEND_VM_NEXT_OPCODE(); + } } SAVE_OPLINE(); @@ -30016,7 +30022,7 @@ ZVAL_DEREF(retval_ptr); } - if (EXPECTED(ZEND_TYPE_CONTAINS_CODE(ret_info->type, Z_TYPE_P(retval_ptr)))) { + if (EXPECTED(ZEND_TYPE_CONTAINS_CODE(ret_info->type, Z_TYPE_P(retval_ref)))) { ZEND_VM_NEXT_OPCODE(); } @@ -30046,6 +30052,9 @@ } retval_ptr = retval_ref; } + if (EXPECTED(ZEND_TYPE_CONTAINS_CODE(ret_info->type, Z_TYPE_P(retval_ptr)))) { + ZEND_VM_NEXT_OPCODE(); + } } SAVE_OPLINE(); @@ -37830,7 +37839,7 @@ ZVAL_DEREF(retval_ptr); } - if (EXPECTED(ZEND_TYPE_CONTAINS_CODE(ret_info->type, Z_TYPE_P(retval_ptr)))) { + if (EXPECTED(ZEND_TYPE_CONTAINS_CODE(ret_info->type, Z_TYPE_P(retval_ref)))) { ZEND_VM_NEXT_OPCODE(); } @@ -37860,6 +37869,9 @@ } retval_ptr = retval_ref; } + if (EXPECTED(ZEND_TYPE_CONTAINS_CODE(ret_info->type, Z_TYPE_P(retval_ptr)))) { + ZEND_VM_NEXT_OPCODE(); + } } SAVE_OPLINE(); @@ -50642,7 +50654,7 @@ ZVAL_DEREF(retval_ptr); } - if (EXPECTED(ZEND_TYPE_CONTAINS_CODE(ret_info->type, Z_TYPE_P(retval_ptr)))) { + if (EXPECTED(ZEND_TYPE_CONTAINS_CODE(ret_info->type, Z_TYPE_P(retval_ref)))) { ZEND_VM_NEXT_OPCODE(); } @@ -50672,6 +50684,9 @@ } retval_ptr = retval_ref; } + if (EXPECTED(ZEND_TYPE_CONTAINS_CODE(ret_info->type, Z_TYPE_P(retval_ptr)))) { + ZEND_VM_NEXT_OPCODE(); + } } SAVE_OPLINE(); diff -Nru php8.4-8.4.21/configure php8.4-8.4.23/configure --- php8.4-8.4.21/configure 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/configure 2026-07-01 04:28:00.000000000 +0000 @@ -1,11 +1,11 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.72 for PHP 8.4.21. +# Generated by GNU Autoconf 2.73 for PHP 8.4.23. # # Report bugs to . # # -# Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation, +# Copyright (C) 1992-1996, 1998-2017, 2020-2026 Free Software Foundation, # Inc. # # @@ -22,7 +22,7 @@ emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. + # contradicts POSIX and common usage. Disable this. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case e in #( @@ -109,7 +109,7 @@ as_myself=$0 fi if test ! -f "$as_myself"; then - printf "%s\n" "$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 @@ -131,10 +131,13 @@ *x* ) as_opts=-x ;; * ) as_opts= ;; esac -exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +case $# in # (( + 0) exec $CONFIG_SHELL $as_opts "$as_myself" ;; + *) exec $CONFIG_SHELL $as_opts "$as_myself" "$@" ;; +esac # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed 'exec'. -printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 +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. @@ -145,7 +148,7 @@ emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which - # is contrary to our usage. Disable this feature. + # contradicts POSIX and common usage. Disable this. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST else case e in #( @@ -255,22 +258,25 @@ *x* ) as_opts=-x ;; * ) as_opts= ;; esac -exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +case $# in # (( + 0) exec $CONFIG_SHELL $as_opts "$as_myself" ;; + *) exec $CONFIG_SHELL $as_opts "$as_myself" "$@" ;; +esac # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed 'exec'. -printf "%s\n" "$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 : - 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." + 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." + 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 - printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and + printf '%s\n' "$0: Please tell bug-autoconf@gnu.org and $0: https://github.com/php/php-src/issues about your $0: system, including any error possibly output before this $0: message. Then install a modern shell, or manually run @@ -331,7 +337,7 @@ as_dirs= while :; do case $as_dir in #( - *\'*) as_qdir=`printf "%s\n" "$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" @@ -340,7 +346,7 @@ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -printf "%s\n" X"$as_dir" | +printf '%s\n' X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -423,9 +429,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 - printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi - printf "%s\n" "$as_me: error: $2" >&2 + printf '%s\n' "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error @@ -452,7 +458,7 @@ $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || -printf "%s\n" X/"$0" | +printf '%s\n' X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q @@ -498,7 +504,7 @@ s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || - { printf "%s\n" "$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 @@ -512,29 +518,6 @@ 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*) - case `echo 'xy\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - xy) ECHO_C='\c';; - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null - ECHO_T=' ';; - esac;; -*) - 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 @@ -634,8 +617,10 @@ if (d1 < d2) exit 1 if (d1 > d2) exit 2 } - # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10), - # which mishandles some comparisons of empty strings to integers. + # Beware Solaris 11 /usr/xgp4/bin/awk, which mishandles some + # comparisons of empty strings to integers. For example, + # LC_ALL=C /usr/xpg4/bin/awk "BEGIN {if (-1 < \"\") print \"a\"}" + # prints "a". if (length(v2)) exit 1 if (length(v1)) exit 2 } @@ -805,6 +790,7 @@ # Initializations. # ac_default_prefix=/usr/local +ac_clean_CONFIG_STATUS= ac_clean_files= ac_config_libobj_dir=. LIBOBJS= @@ -816,8 +802,8 @@ # Identity of this package. PACKAGE_NAME='PHP' PACKAGE_TARNAME='php' -PACKAGE_VERSION='8.4.21' -PACKAGE_STRING='PHP 8.4.21' +PACKAGE_VERSION='8.4.23' +PACKAGE_STRING='PHP 8.4.23' PACKAGE_BUGREPORT='https://github.com/php/php-src/issues' PACKAGE_URL='https://www.php.net' @@ -1022,13 +1008,13 @@ SED EGREP GREP +ECHO_T +ECHO_N +ECHO_C target_alias host_alias build_alias LIBS -ECHO_T -ECHO_N -ECHO_C DEFS mandir localedir @@ -1434,7 +1420,7 @@ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: '$ac_useropt'" ac_useropt_orig=$ac_useropt - ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" @@ -1460,7 +1446,7 @@ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: '$ac_useropt'" ac_useropt_orig=$ac_useropt - ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" @@ -1673,7 +1659,7 @@ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: '$ac_useropt'" ac_useropt_orig=$ac_useropt - ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" @@ -1689,7 +1675,7 @@ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: '$ac_useropt'" ac_useropt_orig=$ac_useropt - ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" @@ -1733,9 +1719,9 @@ *) # FIXME: should be removed in autoconf 3.0. - printf "%s\n" "$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 && - printf "%s\n" "$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}" ;; @@ -1743,7 +1729,7 @@ done if test -n "$ac_prev"; then - ac_option=--`echo $ac_prev | sed 's/_/-/g'` + ac_option=--`printf '%s\n' $ac_prev | sed 's/_/-/g'` as_fn_error $? "missing argument to $ac_option" fi @@ -1751,7 +1737,7 @@ case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; - *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; + *) printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi @@ -1815,7 +1801,7 @@ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || -printf "%s\n" X"$as_myself" | +printf '%s\n' X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -1872,7 +1858,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 PHP 8.4.21 to adapt to many kinds of systems. +'configure' configures PHP 8.4.23 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1944,7 +1930,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of PHP 8.4.21:";; + short | recursive ) echo "Configuration of PHP 8.4.23:";; esac cat <<\_ACEOF @@ -2401,9 +2387,9 @@ case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) - ac_dir_suffix=/`printf "%s\n" "$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=`printf "%s\n" "$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/ ;; @@ -2440,7 +2426,7 @@ echo && $SHELL "$ac_srcdir/configure" --help=recursive else - printf "%s\n" "$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 @@ -2449,10 +2435,10 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -PHP configure 8.4.21 -generated by GNU Autoconf 2.72 +PHP configure 8.4.23 +generated by GNU Autoconf 2.73 -Copyright (C) 2023 Free Software Foundation, Inc. +Copyright (C) 2026 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF @@ -2476,7 +2462,7 @@ *) 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 +printf '%s\n' "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -2484,7 +2470,7 @@ cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi - printf "%s\n" "$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 @@ -2492,7 +2478,7 @@ then : ac_retval=0 else case e in #( - e) printf "%s\n" "$as_me: failed program was:" >&5 + e) printf '%s\n' "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 ;; @@ -2515,7 +2501,7 @@ *) 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 +printf '%s\n' "$ac_try_echo"; } >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -2523,7 +2509,7 @@ cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi - printf "%s\n" "$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_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err @@ -2531,7 +2517,7 @@ then : ac_retval=0 else case e in #( - e) printf "%s\n" "$as_me: failed program was:" >&5 + e) printf '%s\n' "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 ;; @@ -2549,7 +2535,7 @@ ac_fn_c_check_header_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 printf %s "checking for $2... " >&6; } if eval test \${$3+y} then : @@ -2571,8 +2557,8 @@ esac fi eval ac_res=\$$3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$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 @@ -2590,7 +2576,7 @@ *) 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 +printf '%s\n' "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -2598,7 +2584,7 @@ cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi - printf "%s\n" "$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 @@ -2609,7 +2595,7 @@ then : ac_retval=0 else case e in #( - e) printf "%s\n" "$as_me: failed program was:" >&5 + e) printf '%s\n' "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 ;; @@ -2631,7 +2617,7 @@ ac_fn_c_check_func () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 printf %s "checking for $2... " >&6; } if eval test \${$3+y} then : @@ -2683,8 +2669,8 @@ esac fi eval ac_res=\$$3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$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 @@ -2702,26 +2688,26 @@ *) 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 +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 + 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 +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 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; } then : ac_retval=0 else case e in #( - e) printf "%s\n" "$as_me: program exited with status $ac_status" >&5 - printf "%s\n" "$as_me: failed program was:" >&5 + e) 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 ;; @@ -2746,7 +2732,7 @@ *) 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 +printf '%s\n' "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -2754,7 +2740,7 @@ cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi - printf "%s\n" "$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 @@ -2762,7 +2748,7 @@ then : ac_retval=0 else case e in #( - e) printf "%s\n" "$as_me: failed program was:" >&5 + e) printf '%s\n' "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 ;; @@ -2785,7 +2771,7 @@ *) 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 +printf '%s\n' "$ac_try_echo"; } >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -2793,7 +2779,7 @@ cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi - printf "%s\n" "$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 @@ -2801,7 +2787,7 @@ then : ac_retval=0 else case e in #( - e) printf "%s\n" "$as_me: failed program was:" >&5 + e) printf '%s\n' "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 ;; @@ -2820,7 +2806,7 @@ { 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\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 : @@ -2860,8 +2846,8 @@ esac fi eval ac_res=\$$3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$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_check_decl @@ -2873,7 +2859,7 @@ ac_fn_c_check_member () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 printf %s "checking for $2.$3... " >&6; } if eval test \${$4+y} then : @@ -2923,8 +2909,8 @@ esac fi eval ac_res=\$$4 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$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_member @@ -2936,7 +2922,7 @@ ac_fn_c_check_type () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 printf %s "checking for $2... " >&6; } if eval test \${$3+y} then : @@ -2982,8 +2968,8 @@ esac fi eval ac_res=\$$3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$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 @@ -3187,7 +3173,7 @@ do case $ac_arg in *\'*) - ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append ac_configure_args_raw " '$ac_arg'" done @@ -3199,15 +3185,15 @@ 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"`;; + 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 PHP $as_me 8.4.21, which was -generated by GNU Autoconf 2.72. Invocation command line was +It was created by PHP $as_me 8.4.23, which was +generated by GNU Autoconf 2.73. Invocation command line was $ $0$ac_configure_args_raw @@ -3247,7 +3233,7 @@ */) ;; *) as_dir=$as_dir/ ;; esac - printf "%s\n" "PATH: $as_dir" + printf '%s\n' "PATH: $as_dir" done IFS=$as_save_IFS @@ -3282,7 +3268,7 @@ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) - ac_arg=`printf "%s\n" "$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'" ;; @@ -3311,31 +3297,22 @@ { ac_configure_args0=; unset ac_configure_args0;} { ac_configure_args1=; unset ac_configure_args1;} -# When interrupted or exit'd, cleanup temporary files, and complete -# config.log. We remove comments because anyway the quotes in there -# would cause problems or look ugly. -# 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 - - printf "%s\n" "## ---------------- ## -## Cache variables. ## -## ---------------- ##" - echo - # The following way of writing the cache mishandles newlines in values, +# Dump the cache to stdout. It can be in a pipe (this is a requirement). +ac_cache_dump () +{ + # The following way of writing the cache mishandles newlines in values, +# but we know of no workaround that is simple, portable, and efficient. +# So, we kill variables containing newlines. +# Ultrix sh set writes to stderr and can't be redirected directly, +# and sets the high bit in the cache file unless we assign to the vars. ( - for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( - *_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;} ;; + *_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) ;; #( @@ -3344,67 +3321,95 @@ esac ;; esac done + (set) 2>&1 | - case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( + case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) + # 'set' does not quote correctly, so add quotes: double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ - "s/'\''/'\''\\\\'\'''\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" + "s/'/'\\\\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) + # 'set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) - echo +} + +# Print debugging info to stdout. +ac_dump_debugging_info () +{ + echo - printf "%s\n" "## ----------------- ## + printf '%s\n' "## ---------------- ## +## Cache variables. ## +## ---------------- ##" + echo + ac_cache_dump + echo + + printf '%s\n' "## ----------------- ## ## Output variables. ## ## ----------------- ##" + echo + for ac_var in $ac_subst_vars + do + eval ac_val=\$$ac_var + case $ac_val in + *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;; + esac + printf '%s\n' "$ac_var='$ac_val'" + done | sort + echo + + if test -n "$ac_subst_files"; then + printf '%s\n' "## ------------------- ## +## File substitutions. ## +## ------------------- ##" echo - for ac_var in $ac_subst_vars + for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in - *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;; esac - printf "%s\n" "$ac_var='\''$ac_val'\''" + printf '%s\n' "$ac_var='$ac_val'" done | sort echo + fi - if test -n "$ac_subst_files"; then - printf "%s\n" "## ------------------- ## -## File substitutions. ## -## ------------------- ##" - echo - for ac_var in $ac_subst_files - do - eval ac_val=\$$ac_var - case $ac_val in - *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; - esac - printf "%s\n" "$ac_var='\''$ac_val'\''" - done | sort - echo - fi - - if test -s confdefs.h; then - printf "%s\n" "## ----------- ## + if test -s confdefs.h; then + printf '%s\n' "## ----------- ## ## confdefs.h. ## ## ----------- ##" - echo - cat confdefs.h - echo - fi - test "$ac_signal" != 0 && - printf "%s\n" "$as_me: caught signal $ac_signal" - printf "%s\n" "$as_me: exit $exit_status" - } >&5 - rm -f core *.core core.conftest.* && + echo + cat confdefs.h + echo + fi + test "$ac_signal" != 0 && + printf '%s\n' "$as_me: caught signal $ac_signal" + printf '%s\n' "$as_me: exit $exit_status" +} + +# When interrupted or exit'd, cleanup temporary files, and complete +# config.log. +ac_exit_trap () +{ + exit_status= + # Sanitize IFS. + IFS=" "" $as_nl" + # Save into config.log some information that might help in debugging. + ac_dump_debugging_info >&5 + eval "rm -f $ac_clean_CONFIG_STATUS core *.core core.conftest.*" && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status -' 0 +} + +trap 'ac_exit_trap $?' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal done @@ -3413,21 +3418,21 @@ # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h -printf "%s\n" "/* confdefs.h */" > confdefs.h +printf '%s\n' "/* confdefs.h */" > confdefs.h # Predefined preprocessor variables. -printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h +printf '%s\n' "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h -printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h +printf '%s\n' "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h -printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h +printf '%s\n' "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h -printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h +printf '%s\n' "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h -printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h +printf '%s\n' "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h -printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h +printf '%s\n' "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h # Let the site file select an alternate cache file if it wants to. @@ -3449,12 +3454,12 @@ 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;} + { 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" \ - || { { 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: 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 @@ -3464,27 +3469,120 @@ # 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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 -printf "%s\n" "$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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 -printf "%s\n" "$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 C23 (global declarations) +ac_c_conftest_c23_globals=' +/* Does the compiler advertise conformance to C17 or earlier? + Although GCC 14 does not do that, even with -std=gnu23, + it is close enough, and defines __STDC_VERSION == 202000L. */ +#if !defined __STDC_VERSION__ || __STDC_VERSION__ <= 201710L +# error "Compiler advertises conformance to C17 or earlier" +#endif + +// Check alignas. +char alignas (double) c23_aligned_as_double; +char alignas (0) c23_no_special_alignment; +extern char c23_aligned_as_int; +char alignas (0) alignas (int) c23_aligned_as_int; + +// Check alignof. +enum +{ + c23_int_alignment = alignof (int), + c23_int_array_alignment = alignof (int[100]), + c23_char_alignment = alignof (char) +}; +static_assert (0 < -alignof (int), "alignof is signed"); + +int function_with_unnamed_parameter (int) { return 0; } + +void c23_noreturn (); + +/* Test parsing of string and char UTF-8 literals (including hex escapes). + The parens pacify GCC 15. */ +bool use_u8 = (!sizeof u8"\xFF") == (!u8'\''x'\''); + +bool check_that_bool_works = true | false | !nullptr; +#if !true +# error "true does not work in #if" +#endif +#if false +#elifdef __STDC_VERSION__ +#else +# error "#elifdef does not work" +#endif + +#ifndef __has_c_attribute +# error "__has_c_attribute not defined" +#endif + +#ifndef __has_include +# error "__has_include not defined" +#endif + +#define LPAREN() ( +#define FORTY_TWO(x) 42 +#define VA_OPT_TEST(r, x, ...) __VA_OPT__ (FORTY_TWO r x)) +static_assert (VA_OPT_TEST (LPAREN (), 0, <:-) == 42); + +static_assert (0b101010 == 42); +static_assert (0B101010 == 42); +static_assert (0xDEAD'\''BEEF == 3'\''735'\''928'\''559); +static_assert (0.500'\''000'\''000 == 0.5); + +enum unsignedish : unsigned int { uione = 1 }; +static_assert (0 < -uione); + +#include +constexpr nullptr_t null_pointer = nullptr; + +static typeof (1 + 1L) two () { return 2; } +static long int three () { return 3; } +' + +# Test code for whether the C compiler supports C23 (body of main). +ac_c_conftest_c23_main=' + { + label_before_declaration: + int arr[10] = {}; + if (arr[0]) + goto label_before_declaration; + if (!arr[0]) + goto label_at_end_of_block; + label_at_end_of_block: + } + ok |= !null_pointer; + ok |= two != three; +' + +# Test code for whether the C compiler supports C23 (complete). +ac_c_conftest_c23_program="${ac_c_conftest_c23_globals} + +int +main (int, char **) +{ + int ok = 0; + ${ac_c_conftest_c23_main} + return ok; +} +" + # 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 +/* Do not test the value of __STDC__, because some compilers define it to 0 + or do not define it, while otherwise adequately conforming. */ #include #include @@ -3564,7 +3662,8 @@ // 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. +// FILE and stderr, and "aND" is used instead of "and" to work around +// GCC bug 40564 which is irrelevant here. #define debug(...) dprintf (2, __VA_ARGS__) #define showlist(...) puts (#__VA_ARGS__) #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) @@ -3575,7 +3674,7 @@ int y = 5678; debug ("Flag"); debug ("X = %d\n", x); - showlist (The first, second, and third items.); + showlist (The first, second, aND third items.); report (x>y, "x is %d but y is %d", x, y); } @@ -3663,15 +3762,15 @@ // Check restrict. if (test_restrict ("String literal") == 0) success = true; - char *restrict newvar = "Another string"; + const 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)); + static struct incomplete_array *volatile incomplete_array_pointer; + struct incomplete_array *ia = incomplete_array_pointer; ia->datasize = 10; for (int i = 0; i < ia->datasize; ++i) ia->data[i] = i * 1.234; @@ -3687,13 +3786,12 @@ ni.number = 58; - int dynamic_array[ni.number]; - dynamic_array[0] = argv[0][0]; - dynamic_array[ni.number - 1] = 543; + // Do not test for VLAs, as some otherwise-conforming compilers lack them. + // C code should instead use __STDC_NO_VLA__; see Autoconf manual. // work around unused variable warnings ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' - || dynamic_array[ni.number - 1] != 543); + || ni.number != 58); ' # Test code for whether the C compiler supports C11 (global declarations) @@ -3813,222 +3911,6 @@ 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; -} -" - # Auxiliary files required by this configure script. ac_aux_files="config.guess config.sub" @@ -4043,7 +3925,7 @@ # $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 +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 @@ -4056,7 +3938,7 @@ esac as_found=: - printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 + 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 @@ -4067,13 +3949,13 @@ 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 + 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 + 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 + 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 @@ -4085,7 +3967,7 @@ fi else if test -f "${as_dir}${ac_aux}"; then - printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 + 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 @@ -4138,38 +4020,44 @@ eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) - { 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;} + { 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) - { 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;} + { 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=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. - ac_old_val_w=`echo x $ac_old_val` - ac_new_val_w=`echo x $ac_new_val` + ac_old_val_w= + for ac_val in x $ac_old_val; do + ac_old_val_w="$ac_old_val_w $ac_val" + done + ac_new_val_w= + for ac_val in x $ac_new_val; do + ac_new_val_w="$ac_new_val_w $ac_val" + done if test "$ac_old_val_w" != "$ac_new_val_w"; then - { 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;} + { 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 - { 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;} + { 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 - { 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;} + { 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=`printf "%s\n" "$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 @@ -4179,10 +4067,10 @@ fi done if $ac_cache_corrupted; then - { 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;} + { 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 @@ -4190,6 +4078,23 @@ ## Main body of script. ## ## -------------------- ## + +# 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*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -4203,7 +4108,7 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 +{ 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 : @@ -4240,7 +4145,7 @@ cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" - printf "%s\n" 'GREP' >> "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 @@ -4269,12 +4174,12 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 -printf "%s\n" "$ac_cv_path_GREP" >&6; } +{ 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\n' "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 printf %s "checking for egrep... " >&6; } if test ${ac_cv_path_EGREP+y} then : @@ -4314,7 +4219,7 @@ cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" - printf "%s\n" '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 @@ -4344,14 +4249,14 @@ fi ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 -printf "%s\n" "$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" EGREP_TRADITIONAL=$EGREP ac_cv_path_EGREP_TRADITIONAL=$EGREP -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 +{ 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 : @@ -4394,7 +4299,7 @@ cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" - printf "%s\n" '' >> "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 @@ -4423,8 +4328,8 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 -printf "%s\n" "$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 @@ -4482,7 +4387,7 @@ else break fi - printf "%s\n" "$CURRENT_ARG \\" >>config.nice + printf '%s\n' "$CURRENT_ARG \\" >>config.nice CONFIGURE_OPTIONS="$CONFIGURE_OPTIONS $CURRENT_ARG" done echo '"$@"' >> config.nice @@ -4499,7 +4404,7 @@ $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\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 : @@ -4515,8 +4420,8 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 -printf "%s\n" "$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;; @@ -4532,10 +4437,10 @@ # except with old shells: build_os=$* IFS=$ac_save_IFS -case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac +case $build_os in *\ *) build_os=`printf '%s\n' "$build_os" | sed 's/ /-/g'`;; esac -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 +{ 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 : @@ -4550,8 +4455,8 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 -printf "%s\n" "$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;; @@ -4567,10 +4472,10 @@ # except with old shells: host_os=$* IFS=$ac_save_IFS -case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac +case $host_os in *\ *) host_os=`printf '%s\n' "$host_os" | sed 's/ /-/g'`;; esac -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 printf %s "checking target system type... " >&6; } if test ${ac_cv_target+y} then : @@ -4585,8 +4490,8 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 -printf "%s\n" "$ac_cv_target" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 +printf '%s\n' "$ac_cv_target" >&6; } case $ac_cv_target in *-*-*) ;; *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; @@ -4602,7 +4507,7 @@ # except with old shells: target_os=$* IFS=$ac_save_IFS -case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac +case $target_os in *\ *) target_os=`printf '%s\n' "$target_os" | sed 's/ /-/g'`;; esac # The aliases save the names the user supplied, while $host etc. @@ -4628,7 +4533,7 @@ ac_IFS=$IFS; IFS="." -set $(echo 8.4.21 | "${SED}" 's/\([0-9\.]*\)\(.*\)/\1\.\2/') +set $(echo 8.4.23 | "${SED}" 's/\([0-9\.]*\)\(.*\)/\1\.\2/') IFS=$ac_IFS PHP_MAJOR_VERSION=$1 PHP_MINOR_VERSION=$2 @@ -4688,7 +4593,7 @@ 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\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 : @@ -4710,7 +4615,7 @@ 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_AWK="$ac_prog" - printf "%s\n" "$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 @@ -4722,11 +4627,11 @@ fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 -printf "%s\n" "$AWK" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 +printf '%s\n' "$AWK" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi @@ -4736,26 +4641,26 @@ case $AWK in #( *mawk) : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: mawk is known to have problems on some systems. You should install GNU awk" >&5 -printf "%s\n" "$as_me: WARNING: mawk is known to have problems on some systems. You should install GNU awk" >&2;} ;; #( + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: mawk is known to have problems on some systems. You should install GNU awk" >&5 +printf '%s\n' "$as_me: WARNING: mawk is known to have problems on some systems. You should install GNU awk" >&2;} ;; #( *gawk) : ;; #( bork) : as_fn_error $? "Could not find awk; Install GNU awk" "$LINENO" 5 ;; #( *) : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $AWK is broken" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $AWK is broken" >&5 printf %s "checking if $AWK is broken... " >&6; } if ! $AWK 'function foo() {}' >/dev/null 2>&1 then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } as_fn_error $? "You should install GNU awk" "$LINENO" 5 else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } ;; + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } ;; esac fi ;; @@ -4786,7 +4691,7 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ 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 : @@ -4809,7 +4714,7 @@ 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" - printf "%s\n" "$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 @@ -4822,11 +4727,11 @@ fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 -printf "%s\n" "$PKG_CONFIG" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +printf '%s\n' "$PKG_CONFIG" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi @@ -4835,7 +4740,7 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ 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 : @@ -4858,7 +4763,7 @@ 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" - printf "%s\n" "$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 @@ -4871,11 +4776,11 @@ fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 -printf "%s\n" "$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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "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 @@ -4883,8 +4788,8 @@ 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;} +{ 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 @@ -4896,14 +4801,14 @@ fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 + { 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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } PKG_CONFIG="" fi fi @@ -4916,6 +4821,9 @@ + + + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -4926,7 +4834,7 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ 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 : @@ -4947,7 +4855,7 @@ 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$ac_prog" - printf "%s\n" "$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 @@ -4959,11 +4867,11 @@ 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; } + { 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; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi @@ -4976,7 +4884,7 @@ 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\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 : @@ -4997,7 +4905,7 @@ 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="$ac_prog" - printf "%s\n" "$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 @@ -5009,11 +4917,11 @@ 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; } + { 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; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi @@ -5025,8 +4933,8 @@ 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;} +{ 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 @@ -5034,13 +4942,13 @@ 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;} +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. -printf "%s\n" "$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 -version; do @@ -5050,7 +4958,7 @@ *) 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 +printf '%s\n' "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -5060,7 +4968,7 @@ cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done @@ -5080,9 +4988,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. -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 +{ 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[^ ]*//'` +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.*" @@ -5103,10 +5011,10 @@ *) 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 +printf '%s\n' "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + 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'. @@ -5147,29 +5055,29 @@ fi 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 + { 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 -{ { 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: 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 case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } ;; + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 +{ 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; } +{ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 +{ 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 @@ -5177,10 +5085,10 @@ *) 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 +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 + 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) @@ -5197,15 +5105,15 @@ esac done else case e in #( - e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} + e) { { 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; } ;; esac fi rm -f conftest conftest$ac_cv_exeext -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 -printf "%s\n" "$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 @@ -5228,7 +5136,7 @@ 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. -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 +{ 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" @@ -5237,10 +5145,10 @@ *) 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 +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 + 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 @@ -5248,31 +5156,31 @@ *) 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 +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 + 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 - { { 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: 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 -printf "%s\n" "$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.o conftest.obj conftest.out ac_clean_files=$ac_clean_files_save -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 +{ 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 : @@ -5296,10 +5204,10 @@ *) 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 +printf '%s\n' "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + 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 @@ -5311,11 +5219,11 @@ esac done else case e in #( - e) printf "%s\n" "$as_me: failed program was:" >&5 + e) printf '%s\n' "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&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: 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; } ;; esac @@ -5323,11 +5231,11 @@ rm -f conftest.$ac_cv_objext conftest.$ac_ext ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 -printf "%s\n" "$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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 +{ 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 : @@ -5359,8 +5267,8 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 -printf "%s\n" "$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 @@ -5370,7 +5278,7 @@ fi ac_test_CFLAGS=${CFLAGS+y} ac_save_CFLAGS=$CFLAGS -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 +{ 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 : @@ -5438,8 +5346,8 @@ ac_c_werror_flag=$ac_save_c_werror_flag ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 -printf "%s\n" "$ac_cv_prog_cc_g" >&6; } +{ 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 @@ -5458,7 +5366,56 @@ 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\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C23 features" >&5 +printf %s "checking for $CC option to enable C23 features... " >&6; } +if test ${ac_cv_prog_cc_c23+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) ac_cv_prog_cc_c23=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_c_conftest_c23_program +_ACEOF +for ac_arg in '' -std=gnu23 +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_prog_cc_c23=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam + test "x$ac_cv_prog_cc_c23" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC ;; +esac +fi + +if test "x$ac_cv_prog_cc_c23" = xno +then : + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +printf '%s\n' "unsupported" >&6; } +else case e in #( + e) if test "x$ac_cv_prog_cc_c23" = x +then : + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +printf '%s\n' "none needed" >&6; } +else case e in #( + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c23" >&5 +printf '%s\n' "$ac_cv_prog_cc_c23" >&6; } + CC="$CC $ac_cv_prog_cc_c23" ;; +esac +fi + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c23 + ac_prog_cc_stdc=c23 ;; +esac +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 C11 features" >&5 printf %s "checking for $CC option to enable C11 features... " >&6; } if test ${ac_cv_prog_cc_c11+y} then : @@ -5470,7 +5427,7 @@ /* end confdefs.h. */ $ac_c_conftest_c11_program _ACEOF -for ac_arg in '' -std=gnu11 +for ac_arg in '' -std=gnu11 -std:c11 do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO" @@ -5487,16 +5444,16 @@ 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; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +printf '%s\n' "unsupported" >&6; } else case e in #( e) 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; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +printf '%s\n' "none needed" >&6; } else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 -printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } + e) { 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" ;; esac fi @@ -5507,7 +5464,7 @@ 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\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 : @@ -5536,16 +5493,16 @@ 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; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +printf '%s\n' "unsupported" >&6; } else case e in #( e) 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; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +printf '%s\n' "none needed" >&6; } else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 -printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } + e) { 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" ;; esac fi @@ -5556,7 +5513,7 @@ 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\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 : @@ -5585,16 +5542,16 @@ 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; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +printf '%s\n' "unsupported" >&6; } else case e in #( e) 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; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +printf '%s\n' "none needed" >&6; } else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 -printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } + e) { 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" ;; esac fi @@ -5616,7 +5573,7 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 +{ 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 @@ -5687,8 +5644,8 @@ else ac_cv_prog_CPP=$CPP fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 -printf "%s\n" "$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 @@ -5736,8 +5693,8 @@ then : else case e in #( - e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} + e) { { 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; } ;; esac @@ -5750,7 +5707,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep -e" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for egrep -e" >&5 printf %s "checking for egrep -e... " >&6; } if test ${ac_cv_path_EGREP_TRADITIONAL+y} then : @@ -5787,7 +5744,7 @@ cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" - printf "%s\n" 'EGREP_TRADITIONAL' >> "conftest.nl" + printf '%s\n' 'EGREP_TRADITIONAL' >> "conftest.nl" "$ac_path_EGREP_TRADITIONAL" -E 'EGR(EP|AC)_TRADITIONAL$' < "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 @@ -5849,7 +5806,7 @@ cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" - printf "%s\n" 'EGREP_TRADITIONAL' >> "conftest.nl" + printf '%s\n' 'EGREP_TRADITIONAL' >> "conftest.nl" "$ac_path_EGREP_TRADITIONAL" 'EGR(EP|AC)_TRADITIONAL$' < "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 @@ -5880,13 +5837,13 @@ fi ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP_TRADITIONAL" >&5 -printf "%s\n" "$ac_cv_path_EGREP_TRADITIONAL" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP_TRADITIONAL" >&5 +printf '%s\n' "$ac_cv_path_EGREP_TRADITIONAL" >&6; } EGREP_TRADITIONAL=$ac_cv_path_EGREP_TRADITIONAL ICC="no" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for icc" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for icc" >&5 printf %s "checking for icc... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -5896,13 +5853,13 @@ $EGREP_TRADITIONAL "^__INTEL_COMPILER" >/dev/null 2>&1 then : ICC="no" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } else case e in #( e) ICC="yes" GCC="no" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } ;; esac fi @@ -5911,7 +5868,7 @@ SUNCC="no" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suncc" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for suncc" >&5 printf %s "checking for suncc... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -5921,15 +5878,15 @@ $EGREP_TRADITIONAL "^__SUNPRO_C" >/dev/null 2>&1 then : SUNCC="no" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } else case e in #( e) SUNCC="yes" GCC="no" test -n "$auto_cflags" && CFLAGS="-O -xs -xstrconst -zlazyload" GCC="" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } ;; esac fi @@ -5943,7 +5900,7 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 +{ 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 @@ -6014,8 +5971,8 @@ else ac_cv_prog_CPP=$CPP fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 -printf "%s\n" "$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 @@ -6063,8 +6020,8 @@ then : else case e in #( - e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} + e) { { 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; } ;; esac @@ -6082,7 +6039,7 @@ 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 + printf '%s\n' "#define $ac_item 1" >> confdefs.h fi ac_header= ac_cache= elif test $ac_header; then @@ -6102,7 +6059,7 @@ if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes then : -printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h +printf '%s\n' "#define STDC_HEADERS 1" >>confdefs.h fi @@ -6111,7 +6068,7 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 + { 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 : @@ -6140,10 +6097,10 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac 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; } +{ 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; } - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 + { 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 : @@ -6194,49 +6151,51 @@ fi ;; esac fi -{ 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; } +{ 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; } - printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h + printf '%s\n' "#define _ALL_SOURCE 1" >>confdefs.h - printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h + printf '%s\n' "#define _COSMO_SOURCE 1" >>confdefs.h - printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h + printf '%s\n' "#define _DARWIN_C_SOURCE 1" >>confdefs.h - printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h + printf '%s\n' "#define _GNU_SOURCE 1" >>confdefs.h - printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h + printf '%s\n' "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h - printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h + printf '%s\n' "#define _NETBSD_SOURCE 1" >>confdefs.h - printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h + printf '%s\n' "#define _OPENBSD_SOURCE 1" >>confdefs.h - printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h + printf '%s\n' "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h - printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h + printf '%s\n' "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h - printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h + printf '%s\n' "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h - printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h + printf '%s\n' "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h - printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h + printf '%s\n' "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h - printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h + printf '%s\n' "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h - printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h + printf '%s\n' "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h - printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h + printf '%s\n' "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h - printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h + printf '%s\n' "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h + + printf '%s\n' "#define _TANDEM_SOURCE 1" >>confdefs.h if test $ac_cv_header_minix_config_h = yes then : MINIX=yes - printf "%s\n" "#define _MINIX 1" >>confdefs.h + printf '%s\n' "#define _MINIX 1" >>confdefs.h - printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h + printf '%s\n' "#define _POSIX_SOURCE 1" >>confdefs.h - printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h + printf '%s\n' "#define _POSIX_1_SOURCE 2" >>confdefs.h else case e in #( e) MINIX= ;; @@ -6244,24 +6203,24 @@ fi if test $ac_cv_safe_to_define___extensions__ = yes then : - printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h + printf '%s\n' "#define __EXTENSIONS__ 1" >>confdefs.h fi if test $ac_cv_should_define__xopen_source = yes then : - printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h + printf '%s\n' "#define _XOPEN_SOURCE 500" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 +{ 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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 -printf "%s\n" "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 @@ -6271,7 +6230,7 @@ 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\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_BUILD_CC+y} then : @@ -6292,7 +6251,7 @@ 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_BUILD_CC="$ac_prog" - printf "%s\n" "$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 @@ -6304,11 +6263,11 @@ fi BUILD_CC=$ac_cv_prog_BUILD_CC if test -n "$BUILD_CC"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5 -printf "%s\n" "$BUILD_CC" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5 +printf '%s\n' "$BUILD_CC" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi @@ -6316,10 +6275,10 @@ done test -n "$BUILD_CC" || BUILD_CC="none" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for native build C compiler" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for native build C compiler" >&5 printf %s "checking for native build C compiler... " >&6; } - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5 -printf "%s\n" "$BUILD_CC" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5 +printf '%s\n' "$BUILD_CC" >&6; } else case e in #( e) BUILD_CC=$CC ;; esac @@ -6328,7 +6287,7 @@ php_with_libdir=lib -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for system library directory" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for system library directory" >&5 printf %s "checking for system library directory... " >&6; } # Check whether --with-libdir was given. @@ -6345,8 +6304,8 @@ ext_output=$PHP_LIBDIR -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -6354,7 +6313,7 @@ php_enable_rpath=yes -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable runpaths" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable runpaths" >&5 printf %s "checking whether to enable runpaths... " >&6; } # Check whether --enable-rpath was given. if test ${enable_rpath+y} @@ -6370,14 +6329,14 @@ ext_output=$PHP_RPATH -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Wl,-rpath," >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Wl,-rpath," >&5 printf %s "checking if compiler supports -Wl,-rpath,... " >&6; } if test ${php_cv_cc_rpath+y} then : @@ -6410,13 +6369,13 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_cc_rpath" >&5 -printf "%s\n" "$php_cv_cc_rpath" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_cc_rpath" >&5 +printf '%s\n' "$php_cv_cc_rpath" >&6; } if test "x$php_cv_cc_rpath" = xyes then : ld_runpath_switch=-Wl,-rpath, else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler supports -R" >&5 + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if compiler supports -R" >&5 printf %s "checking if compiler supports -R... " >&6; } if test ${php_cv_cc_dashr+y} then : @@ -6449,8 +6408,8 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_cc_dashr" >&5 -printf "%s\n" "$php_cv_cc_dashr" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_cc_dashr" >&5 +printf '%s\n' "$php_cv_cc_dashr" >&6; } if test "x$php_cv_cc_dashr" = xyes then : ld_runpath_switch=-R @@ -6470,7 +6429,7 @@ # Extract the first word of "bison", so it can be a program name with args. set dummy bison; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ 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 : @@ -6491,7 +6450,7 @@ 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_YACC="bison" - printf "%s\n" "$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 @@ -6503,11 +6462,11 @@ fi YACC=$ac_cv_prog_YACC if test -n "$YACC"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 -printf "%s\n" "$YACC" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 +printf '%s\n' "$YACC" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi @@ -6516,7 +6475,7 @@ php_bison_excluded_versions='none' if test -n "$YACC"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bison version" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for bison version" >&5 printf %s "checking for bison version... " >&6; } php_bison_version=$($YACC --version 2> /dev/null | grep 'GNU Bison' | cut -d ' ' -f 4 | tr -d a-z) @@ -6559,11 +6518,11 @@ PHP_VAR_SUBST="$PHP_VAR_SUBST YFLAGS" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_bison_version (ok)" >&5 -printf "%s\n" "$php_bison_version (ok)" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_bison_version (ok)" >&5 +printf '%s\n' "$php_bison_version (ok)" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_bison_version" >&5 -printf "%s\n" "$php_bison_version" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_bison_version" >&5 +printf '%s\n' "$php_bison_version" >&6; } fi fi @@ -6585,7 +6544,7 @@ # Extract the first word of "re2c", so it can be a program name with args. set dummy re2c; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ 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_RE2C+y} then : @@ -6606,7 +6565,7 @@ 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_RE2C="re2c" - printf "%s\n" "$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 @@ -6618,11 +6577,11 @@ fi RE2C=$ac_cv_prog_RE2C if test -n "$RE2C"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RE2C" >&5 -printf "%s\n" "$RE2C" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $RE2C" >&5 +printf '%s\n' "$RE2C" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi @@ -6633,7 +6592,7 @@ else case e in #( e) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for re2c version" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for re2c version" >&5 printf %s "checking for re2c version... " >&6; } php_re2c_version=$($RE2C --version | cut -d ' ' -f 2 2>/dev/null) @@ -6655,11 +6614,11 @@ if test "x$php_re2c_check" = xinvalid then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_re2c_version (too old)" >&5 -printf "%s\n" "$php_re2c_version (too old)" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_re2c_version (too old)" >&5 +printf '%s\n' "$php_re2c_version (too old)" >&6; } else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_re2c_version (ok)" >&5 -printf "%s\n" "$php_re2c_version (ok)" >&6; } ;; + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_re2c_version (ok)" >&5 +printf '%s\n' "$php_re2c_version (ok)" >&6; } ;; esac fi ;; @@ -6693,7 +6652,7 @@ php_required_version=7.4 # Extract the first word of "php", so it can be a program name with args. set dummy php; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ 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_PHP+y} then : @@ -6714,7 +6673,7 @@ 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_PHP="php" - printf "%s\n" "$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 @@ -6726,11 +6685,11 @@ fi PHP=$ac_cv_prog_PHP if test -n "$PHP"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PHP" >&5 -printf "%s\n" "$PHP" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $PHP" >&5 +printf '%s\n' "$PHP" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi @@ -6739,7 +6698,7 @@ else case e in #( e) -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for php version" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for php version" >&5 printf %s "checking for php version... " >&6; } php_version=$($PHP -v | head -n1 | cut -d ' ' -f 2) as_arg_v1=$php_version @@ -6757,11 +6716,11 @@ esac if ${PHP:+false} : then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_version (too old, install $php_required_version or later)" >&5 -printf "%s\n" "$php_version (too old, install $php_required_version or later)" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_version (too old, install $php_required_version or later)" >&5 +printf '%s\n' "$php_version (too old, install $php_required_version or later)" >&6; } else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_version (ok)" >&5 -printf "%s\n" "$php_version (ok)" >&6; } ;; + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_version (ok)" >&5 +printf '%s\n' "$php_version (ok)" >&6; } ;; esac fi ;; @@ -6775,7 +6734,7 @@ php_enable_re2c_cgoto=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable computed goto extension with re2c" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable computed goto extension with re2c" >&5 printf %s "checking whether to enable computed goto extension with re2c... " >&6; } # Check whether --enable-re2c-cgoto was given. if test ${enable_re2c_cgoto+y} @@ -6791,8 +6750,8 @@ ext_output=$PHP_RE2C_CGOTO -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -6801,7 +6760,7 @@ then : else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether re2c -g works" >&5 + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether re2c -g works" >&5 printf %s "checking whether re2c -g works... " >&6; } if test ${php_cv_have_re2c_cgoto+y} then : @@ -6831,8 +6790,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_re2c_cgoto" >&5 -printf "%s\n" "$php_cv_have_re2c_cgoto" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_re2c_cgoto" >&5 +printf '%s\n' "$php_cv_have_re2c_cgoto" >&6; } if test "x$php_cv_have_re2c_cgoto" = xyes then : as_fn_append RE2C_FLAGS " -g" @@ -6857,7 +6816,7 @@ ;; esac -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -ffp-contract=off" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -ffp-contract=off" >&5 printf %s "checking whether the C compiler accepts -ffp-contract=off... " >&6; } if test ${ax_cv_check_cflags___ffp_contract_off+y} then : @@ -6888,8 +6847,8 @@ CFLAGS=$ax_check_save_flags ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___ffp_contract_off" >&5 -printf "%s\n" "$ax_cv_check_cflags___ffp_contract_off" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___ffp_contract_off" >&5 +printf '%s\n' "$ax_cv_check_cflags___ffp_contract_off" >&6; } if test "x$ax_cv_check_cflags___ffp_contract_off" = xyes then : CFLAGS="$CFLAGS -ffp-contract=off" @@ -6899,7 +6858,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -fvisibility=hidden" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -fvisibility=hidden" >&5 printf %s "checking whether the C compiler accepts -fvisibility=hidden... " >&6; } if test ${ax_cv_check_cflags___fvisibility_hidden+y} then : @@ -6930,8 +6889,8 @@ CFLAGS=$ax_check_save_flags ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fvisibility_hidden" >&5 -printf "%s\n" "$ax_cv_check_cflags___fvisibility_hidden" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fvisibility_hidden" >&5 +printf '%s\n' "$ax_cv_check_cflags___fvisibility_hidden" >&6; } if test "x$ax_cv_check_cflags___fvisibility_hidden" = xyes then : CFLAGS="$CFLAGS -fvisibility=hidden" @@ -6952,43 +6911,43 @@ ;; esac -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to force non-PIC code in shared modules" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to force non-PIC code in shared modules" >&5 printf %s "checking whether to force non-PIC code in shared modules... " >&6; } case $host_alias in i?86-*-linux*|i?86-*-freebsd*) if test "${with_pic+set}" != "set" || test "$with_pic" = "no"; then with_pic=no - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi ;; *) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } ;; esac -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are using musl libc" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether we are using musl libc" >&5 printf %s "checking whether we are using musl libc... " >&6; } if command -v ldd >/dev/null && ldd --version 2>&1 | grep ^musl >/dev/null 2>&1 then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } -printf "%s\n" "#define __MUSL__ 1" >>confdefs.h +printf '%s\n' "#define __MUSL__ 1" >>confdefs.h else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi as_fn_append CPPFLAGS " -D_GNU_SOURCE" -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthreads_cflags" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for pthreads_cflags" >&5 printf %s "checking for pthreads_cflags... " >&6; } if test ${ac_cv_pthreads_cflags+y} then : @@ -7043,10 +7002,10 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pthreads_cflags" >&5 -printf "%s\n" "$ac_cv_pthreads_cflags" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pthreads_cflags" >&5 +printf '%s\n' "$ac_cv_pthreads_cflags" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthreads_lib" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for pthreads_lib" >&5 printf %s "checking for pthreads_lib... " >&6; } if test ${ac_cv_pthreads_lib+y} then : @@ -7101,8 +7060,8 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pthreads_lib" >&5 -printf "%s\n" "$ac_cv_pthreads_lib" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pthreads_lib" >&5 +printf '%s\n' "$ac_cv_pthreads_lib" >&6; } if test "x$ac_cv_pthreads_cflags" != "x" || test "x$ac_cv_pthreads_lib" != "x"; then pthreads_working="yes" @@ -7178,10 +7137,10 @@ SAPI_LIBTOOL=libphp.la - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: " >&5 -printf "%s\n" "" >&6; } - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${T_MD}Configuring SAPI modules${T_ME}" >&5 -printf "%s\n" "${T_MD}Configuring SAPI modules${T_ME}" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: " >&5 +printf '%s\n' "" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ${T_MD}Configuring SAPI modules${T_ME}" >&5 +printf '%s\n' "${T_MD}Configuring SAPI modules${T_ME}" >&6; } @@ -7194,7 +7153,7 @@ php_with_apxs2=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build Apache 2 handler module support via DSO through APXS" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to build Apache 2 handler module support via DSO through APXS" >&5 printf %s "checking whether to build Apache 2 handler module support via DSO through APXS... " >&6; } # Check whether --with-apxs2 was given. @@ -7211,8 +7170,8 @@ ext_output=$PHP_APXS2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -7248,24 +7207,24 @@ $APXS -q CFLAGS >/dev/null 2>&1 if test "$?" != "0"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: " >&5 -printf "%s\n" "" >&6; } - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: " >&5 -printf "%s\n" "" >&6; } - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Sorry, I cannot run apxs. Possible reasons follow:" >&5 -printf "%s\n" "Sorry, I cannot run apxs. Possible reasons follow:" >&6; } - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: " >&5 -printf "%s\n" "" >&6; } - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: 1. Perl is not installed" >&5 -printf "%s\n" "1. Perl is not installed" >&6; } - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: 2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs" >&5 -printf "%s\n" "2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs" >&6; } - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: 3. Apache was not built using --enable-so (the apxs usage page is displayed)" >&5 -printf "%s\n" "3. Apache was not built using --enable-so (the apxs usage page is displayed)" >&6; } - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: " >&5 -printf "%s\n" "" >&6; } - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: The output of $APXS follows:" >&5 -printf "%s\n" "The output of $APXS follows:" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: " >&5 +printf '%s\n' "" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: " >&5 +printf '%s\n' "" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: Sorry, I cannot run apxs. Possible reasons follow:" >&5 +printf '%s\n' "Sorry, I cannot run apxs. Possible reasons follow:" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: " >&5 +printf '%s\n' "" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: 1. Perl is not installed" >&5 +printf '%s\n' "1. Perl is not installed" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: 2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs" >&5 +printf '%s\n' "2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: 3. Apache was not built using --enable-so (the apxs usage page is displayed)" >&5 +printf '%s\n' "3. Apache was not built using --enable-so (the apxs usage page is displayed)" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: " >&5 +printf '%s\n' "" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: The output of $APXS follows:" >&5 +printf '%s\n' "The output of $APXS follows:" >&6; } $APXS -q CFLAGS as_fn_error $? "Aborting" "$LINENO" 5 fi @@ -7587,7 +7546,7 @@ php_enable_cli=yes -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CLI build" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for CLI build" >&5 printf %s "checking for CLI build... " >&6; } # Check whether --enable-cli was given. if test ${enable_cli+y} @@ -7603,8 +7562,8 @@ ext_output=$PHP_CLI -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -7613,7 +7572,7 @@ ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle" if test "x$ac_cv_func_setproctitle" = xyes then : - printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h + printf '%s\n' "#define HAVE_SETPROCTITLE 1" >>confdefs.h fi @@ -7621,12 +7580,12 @@ ac_fn_c_check_header_compile "$LINENO" "sys/pstat.h" "ac_cv_header_sys_pstat_h" "$ac_includes_default" if test "x$ac_cv_header_sys_pstat_h" = xyes then : - printf "%s\n" "#define HAVE_SYS_PSTAT_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_SYS_PSTAT_H 1" >>confdefs.h fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PS_STRINGS" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for PS_STRINGS" >&5 printf %s "checking for PS_STRINGS... " >&6; } if test ${php_cv_var_PS_STRINGS+y} then : @@ -7660,12 +7619,12 @@ conftest$ac_exeext conftest.$ac_ext ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_var_PS_STRINGS" >&5 -printf "%s\n" "$php_cv_var_PS_STRINGS" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_var_PS_STRINGS" >&5 +printf '%s\n' "$php_cv_var_PS_STRINGS" >&6; } if test "x$php_cv_var_PS_STRINGS" = xyes then : -printf "%s\n" "#define HAVE_PS_STRINGS /**/" >>confdefs.h +printf '%s\n' "#define HAVE_PS_STRINGS /**/" >>confdefs.h fi @@ -7858,7 +7817,7 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for embedded SAPI library support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for embedded SAPI library support" >&5 printf %s "checking for embedded SAPI library support... " >&6; } if test "$PHP_EMBED" != "no"; then @@ -7889,12 +7848,12 @@ if ${PHP_EMBED_TYPE:+false} : 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}: result: no" >&5 +printf '%s\n' "no" >&6; } else case e in #( e) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PHP_EMBED_TYPE" >&5 -printf "%s\n" "$PHP_EMBED_TYPE" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $PHP_EMBED_TYPE" >&5 +printf '%s\n' "$PHP_EMBED_TYPE" >&6; } PHP_VAR_SUBST="$PHP_VAR_SUBST LIBPHP_CFLAGS" @@ -8116,8 +8075,8 @@ esac fi else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi @@ -8126,7 +8085,7 @@ php_enable_fpm=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FPM build" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for FPM build" >&5 printf %s "checking for FPM build... " >&6; } # Check whether --enable-fpm was given. if test ${enable_fpm+y} @@ -8142,8 +8101,8 @@ ext_output=$PHP_FPM -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -8170,12 +8129,12 @@ ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" if test "x$ac_cv_func_clock_gettime" = xyes then : - printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h + printf '%s\n' "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h else case e in #( e) LIBS_save=$LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5 printf %s "checking for library containing clock_gettime... " >&6; } if test ${ac_cv_search_clock_gettime+y} then : @@ -8233,15 +8192,15 @@ LIBS=$ac_func_search_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5 -printf "%s\n" "$ac_cv_search_clock_gettime" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5 +printf '%s\n' "$ac_cv_search_clock_gettime" >&6; } ac_res=$ac_cv_search_clock_gettime if test "$ac_res" != no then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" ac_cv_func_clock_gettime=yes - printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h + printf '%s\n' "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h if test "x$ac_cv_search_clock_gettime" = x"none required" then : @@ -8262,7 +8221,7 @@ if test "x$ac_cv_func_clock_gettime" = xno then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clock_get_time" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for clock_get_time" >&5 printf %s "checking for clock_get_time... " >&6; } if test ${php_cv_func_clock_get_time+y} then : @@ -8311,17 +8270,17 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_func_clock_get_time" >&5 -printf "%s\n" "$php_cv_func_clock_get_time" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_func_clock_get_time" >&5 +printf '%s\n' "$php_cv_func_clock_get_time" >&6; } if test "x$php_cv_func_clock_get_time" = xyes then : -printf "%s\n" "#define HAVE_CLOCK_GET_TIME 1" >>confdefs.h +printf '%s\n' "#define HAVE_CLOCK_GET_TIME 1" >>confdefs.h fi fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ptrace" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for ptrace" >&5 printf %s "checking for ptrace... " >&6; } if test ${php_cv_func_ptrace+y} then : @@ -8438,16 +8397,16 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_func_ptrace" >&5 -printf "%s\n" "$php_cv_func_ptrace" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_func_ptrace" >&5 +printf '%s\n' "$php_cv_func_ptrace" >&6; } if test "x$php_cv_func_ptrace" = xyes then : -printf "%s\n" "#define HAVE_PTRACE 1" >>confdefs.h +printf '%s\n' "#define HAVE_PTRACE 1" >>confdefs.h else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mach_vm_read" >&5 + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for mach_vm_read" >&5 printf %s "checking for mach_vm_read... " >&6; } if test ${php_cv_func_mach_vm_read+y} then : @@ -8483,8 +8442,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_func_mach_vm_read" >&5 -printf "%s\n" "$php_cv_func_mach_vm_read" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_func_mach_vm_read" >&5 +printf '%s\n' "$php_cv_func_mach_vm_read" >&6; } ;; esac fi @@ -8492,11 +8451,11 @@ if test "x$php_cv_func_mach_vm_read" = xyes then : -printf "%s\n" "#define HAVE_MACH_VM_READ 1" >>confdefs.h +printf '%s\n' "#define HAVE_MACH_VM_READ 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for proc mem file" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for proc mem file" >&5 printf %s "checking for proc mem file... " >&6; } if test ${php_cv_file_proc_mem+y} then : @@ -8571,15 +8530,15 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_file_proc_mem" >&5 -printf "%s\n" "$php_cv_file_proc_mem" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_file_proc_mem" >&5 +printf '%s\n' "$php_cv_file_proc_mem" >&6; } if ${php_cv_file_proc_mem:+false} : then : else case e in #( e) -printf "%s\n" "#define PROC_MEM_FILE \"$php_cv_file_proc_mem\"" >>confdefs.h +printf '%s\n' "#define PROC_MEM_FILE \"$php_cv_file_proc_mem\"" >>confdefs.h ;; esac fi @@ -8600,11 +8559,11 @@ if ${fpm_trace_type:+false} : then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: FPM Trace - ptrace, pread, or mach: could not be found" >&5 -printf "%s\n" "$as_me: WARNING: FPM Trace - ptrace, pread, or mach: could not be found" >&2;} + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: FPM Trace - ptrace, pread, or mach: could not be found" >&5 +printf '%s\n' "$as_me: WARNING: FPM Trace - ptrace, pread, or mach: could not be found" >&2;} fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler supports __sync_bool_compare_and_swap" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if compiler supports __sync_bool_compare_and_swap" >&5 printf %s "checking if compiler supports __sync_bool_compare_and_swap... " >&6; } if test ${php_cv_have___sync_bool_compare_and_swap+y} then : @@ -8636,16 +8595,16 @@ conftest$ac_exeext conftest.$ac_ext ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have___sync_bool_compare_and_swap" >&5 -printf "%s\n" "$php_cv_have___sync_bool_compare_and_swap" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have___sync_bool_compare_and_swap" >&5 +printf '%s\n' "$php_cv_have___sync_bool_compare_and_swap" >&6; } if test "x$php_cv_have___sync_bool_compare_and_swap" = xyes then : -printf "%s\n" "#define HAVE_BUILTIN_ATOMIC 1" >>confdefs.h +printf '%s\n' "#define HAVE_BUILTIN_ATOMIC 1" >>confdefs.h fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TCP_INFO" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for TCP_INFO" >&5 printf %s "checking for TCP_INFO... " >&6; } if test ${php_cv_have_TCP_INFO+y} then : @@ -8677,16 +8636,16 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_TCP_INFO" >&5 -printf "%s\n" "$php_cv_have_TCP_INFO" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_TCP_INFO" >&5 +printf '%s\n' "$php_cv_have_TCP_INFO" >&6; } if test "x$php_cv_have_TCP_INFO" = xyes then : -printf "%s\n" "#define HAVE_LQ_TCP_INFO 1" >>confdefs.h +printf '%s\n' "#define HAVE_LQ_TCP_INFO 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TCP_CONNECTION_INFO" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for TCP_CONNECTION_INFO" >&5 printf %s "checking for TCP_CONNECTION_INFO... " >&6; } if test ${php_cv_have_TCP_CONNECTION_INFO+y} then : @@ -8718,16 +8677,16 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_TCP_CONNECTION_INFO" >&5 -printf "%s\n" "$php_cv_have_TCP_CONNECTION_INFO" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_TCP_CONNECTION_INFO" >&5 +printf '%s\n' "$php_cv_have_TCP_CONNECTION_INFO" >&6; } if test "x$php_cv_have_TCP_CONNECTION_INFO" = xyes then : -printf "%s\n" "#define HAVE_LQ_TCP_CONNECTION_INFO 1" >>confdefs.h +printf '%s\n' "#define HAVE_LQ_TCP_CONNECTION_INFO 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SO_LISTENQLEN" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for SO_LISTENQLEN" >&5 printf %s "checking for SO_LISTENQLEN... " >&6; } if test ${php_cv_have_SO_LISTENQLEN+y} then : @@ -8759,16 +8718,16 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_SO_LISTENQLEN" >&5 -printf "%s\n" "$php_cv_have_SO_LISTENQLEN" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_SO_LISTENQLEN" >&5 +printf '%s\n' "$php_cv_have_SO_LISTENQLEN" >&6; } if test "x$php_cv_have_SO_LISTENQLEN" = xyes then : -printf "%s\n" "#define HAVE_LQ_SO_LISTENQ 1" >>confdefs.h +printf '%s\n' "#define HAVE_LQ_SO_LISTENQ 1" >>confdefs.h fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for kqueue" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for kqueue" >&5 printf %s "checking for kqueue... " >&6; } if test ${php_cv_have_kqueue+y} then : @@ -8804,16 +8763,16 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_kqueue" >&5 -printf "%s\n" "$php_cv_have_kqueue" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_kqueue" >&5 +printf '%s\n' "$php_cv_have_kqueue" >&6; } if test "x$php_cv_have_kqueue" = xyes then : -printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h +printf '%s\n' "#define HAVE_KQUEUE 1" >>confdefs.h fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for epoll" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for epoll" >&5 printf %s "checking for epoll... " >&6; } if test ${php_cv_have_epoll+y} then : @@ -8859,16 +8818,16 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_epoll" >&5 -printf "%s\n" "$php_cv_have_epoll" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_epoll" >&5 +printf '%s\n' "$php_cv_have_epoll" >&6; } if test "x$php_cv_have_epoll" = xyes then : -printf "%s\n" "#define HAVE_EPOLL 1" >>confdefs.h +printf '%s\n' "#define HAVE_EPOLL 1" >>confdefs.h fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for select" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for select" >&5 printf %s "checking for select... " >&6; } if test ${php_cv_have_select+y} then : @@ -8910,12 +8869,12 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_select" >&5 -printf "%s\n" "$php_cv_have_select" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_select" >&5 +printf '%s\n' "$php_cv_have_select" >&6; } if test "x$php_cv_have_select" = xyes then : -printf "%s\n" "#define HAVE_SELECT 1" >>confdefs.h +printf '%s\n' "#define HAVE_SELECT 1" >>confdefs.h fi @@ -8923,19 +8882,19 @@ ac_fn_c_check_func "$LINENO" "clearenv" "ac_cv_func_clearenv" if test "x$ac_cv_func_clearenv" = xyes then : - printf "%s\n" "#define HAVE_CLEARENV 1" >>confdefs.h + printf '%s\n' "#define HAVE_CLEARENV 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle" if test "x$ac_cv_func_setproctitle" = xyes then : - printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h + printf '%s\n' "#define HAVE_SETPROCTITLE 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "setproctitle_fast" "ac_cv_func_setproctitle_fast" if test "x$ac_cv_func_setproctitle_fast" = xyes then : - printf "%s\n" "#define HAVE_SETPROCTITLE_FAST 1" >>confdefs.h + printf '%s\n' "#define HAVE_SETPROCTITLE_FAST 1" >>confdefs.h fi @@ -8946,7 +8905,7 @@ ac_fn_c_check_func "$LINENO" "setpflags" "ac_cv_func_setpflags" if test "x$ac_cv_func_setpflags" = xyes then : - printf "%s\n" "#define HAVE_SETPFLAGS 1" >>confdefs.h + printf '%s\n' "#define HAVE_SETPFLAGS 1" >>confdefs.h fi @@ -8958,7 +8917,7 @@ ac_fn_c_check_func "$LINENO" "times" "ac_cv_func_times" if test "x$ac_cv_func_times" = xyes then : - printf "%s\n" "#define HAVE_TIMES 1" >>confdefs.h + printf '%s\n' "#define HAVE_TIMES 1" >>confdefs.h fi @@ -8970,7 +8929,7 @@ ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create" if test "x$ac_cv_func_port_create" = xyes then : - printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h + printf '%s\n' "#define HAVE_PORT_CREATE 1" >>confdefs.h fi @@ -9028,7 +8987,7 @@ php_with_fpm_systemd=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable systemd integration in PHP-FPM" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable systemd integration in PHP-FPM" >&5 printf %s "checking whether to enable systemd integration in PHP-FPM... " >&6; } # Check whether --with-fpm-systemd was given. @@ -9045,8 +9004,8 @@ ext_output=$PHP_FPM_SYSTEMD -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -9054,7 +9013,7 @@ php_with_fpm_acl=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use Access Control Lists (ACL) in PHP-FPM" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to use Access Control Lists (ACL) in PHP-FPM" >&5 printf %s "checking whether to use Access Control Lists (ACL) in PHP-FPM... " >&6; } # Check whether --with-fpm-acl was given. @@ -9071,8 +9030,8 @@ ext_output=$PHP_FPM_ACL -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -9080,7 +9039,7 @@ php_with_fpm_apparmor=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable AppArmor confinement in PHP-FPM" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable AppArmor confinement in PHP-FPM" >&5 printf %s "checking whether to enable AppArmor confinement in PHP-FPM... " >&6; } # Check whether --with-fpm-apparmor was given. @@ -9097,8 +9056,8 @@ ext_output=$PHP_FPM_APPARMOR -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -9106,7 +9065,7 @@ php_with_fpm_selinux=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable SELinux support in PHP-FPM" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable SELinux support in PHP-FPM" >&5 printf %s "checking whether to enable SELinux support in PHP-FPM... " >&6; } # Check whether --with-fpm-selinux was given. @@ -9123,8 +9082,8 @@ ext_output=$PHP_FPM_SELINUX -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -9136,17 +9095,17 @@ e) pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libsystemd >= 209" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libsystemd >= 209" >&5 printf %s "checking for libsystemd >= 209... " >&6; } if test -n "$SYSTEMD_CFLAGS"; then pkg_cv_SYSTEMD_CFLAGS="$SYSTEMD_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 \"libsystemd >= 209\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd >= 209\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsystemd >= 209") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${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 >= 209" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -9160,10 +9119,10 @@ pkg_cv_SYSTEMD_LIBS="$SYSTEMD_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 \"libsystemd >= 209\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd >= 209\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsystemd >= 209") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${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 >= 209" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -9177,8 +9136,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -9204,10 +9163,10 @@ and SYSTEMD_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 - { 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;} + { 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. @@ -9221,13 +9180,13 @@ else SYSTEMD_CFLAGS=$pkg_cv_SYSTEMD_CFLAGS SYSTEMD_LIBS=$pkg_cv_SYSTEMD_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } fi -printf "%s\n" "#define HAVE_SYSTEMD 1" >>confdefs.h +printf '%s\n' "#define HAVE_SYSTEMD 1" >>confdefs.h PHP_FPM_SD_FILES="fpm/fpm_systemd.c" _php_ext_shared_saved=$ext_shared; ext_shared=yes @@ -9395,8 +9354,8 @@ then : else case e in #( - e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} + e) { { 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 $? "Required header file not found. See 'config.log' for more details" "$LINENO" 5; } ;; esac @@ -9417,13 +9376,13 @@ ac_fn_c_check_header_compile "$LINENO" "sys/acl.h" "ac_cv_header_sys_acl_h" "$ac_includes_default" if test "x$ac_cv_header_sys_acl_h" = xyes then : - printf "%s\n" "#define HAVE_SYS_ACL_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_SYS_ACL_H 1" >>confdefs.h fi LIBS_save=$LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing acl_free" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for library containing acl_free" >&5 printf %s "checking for library containing acl_free... " >&6; } if test ${ac_cv_search_acl_free+y} then : @@ -9481,13 +9440,13 @@ LIBS=$ac_func_search_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_acl_free" >&5 -printf "%s\n" "$ac_cv_search_acl_free" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_acl_free" >&5 +printf '%s\n' "$ac_cv_search_acl_free" >&6; } ac_res=$ac_cv_search_acl_free if test "$ac_res" != no then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ACL user/group permissions support" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for ACL user/group permissions support" >&5 printf %s "checking for ACL user/group permissions support... " >&6; } if test ${php_cv_lib_acl_user_group+y} then : @@ -9524,13 +9483,13 @@ conftest$ac_exeext conftest.$ac_ext ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_lib_acl_user_group" >&5 -printf "%s\n" "$php_cv_lib_acl_user_group" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_lib_acl_user_group" >&5 +printf '%s\n' "$php_cv_lib_acl_user_group" >&6; } if test "x$php_cv_lib_acl_user_group" = xyes then : -printf "%s\n" "#define HAVE_FPM_ACL 1" >>confdefs.h +printf '%s\n' "#define HAVE_FPM_ACL 1" >>confdefs.h if test "x$ac_cv_search_acl_free" = x"none required" then : @@ -9556,17 +9515,17 @@ e) pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libapparmor" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libapparmor" >&5 printf %s "checking for libapparmor... " >&6; } if test -n "$APPARMOR_CFLAGS"; then pkg_cv_APPARMOR_CFLAGS="$APPARMOR_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 \"libapparmor\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libapparmor\""; } >&5 ($PKG_CONFIG --exists --print-errors "libapparmor") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_APPARMOR_CFLAGS=`$PKG_CONFIG --cflags "libapparmor" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -9580,10 +9539,10 @@ pkg_cv_APPARMOR_LIBS="$APPARMOR_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 \"libapparmor\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libapparmor\""; } >&5 ($PKG_CONFIG --exists --print-errors "libapparmor") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_APPARMOR_LIBS=`$PKG_CONFIG --libs "libapparmor" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -9597,8 +9556,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -9613,7 +9572,7 @@ # Put the nasty error message in config.log where it belongs echo "$APPARMOR_PKG_ERRORS" >&5 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for aa_change_profile in -lapparmor" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for aa_change_profile in -lapparmor" >&5 printf %s "checking for aa_change_profile in -lapparmor... " >&6; } if test ${ac_cv_lib_apparmor_aa_change_profile+y} then : @@ -9654,23 +9613,23 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_apparmor_aa_change_profile" >&5 -printf "%s\n" "$ac_cv_lib_apparmor_aa_change_profile" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_apparmor_aa_change_profile" >&5 +printf '%s\n' "$ac_cv_lib_apparmor_aa_change_profile" >&6; } if test "x$ac_cv_lib_apparmor_aa_change_profile" = xyes then : APPARMOR_LIBS=-lapparmor else case e in #( - e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} + e) { { 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 $? "Required libapparmor library not found. See 'config.log' for more details" "$LINENO" 5; } ;; esac fi elif test $pkg_failed = untried; 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 for aa_change_profile in -lapparmor" >&5 + { 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 for aa_change_profile in -lapparmor" >&5 printf %s "checking for aa_change_profile in -lapparmor... " >&6; } if test ${ac_cv_lib_apparmor_aa_change_profile+y} then : @@ -9711,14 +9670,14 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_apparmor_aa_change_profile" >&5 -printf "%s\n" "$ac_cv_lib_apparmor_aa_change_profile" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_apparmor_aa_change_profile" >&5 +printf '%s\n' "$ac_cv_lib_apparmor_aa_change_profile" >&6; } if test "x$ac_cv_lib_apparmor_aa_change_profile" = xyes then : APPARMOR_LIBS=-lapparmor else case e in #( - e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} + e) { { 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 $? "Required libapparmor library not found. See 'config.log' for more details" "$LINENO" 5; } ;; esac @@ -9727,8 +9686,8 @@ else APPARMOR_CFLAGS=$pkg_cv_APPARMOR_CFLAGS APPARMOR_LIBS=$pkg_cv_APPARMOR_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } for ac_i in $APPARMOR_CFLAGS; do case $ac_i in @@ -9892,11 +9851,11 @@ if test "x$ac_cv_header_sys_apparmor_h" = xyes then : -printf "%s\n" "#define HAVE_APPARMOR 1" >>confdefs.h +printf '%s\n' "#define HAVE_APPARMOR 1" >>confdefs.h else case e in #( - e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} + e) { { 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 $? "Required header file not found. See 'config.log' for more details" "$LINENO" 5; } ;; esac @@ -9914,17 +9873,17 @@ e) pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libselinux" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libselinux" >&5 printf %s "checking for libselinux... " >&6; } if test -n "$SELINUX_CFLAGS"; then pkg_cv_SELINUX_CFLAGS="$SELINUX_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 \"libselinux\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libselinux\""; } >&5 ($PKG_CONFIG --exists --print-errors "libselinux") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SELINUX_CFLAGS=`$PKG_CONFIG --cflags "libselinux" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -9938,10 +9897,10 @@ pkg_cv_SELINUX_LIBS="$SELINUX_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 \"libselinux\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libselinux\""; } >&5 ($PKG_CONFIG --exists --print-errors "libselinux") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SELINUX_LIBS=`$PKG_CONFIG --libs "libselinux" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -9955,8 +9914,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -9971,7 +9930,7 @@ # Put the nasty error message in config.log where it belongs echo "$SELINUX_PKG_ERRORS" >&5 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for security_setenforce in -lselinux" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for security_setenforce in -lselinux" >&5 printf %s "checking for security_setenforce in -lselinux... " >&6; } if test ${ac_cv_lib_selinux_security_setenforce+y} then : @@ -10012,23 +9971,23 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_security_setenforce" >&5 -printf "%s\n" "$ac_cv_lib_selinux_security_setenforce" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_security_setenforce" >&5 +printf '%s\n' "$ac_cv_lib_selinux_security_setenforce" >&6; } if test "x$ac_cv_lib_selinux_security_setenforce" = xyes then : SELINUX_LIBS=-lselinux else case e in #( - e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} + e) { { 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 $? "Required SELinux library not found. See 'config.log' for more details" "$LINENO" 5; } ;; esac fi elif test $pkg_failed = untried; 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 for security_setenforce in -lselinux" >&5 + { 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 for security_setenforce in -lselinux" >&5 printf %s "checking for security_setenforce in -lselinux... " >&6; } if test ${ac_cv_lib_selinux_security_setenforce+y} then : @@ -10069,14 +10028,14 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_security_setenforce" >&5 -printf "%s\n" "$ac_cv_lib_selinux_security_setenforce" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_security_setenforce" >&5 +printf '%s\n' "$ac_cv_lib_selinux_security_setenforce" >&6; } if test "x$ac_cv_lib_selinux_security_setenforce" = xyes then : SELINUX_LIBS=-lselinux else case e in #( - e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} + e) { { 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 $? "Required SELinux library not found. See 'config.log' for more details" "$LINENO" 5; } ;; esac @@ -10085,8 +10044,8 @@ else SELINUX_CFLAGS=$pkg_cv_SELINUX_CFLAGS SELINUX_LIBS=$pkg_cv_SELINUX_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } for ac_i in $SELINUX_CFLAGS; do case $ac_i in @@ -10250,11 +10209,11 @@ if test "x$ac_cv_header_selinux_selinux_h" = xyes then : -printf "%s\n" "#define HAVE_SELINUX 1" >>confdefs.h +printf '%s\n' "#define HAVE_SELINUX 1" >>confdefs.h else case e in #( - e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} + e) { { 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 $? "Required header file not found. See 'config.log' for more details" "$LINENO" 5; } ;; esac @@ -10466,7 +10425,7 @@ php_enable_fuzzer=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Clang fuzzer SAPI" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for Clang fuzzer SAPI" >&5 printf %s "checking for Clang fuzzer SAPI... " >&6; } # Check whether --enable-fuzzer was given. if test ${enable_fuzzer+y} @@ -10482,8 +10441,8 @@ ext_output=$PHP_FUZZER -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -10498,13 +10457,7 @@ (--enable-fuzzer). Please build fuzzer without ZTS." "$LINENO" 5 fi - - - - - - -ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' 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' @@ -10518,7 +10471,7 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ 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 : @@ -10539,7 +10492,7 @@ 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_CXX="$ac_tool_prefix$ac_prog" - printf "%s\n" "$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 @@ -10551,11 +10504,11 @@ fi CXX=$ac_cv_prog_CXX if test -n "$CXX"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 -printf "%s\n" "$CXX" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 +printf '%s\n' "$CXX" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi @@ -10568,7 +10521,7 @@ 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\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 : @@ -10589,7 +10542,7 @@ 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_CXX="$ac_prog" - printf "%s\n" "$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 @@ -10601,11 +10554,11 @@ fi ac_ct_CXX=$ac_cv_prog_ac_ct_CXX if test -n "$ac_ct_CXX"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 -printf "%s\n" "$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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi @@ -10617,8 +10570,8 @@ 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;} +{ 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 @@ -10628,7 +10581,7 @@ fi fi # Provide some information about the compiler. -printf "%s\n" "$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 @@ -10638,7 +10591,7 @@ *) 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 +printf '%s\n' "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -10648,11 +10601,11 @@ cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5 +{ 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 : @@ -10684,8 +10637,8 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 -printf "%s\n" "$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 @@ -10695,7 +10648,7 @@ fi ac_test_CXXFLAGS=${CXXFLAGS+y} ac_save_CXXFLAGS=$CXXFLAGS -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 +{ 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 : @@ -10763,8 +10716,8 @@ ac_cxx_werror_flag=$ac_save_cxx_werror_flag ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 -printf "%s\n" "$ac_cv_prog_cxx_g" >&6; } +{ 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 @@ -10780,106 +10733,6 @@ 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_cxx11+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) ac_cv_prog_cxx_cxx11=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 ;; -esac -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 case e in #( - e) 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 case e in #( - e) { 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" ;; -esac -fi - ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11 - ac_prog_cxx_stdcxx=cxx11 ;; -esac -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_cxx98+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) ac_cv_prog_cxx_cxx98=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 ;; -esac -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 case e in #( - e) 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 case e in #( - e) { 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" ;; -esac -fi - ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98 - ac_prog_cxx_stdcxx=cxx98 ;; -esac -fi -fi - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -10891,7 +10744,7 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 +{ 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 test ${ac_cv_prog_CXXCPP+y} @@ -10958,8 +10811,8 @@ else ac_cv_prog_CXXCPP=$CXXCPP fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 -printf "%s\n" "$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 @@ -11007,8 +10860,8 @@ then : else case e in #( - e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} + e) { { 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; } ;; esac @@ -11034,7 +10887,7 @@ FUZZING_LIB="-fsanitize=fuzzer" FUZZING_CC=$CC - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -fsanitize=fuzzer-no-link" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -fsanitize=fuzzer-no-link" >&5 printf %s "checking whether the C compiler accepts -fsanitize=fuzzer-no-link... " >&6; } if test ${ax_cv_check_cflags___fsanitize_fuzzer_no_link+y} then : @@ -11065,8 +10918,8 @@ CFLAGS=$ax_check_save_flags ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fsanitize_fuzzer_no_link" >&5 -printf "%s\n" "$ax_cv_check_cflags___fsanitize_fuzzer_no_link" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fsanitize_fuzzer_no_link" >&5 +printf '%s\n' "$ax_cv_check_cflags___fsanitize_fuzzer_no_link" >&6; } if test "x$ax_cv_check_cflags___fsanitize_fuzzer_no_link" = xyes then : @@ -11674,7 +11527,7 @@ php_enable_litespeed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LiteSpeed support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for LiteSpeed support" >&5 printf %s "checking for LiteSpeed support... " >&6; } # Check whether --enable-litespeed was given. if test ${enable_litespeed+y} @@ -11711,8 +11564,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -11849,7 +11702,7 @@ php_enable_phpdbg=yes -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for phpdbg support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for phpdbg support" >&5 printf %s "checking for phpdbg support... " >&6; } # Check whether --enable-phpdbg was given. if test ${enable_phpdbg+y} @@ -11886,8 +11739,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -11895,7 +11748,7 @@ php_enable_phpdbg_debug=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for phpdbg debug build" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for phpdbg debug build" >&5 printf %s "checking for phpdbg debug build... " >&6; } # Check whether --enable-phpdbg-debug was given. if test ${enable_phpdbg_debug+y} @@ -11911,8 +11764,8 @@ ext_output=$PHP_PHPDBG_DEBUG -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -11920,7 +11773,7 @@ php_enable_phpdbg_readline=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for phpdbg readline support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for phpdbg readline support" >&5 printf %s "checking for phpdbg readline support... " >&6; } # Check whether --enable-phpdbg-readline was given. if test ${enable_phpdbg_readline+y} @@ -11936,14 +11789,14 @@ ext_output=$PHP_PHPDBG_READLINE -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } if test "$PHP_PHPDBG" != "no"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether termios.h defines TIOCGWINSZ" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether termios.h defines TIOCGWINSZ" >&5 printf %s "checking whether termios.h defines TIOCGWINSZ... " >&6; } if test ${ac_cv_sys_tiocgwinsz_in_termios_h+y} then : @@ -11966,11 +11819,11 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_termios_h" >&5 -printf "%s\n" "$ac_cv_sys_tiocgwinsz_in_termios_h" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_termios_h" >&5 +printf '%s\n' "$ac_cv_sys_tiocgwinsz_in_termios_h" >&6; } if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sys/ioctl.h defines TIOCGWINSZ" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether sys/ioctl.h defines TIOCGWINSZ" >&5 printf %s "checking whether sys/ioctl.h defines TIOCGWINSZ... " >&6; } if test ${ac_cv_sys_tiocgwinsz_in_sys_ioctl_h+y} then : @@ -11993,12 +11846,12 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&5 -printf "%s\n" "$ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&5 +printf '%s\n' "$ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&6; } if test $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes; then -printf "%s\n" "#define GWINSZ_IN_SYS_IOCTL 1" >>confdefs.h +printf '%s\n' "#define GWINSZ_IN_SYS_IOCTL 1" >>confdefs.h fi fi @@ -12013,29 +11866,29 @@ esac fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for phpdbg and readline integration" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for phpdbg and readline integration" >&5 printf %s "checking for phpdbg and readline integration... " >&6; } if test "$PHP_PHPDBG_READLINE" = "yes"; then if test "$PHP_READLINE" != "no" || test "$PHP_LIBEDIT" != "no"; then -printf "%s\n" "#define HAVE_PHPDBG_READLINE 1" >>confdefs.h +printf '%s\n' "#define HAVE_PHPDBG_READLINE 1" >>confdefs.h PHPDBG_EXTRA_LIBS="$PHP_READLINE_LIBS" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5 -printf "%s\n" "ok" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ok" >&5 +printf '%s\n' "ok" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: readline is not available" >&5 -printf "%s\n" "readline is not available" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: readline is not available" >&5 +printf '%s\n' "readline is not available" >&6; } fi else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 -printf "%s\n" "disabled" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 +printf '%s\n' "disabled" >&6; } 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; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC options to detect undeclared functions" >&5 +printf %s "checking for $CC options to detect undeclared functions... " >&6; } if test ${ac_cv_c_undeclared_builtin_options+y} then : printf %s "(cached) " >&6 @@ -12103,12 +11956,12 @@ ;; esac 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; } +{ 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;} + { { 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') : @@ -12117,33 +11970,76 @@ ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;; esac +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC options to ignore future-version functions" >&5 +printf %s "checking for $CC options to ignore future-version functions... " >&6; } +if test ${ac_cv_c_future_darwin_options+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) ac_compile_saved="$ac_compile" + ac_compile="$ac_compile -Werror=unguarded-availability-new" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#if ! (defined __APPLE__ && defined __MACH__) + #error "-Werror=unguarded-availability-new not needed here" + #endif + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_c_future_darwin_options='-Werror=unguarded-availability-new' +else case e in #( + e) ac_cv_c_future_darwin_options='none needed' ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + ac_compile="$ac_compile_saved" + ;; +esac +fi +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_future_darwin_options" >&5 +printf '%s\n' "$ac_cv_c_future_darwin_options" >&6; } + case $ac_cv_c_future_darwin_options in #( + 'none needed') : + ac_c_future_darwin_options='' ;; #( + *) : + ac_c_future_darwin_options=$ac_cv_c_future_darwin_options ;; +esac + ac_fn_check_decl "$LINENO" "UFFDIO_WRITEPROTECT_MODE_WP" "ac_cv_have_decl_UFFDIO_WRITEPROTECT_MODE_WP" "#include -" "$ac_c_undeclared_builtin_options" "CFLAGS" +" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS" if test "x$ac_cv_have_decl_UFFDIO_WRITEPROTECT_MODE_WP" = xyes then : if test "x$enable_zts" = xyes then : - printf "%s\n" "#define HAVE_USERFAULTFD_WRITEFAULT 1" >>confdefs.h + printf '%s\n' "#define HAVE_USERFAULTFD_WRITEFAULT 1" >>confdefs.h else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking working pthreads" >&5 + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking working pthreads" >&5 printf %s "checking working pthreads... " >&6; } if test "x$pthreads_working" = xyes then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pthreads_cflags -l$ac_cv_pthreads_lib" >&5 -printf "%s\n" "$ac_cv_pthreads_cflags -l$ac_cv_pthreads_lib" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pthreads_cflags -l$ac_cv_pthreads_lib" >&5 +printf '%s\n' "$ac_cv_pthreads_cflags -l$ac_cv_pthreads_lib" >&6; } as_fn_append PHP_PHPDBG_CFLAGS " $ac_cv_pthreads_cflags" as_fn_append PHPDBG_EXTRA_LIBS " -l$ac_cv_pthreads_lib" - printf "%s\n" "#define HAVE_USERFAULTFD_WRITEFAULT 1" >>confdefs.h + printf '%s\n' "#define HAVE_USERFAULTFD_WRITEFAULT 1" >>confdefs.h else case e in #( e) - { 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: pthreads not available" >&5 -printf "%s\n" "$as_me: WARNING: pthreads not available" >&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: pthreads not available" >&5 +printf '%s\n' "$as_me: WARNING: pthreads not available" >&2;} ;; esac fi @@ -12304,7 +12200,7 @@ php_enable_cgi=yes -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CGI build" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for CGI build" >&5 printf %s "checking for CGI build... " >&6; } # Check whether --enable-cgi was given. if test ${enable_cgi+y} @@ -12320,8 +12216,8 @@ ext_output=$PHP_CGI -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -12332,13 +12228,13 @@ if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes then : -printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h +printf '%s\n' "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether cross-process locking is required by accept()" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether cross-process locking is required by accept()" >&5 printf %s "checking whether cross-process locking is required by accept()... " >&6; } if test ${php_cv_have_cross_process_locking+y} then : @@ -12352,12 +12248,12 @@ esac ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_cross_process_locking" >&5 -printf "%s\n" "$php_cv_have_cross_process_locking" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_cross_process_locking" >&5 +printf '%s\n' "$php_cv_have_cross_process_locking" >&6; } if test "x$php_cv_have_cross_process_locking" = xyes then : -printf "%s\n" "#define USE_LOCKING 1" >>confdefs.h +printf '%s\n' "#define USE_LOCKING 1" >>confdefs.h fi @@ -12508,20 +12404,20 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for chosen SAPI module" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for chosen SAPI module" >&5 printf %s "checking for chosen SAPI module... " >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PHP_SAPI" >&5 -printf "%s\n" "$PHP_SAPI" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $PHP_SAPI" >&5 +printf '%s\n' "$PHP_SAPI" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for executable SAPI binaries" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for executable SAPI binaries" >&5 printf %s "checking for executable SAPI binaries... " >&6; } if ${PHP_BINARIES:+false} : then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5 -printf "%s\n" "none" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none" >&5 +printf '%s\n' "none" >&6; } else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PHP_BINARIES" >&5 -printf "%s\n" "$PHP_BINARIES" >&6; } ;; + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $PHP_BINARIES" >&5 +printf '%s\n' "$PHP_BINARIES" >&6; } ;; esac fi @@ -12565,16 +12461,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: " >&5 -printf "%s\n" "" >&6; } - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${T_MD}Running system checks${T_ME}" >&5 -printf "%s\n" "${T_MD}Running system checks${T_ME}" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: " >&5 +printf '%s\n' "" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ${T_MD}Running system checks${T_ME}" >&5 +printf '%s\n' "${T_MD}Running system checks${T_ME}" >&6; } PHP_ALT_PATH=/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib:/usr/lib # Extract the first word of "sendmail", so it can be a program name with args. set dummy sendmail; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ 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_PROG_SENDMAIL+y} then : @@ -12598,7 +12494,7 @@ 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_PROG_SENDMAIL="$as_dir$ac_word$ac_exec_ext" - printf "%s\n" "$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 @@ -12611,22 +12507,22 @@ fi PROG_SENDMAIL=$ac_cv_path_PROG_SENDMAIL if test -n "$PROG_SENDMAIL"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PROG_SENDMAIL" >&5 -printf "%s\n" "$PROG_SENDMAIL" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $PROG_SENDMAIL" >&5 +printf '%s\n' "$PROG_SENDMAIL" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi if ${PROG_SENDMAIL:+false} : then : PROG_SENDMAIL=/usr/sbin/sendmail -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: default sendmail_path INI directive set to $PROG_SENDMAIL" >&5 -printf "%s\n" "$as_me: default sendmail_path INI directive set to $PROG_SENDMAIL" >&6;} +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: default sendmail_path INI directive set to $PROG_SENDMAIL" >&5 +printf '%s\n' "$as_me: default sendmail_path INI directive set to $PROG_SENDMAIL" >&6;} fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether system uses EBCDIC" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether system uses EBCDIC" >&5 printf %s "checking whether system uses EBCDIC... " >&6; } if test ${ac_cv_ebcdic+y} then : @@ -12658,18 +12554,18 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ebcdic" >&5 -printf "%s\n" "$ac_cv_ebcdic" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ebcdic" >&5 +printf '%s\n' "$ac_cv_ebcdic" >&6; } if test "x$ac_cv_ebcdic" = xyes then : - { { 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: in '$ac_pwd':" >&5 +printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "PHP does not support EBCDIC targets. See 'config.log' for more details" "$LINENO" 5; } fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 +{ 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_php+y} then : @@ -12709,17 +12605,17 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian_php" >&5 -printf "%s\n" "$ac_cv_c_bigendian_php" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian_php" >&5 +printf '%s\n' "$ac_cv_c_bigendian_php" >&6; } if test "x$ac_cv_c_bigendian_php" = xyes then : -printf "%s\n" "#define WORDS_BIGENDIAN /**/" >>confdefs.h +printf '%s\n' "#define WORDS_BIGENDIAN /**/" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether writing to stdout works" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether writing to stdout works" >&5 printf %s "checking whether writing to stdout works... " >&6; } if test ${php_cv_have_write_stdout+y} then : @@ -12766,12 +12662,12 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_write_stdout" >&5 -printf "%s\n" "$php_cv_have_write_stdout" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_write_stdout" >&5 +printf '%s\n' "$php_cv_have_write_stdout" >&6; } if test "x$php_cv_have_write_stdout" = xyes then : -printf "%s\n" "#define PHP_WRITE_STDOUT 1" >>confdefs.h +printf '%s\n' "#define PHP_WRITE_STDOUT 1" >>confdefs.h fi @@ -12819,7 +12715,7 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 printf %s "checking for library containing socket... " >&6; } if test ${ac_cv_search_socket+y} then : @@ -12877,8 +12773,8 @@ LIBS=$ac_func_search_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 -printf "%s\n" "$ac_cv_search_socket" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 +printf '%s\n' "$ac_cv_search_socket" >&6; } ac_res=$ac_cv_search_socket if test "$ac_res" != no then : @@ -12893,10 +12789,10 @@ ac_fn_c_check_func "$LINENO" "socketpair" "ac_cv_func_socketpair" if test "x$ac_cv_func_socketpair" = xyes then : - printf "%s\n" "#define HAVE_SOCKETPAIR 1" >>confdefs.h + printf '%s\n' "#define HAVE_SOCKETPAIR 1" >>confdefs.h else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing socketpair" >&5 + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for library containing socketpair" >&5 printf %s "checking for library containing socketpair... " >&6; } if test ${ac_cv_search_socketpair+y} then : @@ -12954,13 +12850,13 @@ LIBS=$ac_func_search_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socketpair" >&5 -printf "%s\n" "$ac_cv_search_socketpair" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socketpair" >&5 +printf '%s\n' "$ac_cv_search_socketpair" >&6; } ac_res=$ac_cv_search_socketpair if test "$ac_res" != no then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - printf "%s\n" "#define HAVE_SOCKETPAIR 1" >>confdefs.h + printf '%s\n' "#define HAVE_SOCKETPAIR 1" >>confdefs.h fi ;; @@ -12969,7 +12865,7 @@ done -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyaddr" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyaddr" >&5 printf %s "checking for library containing gethostbyaddr... " >&6; } if test ${ac_cv_search_gethostbyaddr+y} then : @@ -13027,8 +12923,8 @@ LIBS=$ac_func_search_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyaddr" >&5 -printf "%s\n" "$ac_cv_search_gethostbyaddr" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyaddr" >&5 +printf '%s\n' "$ac_cv_search_gethostbyaddr" >&6; } ac_res=$ac_cv_search_gethostbyaddr if test "$ac_res" != no then : @@ -13037,7 +12933,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5 printf %s "checking for library containing dlopen... " >&6; } if test ${ac_cv_search_dlopen+y} then : @@ -13095,19 +12991,19 @@ LIBS=$ac_func_search_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5 -printf "%s\n" "$ac_cv_search_dlopen" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5 +printf '%s\n' "$ac_cv_search_dlopen" >&6; } ac_res=$ac_cv_search_dlopen if test "$ac_res" != no then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" -printf "%s\n" "#define HAVE_LIBDL 1" >>confdefs.h +printf '%s\n' "#define HAVE_LIBDL 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing sin" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for library containing sin" >&5 printf %s "checking for library containing sin... " >&6; } if test ${ac_cv_search_sin+y} then : @@ -13165,8 +13061,8 @@ LIBS=$ac_func_search_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sin" >&5 -printf "%s\n" "$ac_cv_search_sin" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sin" >&5 +printf '%s\n' "$ac_cv_search_sin" >&6; } ac_res=$ac_cv_search_sin if test "$ac_res" != no then : @@ -13203,7 +13099,7 @@ case $found in yes) -printf "%s\n" "#define HAVE___ATOMIC_EXCHANGE_1 1" >>confdefs.h +printf '%s\n' "#define HAVE___ATOMIC_EXCHANGE_1 1" >>confdefs.h ac_cv_func___atomic_exchange_1=yes ;; @@ -13213,7 +13109,7 @@ unset ac_cv_lib_atomic___atomic_exchange_1 unset ac_cv_lib_atomic_____atomic_exchange_1 unset found - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __atomic_exchange_1 in -latomic" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for __atomic_exchange_1 in -latomic" >&5 printf %s "checking for __atomic_exchange_1 in -latomic... " >&6; } if test ${ac_cv_lib_atomic___atomic_exchange_1+y} then : @@ -13254,14 +13150,14 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_atomic___atomic_exchange_1" >&5 -printf "%s\n" "$ac_cv_lib_atomic___atomic_exchange_1" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_atomic___atomic_exchange_1" >&5 +printf '%s\n' "$ac_cv_lib_atomic___atomic_exchange_1" >&6; } if test "x$ac_cv_lib_atomic___atomic_exchange_1" = xyes then : found=yes else case e in #( e) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ____atomic_exchange_1 in -latomic" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for ____atomic_exchange_1 in -latomic" >&5 printf %s "checking for ____atomic_exchange_1 in -latomic... " >&6; } if test ${ac_cv_lib_atomic_____atomic_exchange_1+y} then : @@ -13302,8 +13198,8 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_atomic_____atomic_exchange_1" >&5 -printf "%s\n" "$ac_cv_lib_atomic_____atomic_exchange_1" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_atomic_____atomic_exchange_1" >&5 +printf '%s\n' "$ac_cv_lib_atomic_____atomic_exchange_1" >&6; } if test "x$ac_cv_lib_atomic_____atomic_exchange_1" = xyes then : found=yes @@ -13364,10 +13260,10 @@ -printf "%s\n" "#define HAVE___ATOMIC_EXCHANGE_1 1" >>confdefs.h +printf '%s\n' "#define HAVE___ATOMIC_EXCHANGE_1 1" >>confdefs.h -printf "%s\n" "#define HAVE_LIBATOMIC 1" >>confdefs.h +printf '%s\n' "#define HAVE_LIBATOMIC 1" >>confdefs.h ac_cv_func___atomic_exchange_1=yes else @@ -13383,7 +13279,7 @@ ;; esac -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing Pgrab" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for library containing Pgrab" >&5 printf %s "checking for library containing Pgrab... " >&6; } if test ${ac_cv_search_Pgrab+y} then : @@ -13441,8 +13337,8 @@ LIBS=$ac_func_search_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_Pgrab" >&5 -printf "%s\n" "$ac_cv_search_Pgrab" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_Pgrab" >&5 +printf '%s\n' "$ac_cv_search_Pgrab" >&6; } ac_res=$ac_cv_search_Pgrab if test "$ac_res" != no then : @@ -13451,7 +13347,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5 printf %s "checking for library containing setsockopt... " >&6; } if test ${ac_cv_search_setsockopt+y} then : @@ -13509,8 +13405,8 @@ LIBS=$ac_func_search_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_setsockopt" >&5 -printf "%s\n" "$ac_cv_search_setsockopt" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_setsockopt" >&5 +printf '%s\n' "$ac_cv_search_setsockopt" >&6; } ac_res=$ac_cv_search_setsockopt if test "$ac_res" != no then : @@ -13525,10 +13421,10 @@ ac_fn_c_check_func "$LINENO" "openpty" "ac_cv_func_openpty" if test "x$ac_cv_func_openpty" = xyes then : - printf "%s\n" "#define HAVE_OPENPTY 1" >>confdefs.h + printf '%s\n' "#define HAVE_OPENPTY 1" >>confdefs.h else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing openpty" >&5 + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for library containing openpty" >&5 printf %s "checking for library containing openpty... " >&6; } if test ${ac_cv_search_openpty+y} then : @@ -13586,13 +13482,13 @@ LIBS=$ac_func_search_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_openpty" >&5 -printf "%s\n" "$ac_cv_search_openpty" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_openpty" >&5 +printf '%s\n' "$ac_cv_search_openpty" >&6; } ac_res=$ac_cv_search_openpty if test "$ac_res" != no then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - printf "%s\n" "#define HAVE_OPENPTY 1" >>confdefs.h + printf '%s\n' "#define HAVE_OPENPTY 1" >>confdefs.h fi ;; @@ -13621,7 +13517,7 @@ " if test "x$ac_cv_header_dirent_h" = xyes then : - printf "%s\n" "#define HAVE_DIRENT_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_DIRENT_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "#ifdef HAVE_SYS_PARAM_H @@ -13643,7 +13539,7 @@ " if test "x$ac_cv_header_sys_param_h" = xyes then : - printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_SYS_PARAM_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "#ifdef HAVE_SYS_PARAM_H @@ -13665,7 +13561,7 @@ " if test "x$ac_cv_header_sys_types_h" = xyes then : - printf "%s\n" "#define HAVE_SYS_TYPES_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_SYS_TYPES_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "#ifdef HAVE_SYS_PARAM_H @@ -13687,7 +13583,7 @@ " if test "x$ac_cv_header_sys_time_h" = xyes then : - printf "%s\n" "#define HAVE_SYS_TIME_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_SYS_TIME_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "#ifdef HAVE_SYS_PARAM_H @@ -13709,7 +13605,7 @@ " if test "x$ac_cv_header_netinet_in_h" = xyes then : - printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_NETINET_IN_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "alloca.h" "ac_cv_header_alloca_h" "#ifdef HAVE_SYS_PARAM_H @@ -13731,7 +13627,7 @@ " if test "x$ac_cv_header_alloca_h" = xyes then : - printf "%s\n" "#define HAVE_ALLOCA_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_ALLOCA_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "#ifdef HAVE_SYS_PARAM_H @@ -13753,7 +13649,7 @@ " if test "x$ac_cv_header_arpa_inet_h" = xyes then : - printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_ARPA_INET_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "#ifdef HAVE_SYS_PARAM_H @@ -13775,7 +13671,7 @@ " if test "x$ac_cv_header_arpa_nameser_h" = xyes then : - printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "dns.h" "ac_cv_header_dns_h" "#ifdef HAVE_SYS_PARAM_H @@ -13797,7 +13693,7 @@ " if test "x$ac_cv_header_dns_h" = xyes then : - printf "%s\n" "#define HAVE_DNS_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_DNS_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "#ifdef HAVE_SYS_PARAM_H @@ -13819,7 +13715,7 @@ " if test "x$ac_cv_header_fcntl_h" = xyes then : - printf "%s\n" "#define HAVE_FCNTL_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_FCNTL_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "grp.h" "ac_cv_header_grp_h" "#ifdef HAVE_SYS_PARAM_H @@ -13841,7 +13737,7 @@ " if test "x$ac_cv_header_grp_h" = xyes then : - printf "%s\n" "#define HAVE_GRP_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_GRP_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "ieeefp.h" "ac_cv_header_ieeefp_h" "#ifdef HAVE_SYS_PARAM_H @@ -13863,7 +13759,7 @@ " if test "x$ac_cv_header_ieeefp_h" = xyes then : - printf "%s\n" "#define HAVE_IEEEFP_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_IEEEFP_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "langinfo.h" "ac_cv_header_langinfo_h" "#ifdef HAVE_SYS_PARAM_H @@ -13885,7 +13781,7 @@ " if test "x$ac_cv_header_langinfo_h" = xyes then : - printf "%s\n" "#define HAVE_LANGINFO_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_LANGINFO_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "linux/sock_diag.h" "ac_cv_header_linux_sock_diag_h" "#ifdef HAVE_SYS_PARAM_H @@ -13907,7 +13803,7 @@ " if test "x$ac_cv_header_linux_sock_diag_h" = xyes then : - printf "%s\n" "#define HAVE_LINUX_SOCK_DIAG_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_LINUX_SOCK_DIAG_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "poll.h" "ac_cv_header_poll_h" "#ifdef HAVE_SYS_PARAM_H @@ -13929,7 +13825,7 @@ " if test "x$ac_cv_header_poll_h" = xyes then : - printf "%s\n" "#define HAVE_POLL_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_POLL_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "pty.h" "ac_cv_header_pty_h" "#ifdef HAVE_SYS_PARAM_H @@ -13951,7 +13847,7 @@ " if test "x$ac_cv_header_pty_h" = xyes then : - printf "%s\n" "#define HAVE_PTY_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_PTY_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "#ifdef HAVE_SYS_PARAM_H @@ -13973,7 +13869,7 @@ " if test "x$ac_cv_header_pwd_h" = xyes then : - printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_PWD_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#ifdef HAVE_SYS_PARAM_H @@ -13995,7 +13891,7 @@ " if test "x$ac_cv_header_resolv_h" = xyes then : - printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_RESOLV_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "strings.h" "ac_cv_header_strings_h" "#ifdef HAVE_SYS_PARAM_H @@ -14017,7 +13913,7 @@ " if test "x$ac_cv_header_strings_h" = xyes then : - printf "%s\n" "#define HAVE_STRINGS_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_STRINGS_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "syslog.h" "ac_cv_header_syslog_h" "#ifdef HAVE_SYS_PARAM_H @@ -14039,7 +13935,7 @@ " if test "x$ac_cv_header_syslog_h" = xyes then : - printf "%s\n" "#define HAVE_SYSLOG_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_SYSLOG_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sysexits.h" "ac_cv_header_sysexits_h" "#ifdef HAVE_SYS_PARAM_H @@ -14061,7 +13957,7 @@ " if test "x$ac_cv_header_sysexits_h" = xyes then : - printf "%s\n" "#define HAVE_SYSEXITS_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_SYSEXITS_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "#ifdef HAVE_SYS_PARAM_H @@ -14083,7 +13979,7 @@ " if test "x$ac_cv_header_sys_ioctl_h" = xyes then : - printf "%s\n" "#define HAVE_SYS_IOCTL_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_SYS_IOCTL_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/file.h" "ac_cv_header_sys_file_h" "#ifdef HAVE_SYS_PARAM_H @@ -14105,7 +14001,7 @@ " if test "x$ac_cv_header_sys_file_h" = xyes then : - printf "%s\n" "#define HAVE_SYS_FILE_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_SYS_FILE_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "#ifdef HAVE_SYS_PARAM_H @@ -14127,7 +14023,7 @@ " if test "x$ac_cv_header_sys_mman_h" = xyes then : - printf "%s\n" "#define HAVE_SYS_MMAN_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_SYS_MMAN_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#ifdef HAVE_SYS_PARAM_H @@ -14149,7 +14045,7 @@ " if test "x$ac_cv_header_sys_mount_h" = xyes then : - printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "#ifdef HAVE_SYS_PARAM_H @@ -14171,7 +14067,7 @@ " if test "x$ac_cv_header_sys_poll_h" = xyes then : - printf "%s\n" "#define HAVE_SYS_POLL_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_SYS_POLL_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "#ifdef HAVE_SYS_PARAM_H @@ -14193,7 +14089,7 @@ " if test "x$ac_cv_header_sys_resource_h" = xyes then : - printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "#ifdef HAVE_SYS_PARAM_H @@ -14215,7 +14111,7 @@ " if test "x$ac_cv_header_sys_select_h" = xyes then : - printf "%s\n" "#define HAVE_SYS_SELECT_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_SYS_SELECT_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "#ifdef HAVE_SYS_PARAM_H @@ -14237,7 +14133,7 @@ " if test "x$ac_cv_header_sys_socket_h" = xyes then : - printf "%s\n" "#define HAVE_SYS_SOCKET_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_SYS_SOCKET_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "#ifdef HAVE_SYS_PARAM_H @@ -14259,7 +14155,7 @@ " if test "x$ac_cv_header_sys_stat_h" = xyes then : - printf "%s\n" "#define HAVE_SYS_STAT_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_SYS_STAT_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#ifdef HAVE_SYS_PARAM_H @@ -14281,7 +14177,7 @@ " if test "x$ac_cv_header_sys_statfs_h" = xyes then : - printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_SYS_STATFS_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "#ifdef HAVE_SYS_PARAM_H @@ -14303,7 +14199,7 @@ " if test "x$ac_cv_header_sys_statvfs_h" = xyes then : - printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#ifdef HAVE_SYS_PARAM_H @@ -14325,7 +14221,7 @@ " if test "x$ac_cv_header_sys_vfs_h" = xyes then : - printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_SYS_VFS_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/sysexits.h" "ac_cv_header_sys_sysexits_h" "#ifdef HAVE_SYS_PARAM_H @@ -14347,7 +14243,7 @@ " if test "x$ac_cv_header_sys_sysexits_h" = xyes then : - printf "%s\n" "#define HAVE_SYS_SYSEXITS_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_SYS_SYSEXITS_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "#ifdef HAVE_SYS_PARAM_H @@ -14369,7 +14265,7 @@ " if test "x$ac_cv_header_sys_uio_h" = xyes then : - printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_SYS_UIO_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/wait.h" "ac_cv_header_sys_wait_h" "#ifdef HAVE_SYS_PARAM_H @@ -14391,7 +14287,7 @@ " if test "x$ac_cv_header_sys_wait_h" = xyes then : - printf "%s\n" "#define HAVE_SYS_WAIT_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_SYS_WAIT_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/loadavg.h" "ac_cv_header_sys_loadavg_h" "#ifdef HAVE_SYS_PARAM_H @@ -14413,7 +14309,7 @@ " if test "x$ac_cv_header_sys_loadavg_h" = xyes then : - printf "%s\n" "#define HAVE_SYS_LOADAVG_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_SYS_LOADAVG_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "#ifdef HAVE_SYS_PARAM_H @@ -14435,7 +14331,7 @@ " if test "x$ac_cv_header_unistd_h" = xyes then : - printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_UNISTD_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "unix.h" "ac_cv_header_unix_h" "#ifdef HAVE_SYS_PARAM_H @@ -14457,7 +14353,7 @@ " if test "x$ac_cv_header_unix_h" = xyes then : - printf "%s\n" "#define HAVE_UNIX_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_UNIX_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "#ifdef HAVE_SYS_PARAM_H @@ -14479,7 +14375,7 @@ " if test "x$ac_cv_header_utime_h" = xyes then : - printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_UTIME_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "#ifdef HAVE_SYS_PARAM_H @@ -14501,7 +14397,7 @@ " if test "x$ac_cv_header_sys_utsname_h" = xyes then : - printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "#ifdef HAVE_SYS_PARAM_H @@ -14523,7 +14419,7 @@ " if test "x$ac_cv_header_sys_ipc_h" = xyes then : - printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_SYS_IPC_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "#ifdef HAVE_SYS_PARAM_H @@ -14545,7 +14441,7 @@ " if test "x$ac_cv_header_dlfcn_h" = xyes then : - printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_DLFCN_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "tmmintrin.h" "ac_cv_header_tmmintrin_h" "#ifdef HAVE_SYS_PARAM_H @@ -14567,7 +14463,7 @@ " if test "x$ac_cv_header_tmmintrin_h" = xyes then : - printf "%s\n" "#define HAVE_TMMINTRIN_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_TMMINTRIN_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "nmmintrin.h" "ac_cv_header_nmmintrin_h" "#ifdef HAVE_SYS_PARAM_H @@ -14589,7 +14485,7 @@ " if test "x$ac_cv_header_nmmintrin_h" = xyes then : - printf "%s\n" "#define HAVE_NMMINTRIN_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_NMMINTRIN_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "wmmintrin.h" "ac_cv_header_wmmintrin_h" "#ifdef HAVE_SYS_PARAM_H @@ -14611,7 +14507,7 @@ " if test "x$ac_cv_header_wmmintrin_h" = xyes then : - printf "%s\n" "#define HAVE_WMMINTRIN_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_WMMINTRIN_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "immintrin.h" "ac_cv_header_immintrin_h" "#ifdef HAVE_SYS_PARAM_H @@ -14633,7 +14529,7 @@ " if test "x$ac_cv_header_immintrin_h" = xyes then : - printf "%s\n" "#define HAVE_IMMINTRIN_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_IMMINTRIN_H 1" >>confdefs.h fi @@ -14645,7 +14541,7 @@ ac_fn_c_check_func "$LINENO" "fopencookie" "ac_cv_func_fopencookie" if test "x$ac_cv_func_fopencookie" = xyes then : - printf "%s\n" "#define HAVE_FOPENCOOKIE 1" >>confdefs.h + printf '%s\n' "#define HAVE_FOPENCOOKIE 1" >>confdefs.h fi @@ -14653,7 +14549,7 @@ if test "x$ac_cv_func_fopencookie" = xyes then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether fopencookie seeker uses off64_t" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether fopencookie seeker uses off64_t" >&5 printf %s "checking whether fopencookie seeker uses off64_t... " >&6; } if test ${php_cv_type_cookie_off64_t+y} then : @@ -14714,19 +14610,19 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_type_cookie_off64_t" >&5 -printf "%s\n" "$php_cv_type_cookie_off64_t" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_type_cookie_off64_t" >&5 +printf '%s\n' "$php_cv_type_cookie_off64_t" >&6; } if test "x$php_cv_type_cookie_off64_t" = xyes then : -printf "%s\n" "#define COOKIE_SEEKER_USES_OFF64_T 1" >>confdefs.h +printf '%s\n' "#define COOKIE_SEEKER_USES_OFF64_T 1" >>confdefs.h fi fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken getcwd" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for broken getcwd" >&5 printf %s "checking for broken getcwd... " >&6; } if test ${php_cv_func_getcwd_broken+y} then : @@ -14740,18 +14636,18 @@ esac ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_func_getcwd_broken" >&5 -printf "%s\n" "$php_cv_func_getcwd_broken" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_func_getcwd_broken" >&5 +printf '%s\n' "$php_cv_func_getcwd_broken" >&6; } if test "x$php_cv_func_getcwd_broken" = xyes then : -printf "%s\n" "#define HAVE_BROKEN_GETCWD 1" >>confdefs.h +printf '%s\n' "#define HAVE_BROKEN_GETCWD 1" >>confdefs.h fi if test "x$GCC" = xyes then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken gcc optimize-strlen" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for broken gcc optimize-strlen" >&5 printf %s "checking for broken gcc optimize-strlen... " >&6; } if test ${php_cv_have_broken_gcc_strlen_opt+y} then : @@ -14795,8 +14691,8 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_broken_gcc_strlen_opt" >&5 -printf "%s\n" "$php_cv_have_broken_gcc_strlen_opt" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_broken_gcc_strlen_opt" >&5 +printf '%s\n' "$php_cv_have_broken_gcc_strlen_opt" >&6; } if test "x$php_cv_have_broken_gcc_strlen_opt" = xyes then : as_fn_append CFLAGS " -fno-optimize-strlen" @@ -14810,7 +14706,7 @@ if test "x$ac_cv_header_sys_mkdev_h" = xyes then : -printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h +printf '%s\n' "#define MAJOR_IN_MKDEV 1" >>confdefs.h fi @@ -14819,7 +14715,7 @@ if test "x$ac_cv_header_sys_sysmacros_h" = xyes then : -printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h +printf '%s\n' "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h fi @@ -14827,7 +14723,7 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 printf %s "checking whether struct tm is in sys/time.h or time.h... " >&6; } if test ${ac_cv_struct_tm+y} then : @@ -14858,11 +14754,11 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 -printf "%s\n" "$ac_cv_struct_tm" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 +printf '%s\n' "$ac_cv_struct_tm" >&6; } if test $ac_cv_struct_tm = sys/time.h; then -printf "%s\n" "#define TM_IN_SYS_TIME 1" >>confdefs.h +printf '%s\n' "#define TM_IN_SYS_TIME 1" >>confdefs.h fi @@ -14873,18 +14769,18 @@ if test "x$ac_cv_member_struct_tm_tm_zone" = xyes then : -printf "%s\n" "#define HAVE_STRUCT_TM_TM_ZONE 1" >>confdefs.h +printf '%s\n' "#define HAVE_STRUCT_TM_TM_ZONE 1" >>confdefs.h fi if test "$ac_cv_member_struct_tm_tm_zone" = yes; then -printf "%s\n" "#define HAVE_TM_ZONE 1" >>confdefs.h +printf '%s\n' "#define HAVE_TM_ZONE 1" >>confdefs.h else ac_fn_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include -" "$ac_c_undeclared_builtin_options" "CFLAGS" +" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS" if test "x$ac_cv_have_decl_tzname" = xyes then : ac_have_decl=1 @@ -14892,9 +14788,9 @@ e) ac_have_decl=0 ;; esac fi -printf "%s\n" "#define HAVE_DECL_TZNAME $ac_have_decl" >>confdefs.h +printf '%s\n' "#define HAVE_DECL_TZNAME $ac_have_decl" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5 printf %s "checking for tzname... " >&6; } if test ${ac_cv_var_tzname+y} then : @@ -14926,11 +14822,11 @@ conftest$ac_exeext conftest.$ac_ext ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5 -printf "%s\n" "$ac_cv_var_tzname" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5 +printf '%s\n' "$ac_cv_var_tzname" >&6; } if test $ac_cv_var_tzname = yes; then -printf "%s\n" "#define HAVE_TZNAME 1" >>confdefs.h +printf '%s\n' "#define HAVE_TZNAME 1" >>confdefs.h fi fi @@ -14938,57 +14834,57 @@ ac_fn_check_decl "$LINENO" "localtime_r" "ac_cv_have_decl_localtime_r" "#include -" "$ac_c_undeclared_builtin_options" "CFLAGS" +" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS" if test "x$ac_cv_have_decl_localtime_r" = xyes then : else case e in #( e) -printf "%s\n" "#define MISSING_LOCALTIME_R_DECL 1" >>confdefs.h +printf '%s\n' "#define MISSING_LOCALTIME_R_DECL 1" >>confdefs.h ;; esac fi ac_fn_check_decl "$LINENO" "gmtime_r" "ac_cv_have_decl_gmtime_r" "#include -" "$ac_c_undeclared_builtin_options" "CFLAGS" +" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS" if test "x$ac_cv_have_decl_gmtime_r" = xyes then : else case e in #( e) -printf "%s\n" "#define MISSING_GMTIME_R_DECL 1" >>confdefs.h +printf '%s\n' "#define MISSING_GMTIME_R_DECL 1" >>confdefs.h ;; esac fi ac_fn_check_decl "$LINENO" "asctime_r" "ac_cv_have_decl_asctime_r" "#include -" "$ac_c_undeclared_builtin_options" "CFLAGS" +" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS" if test "x$ac_cv_have_decl_asctime_r" = xyes then : else case e in #( e) -printf "%s\n" "#define MISSING_ASCTIME_R_DECL 1" >>confdefs.h +printf '%s\n' "#define MISSING_ASCTIME_R_DECL 1" >>confdefs.h ;; esac fi ac_fn_check_decl "$LINENO" "ctime_r" "ac_cv_have_decl_ctime_r" "#include -" "$ac_c_undeclared_builtin_options" "CFLAGS" +" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS" if test "x$ac_cv_have_decl_ctime_r" = xyes then : else case e in #( e) -printf "%s\n" "#define MISSING_CTIME_R_DECL 1" >>confdefs.h +printf '%s\n' "#define MISSING_CTIME_R_DECL 1" >>confdefs.h ;; esac fi ac_fn_check_decl "$LINENO" "strtok_r" "ac_cv_have_decl_strtok_r" "#include -" "$ac_c_undeclared_builtin_options" "CFLAGS" +" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS" if test "x$ac_cv_have_decl_strtok_r" = xyes then : else case e in #( e) -printf "%s\n" "#define MISSING_STRTOK_R_DECL 1" >>confdefs.h +printf '%s\n' "#define MISSING_STRTOK_R_DECL 1" >>confdefs.h ;; esac fi @@ -14999,7 +14895,7 @@ if test "x$ac_cv_type_struct_flock" = xyes then : -printf "%s\n" "#define HAVE_STRUCT_FLOCK 1" >>confdefs.h +printf '%s\n' "#define HAVE_STRUCT_FLOCK 1" >>confdefs.h fi @@ -15016,14 +14912,14 @@ if test "x$ac_cv_type_socklen_t" = xyes then : -printf "%s\n" "#define HAVE_SOCKLEN_T 1" >>confdefs.h +printf '%s\n' "#define HAVE_SOCKLEN_T 1" >>confdefs.h fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of intmax_t" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking size of intmax_t" >&5 printf %s "checking size of intmax_t... " >&6; } php_cache_value=php_cv_sizeof_intmax_t @@ -15087,20 +14983,20 @@ if eval test "\$$php_cache_value" != "0"; then -printf "%s\n" "#define SIZEOF_INTMAX_T $php_cv_sizeof_intmax_t" >>confdefs.h +printf '%s\n' "#define SIZEOF_INTMAX_T $php_cv_sizeof_intmax_t" >>confdefs.h -printf "%s\n" "#define HAVE_INTMAX_T 1" >>confdefs.h +printf '%s\n' "#define HAVE_INTMAX_T 1" >>confdefs.h fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_sizeof_intmax_t" >&5 -printf "%s\n" "$php_cv_sizeof_intmax_t" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_sizeof_intmax_t" >&5 +printf '%s\n' "$php_cv_sizeof_intmax_t" >&6; } - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of ssize_t" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking size of ssize_t" >&5 printf %s "checking size of ssize_t... " >&6; } php_cache_value=php_cv_sizeof_ssize_t @@ -15164,20 +15060,20 @@ if eval test "\$$php_cache_value" != "0"; then -printf "%s\n" "#define SIZEOF_SSIZE_T $php_cv_sizeof_ssize_t" >>confdefs.h +printf '%s\n' "#define SIZEOF_SSIZE_T $php_cv_sizeof_ssize_t" >>confdefs.h -printf "%s\n" "#define HAVE_SSIZE_T 1" >>confdefs.h +printf '%s\n' "#define HAVE_SSIZE_T 1" >>confdefs.h fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_sizeof_ssize_t" >&5 -printf "%s\n" "$php_cv_sizeof_ssize_t" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_sizeof_ssize_t" >&5 +printf '%s\n' "$php_cv_sizeof_ssize_t" >&6; } - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of ptrdiff_t" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking size of ptrdiff_t" >&5 printf %s "checking size of ptrdiff_t... " >&6; } php_cache_value=php_cv_sizeof_ptrdiff_t @@ -15241,17 +15137,17 @@ if eval test "\$$php_cache_value" != "0"; then -printf "%s\n" "#define SIZEOF_PTRDIFF_T $php_cv_sizeof_ptrdiff_t" >>confdefs.h +printf '%s\n' "#define SIZEOF_PTRDIFF_T $php_cv_sizeof_ptrdiff_t" >>confdefs.h -printf "%s\n" "#define HAVE_PTRDIFF_T 1" >>confdefs.h +printf '%s\n' "#define HAVE_PTRDIFF_T 1" >>confdefs.h fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_sizeof_ptrdiff_t" >&5 -printf "%s\n" "$php_cv_sizeof_ptrdiff_t" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_sizeof_ptrdiff_t" >&5 +printf '%s\n' "$php_cv_sizeof_ptrdiff_t" >&6; } @@ -15259,7 +15155,7 @@ # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 printf %s "checking size of int... " >&6; } if test ${ac_cv_sizeof_int+y} then : @@ -15269,32 +15165,25 @@ then : else case e in #( - e) if test "$ac_cv_type_int" = yes; then - { { 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 compute sizeof (int) -See 'config.log' for more details" "$LINENO" 5; } - else - ac_cv_sizeof_int=0 - fi ;; + e) ac_cv_sizeof_int=0 ;; esac fi ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 -printf "%s\n" "$ac_cv_sizeof_int" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 +printf '%s\n' "$ac_cv_sizeof_int" >&6; } -printf "%s\n" "#define SIZEOF_INT $ac_cv_sizeof_int" >>confdefs.h +printf '%s\n' "#define SIZEOF_INT $ac_cv_sizeof_int" >>confdefs.h # The cast to long int works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 printf %s "checking size of long... " >&6; } if test ${ac_cv_sizeof_long+y} then : @@ -15304,32 +15193,25 @@ then : else case e in #( - e) if test "$ac_cv_type_long" = yes; then - { { 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 compute sizeof (long) -See 'config.log' for more details" "$LINENO" 5; } - else - ac_cv_sizeof_long=0 - fi ;; + e) ac_cv_sizeof_long=0 ;; esac fi ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 -printf "%s\n" "$ac_cv_sizeof_long" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 +printf '%s\n' "$ac_cv_sizeof_long" >&6; } -printf "%s\n" "#define SIZEOF_LONG $ac_cv_sizeof_long" >>confdefs.h +printf '%s\n' "#define SIZEOF_LONG $ac_cv_sizeof_long" >>confdefs.h # The cast to long int works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 printf %s "checking size of long long... " >&6; } if test ${ac_cv_sizeof_long_long+y} then : @@ -15339,32 +15221,25 @@ then : else case e in #( - e) if test "$ac_cv_type_long_long" = yes; then - { { 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 compute sizeof (long long) -See 'config.log' for more details" "$LINENO" 5; } - else - ac_cv_sizeof_long_long=0 - fi ;; + e) ac_cv_sizeof_long_long=0 ;; esac fi ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 -printf "%s\n" "$ac_cv_sizeof_long_long" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 +printf '%s\n' "$ac_cv_sizeof_long_long" >&6; } -printf "%s\n" "#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long" >>confdefs.h +printf '%s\n' "#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long" >>confdefs.h # The cast to long int works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5 printf %s "checking size of size_t... " >&6; } if test ${ac_cv_sizeof_size_t+y} then : @@ -15374,32 +15249,25 @@ then : else case e in #( - e) if test "$ac_cv_type_size_t" = yes; then - { { 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 compute sizeof (size_t) -See 'config.log' for more details" "$LINENO" 5; } - else - ac_cv_sizeof_size_t=0 - fi ;; + e) ac_cv_sizeof_size_t=0 ;; esac fi ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5 -printf "%s\n" "$ac_cv_sizeof_size_t" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5 +printf '%s\n' "$ac_cv_sizeof_size_t" >&6; } -printf "%s\n" "#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t" >>confdefs.h +printf '%s\n' "#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t" >>confdefs.h # The cast to long int works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5 printf %s "checking size of off_t... " >&6; } if test ${ac_cv_sizeof_off_t+y} then : @@ -15409,31 +15277,24 @@ then : else case e in #( - e) if test "$ac_cv_type_off_t" = yes; then - { { 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 compute sizeof (off_t) -See 'config.log' for more details" "$LINENO" 5; } - else - ac_cv_sizeof_off_t=0 - fi ;; + e) ac_cv_sizeof_off_t=0 ;; esac fi ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5 -printf "%s\n" "$ac_cv_sizeof_off_t" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5 +printf '%s\n' "$ac_cv_sizeof_off_t" >&6; } -printf "%s\n" "#define SIZEOF_OFF_T $ac_cv_sizeof_off_t" >>confdefs.h +printf '%s\n' "#define SIZEOF_OFF_T $ac_cv_sizeof_off_t" >>confdefs.h -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5 printf %s "checking for __builtin_clz... " >&6; } if test ${php_cv_have___builtin_clz+y} then : @@ -15455,18 +15316,18 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have___builtin_clz" >&5 -printf "%s\n" "$php_cv_have___builtin_clz" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have___builtin_clz" >&5 +printf '%s\n' "$php_cv_have___builtin_clz" >&6; } if test "x$php_cv_have___builtin_clz" = xyes then : -printf "%s\n" "#define PHP_HAVE_BUILTIN_CLZ 1" >>confdefs.h +printf '%s\n' "#define PHP_HAVE_BUILTIN_CLZ 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_clzl" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for __builtin_clzl" >&5 printf %s "checking for __builtin_clzl... " >&6; } if test ${php_cv_have___builtin_clzl+y} then : @@ -15488,18 +15349,18 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have___builtin_clzl" >&5 -printf "%s\n" "$php_cv_have___builtin_clzl" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have___builtin_clzl" >&5 +printf '%s\n' "$php_cv_have___builtin_clzl" >&6; } if test "x$php_cv_have___builtin_clzl" = xyes then : -printf "%s\n" "#define PHP_HAVE_BUILTIN_CLZL 1" >>confdefs.h +printf '%s\n' "#define PHP_HAVE_BUILTIN_CLZL 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_clzll" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for __builtin_clzll" >&5 printf %s "checking for __builtin_clzll... " >&6; } if test ${php_cv_have___builtin_clzll+y} then : @@ -15521,18 +15382,18 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have___builtin_clzll" >&5 -printf "%s\n" "$php_cv_have___builtin_clzll" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have___builtin_clzll" >&5 +printf '%s\n' "$php_cv_have___builtin_clzll" >&6; } if test "x$php_cv_have___builtin_clzll" = xyes then : -printf "%s\n" "#define PHP_HAVE_BUILTIN_CLZLL 1" >>confdefs.h +printf '%s\n' "#define PHP_HAVE_BUILTIN_CLZLL 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_cpu_init" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for __builtin_cpu_init" >&5 printf %s "checking for __builtin_cpu_init... " >&6; } if test ${php_cv_have___builtin_cpu_init+y} then : @@ -15554,18 +15415,18 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have___builtin_cpu_init" >&5 -printf "%s\n" "$php_cv_have___builtin_cpu_init" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have___builtin_cpu_init" >&5 +printf '%s\n' "$php_cv_have___builtin_cpu_init" >&6; } if test "x$php_cv_have___builtin_cpu_init" = xyes then : -printf "%s\n" "#define PHP_HAVE_BUILTIN_CPU_INIT 1" >>confdefs.h +printf '%s\n' "#define PHP_HAVE_BUILTIN_CPU_INIT 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_cpu_supports" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for __builtin_cpu_supports" >&5 printf %s "checking for __builtin_cpu_supports... " >&6; } if test ${php_cv_have___builtin_cpu_supports+y} then : @@ -15587,18 +15448,18 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have___builtin_cpu_supports" >&5 -printf "%s\n" "$php_cv_have___builtin_cpu_supports" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have___builtin_cpu_supports" >&5 +printf '%s\n' "$php_cv_have___builtin_cpu_supports" >&6; } if test "x$php_cv_have___builtin_cpu_supports" = xyes then : -printf "%s\n" "#define PHP_HAVE_BUILTIN_CPU_SUPPORTS 1" >>confdefs.h +printf '%s\n' "#define PHP_HAVE_BUILTIN_CPU_SUPPORTS 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_ctzl" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for __builtin_ctzl" >&5 printf %s "checking for __builtin_ctzl... " >&6; } if test ${php_cv_have___builtin_ctzl+y} then : @@ -15620,18 +15481,18 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have___builtin_ctzl" >&5 -printf "%s\n" "$php_cv_have___builtin_ctzl" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have___builtin_ctzl" >&5 +printf '%s\n' "$php_cv_have___builtin_ctzl" >&6; } if test "x$php_cv_have___builtin_ctzl" = xyes then : -printf "%s\n" "#define PHP_HAVE_BUILTIN_CTZL 1" >>confdefs.h +printf '%s\n' "#define PHP_HAVE_BUILTIN_CTZL 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_ctzll" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for __builtin_ctzll" >&5 printf %s "checking for __builtin_ctzll... " >&6; } if test ${php_cv_have___builtin_ctzll+y} then : @@ -15653,18 +15514,18 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have___builtin_ctzll" >&5 -printf "%s\n" "$php_cv_have___builtin_ctzll" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have___builtin_ctzll" >&5 +printf '%s\n' "$php_cv_have___builtin_ctzll" >&6; } if test "x$php_cv_have___builtin_ctzll" = xyes then : -printf "%s\n" "#define PHP_HAVE_BUILTIN_CTZLL 1" >>confdefs.h +printf '%s\n' "#define PHP_HAVE_BUILTIN_CTZLL 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_expect" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for __builtin_expect" >&5 printf %s "checking for __builtin_expect... " >&6; } if test ${php_cv_have___builtin_expect+y} then : @@ -15686,18 +15547,18 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have___builtin_expect" >&5 -printf "%s\n" "$php_cv_have___builtin_expect" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have___builtin_expect" >&5 +printf '%s\n' "$php_cv_have___builtin_expect" >&6; } if test "x$php_cv_have___builtin_expect" = xyes then : -printf "%s\n" "#define PHP_HAVE_BUILTIN_EXPECT 1" >>confdefs.h +printf '%s\n' "#define PHP_HAVE_BUILTIN_EXPECT 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_frame_address" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for __builtin_frame_address" >&5 printf %s "checking for __builtin_frame_address... " >&6; } if test ${php_cv_have___builtin_frame_address+y} then : @@ -15719,18 +15580,18 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have___builtin_frame_address" >&5 -printf "%s\n" "$php_cv_have___builtin_frame_address" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have___builtin_frame_address" >&5 +printf '%s\n' "$php_cv_have___builtin_frame_address" >&6; } if test "x$php_cv_have___builtin_frame_address" = xyes then : -printf "%s\n" "#define PHP_HAVE_BUILTIN_FRAME_ADDRESS 1" >>confdefs.h +printf '%s\n' "#define PHP_HAVE_BUILTIN_FRAME_ADDRESS 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_saddl_overflow" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for __builtin_saddl_overflow" >&5 printf %s "checking for __builtin_saddl_overflow... " >&6; } if test ${php_cv_have___builtin_saddl_overflow+y} then : @@ -15752,18 +15613,18 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have___builtin_saddl_overflow" >&5 -printf "%s\n" "$php_cv_have___builtin_saddl_overflow" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have___builtin_saddl_overflow" >&5 +printf '%s\n' "$php_cv_have___builtin_saddl_overflow" >&6; } if test "x$php_cv_have___builtin_saddl_overflow" = xyes then : -printf "%s\n" "#define PHP_HAVE_BUILTIN_SADDL_OVERFLOW 1" >>confdefs.h +printf '%s\n' "#define PHP_HAVE_BUILTIN_SADDL_OVERFLOW 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_saddll_overflow" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for __builtin_saddll_overflow" >&5 printf %s "checking for __builtin_saddll_overflow... " >&6; } if test ${php_cv_have___builtin_saddll_overflow+y} then : @@ -15785,18 +15646,18 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have___builtin_saddll_overflow" >&5 -printf "%s\n" "$php_cv_have___builtin_saddll_overflow" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have___builtin_saddll_overflow" >&5 +printf '%s\n' "$php_cv_have___builtin_saddll_overflow" >&6; } if test "x$php_cv_have___builtin_saddll_overflow" = xyes then : -printf "%s\n" "#define PHP_HAVE_BUILTIN_SADDLL_OVERFLOW 1" >>confdefs.h +printf '%s\n' "#define PHP_HAVE_BUILTIN_SADDLL_OVERFLOW 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_smull_overflow" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for __builtin_smull_overflow" >&5 printf %s "checking for __builtin_smull_overflow... " >&6; } if test ${php_cv_have___builtin_smull_overflow+y} then : @@ -15818,18 +15679,18 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have___builtin_smull_overflow" >&5 -printf "%s\n" "$php_cv_have___builtin_smull_overflow" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have___builtin_smull_overflow" >&5 +printf '%s\n' "$php_cv_have___builtin_smull_overflow" >&6; } if test "x$php_cv_have___builtin_smull_overflow" = xyes then : -printf "%s\n" "#define PHP_HAVE_BUILTIN_SMULL_OVERFLOW 1" >>confdefs.h +printf '%s\n' "#define PHP_HAVE_BUILTIN_SMULL_OVERFLOW 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_smulll_overflow" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for __builtin_smulll_overflow" >&5 printf %s "checking for __builtin_smulll_overflow... " >&6; } if test ${php_cv_have___builtin_smulll_overflow+y} then : @@ -15851,18 +15712,18 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have___builtin_smulll_overflow" >&5 -printf "%s\n" "$php_cv_have___builtin_smulll_overflow" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have___builtin_smulll_overflow" >&5 +printf '%s\n' "$php_cv_have___builtin_smulll_overflow" >&6; } if test "x$php_cv_have___builtin_smulll_overflow" = xyes then : -printf "%s\n" "#define PHP_HAVE_BUILTIN_SMULLL_OVERFLOW 1" >>confdefs.h +printf '%s\n' "#define PHP_HAVE_BUILTIN_SMULLL_OVERFLOW 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_ssubl_overflow" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for __builtin_ssubl_overflow" >&5 printf %s "checking for __builtin_ssubl_overflow... " >&6; } if test ${php_cv_have___builtin_ssubl_overflow+y} then : @@ -15884,18 +15745,18 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have___builtin_ssubl_overflow" >&5 -printf "%s\n" "$php_cv_have___builtin_ssubl_overflow" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have___builtin_ssubl_overflow" >&5 +printf '%s\n' "$php_cv_have___builtin_ssubl_overflow" >&6; } if test "x$php_cv_have___builtin_ssubl_overflow" = xyes then : -printf "%s\n" "#define PHP_HAVE_BUILTIN_SSUBL_OVERFLOW 1" >>confdefs.h +printf '%s\n' "#define PHP_HAVE_BUILTIN_SSUBL_OVERFLOW 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_ssubll_overflow" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for __builtin_ssubll_overflow" >&5 printf %s "checking for __builtin_ssubll_overflow... " >&6; } if test ${php_cv_have___builtin_ssubll_overflow+y} then : @@ -15917,18 +15778,18 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have___builtin_ssubll_overflow" >&5 -printf "%s\n" "$php_cv_have___builtin_ssubll_overflow" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have___builtin_ssubll_overflow" >&5 +printf '%s\n' "$php_cv_have___builtin_ssubll_overflow" >&6; } if test "x$php_cv_have___builtin_ssubll_overflow" = xyes then : -printf "%s\n" "#define PHP_HAVE_BUILTIN_SSUBLL_OVERFLOW 1" >>confdefs.h +printf '%s\n' "#define PHP_HAVE_BUILTIN_SSUBLL_OVERFLOW 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_unreachable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for __builtin_unreachable" >&5 printf %s "checking for __builtin_unreachable... " >&6; } if test ${php_cv_have___builtin_unreachable+y} then : @@ -15950,18 +15811,18 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have___builtin_unreachable" >&5 -printf "%s\n" "$php_cv_have___builtin_unreachable" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have___builtin_unreachable" >&5 +printf '%s\n' "$php_cv_have___builtin_unreachable" >&6; } if test "x$php_cv_have___builtin_unreachable" = xyes then : -printf "%s\n" "#define PHP_HAVE_BUILTIN_UNREACHABLE 1" >>confdefs.h +printf '%s\n' "#define PHP_HAVE_BUILTIN_UNREACHABLE 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_usub_overflow" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for __builtin_usub_overflow" >&5 printf %s "checking for __builtin_usub_overflow... " >&6; } if test ${php_cv_have___builtin_usub_overflow+y} then : @@ -15983,18 +15844,18 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have___builtin_usub_overflow" >&5 -printf "%s\n" "$php_cv_have___builtin_usub_overflow" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have___builtin_usub_overflow" >&5 +printf '%s\n' "$php_cv_have___builtin_usub_overflow" >&6; } if test "x$php_cv_have___builtin_usub_overflow" = xyes then : -printf "%s\n" "#define PHP_HAVE_BUILTIN_USUB_OVERFLOW 1" >>confdefs.h +printf '%s\n' "#define PHP_HAVE_BUILTIN_USUB_OVERFLOW 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports AVX-512" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports AVX-512" >&5 printf %s "checking whether compiler supports AVX-512... " >&6; } if test ${php_cv_have_avx512+y} then : @@ -16026,16 +15887,16 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_avx512" >&5 -printf "%s\n" "$php_cv_have_avx512" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_avx512" >&5 +printf '%s\n' "$php_cv_have_avx512" >&6; } if test "x$php_cv_have_avx512" = xyes then : -printf "%s\n" "#define PHP_HAVE_AVX512_SUPPORTS 1" >>confdefs.h +printf '%s\n' "#define PHP_HAVE_AVX512_SUPPORTS 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports AVX-512 VBMI" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports AVX-512 VBMI" >&5 printf %s "checking whether compiler supports AVX-512 VBMI... " >&6; } if test ${php_cv_have_avx512vbmi+y} then : @@ -16067,17 +15928,17 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_avx512vbmi" >&5 -printf "%s\n" "$php_cv_have_avx512vbmi" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_avx512vbmi" >&5 +printf '%s\n' "$php_cv_have_avx512vbmi" >&6; } if test "x$php_cv_have_avx512vbmi" = xyes then : -printf "%s\n" "#define PHP_HAVE_AVX512_VBMI_SUPPORTS 1" >>confdefs.h +printf '%s\n' "#define PHP_HAVE_AVX512_VBMI_SUPPORTS 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports __alignof__" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports __alignof__" >&5 printf %s "checking whether the compiler supports __alignof__... " >&6; } if test ${php_cv_have_alignof+y} then : @@ -16107,12 +15968,12 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_alignof" >&5 -printf "%s\n" "$php_cv_have_alignof" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_alignof" >&5 +printf '%s\n' "$php_cv_have_alignof" >&6; } if test "x$php_cv_have_alignof" = xyes then : -printf "%s\n" "#define HAVE_ALIGNOF 1" >>confdefs.h +printf '%s\n' "#define HAVE_ALIGNOF 1" >>confdefs.h fi @@ -16121,7 +15982,7 @@ if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes then : -printf "%s\n" "#define HAVE_STRUCT_TM_TM_GMTOFF 1" >>confdefs.h +printf '%s\n' "#define HAVE_STRUCT_TM_TM_GMTOFF 1" >>confdefs.h fi @@ -16130,7 +15991,7 @@ if test "x$ac_cv_member_struct_stat_st_blksize" = xyes then : -printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BLKSIZE 1" >>confdefs.h +printf '%s\n' "#define HAVE_STRUCT_STAT_ST_BLKSIZE 1" >>confdefs.h fi @@ -16138,7 +15999,7 @@ if test "x$ac_cv_member_struct_stat_st_rdev" = xyes then : -printf "%s\n" "#define HAVE_STRUCT_STAT_ST_RDEV 1" >>confdefs.h +printf '%s\n' "#define HAVE_STRUCT_STAT_ST_RDEV 1" >>confdefs.h fi @@ -16148,10 +16009,10 @@ if test "x$ac_cv_member_struct_stat_st_blocks" = xyes then : -printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BLOCKS 1" >>confdefs.h +printf '%s\n' "#define HAVE_STRUCT_STAT_ST_BLOCKS 1" >>confdefs.h -printf "%s\n" "#define HAVE_ST_BLOCKS 1" >>confdefs.h +printf '%s\n' "#define HAVE_ST_BLOCKS 1" >>confdefs.h else case e in #( e) case " $LIBOBJS " in @@ -16172,7 +16033,7 @@ else case e in #( e) -printf "%s\n" "#define uid_t int" >>confdefs.h +printf '%s\n' "#define uid_t int" >>confdefs.h ;; esac fi @@ -16183,7 +16044,7 @@ else case e in #( e) -printf "%s\n" "#define gid_t int" >>confdefs.h +printf '%s\n' "#define gid_t int" >>confdefs.h ;; esac fi @@ -16194,7 +16055,7 @@ if test "x$ac_cv_type_struct_sockaddr_storage" = xyes then : -printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_STORAGE 1" >>confdefs.h +printf '%s\n' "#define HAVE_STRUCT_SOCKADDR_STORAGE 1" >>confdefs.h fi @@ -16204,7 +16065,7 @@ if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes then : -printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_SA_LEN 1" >>confdefs.h +printf '%s\n' "#define HAVE_STRUCT_SOCKADDR_SA_LEN 1" >>confdefs.h fi @@ -16219,7 +16080,7 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((ifunc))" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for __attribute__((ifunc))" >&5 printf %s "checking for __attribute__((ifunc))... " >&6; } if test ${ax_cv_have_func_attribute_ifunc+y} then : @@ -16261,13 +16122,13 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_func_attribute_ifunc" >&5 -printf "%s\n" "$ax_cv_have_func_attribute_ifunc" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_func_attribute_ifunc" >&5 +printf '%s\n' "$ax_cv_have_func_attribute_ifunc" >&6; } if test yes = $ax_cv_have_func_attribute_ifunc then : -printf "%s\n" "#define HAVE_FUNC_ATTRIBUTE_IFUNC 1" >>confdefs.h +printf '%s\n' "#define HAVE_FUNC_ATTRIBUTE_IFUNC 1" >>confdefs.h fi @@ -16276,7 +16137,7 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((target))" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for __attribute__((target))" >&5 printf %s "checking for __attribute__((target))... " >&6; } if test ${ax_cv_have_func_attribute_target+y} then : @@ -16316,13 +16177,13 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_func_attribute_target" >&5 -printf "%s\n" "$ax_cv_have_func_attribute_target" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_func_attribute_target" >&5 +printf '%s\n' "$ax_cv_have_func_attribute_target" >&6; } if test yes = $ax_cv_have_func_attribute_target then : -printf "%s\n" "#define HAVE_FUNC_ATTRIBUTE_TARGET 1" >>confdefs.h +printf '%s\n' "#define HAVE_FUNC_ATTRIBUTE_TARGET 1" >>confdefs.h fi @@ -16333,7 +16194,7 @@ esac -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for variable __attribute__((aligned))" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for variable __attribute__((aligned))" >&5 printf %s "checking for variable __attribute__((aligned))... " >&6; } if test ${php_cv_have_variable_attribute_aligned+y} then : @@ -16367,12 +16228,12 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_variable_attribute_aligned" >&5 -printf "%s\n" "$php_cv_have_variable_attribute_aligned" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_variable_attribute_aligned" >&5 +printf '%s\n' "$php_cv_have_variable_attribute_aligned" >&6; } if test "x$php_cv_have_variable_attribute_aligned" = xyes then : -printf "%s\n" "#define HAVE_ATTRIBUTE_ALIGNED 1" >>confdefs.h +printf '%s\n' "#define HAVE_ATTRIBUTE_ALIGNED 1" >>confdefs.h fi @@ -16382,355 +16243,355 @@ ac_fn_c_check_func "$LINENO" "alphasort" "ac_cv_func_alphasort" if test "x$ac_cv_func_alphasort" = xyes then : - printf "%s\n" "#define HAVE_ALPHASORT 1" >>confdefs.h + printf '%s\n' "#define HAVE_ALPHASORT 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "asctime_r" "ac_cv_func_asctime_r" if test "x$ac_cv_func_asctime_r" = xyes then : - printf "%s\n" "#define HAVE_ASCTIME_R 1" >>confdefs.h + printf '%s\n' "#define HAVE_ASCTIME_R 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf" if test "x$ac_cv_func_asprintf" = xyes then : - printf "%s\n" "#define HAVE_ASPRINTF 1" >>confdefs.h + printf '%s\n' "#define HAVE_ASPRINTF 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "chroot" "ac_cv_func_chroot" if test "x$ac_cv_func_chroot" = xyes then : - printf "%s\n" "#define HAVE_CHROOT 1" >>confdefs.h + printf '%s\n' "#define HAVE_CHROOT 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "ctime_r" "ac_cv_func_ctime_r" if test "x$ac_cv_func_ctime_r" = xyes then : - printf "%s\n" "#define HAVE_CTIME_R 1" >>confdefs.h + printf '%s\n' "#define HAVE_CTIME_R 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "explicit_memset" "ac_cv_func_explicit_memset" if test "x$ac_cv_func_explicit_memset" = xyes then : - printf "%s\n" "#define HAVE_EXPLICIT_MEMSET 1" >>confdefs.h + printf '%s\n' "#define HAVE_EXPLICIT_MEMSET 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "fdatasync" "ac_cv_func_fdatasync" if test "x$ac_cv_func_fdatasync" = xyes then : - printf "%s\n" "#define HAVE_FDATASYNC 1" >>confdefs.h + printf '%s\n' "#define HAVE_FDATASYNC 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 + printf '%s\n' "#define HAVE_FLOCK 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "ftok" "ac_cv_func_ftok" if test "x$ac_cv_func_ftok" = xyes then : - printf "%s\n" "#define HAVE_FTOK 1" >>confdefs.h + printf '%s\n' "#define HAVE_FTOK 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "funopen" "ac_cv_func_funopen" if test "x$ac_cv_func_funopen" = xyes then : - printf "%s\n" "#define HAVE_FUNOPEN 1" >>confdefs.h + printf '%s\n' "#define HAVE_FUNOPEN 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "gai_strerror" "ac_cv_func_gai_strerror" if test "x$ac_cv_func_gai_strerror" = xyes then : - printf "%s\n" "#define HAVE_GAI_STRERROR 1" >>confdefs.h + printf '%s\n' "#define HAVE_GAI_STRERROR 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "getcwd" "ac_cv_func_getcwd" if test "x$ac_cv_func_getcwd" = xyes then : - printf "%s\n" "#define HAVE_GETCWD 1" >>confdefs.h + printf '%s\n' "#define HAVE_GETCWD 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "getgrnam_r" "ac_cv_func_getgrnam_r" if test "x$ac_cv_func_getgrnam_r" = xyes then : - printf "%s\n" "#define HAVE_GETGRNAM_R 1" >>confdefs.h + printf '%s\n' "#define HAVE_GETGRNAM_R 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "gethostname" "ac_cv_func_gethostname" if test "x$ac_cv_func_gethostname" = xyes then : - printf "%s\n" "#define HAVE_GETHOSTNAME 1" >>confdefs.h + printf '%s\n' "#define HAVE_GETHOSTNAME 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" if test "x$ac_cv_func_getloadavg" = xyes then : - printf "%s\n" "#define HAVE_GETLOADAVG 1" >>confdefs.h + printf '%s\n' "#define HAVE_GETLOADAVG 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "getlogin" "ac_cv_func_getlogin" if test "x$ac_cv_func_getlogin" = xyes then : - printf "%s\n" "#define HAVE_GETLOGIN 1" >>confdefs.h + printf '%s\n' "#define HAVE_GETLOGIN 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "getprotobyname" "ac_cv_func_getprotobyname" if test "x$ac_cv_func_getprotobyname" = xyes then : - printf "%s\n" "#define HAVE_GETPROTOBYNAME 1" >>confdefs.h + printf '%s\n' "#define HAVE_GETPROTOBYNAME 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "getprotobynumber" "ac_cv_func_getprotobynumber" if test "x$ac_cv_func_getprotobynumber" = xyes then : - printf "%s\n" "#define HAVE_GETPROTOBYNUMBER 1" >>confdefs.h + printf '%s\n' "#define HAVE_GETPROTOBYNUMBER 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "getpwnam_r" "ac_cv_func_getpwnam_r" if test "x$ac_cv_func_getpwnam_r" = xyes then : - printf "%s\n" "#define HAVE_GETPWNAM_R 1" >>confdefs.h + printf '%s\n' "#define HAVE_GETPWNAM_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 + printf '%s\n' "#define HAVE_GETPWUID_R 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "getrusage" "ac_cv_func_getrusage" if test "x$ac_cv_func_getrusage" = xyes then : - printf "%s\n" "#define HAVE_GETRUSAGE 1" >>confdefs.h + printf '%s\n' "#define HAVE_GETRUSAGE 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname" if test "x$ac_cv_func_getservbyname" = xyes then : - printf "%s\n" "#define HAVE_GETSERVBYNAME 1" >>confdefs.h + printf '%s\n' "#define HAVE_GETSERVBYNAME 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "getservbyport" "ac_cv_func_getservbyport" if test "x$ac_cv_func_getservbyport" = xyes then : - printf "%s\n" "#define HAVE_GETSERVBYPORT 1" >>confdefs.h + printf '%s\n' "#define HAVE_GETSERVBYPORT 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday" if test "x$ac_cv_func_gettimeofday" = xyes then : - printf "%s\n" "#define HAVE_GETTIMEOFDAY 1" >>confdefs.h + printf '%s\n' "#define HAVE_GETTIMEOFDAY 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "getwd" "ac_cv_func_getwd" if test "x$ac_cv_func_getwd" = xyes then : - printf "%s\n" "#define HAVE_GETWD 1" >>confdefs.h + printf '%s\n' "#define HAVE_GETWD 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "glob" "ac_cv_func_glob" if test "x$ac_cv_func_glob" = xyes then : - printf "%s\n" "#define HAVE_GLOB 1" >>confdefs.h + printf '%s\n' "#define HAVE_GLOB 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r" if test "x$ac_cv_func_gmtime_r" = xyes then : - printf "%s\n" "#define HAVE_GMTIME_R 1" >>confdefs.h + printf '%s\n' "#define HAVE_GMTIME_R 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "lchown" "ac_cv_func_lchown" if test "x$ac_cv_func_lchown" = xyes then : - printf "%s\n" "#define HAVE_LCHOWN 1" >>confdefs.h + printf '%s\n' "#define HAVE_LCHOWN 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r" if test "x$ac_cv_func_localtime_r" = xyes then : - printf "%s\n" "#define HAVE_LOCALTIME_R 1" >>confdefs.h + printf '%s\n' "#define HAVE_LOCALTIME_R 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "memcntl" "ac_cv_func_memcntl" if test "x$ac_cv_func_memcntl" = xyes then : - printf "%s\n" "#define HAVE_MEMCNTL 1" >>confdefs.h + printf '%s\n' "#define HAVE_MEMCNTL 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "memfd_create" "ac_cv_func_memfd_create" if test "x$ac_cv_func_memfd_create" = xyes then : - printf "%s\n" "#define HAVE_MEMFD_CREATE 1" >>confdefs.h + printf '%s\n' "#define HAVE_MEMFD_CREATE 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "memmem" "ac_cv_func_memmem" if test "x$ac_cv_func_memmem" = xyes then : - printf "%s\n" "#define HAVE_MEMMEM 1" >>confdefs.h + printf '%s\n' "#define HAVE_MEMMEM 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "mempcpy" "ac_cv_func_mempcpy" if test "x$ac_cv_func_mempcpy" = xyes then : - printf "%s\n" "#define HAVE_MEMPCPY 1" >>confdefs.h + printf '%s\n' "#define HAVE_MEMPCPY 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "memrchr" "ac_cv_func_memrchr" if test "x$ac_cv_func_memrchr" = xyes then : - printf "%s\n" "#define HAVE_MEMRCHR 1" >>confdefs.h + printf '%s\n' "#define HAVE_MEMRCHR 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp" if test "x$ac_cv_func_mkstemp" = xyes then : - printf "%s\n" "#define HAVE_MKSTEMP 1" >>confdefs.h + printf '%s\n' "#define HAVE_MKSTEMP 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 + printf '%s\n' "#define HAVE_MMAP 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "nice" "ac_cv_func_nice" if test "x$ac_cv_func_nice" = xyes then : - printf "%s\n" "#define HAVE_NICE 1" >>confdefs.h + printf '%s\n' "#define HAVE_NICE 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo" if test "x$ac_cv_func_nl_langinfo" = xyes then : - printf "%s\n" "#define HAVE_NL_LANGINFO 1" >>confdefs.h + printf '%s\n' "#define HAVE_NL_LANGINFO 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll" if test "x$ac_cv_func_poll" = xyes then : - printf "%s\n" "#define HAVE_POLL 1" >>confdefs.h + printf '%s\n' "#define HAVE_POLL 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "pthread_jit_write_protect_np" "ac_cv_func_pthread_jit_write_protect_np" if test "x$ac_cv_func_pthread_jit_write_protect_np" = xyes then : - printf "%s\n" "#define HAVE_PTHREAD_JIT_WRITE_PROTECT_NP 1" >>confdefs.h + printf '%s\n' "#define HAVE_PTHREAD_JIT_WRITE_PROTECT_NP 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "putenv" "ac_cv_func_putenv" if test "x$ac_cv_func_putenv" = xyes then : - printf "%s\n" "#define HAVE_PUTENV 1" >>confdefs.h + printf '%s\n' "#define HAVE_PUTENV 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "scandir" "ac_cv_func_scandir" if test "x$ac_cv_func_scandir" = xyes then : - printf "%s\n" "#define HAVE_SCANDIR 1" >>confdefs.h + printf '%s\n' "#define HAVE_SCANDIR 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv" if test "x$ac_cv_func_setenv" = xyes then : - printf "%s\n" "#define HAVE_SETENV 1" >>confdefs.h + printf '%s\n' "#define HAVE_SETENV 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "setitimer" "ac_cv_func_setitimer" if test "x$ac_cv_func_setitimer" = xyes then : - printf "%s\n" "#define HAVE_SETITIMER 1" >>confdefs.h + printf '%s\n' "#define HAVE_SETITIMER 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "shutdown" "ac_cv_func_shutdown" if test "x$ac_cv_func_shutdown" = xyes then : - printf "%s\n" "#define HAVE_SHUTDOWN 1" >>confdefs.h + printf '%s\n' "#define HAVE_SHUTDOWN 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask" if test "x$ac_cv_func_sigprocmask" = xyes then : - printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h + printf '%s\n' "#define HAVE_SIGPROCMASK 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "statfs" "ac_cv_func_statfs" if test "x$ac_cv_func_statfs" = xyes then : - printf "%s\n" "#define HAVE_STATFS 1" >>confdefs.h + printf '%s\n' "#define HAVE_STATFS 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "statvfs" "ac_cv_func_statvfs" if test "x$ac_cv_func_statvfs" = xyes then : - printf "%s\n" "#define HAVE_STATVFS 1" >>confdefs.h + printf '%s\n' "#define HAVE_STATVFS 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "std_syslog" "ac_cv_func_std_syslog" if test "x$ac_cv_func_std_syslog" = xyes then : - printf "%s\n" "#define HAVE_STD_SYSLOG 1" >>confdefs.h + printf '%s\n' "#define HAVE_STD_SYSLOG 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp" if test "x$ac_cv_func_strcasecmp" = xyes then : - printf "%s\n" "#define HAVE_STRCASECMP 1" >>confdefs.h + printf '%s\n' "#define HAVE_STRCASECMP 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "strnlen" "ac_cv_func_strnlen" if test "x$ac_cv_func_strnlen" = xyes then : - printf "%s\n" "#define HAVE_STRNLEN 1" >>confdefs.h + printf '%s\n' "#define HAVE_STRNLEN 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 + printf '%s\n' "#define HAVE_STRPTIME 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "strtok_r" "ac_cv_func_strtok_r" if test "x$ac_cv_func_strtok_r" = xyes then : - printf "%s\n" "#define HAVE_STRTOK_R 1" >>confdefs.h + printf '%s\n' "#define HAVE_STRTOK_R 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "symlink" "ac_cv_func_symlink" if test "x$ac_cv_func_symlink" = xyes then : - printf "%s\n" "#define HAVE_SYMLINK 1" >>confdefs.h + printf '%s\n' "#define HAVE_SYMLINK 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "tzset" "ac_cv_func_tzset" if test "x$ac_cv_func_tzset" = xyes then : - printf "%s\n" "#define HAVE_TZSET 1" >>confdefs.h + printf '%s\n' "#define HAVE_TZSET 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv" if test "x$ac_cv_func_unsetenv" = xyes then : - printf "%s\n" "#define HAVE_UNSETENV 1" >>confdefs.h + printf '%s\n' "#define HAVE_UNSETENV 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "usleep" "ac_cv_func_usleep" if test "x$ac_cv_func_usleep" = xyes then : - printf "%s\n" "#define HAVE_USLEEP 1" >>confdefs.h + printf '%s\n' "#define HAVE_USLEEP 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "utime" "ac_cv_func_utime" if test "x$ac_cv_func_utime" = xyes then : - printf "%s\n" "#define HAVE_UTIME 1" >>confdefs.h + printf '%s\n' "#define HAVE_UTIME 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf" if test "x$ac_cv_func_vasprintf" = xyes then : - printf "%s\n" "#define HAVE_VASPRINTF 1" >>confdefs.h + printf '%s\n' "#define HAVE_VASPRINTF 1" >>confdefs.h fi @@ -16740,8 +16601,8 @@ then : else case e in #( - e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} + e) { { 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 $? "Required inet_ntop not found. See 'config.log' for more details" "$LINENO" 5; } ;; esac @@ -16752,15 +16613,15 @@ then : else case e in #( - e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} + e) { { 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 $? "Required inet_pton not found. See 'config.log' for more details" "$LINENO" 5; } ;; esac fi -ac_fn_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" +ac_fn_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS" if test "x$ac_cv_have_decl_strerror_r" = xyes then : ac_have_decl=1 @@ -16768,7 +16629,7 @@ e) ac_have_decl=0 ;; esac fi -printf "%s\n" "#define HAVE_DECL_STRERROR_R $ac_have_decl" >>confdefs.h +printf '%s\n' "#define HAVE_DECL_STRERROR_R $ac_have_decl" >>confdefs.h if test $ac_cv_have_decl_strerror_r = yes; then @@ -16776,11 +16637,11 @@ # (We used to run AC_CHECK_FUNCS_ONCE for strerror_r, as well # as AC_CHECK_DECLS_ONCE.) -printf "%s\n" "#define HAVE_STRERROR_R 1" >>confdefs.h +printf '%s\n' "#define HAVE_STRERROR_R 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5 printf %s "checking whether strerror_r returns char *... " >&6; } if test ${ac_cv_func_strerror_r_char_p+y} then : @@ -16815,11 +16676,11 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5 -printf "%s\n" "$ac_cv_func_strerror_r_char_p" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5 +printf '%s\n' "$ac_cv_func_strerror_r_char_p" >&6; } if test $ac_cv_func_strerror_r_char_p = yes; then -printf "%s\n" "#define STRERROR_R_CHAR_P 1" >>confdefs.h +printf '%s\n' "#define STRERROR_R_CHAR_P 1" >>confdefs.h fi @@ -16830,7 +16691,7 @@ ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl" if test "x$ac_cv_func_prctl" = xyes then : - printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h + printf '%s\n' "#define HAVE_PRCTL 1" >>confdefs.h fi @@ -16842,7 +16703,7 @@ ac_fn_c_check_func "$LINENO" "procctl" "ac_cv_func_procctl" if test "x$ac_cv_func_procctl" = xyes then : - printf "%s\n" "#define HAVE_PROCCTL 1" >>confdefs.h + printf '%s\n' "#define HAVE_PROCCTL 1" >>confdefs.h fi @@ -16857,7 +16718,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5 printf %s "checking how many arguments gethostbyname_r() takes... " >&6; } if test ${ac_cv_func_which_gethostbyname_r+y} @@ -17005,44 +16866,44 @@ case "$ac_cv_func_which_gethostbyname_r" in three|five|six) -printf "%s\n" "#define HAVE_GETHOSTBYNAME_R 1" >>confdefs.h +printf '%s\n' "#define HAVE_GETHOSTBYNAME_R 1" >>confdefs.h ;; esac case "$ac_cv_func_which_gethostbyname_r" in three) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: three" >&5 -printf "%s\n" "three" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: three" >&5 +printf '%s\n' "three" >&6; } -printf "%s\n" "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h +printf '%s\n' "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h ;; five) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: five" >&5 -printf "%s\n" "five" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: five" >&5 +printf '%s\n' "five" >&6; } -printf "%s\n" "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h +printf '%s\n' "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h ;; six) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: six" >&5 -printf "%s\n" "six" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: six" >&5 +printf '%s\n' "six" >&6; } -printf "%s\n" "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h +printf '%s\n' "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h ;; no) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5 -printf "%s\n" "cannot find function declaration in netdb.h" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5 +printf '%s\n' "cannot find function declaration in netdb.h" >&6; } ;; unknown) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5 -printf "%s\n" "can't tell" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5 +printf '%s\n' "can't tell" >&6; } ;; *) @@ -17065,10 +16926,10 @@ ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" if test "x$ac_cv_func_nanosleep" = xyes then : - printf "%s\n" "#define HAVE_NANOSLEEP 1" >>confdefs.h + printf '%s\n' "#define HAVE_NANOSLEEP 1" >>confdefs.h else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5 + e) { 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 : @@ -17126,13 +16987,13 @@ LIBS=$ac_func_search_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5 -printf "%s\n" "$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 : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - printf "%s\n" "#define HAVE_NANOSLEEP 1" >>confdefs.h + printf '%s\n' "#define HAVE_NANOSLEEP 1" >>confdefs.h fi ;; @@ -17141,7 +17002,7 @@ done -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo" >&5 printf %s "checking for getaddrinfo... " >&6; } if test ${php_cv_func_getaddrinfo+y} then : @@ -17231,16 +17092,16 @@ conftest$ac_exeext conftest.$ac_ext ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_func_getaddrinfo" >&5 -printf "%s\n" "$php_cv_func_getaddrinfo" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_func_getaddrinfo" >&5 +printf '%s\n' "$php_cv_func_getaddrinfo" >&6; } if test "x$php_cv_func_getaddrinfo" = xyes then : -printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h +printf '%s\n' "#define HAVE_GETADDRINFO 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for copy_file_range" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for copy_file_range" >&5 printf %s "checking for copy_file_range... " >&6; } if test ${php_cv_func_copy_file_range+y} then : @@ -17278,19 +17139,19 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_func_copy_file_range" >&5 -printf "%s\n" "$php_cv_func_copy_file_range" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_func_copy_file_range" >&5 +printf '%s\n' "$php_cv_func_copy_file_range" >&6; } if test "x$php_cv_func_copy_file_range" = xyes then : -printf "%s\n" "#define HAVE_COPY_FILE_RANGE 1" >>confdefs.h +printf '%s\n' "#define HAVE_COPY_FILE_RANGE 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat" if test "x$ac_cv_func_strlcat" = xyes then : - printf "%s\n" "#define HAVE_STRLCAT 1" >>confdefs.h + printf '%s\n' "#define HAVE_STRLCAT 1" >>confdefs.h else case e in #( e) case " $LIBOBJS " in @@ -17304,7 +17165,7 @@ ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy" if test "x$ac_cv_func_strlcpy" = xyes then : - printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h + printf '%s\n' "#define HAVE_STRLCPY 1" >>confdefs.h else case e in #( e) case " $LIBOBJS " in @@ -17318,7 +17179,7 @@ ac_fn_c_check_func "$LINENO" "explicit_bzero" "ac_cv_func_explicit_bzero" if test "x$ac_cv_func_explicit_bzero" = xyes then : - printf "%s\n" "#define HAVE_EXPLICIT_BZERO 1" >>confdefs.h + printf '%s\n' "#define HAVE_EXPLICIT_BZERO 1" >>confdefs.h else case e in #( e) case " $LIBOBJS " in @@ -17332,7 +17193,7 @@ ac_fn_c_check_func "$LINENO" "getopt" "ac_cv_func_getopt" if test "x$ac_cv_func_getopt" = xyes then : - printf "%s\n" "#define HAVE_GETOPT 1" >>confdefs.h + printf '%s\n' "#define HAVE_GETOPT 1" >>confdefs.h else case e in #( e) case " $LIBOBJS " in @@ -17350,14 +17211,14 @@ else case e in #( e) -printf "%s\n" "#define size_t unsigned int" >>confdefs.h +printf '%s\n' "#define size_t unsigned int" >>confdefs.h ;; esac fi # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works # for constant arguments. Useless! -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 printf %s "checking for working alloca.h... " >&6; } if test ${ac_cv_working_alloca_h+y} then : @@ -17386,15 +17247,15 @@ conftest$ac_exeext conftest.$ac_ext ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 -printf "%s\n" "$ac_cv_working_alloca_h" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 +printf '%s\n' "$ac_cv_working_alloca_h" >&6; } if test $ac_cv_working_alloca_h = yes; then -printf "%s\n" "#define HAVE_ALLOCA_H 1" >>confdefs.h +printf '%s\n' "#define HAVE_ALLOCA_H 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 printf %s "checking for alloca... " >&6; } if test ${ac_cv_func_alloca_works+y} then : @@ -17439,12 +17300,12 @@ fi ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 -printf "%s\n" "$ac_cv_func_alloca_works" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 +printf '%s\n' "$ac_cv_func_alloca_works" >&6; } if test $ac_cv_func_alloca_works = yes; then -printf "%s\n" "#define HAVE_ALLOCA 1" >>confdefs.h +printf '%s\n' "#define HAVE_ALLOCA 1" >>confdefs.h else # The SVR3 libPW and SVR4 libucb both contain incompatible functions @@ -17454,10 +17315,10 @@ ALLOCA=\${LIBOBJDIR}alloca.$ac_objext -printf "%s\n" "#define C_ALLOCA 1" >>confdefs.h +printf '%s\n' "#define C_ALLOCA 1" >>confdefs.h -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 printf %s "checking stack direction for C alloca... " >&6; } if test ${ac_cv_c_stack_direction+y} then : @@ -17501,14 +17362,14 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 -printf "%s\n" "$ac_cv_c_stack_direction" >&6; } -printf "%s\n" "#define STACK_DIRECTION $ac_cv_c_stack_direction" >>confdefs.h +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 +printf '%s\n' "$ac_cv_c_stack_direction" >&6; } +printf '%s\n' "#define STACK_DIRECTION $ac_cv_c_stack_direction" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for type of reentrant time-related functions" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for type of reentrant time-related functions" >&5 printf %s "checking for type of reentrant time-related functions... " >&6; } if test ${php_cv_time_r_type+y} then : @@ -17582,23 +17443,23 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_time_r_type" >&5 -printf "%s\n" "$php_cv_time_r_type" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_time_r_type" >&5 +printf '%s\n' "$php_cv_time_r_type" >&6; } case $php_cv_time_r_type in #( hpux) : -printf "%s\n" "#define PHP_HPUX_TIME_R 1" >>confdefs.h +printf '%s\n' "#define PHP_HPUX_TIME_R 1" >>confdefs.h ;; #( irix) : -printf "%s\n" "#define PHP_IRIX_TIME_R 1" >>confdefs.h +printf '%s\n' "#define PHP_IRIX_TIME_R 1" >>confdefs.h ;; #( *) : ;; esac -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for aarch64 CRC32 API" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for aarch64 CRC32 API" >&5 printf %s "checking for aarch64 CRC32 API... " >&6; } if test ${php_cv_func___crc32d+y} then : @@ -17638,16 +17499,16 @@ conftest$ac_exeext conftest.$ac_ext ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_func___crc32d" >&5 -printf "%s\n" "$php_cv_func___crc32d" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_func___crc32d" >&5 +printf '%s\n' "$php_cv_func___crc32d" >&6; } if test "x$php_cv_func___crc32d" = xyes then : -printf "%s\n" "#define HAVE_AARCH64_CRC32 1" >>confdefs.h +printf '%s\n' "#define HAVE_AARCH64_CRC32 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for asm goto" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for asm goto" >&5 printf %s "checking for asm goto... " >&6; } if test ${php_cv_have__asm_goto+y} then : @@ -17683,19 +17544,19 @@ conftest$ac_exeext conftest.$ac_ext ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have__asm_goto" >&5 -printf "%s\n" "$php_cv_have__asm_goto" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have__asm_goto" >&5 +printf '%s\n' "$php_cv_have__asm_goto" >&6; } if test "x$php_cv_have__asm_goto" = xyes then : -printf "%s\n" "#define HAVE_ASM_GOTO 1" >>confdefs.h +printf '%s\n' "#define HAVE_ASM_GOTO 1" >>confdefs.h fi php_with_valgrind=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable Valgrind support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable Valgrind support" >&5 printf %s "checking whether to enable Valgrind support... " >&6; } # Check whether --with-valgrind was given. @@ -17712,8 +17573,8 @@ ext_output=$PHP_VALGRIND -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -17725,17 +17586,17 @@ e) pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for valgrind" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for valgrind" >&5 printf %s "checking for valgrind... " >&6; } if test -n "$VALGRIND_CFLAGS"; then pkg_cv_VALGRIND_CFLAGS="$VALGRIND_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 \"valgrind\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind\""; } >&5 ($PKG_CONFIG --exists --print-errors "valgrind") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -17749,10 +17610,10 @@ pkg_cv_VALGRIND_LIBS="$VALGRIND_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 \"valgrind\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind\""; } >&5 ($PKG_CONFIG --exists --print-errors "valgrind") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -17766,8 +17627,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -17793,10 +17654,10 @@ and VALGRIND_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 - { 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;} + { 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. @@ -17810,8 +17671,8 @@ else VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } for ac_i in $VALGRIND_CFLAGS; do case $ac_i in @@ -17856,7 +17717,7 @@ done -printf "%s\n" "#define HAVE_VALGRIND 1" >>confdefs.h +printf '%s\n' "#define HAVE_VALGRIND 1" >>confdefs.h fi save_CFLAGS=$CFLAGS @@ -17864,7 +17725,7 @@ ac_fn_c_check_header_compile "$LINENO" "valgrind/cachegrind.h" "ac_cv_header_valgrind_cachegrind_h" "$ac_includes_default" if test "x$ac_cv_header_valgrind_cachegrind_h" = xyes then : - printf "%s\n" "#define HAVE_VALGRIND_CACHEGRIND_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_VALGRIND_CACHEGRIND_H 1" >>confdefs.h fi @@ -17874,10 +17735,10 @@ fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: " >&5 -printf "%s\n" "" >&6; } - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${T_MD}General settings${T_ME}" >&5 -printf "%s\n" "${T_MD}General settings${T_ME}" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: " >&5 +printf '%s\n' "" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ${T_MD}General settings${T_ME}" >&5 +printf '%s\n' "${T_MD}General settings${T_ME}" >&6; } # Check whether --enable- was given. @@ -17890,7 +17751,7 @@ php_enable_gcov=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to include gcov symbols" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to include gcov symbols" >&5 printf %s "checking whether to include gcov symbols... " >&6; } # Check whether --enable-gcov was given. if test ${enable_gcov+y} @@ -17906,8 +17767,8 @@ ext_output=$PHP_GCOV -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -17936,7 +17797,7 @@ fi -printf "%s\n" "#define HAVE_GCOV 1" >>confdefs.h +printf '%s\n' "#define HAVE_GCOV 1" >>confdefs.h src=$abs_srcdir/build/Makefile.gcov ac_srcdir=$abs_srcdir @@ -17958,7 +17819,7 @@ php_enable_debug=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to include debugging symbols" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to include debugging symbols" >&5 printf %s "checking whether to include debugging symbols... " >&6; } # Check whether --enable-debug was given. if test ${enable_debug+y} @@ -17974,8 +17835,8 @@ ext_output=$PHP_DEBUG -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -18015,7 +17876,7 @@ php_enable_debug_assertions=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable debug assertions in release mode" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable debug assertions in release mode" >&5 printf %s "checking whether to enable debug assertions in release mode... " >&6; } # Check whether --enable-debug-assertions was given. if test ${enable_debug_assertions+y} @@ -18031,8 +17892,8 @@ ext_output=$PHP_DEBUG_ASSERTIONS -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -18070,25 +17931,25 @@ then : else case e in #( - e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} + e) { { 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 $? "Unable to verify system support for POSIX Threads, which are required for PHP thread safety (ZTS) build. See 'config.log' for more details" "$LINENO" 5; } ;; esac fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for POSIX threads" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for POSIX threads" >&5 printf %s "checking for POSIX threads... " >&6; } - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } fi php_enable_rtld_now=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to dlopen extensions with RTLD_NOW instead of RTLD_LAZY" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to dlopen extensions with RTLD_NOW instead of RTLD_LAZY" >&5 printf %s "checking whether to dlopen extensions with RTLD_NOW instead of RTLD_LAZY... " >&6; } # Check whether --enable-rtld-now was given. if test ${enable_rtld_now+y} @@ -18104,8 +17965,8 @@ ext_output=$PHP_RTLD_NOW -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -18113,14 +17974,14 @@ if test "x$PHP_RTLD_NOW" = xyes then : -printf "%s\n" "#define PHP_USE_RTLD_NOW 1" >>confdefs.h +printf '%s\n' "#define PHP_USE_RTLD_NOW 1" >>confdefs.h fi php_with_layout=PHP -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking layout of installed files" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking layout of installed files" >&5 printf %s "checking layout of installed files... " >&6; } # Check whether --with-layout was given. @@ -18137,8 +17998,8 @@ ext_output=$PHP_LAYOUT -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -18153,7 +18014,7 @@ php_with_config_file_path=DEFAULT -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking path to configuration file" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking path to configuration file" >&5 printf %s "checking path to configuration file... " >&6; } # Check whether --with-config-file-path was given. @@ -18170,8 +18031,8 @@ ext_output=$PHP_CONFIG_FILE_PATH -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -18186,7 +18047,7 @@ esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where to scan for configuration files" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking where to scan for configuration files" >&5 printf %s "checking where to scan for configuration files... " >&6; } php_with_config_file_scan_dir=DEFAULT @@ -18216,13 +18077,13 @@ then : PHP_CONFIG_FILE_SCAN_DIR= fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PHP_CONFIG_FILE_SCAN_DIR" >&5 -printf "%s\n" "$PHP_CONFIG_FILE_SCAN_DIR" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $PHP_CONFIG_FILE_SCAN_DIR" >&5 +printf '%s\n' "$PHP_CONFIG_FILE_SCAN_DIR" >&6; } php_enable_sigchild=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable PHP's own SIGCHLD handler" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable PHP's own SIGCHLD handler" >&5 printf %s "checking whether to enable PHP's own SIGCHLD handler... " >&6; } # Check whether --enable-sigchild was given. if test ${enable_sigchild+y} @@ -18238,8 +18099,8 @@ ext_output=$PHP_SIGCHILD -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -18247,10 +18108,10 @@ if test "x$PHP_SIGCHILD" = xyes then : - printf "%s\n" "#define PHP_SIGCHILD 1" >>confdefs.h + printf '%s\n' "#define PHP_SIGCHILD 1" >>confdefs.h else case e in #( - e) printf "%s\n" "#define PHP_SIGCHILD 0" >>confdefs.h + e) printf '%s\n' "#define PHP_SIGCHILD 0" >>confdefs.h ;; esac fi @@ -18258,7 +18119,7 @@ php_enable_libgcc=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to explicitly link against libgcc" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to explicitly link against libgcc" >&5 printf %s "checking whether to explicitly link against libgcc... " >&6; } # Check whether --enable-libgcc was given. if test ${enable_libgcc+y} @@ -18274,8 +18135,8 @@ ext_output=$PHP_LIBGCC -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -18345,7 +18206,7 @@ php_enable_short_tags=yes -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable short tags by default" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable short tags by default" >&5 printf %s "checking whether to enable short tags by default... " >&6; } # Check whether --enable-short-tags was given. if test ${enable_short_tags+y} @@ -18361,8 +18222,8 @@ ext_output=$PHP_SHORT_TAGS -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -18370,10 +18231,10 @@ if test "x$PHP_SHORT_TAGS" = xyes then : - printf "%s\n" "#define DEFAULT_SHORT_OPEN_TAG \"1\"" >>confdefs.h + printf '%s\n' "#define DEFAULT_SHORT_OPEN_TAG \"1\"" >>confdefs.h else case e in #( - e) printf "%s\n" "#define DEFAULT_SHORT_OPEN_TAG \"0\"" >>confdefs.h + e) printf '%s\n' "#define DEFAULT_SHORT_OPEN_TAG \"0\"" >>confdefs.h ;; esac fi @@ -18381,7 +18242,7 @@ php_enable_dmalloc=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable dmalloc" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable dmalloc" >&5 printf %s "checking whether to enable dmalloc... " >&6; } # Check whether --enable-dmalloc was given. if test ${enable_dmalloc+y} @@ -18397,15 +18258,15 @@ ext_output=$PHP_DMALLOC -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } if test "x$PHP_DMALLOC" = xyes then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dmalloc_error in -ldmalloc" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dmalloc_error in -ldmalloc" >&5 printf %s "checking for dmalloc_error in -ldmalloc... " >&6; } if test ${ac_cv_lib_dmalloc_dmalloc_error+y} then : @@ -18446,8 +18307,8 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dmalloc_dmalloc_error" >&5 -printf "%s\n" "$ac_cv_lib_dmalloc_dmalloc_error" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dmalloc_dmalloc_error" >&5 +printf '%s\n' "$ac_cv_lib_dmalloc_dmalloc_error" >&6; } if test "x$ac_cv_lib_dmalloc_dmalloc_error" = xyes then : @@ -18461,12 +18322,12 @@ -printf "%s\n" "#define HAVE_DMALLOC 1" >>confdefs.h +printf '%s\n' "#define HAVE_DMALLOC 1" >>confdefs.h as_fn_append CPPFLAGS " -DDMALLOC_FUNC_CHECK" else case e in #( - e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} + e) { { 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 dmalloc check failed. Cannot enable dmalloc. See 'config.log' for more details" "$LINENO" 5; } ;; esac @@ -18477,7 +18338,7 @@ php_enable_ipv6=yes -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable IPv6 support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable IPv6 support" >&5 printf %s "checking whether to enable IPv6 support... " >&6; } # Check whether --enable-ipv6 was given. if test ${enable_ipv6+y} @@ -18493,15 +18354,15 @@ ext_output=$PHP_IPV6 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } if test "x$PHP_IPV6" = xyes then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IPv6 support" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for IPv6 support" >&5 printf %s "checking for IPv6 support... " >&6; } if test ${php_cv_have_ipv6+y} then : @@ -18540,21 +18401,21 @@ conftest$ac_exeext conftest.$ac_ext ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_ipv6" >&5 -printf "%s\n" "$php_cv_have_ipv6" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_ipv6" >&5 +printf '%s\n' "$php_cv_have_ipv6" >&6; } fi if test "x$php_cv_have_ipv6" = xyes then : -printf "%s\n" "#define HAVE_IPV6 1" >>confdefs.h +printf '%s\n' "#define HAVE_IPV6 1" >>confdefs.h fi php_enable_dtrace=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable DTrace support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable DTrace support" >&5 printf %s "checking whether to enable DTrace support... " >&6; } # Check whether --enable-dtrace was given. if test ${enable_dtrace+y} @@ -18570,8 +18431,8 @@ ext_output=$PHP_DTRACE -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -18584,8 +18445,8 @@ then : else case e in #( - e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} + e) { { 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 find required to enable DTrace support. See 'config.log' for more details" "$LINENO" 5; } ;; esac @@ -18693,12 +18554,12 @@ -printf "%s\n" "#define HAVE_DTRACE 1" >>confdefs.h +printf '%s\n' "#define HAVE_DTRACE 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how big to make fd sets" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how big to make fd sets" >&5 printf %s "checking how big to make fd sets... " >&6; } php_enable_fd_setsize=no @@ -18725,14 +18586,14 @@ if test "x$PHP_FD_SETSIZE" = xno then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: using system default" >&5 -printf "%s\n" "using system default" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: using system default" >&5 +printf '%s\n' "using system default" >&6; } else case e in #( e) if test "0$PHP_FD_SETSIZE" -gt 0 2>/dev/null; then CPPFLAGS="$CPPFLAGS -DFD_SETSIZE=$PHP_FD_SETSIZE" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: using $PHP_FD_SETSIZE" >&5 -printf "%s\n" "using $PHP_FD_SETSIZE" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: using $PHP_FD_SETSIZE" >&5 +printf '%s\n' "using $PHP_FD_SETSIZE" >&6; } else as_fn_error $? "Invalid value passed to --enable-fd-setsize!" "$LINENO" 5 fi @@ -18838,10 +18699,10 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: " >&5 -printf "%s\n" "" >&6; } - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${T_MD}Configuring extensions${T_ME}" >&5 -printf "%s\n" "${T_MD}Configuring extensions${T_ME}" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: " >&5 +printf '%s\n' "" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ${T_MD}Configuring extensions${T_ME}" >&5 +printf '%s\n' "${T_MD}Configuring extensions${T_ME}" >&6; } # Check whether --enable-all was given. @@ -18857,7 +18718,7 @@ ac_fn_c_check_header_compile "$LINENO" "io.h" "ac_cv_header_io_h" "$ac_includes_default" if test "x$ac_cv_header_io_h" = xyes then : - printf "%s\n" "#define HAVE_IO_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_IO_H 1" >>confdefs.h fi @@ -18865,18 +18726,18 @@ ac_fn_c_check_func "$LINENO" "strtoll" "ac_cv_func_strtoll" if test "x$ac_cv_func_strtoll" = xyes then : - printf "%s\n" "#define HAVE_STRTOLL 1" >>confdefs.h + printf '%s\n' "#define HAVE_STRTOLL 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "atoll" "ac_cv_func_atoll" if test "x$ac_cv_func_atoll" = xyes then : - printf "%s\n" "#define HAVE_ATOLL 1" >>confdefs.h + printf '%s\n' "#define HAVE_ATOLL 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -Wno-implicit-fallthrough" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -Wno-implicit-fallthrough" >&5 printf %s "checking whether the C compiler accepts -Wno-implicit-fallthrough... " >&6; } if test ${ax_cv_check_cflags__Werror__Wno_implicit_fallthrough+y} then : @@ -18907,8 +18768,8 @@ CFLAGS=$ax_check_save_flags ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags__Werror__Wno_implicit_fallthrough" >&5 -printf "%s\n" "$ax_cv_check_cflags__Werror__Wno_implicit_fallthrough" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags__Werror__Wno_implicit_fallthrough" >&5 +printf '%s\n' "$ax_cv_check_cflags__Werror__Wno_implicit_fallthrough" >&6; } if test "x$ax_cv_check_cflags__Werror__Wno_implicit_fallthrough" = xyes then : PHP_DATE_CFLAGS="$PHP_DATE_CFLAGS -Wno-implicit-fallthrough" @@ -18919,6 +18780,49 @@ PHP_DATE_CFLAGS="$PHP_DATE_CFLAGS -I@ext_builddir@/lib -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DHAVE_TIMELIB_CONFIG_H=1" + +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -fwrapv" >&5 +printf %s "checking whether the C compiler accepts -fwrapv... " >&6; } +if test ${ax_cv_check_cflags___fwrapv+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) + ax_check_save_flags=$CFLAGS + CFLAGS="$CFLAGS -fwrapv" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ax_cv_check_cflags___fwrapv=yes +else case e in #( + e) ax_cv_check_cflags___fwrapv=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CFLAGS=$ax_check_save_flags ;; +esac +fi +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fwrapv" >&5 +printf '%s\n' "$ax_cv_check_cflags___fwrapv" >&6; } +if test "x$ax_cv_check_cflags___fwrapv" = xyes +then : + PHP_DATE_CFLAGS="$PHP_DATE_CFLAGS -fwrapv" +else case e in #( + e) : ;; +esac +fi + + timelib_sources="lib/astro.c lib/dow.c lib/parse_date.c lib/parse_tz.c lib/parse_posix.c lib/timelib.c lib/tm2unixtime.c lib/unixtime2tm.c lib/parse_iso_intervals.c lib/interval.c" @@ -19057,7 +18961,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_DATE 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_DATE 1" >>confdefs.h fi fi @@ -19265,7 +19169,7 @@ -printf "%s\n" "#define HAVE_TIMELIB_CONFIG_H 1" >>confdefs.h +printf '%s\n' "#define HAVE_TIMELIB_CONFIG_H 1" >>confdefs.h cat > $ext_builddir/lib/timelib_config.h <&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to build with LIBXML support" >&5 printf %s "checking whether to build with LIBXML support... " >&6; } # Check whether --with-libxml was given. @@ -19331,8 +19235,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -19343,17 +19247,17 @@ pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 >= 2.9.4" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 >= 2.9.4" >&5 printf %s "checking for libxml-2.0 >= 2.9.4... " >&6; } if test -n "$LIBXML_CFLAGS"; then pkg_cv_LIBXML_CFLAGS="$LIBXML_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 \"libxml-2.0 >= 2.9.4\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.9.4\""; } >&5 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.9.4") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBXML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.9.4" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -19367,10 +19271,10 @@ pkg_cv_LIBXML_LIBS="$LIBXML_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 \"libxml-2.0 >= 2.9.4\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.9.4\""; } >&5 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.9.4") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBXML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.9.4" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -19384,8 +19288,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -19411,10 +19315,10 @@ and LIBXML_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 - { 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;} + { 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. @@ -19428,8 +19332,8 @@ else LIBXML_CFLAGS=$pkg_cv_LIBXML_CFLAGS LIBXML_LIBS=$pkg_cv_LIBXML_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } fi @@ -19589,7 +19493,7 @@ -printf "%s\n" "#define HAVE_LIBXML 1" >>confdefs.h +printf '%s\n' "#define HAVE_LIBXML 1" >>confdefs.h ext_builddir=ext/libxml @@ -19726,7 +19630,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_LIBXML 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_LIBXML 1" >>confdefs.h fi fi @@ -19871,7 +19775,7 @@ php_with_openssl=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for OpenSSL support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for OpenSSL support" >&5 printf %s "checking for OpenSSL support... " >&6; } # Check whether --with-openssl was given. @@ -19909,8 +19813,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -19918,7 +19822,7 @@ php_with_system_ciphers=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use system default cipher list instead of hardcoded value" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to use system default cipher list instead of hardcoded value" >&5 printf %s "checking whether to use system default cipher list instead of hardcoded value... " >&6; } # Check whether --with-system-ciphers was given. @@ -19935,8 +19839,8 @@ ext_output=$PHP_SYSTEM_CIPHERS -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -19944,7 +19848,7 @@ php_with_openssl_legacy_provider=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to load legacy algorithm provider" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to load legacy algorithm provider" >&5 printf %s "checking whether to load legacy algorithm provider... " >&6; } # Check whether --with-openssl-legacy-provider was given. @@ -19961,8 +19865,8 @@ ext_output=$PHP_OPENSSL_LEGACY_PROVIDER -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -19970,7 +19874,7 @@ php_with_openssl_argon2=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable argon2 password hashing (requires OpenSSL >= 3.2)" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable argon2 password hashing (requires OpenSSL >= 3.2)" >&5 printf %s "checking whether to enable argon2 password hashing (requires OpenSSL >= 3.2)... " >&6; } # Check whether --with-openssl-argon2 was given. @@ -19987,8 +19891,8 @@ ext_output=$PHP_OPENSSL_ARGON2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -20129,7 +20033,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_OPENSSL 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_OPENSSL 1" >>confdefs.h fi fi @@ -20255,17 +20159,17 @@ pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for openssl >= 1.1.1" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for openssl >= 1.1.1" >&5 printf %s "checking for openssl >= 1.1.1... " >&6; } if test -n "$OPENSSL_CFLAGS"; then pkg_cv_OPENSSL_CFLAGS="$OPENSSL_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 \"openssl >= 1.1.1\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.1.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "openssl >= 1.1.1") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl >= 1.1.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -20279,10 +20183,10 @@ pkg_cv_OPENSSL_LIBS="$OPENSSL_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 \"openssl >= 1.1.1\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.1.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "openssl >= 1.1.1") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl >= 1.1.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -20296,8 +20200,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -20323,10 +20227,10 @@ and OPENSSL_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 - { 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;} + { 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. @@ -20340,8 +20244,8 @@ else OPENSSL_CFLAGS=$pkg_cv_OPENSSL_CFLAGS OPENSSL_LIBS=$pkg_cv_OPENSSL_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } found_openssl=yes fi @@ -20502,7 +20406,7 @@ done -printf "%s\n" "#define HAVE_OPENSSL_EXT 1" >>confdefs.h +printf '%s\n' "#define HAVE_OPENSSL_EXT 1" >>confdefs.h fi @@ -20625,7 +20529,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for RAND_egd in -lcrypto" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for RAND_egd in -lcrypto" >&5 printf %s "checking for RAND_egd in -lcrypto... " >&6; } if test ${ac_cv_lib_crypto_RAND_egd+y} then : @@ -20666,15 +20570,15 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RAND_egd" >&5 -printf "%s\n" "$ac_cv_lib_crypto_RAND_egd" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RAND_egd" >&5 +printf '%s\n' "$ac_cv_lib_crypto_RAND_egd" >&6; } if test "x$ac_cv_lib_crypto_RAND_egd" = xyes then : LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared -printf "%s\n" "#define HAVE_RAND_EGD 1" >>confdefs.h +printf '%s\n' "#define HAVE_RAND_EGD 1" >>confdefs.h else case e in #( @@ -20693,7 +20597,7 @@ else case e in #( e) -printf "%s\n" "#define USE_OPENSSL_SYSTEM_CIPHERS 1" >>confdefs.h +printf '%s\n' "#define USE_OPENSSL_SYSTEM_CIPHERS 1" >>confdefs.h ;; esac fi @@ -20703,7 +20607,7 @@ else case e in #( e) -printf "%s\n" "#define LOAD_OPENSSL_LEGACY_PROVIDER 1" >>confdefs.h +printf '%s\n' "#define LOAD_OPENSSL_LEGACY_PROVIDER 1" >>confdefs.h ;; esac fi @@ -20836,7 +20740,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for OSSL_set_max_threads in -lcrypto" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for OSSL_set_max_threads in -lcrypto" >&5 printf %s "checking for OSSL_set_max_threads in -lcrypto... " >&6; } if test ${ac_cv_lib_crypto_OSSL_set_max_threads+y} then : @@ -20877,15 +20781,15 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_OSSL_set_max_threads" >&5 -printf "%s\n" "$ac_cv_lib_crypto_OSSL_set_max_threads" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_OSSL_set_max_threads" >&5 +printf '%s\n' "$ac_cv_lib_crypto_OSSL_set_max_threads" >&6; } if test "x$ac_cv_lib_crypto_OSSL_set_max_threads" = xyes then : LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared -printf "%s\n" "#define HAVE_OPENSSL_ARGON2 1" >>confdefs.h +printf '%s\n' "#define HAVE_OPENSSL_ARGON2 1" >>confdefs.h else case e in #( @@ -20933,7 +20837,7 @@ php_with_pcre_jit=yes -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable PCRE JIT functionality" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable PCRE JIT functionality" >&5 printf %s "checking whether to enable PCRE JIT functionality... " >&6; } # Check whether --with-pcre-jit was given. @@ -20950,8 +20854,8 @@ ext_output=$PHP_PCRE_JIT -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -20962,17 +20866,17 @@ if test "$PHP_EXTERNAL_PCRE" != "no"; then pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libpcre2-8 >= 10.30" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libpcre2-8 >= 10.30" >&5 printf %s "checking for libpcre2-8 >= 10.30... " >&6; } if test -n "$PCRE2_CFLAGS"; then pkg_cv_PCRE2_CFLAGS="$PCRE2_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 \"libpcre2-8 >= 10.30\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcre2-8 >= 10.30\""; } >&5 ($PKG_CONFIG --exists --print-errors "libpcre2-8 >= 10.30") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PCRE2_CFLAGS=`$PKG_CONFIG --cflags "libpcre2-8 >= 10.30" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -20986,10 +20890,10 @@ pkg_cv_PCRE2_LIBS="$PCRE2_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 \"libpcre2-8 >= 10.30\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcre2-8 >= 10.30\""; } >&5 ($PKG_CONFIG --exists --print-errors "libpcre2-8 >= 10.30") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PCRE2_LIBS=`$PKG_CONFIG --libs "libpcre2-8 >= 10.30" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -21003,8 +20907,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -21030,10 +20934,10 @@ and PCRE2_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 - { 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;} + { 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. @@ -21047,8 +20951,8 @@ else PCRE2_CFLAGS=$pkg_cv_PCRE2_CFLAGS PCRE2_LIBS=$pkg_cv_PCRE2_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } fi @@ -21189,14 +21093,14 @@ esac done - printf "%s\n" "#define PCRE2_CODE_UNIT_WIDTH 8" >>confdefs.h + printf '%s\n' "#define PCRE2_CODE_UNIT_WIDTH 8" >>confdefs.h if test "x$PHP_PCRE_JIT" = xno then : else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether external PCRE2 library has JIT supported" >&5 + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether external PCRE2 library has JIT supported" >&5 printf %s "checking whether external PCRE2 library has JIT supported... " >&6; } if test ${php_cv_have_pcre2_jit+y} then : @@ -21245,11 +21149,11 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_pcre2_jit" >&5 -printf "%s\n" "$php_cv_have_pcre2_jit" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_pcre2_jit" >&5 +printf '%s\n' "$php_cv_have_pcre2_jit" >&6; } if test "x$php_cv_have_pcre2_jit" = xyes then : - printf "%s\n" "#define HAVE_PCRE_JIT_SUPPORT 1" >>confdefs.h + printf '%s\n' "#define HAVE_PCRE_JIT_SUPPORT 1" >>confdefs.h fi ;; @@ -21391,7 +21295,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_PCRE 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_PCRE 1" >>confdefs.h fi fi @@ -21527,13 +21431,13 @@ else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PCRE library to use" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for PCRE library to use" >&5 printf %s "checking for PCRE library to use... " >&6; } - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: bundled" >&5 -printf "%s\n" "bundled" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: bundled" >&5 +printf '%s\n' "bundled" >&6; } pcrelib_sources=" pcre2lib/pcre2_auto_possess.c pcre2lib/pcre2_chartables.c pcre2lib/pcre2_chkdint.c pcre2lib/pcre2_compile.c pcre2lib/pcre2_config.c pcre2lib/pcre2_context.c pcre2lib/pcre2_convert.c pcre2lib/pcre2_dfa_match.c pcre2lib/pcre2_error.c pcre2lib/pcre2_extuni.c pcre2lib/pcre2_find_bracket.c pcre2lib/pcre2_jit_compile.c pcre2lib/pcre2_maketables.c pcre2lib/pcre2_match_data.c pcre2lib/pcre2_match.c pcre2lib/pcre2_newline.c pcre2lib/pcre2_ord2utf.c pcre2lib/pcre2_pattern_info.c pcre2lib/pcre2_script_run.c pcre2lib/pcre2_serialize.c pcre2lib/pcre2_string_utils.c pcre2lib/pcre2_study.c pcre2lib/pcre2_substitute.c pcre2lib/pcre2_substring.c pcre2lib/pcre2_tables.c pcre2lib/pcre2_ucd.c pcre2lib/pcre2_valid_utf.c pcre2lib/pcre2_xclass.c " - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -Wno-implicit-fallthrough" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -Wno-implicit-fallthrough" >&5 printf %s "checking whether the C compiler accepts -Wno-implicit-fallthrough... " >&6; } if test ${ax_cv_check_cflags__Werror__Wno_implicit_fallthrough+y} then : @@ -21564,8 +21468,8 @@ CFLAGS=$ax_check_save_flags ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags__Werror__Wno_implicit_fallthrough" >&5 -printf "%s\n" "$ax_cv_check_cflags__Werror__Wno_implicit_fallthrough" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags__Werror__Wno_implicit_fallthrough" >&5 +printf '%s\n' "$ax_cv_check_cflags__Werror__Wno_implicit_fallthrough" >&6; } if test "x$ax_cv_check_cflags__Werror__Wno_implicit_fallthrough" = xyes then : PHP_PCRE_CFLAGS="$PHP_PCRE_CFLAGS -Wno-implicit-fallthrough" @@ -21577,18 +21481,18 @@ PHP_PCRE_CFLAGS="$PHP_PCRE_CFLAGS -DHAVE_CONFIG_H -I@ext_srcdir@/pcre2lib -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1" -printf "%s\n" "#define HAVE_BUNDLED_PCRE 1" >>confdefs.h +printf '%s\n' "#define HAVE_BUNDLED_PCRE 1" >>confdefs.h - printf "%s\n" "#define PCRE2_CODE_UNIT_WIDTH 8" >>confdefs.h + printf '%s\n' "#define PCRE2_CODE_UNIT_WIDTH 8" >>confdefs.h if test "x$PHP_PCRE_JIT" = xno then : else case e in #( - e) printf "%s\n" "#define HAVE_PCRE_JIT_SUPPORT 1" >>confdefs.h + e) printf '%s\n' "#define HAVE_PCRE_JIT_SUPPORT 1" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether Intel CET is enabled" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether Intel CET is enabled" >&5 printf %s "checking whether Intel CET is enabled... " >&6; } if test ${php_cv_have_pcre2_intel_cet+y} then : @@ -21620,8 +21524,8 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_pcre2_intel_cet" >&5 -printf "%s\n" "$php_cv_have_pcre2_intel_cet" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_pcre2_intel_cet" >&5 +printf '%s\n' "$php_cv_have_pcre2_intel_cet" >&6; } if test "x$php_cv_have_pcre2_intel_cet" = xyes then : PHP_PCRE_CFLAGS="-mshstk $PHP_PCRE_CFLAGS" @@ -21637,7 +21541,7 @@ e) if test "x$ZEND_DEBUG" = xyes then : -printf "%s\n" "#define HAVE_PCRE_VALGRIND_SUPPORT 1" >>confdefs.h +printf '%s\n' "#define HAVE_PCRE_VALGRIND_SUPPORT 1" >>confdefs.h fi ;; esac @@ -21778,7 +21682,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_PCRE 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_PCRE 1" >>confdefs.h fi fi @@ -21923,7 +21827,7 @@ php_with_sqlite3=yes -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable the SQLite3 extension" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable the SQLite3 extension" >&5 printf %s "checking whether to enable the SQLite3 extension... " >&6; } # Check whether --with-sqlite3 was given. @@ -21961,8 +21865,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -21971,17 +21875,17 @@ pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3 >= 3.7.7" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for sqlite3 >= 3.7.7" >&5 printf %s "checking for sqlite3 >= 3.7.7... " >&6; } if test -n "$SQLITE_CFLAGS"; then pkg_cv_SQLITE_CFLAGS="$SQLITE_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 \"sqlite3 >= 3.7.7\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 >= 3.7.7\""; } >&5 ($PKG_CONFIG --exists --print-errors "sqlite3 >= 3.7.7") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SQLITE_CFLAGS=`$PKG_CONFIG --cflags "sqlite3 >= 3.7.7" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -21995,10 +21899,10 @@ pkg_cv_SQLITE_LIBS="$SQLITE_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 \"sqlite3 >= 3.7.7\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 >= 3.7.7\""; } >&5 ($PKG_CONFIG --exists --print-errors "sqlite3 >= 3.7.7") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SQLITE_LIBS=`$PKG_CONFIG --libs "sqlite3 >= 3.7.7" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -22012,8 +21916,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -22039,10 +21943,10 @@ and SQLITE_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 - { 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;} + { 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. @@ -22056,8 +21960,8 @@ else SQLITE_CFLAGS=$pkg_cv_SQLITE_CFLAGS SQLITE_LIBS=$pkg_cv_SQLITE_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } for ac_i in $SQLITE_CFLAGS; do @@ -22218,7 +22122,7 @@ fi -printf "%s\n" "#define HAVE_SQLITE3 1" >>confdefs.h +printf '%s\n' "#define HAVE_SQLITE3 1" >>confdefs.h @@ -22339,7 +22243,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3_errstr in -lsqlite3" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for sqlite3_errstr in -lsqlite3" >&5 printf %s "checking for sqlite3_errstr in -lsqlite3... " >&6; } if test ${ac_cv_lib_sqlite3_sqlite3_errstr+y} then : @@ -22380,15 +22284,15 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_errstr" >&5 -printf "%s\n" "$ac_cv_lib_sqlite3_sqlite3_errstr" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_errstr" >&5 +printf '%s\n' "$ac_cv_lib_sqlite3_sqlite3_errstr" >&6; } if test "x$ac_cv_lib_sqlite3_sqlite3_errstr" = xyes then : LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared -printf "%s\n" "#define HAVE_SQLITE3_ERRSTR 1" >>confdefs.h +printf '%s\n' "#define HAVE_SQLITE3_ERRSTR 1" >>confdefs.h else case e in #( @@ -22520,7 +22424,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3_expanded_sql in -lsqlite3" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for sqlite3_expanded_sql in -lsqlite3" >&5 printf %s "checking for sqlite3_expanded_sql in -lsqlite3... " >&6; } if test ${ac_cv_lib_sqlite3_sqlite3_expanded_sql+y} then : @@ -22561,15 +22465,15 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_expanded_sql" >&5 -printf "%s\n" "$ac_cv_lib_sqlite3_sqlite3_expanded_sql" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_expanded_sql" >&5 +printf '%s\n' "$ac_cv_lib_sqlite3_sqlite3_expanded_sql" >&6; } if test "x$ac_cv_lib_sqlite3_sqlite3_expanded_sql" = xyes then : LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared -printf "%s\n" "#define HAVE_SQLITE3_EXPANDED_SQL 1" >>confdefs.h +printf '%s\n' "#define HAVE_SQLITE3_EXPANDED_SQL 1" >>confdefs.h else case e in #( @@ -22701,7 +22605,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3_load_extension in -lsqlite3" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for sqlite3_load_extension in -lsqlite3" >&5 printf %s "checking for sqlite3_load_extension in -lsqlite3... " >&6; } if test ${ac_cv_lib_sqlite3_sqlite3_load_extension+y} then : @@ -22742,8 +22646,8 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_load_extension" >&5 -printf "%s\n" "$ac_cv_lib_sqlite3_sqlite3_load_extension" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_load_extension" >&5 +printf '%s\n' "$ac_cv_lib_sqlite3_sqlite3_load_extension" >&6; } if test "x$ac_cv_lib_sqlite3_sqlite3_load_extension" = xyes then : @@ -22757,7 +22661,7 @@ ext_shared=$save_ext_shared unset ac_cv_lib_sqlite3_sqlite3_load_extension -printf "%s\n" "#define SQLITE_OMIT_LOAD_EXTENSION 1" >>confdefs.h +printf '%s\n' "#define SQLITE_OMIT_LOAD_EXTENSION 1" >>confdefs.h ;; esac @@ -22899,7 +22803,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_SQLITE3 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_SQLITE3 1" >>confdefs.h fi fi @@ -23028,7 +22932,7 @@ php_with_zlib=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ZLIB support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for ZLIB support" >&5 printf %s "checking for ZLIB support... " >&6; } # Check whether --with-zlib was given. @@ -23066,8 +22970,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -23075,17 +22979,17 @@ if test "$PHP_ZLIB" != "no"; then pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for zlib >= 1.2.11" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for zlib >= 1.2.11" >&5 printf %s "checking for zlib >= 1.2.11... " >&6; } if test -n "$ZLIB_CFLAGS"; then pkg_cv_ZLIB_CFLAGS="$ZLIB_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 \"zlib >= 1.2.11\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.2.11\""; } >&5 ($PKG_CONFIG --exists --print-errors "zlib >= 1.2.11") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ZLIB_CFLAGS=`$PKG_CONFIG --cflags "zlib >= 1.2.11" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -23099,10 +23003,10 @@ pkg_cv_ZLIB_LIBS="$ZLIB_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 \"zlib >= 1.2.11\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.2.11\""; } >&5 ($PKG_CONFIG --exists --print-errors "zlib >= 1.2.11") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ZLIB_LIBS=`$PKG_CONFIG --libs "zlib >= 1.2.11" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -23116,8 +23020,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -23143,10 +23047,10 @@ and ZLIB_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 - { 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;} + { 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. @@ -23160,8 +23064,8 @@ else ZLIB_CFLAGS=$pkg_cv_ZLIB_CFLAGS ZLIB_LIBS=$pkg_cv_ZLIB_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } for ac_i in $ZLIB_CFLAGS; do case $ac_i in @@ -23318,7 +23222,7 @@ done -printf "%s\n" "#define HAVE_ZLIB 1" >>confdefs.h +printf '%s\n' "#define HAVE_ZLIB 1" >>confdefs.h ext_builddir=ext/zlib @@ -23455,7 +23359,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_ZLIB 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_ZLIB 1" >>confdefs.h fi fi @@ -23585,7 +23489,7 @@ php_enable_bcmath=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable bc style precision math functions" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable bc style precision math functions" >&5 printf %s "checking whether to enable bc style precision math functions... " >&6; } # Check whether --enable-bcmath was given. if test ${enable_bcmath+y} @@ -23622,8 +23526,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -23764,7 +23668,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_BCMATH 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_BCMATH 1" >>confdefs.h fi fi @@ -23885,7 +23789,7 @@ as_fn_append BUILD_DIR " $ext_builddir/libbcmath/src" -printf "%s\n" "#define HAVE_BCMATH 1" >>confdefs.h +printf '%s\n' "#define HAVE_BCMATH 1" >>confdefs.h fi @@ -23895,7 +23799,7 @@ php_with_bz2=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BZip2 support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for BZip2 support" >&5 printf %s "checking for BZip2 support... " >&6; } # Check whether --with-bz2 was given. @@ -23933,8 +23837,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -23955,18 +23859,18 @@ esac fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BZip2" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for BZip2" >&5 printf %s "checking for BZip2... " >&6; } if ${BZIP_DIR:+false} : then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: bzlib.h not found" >&5 -printf "%s\n" "bzlib.h not found" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: bzlib.h not found" >&5 +printf '%s\n' "bzlib.h not found" >&6; } as_fn_error $? "Please reinstall the BZip2 library package" "$LINENO" 5 else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found in $BZIP_DIR" >&5 -printf "%s\n" "found in $BZIP_DIR" >&6; } ;; + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: found in $BZIP_DIR" >&5 +printf '%s\n' "found in $BZIP_DIR" >&6; } ;; esac fi @@ -24088,7 +23992,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzerror in -lbz2" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzerror in -lbz2" >&5 printf %s "checking for BZ2_bzerror in -lbz2... " >&6; } if test ${ac_cv_lib_bz2_BZ2_bzerror+y} then : @@ -24129,8 +24033,8 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzerror" >&5 -printf "%s\n" "$ac_cv_lib_bz2_BZ2_bzerror" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzerror" >&5 +printf '%s\n' "$ac_cv_lib_bz2_BZ2_bzerror" >&6; } if test "x$ac_cv_lib_bz2_BZ2_bzerror" = xyes then : @@ -24277,7 +24181,7 @@ -printf "%s\n" "#define HAVE_BZ2 1" >>confdefs.h +printf '%s\n' "#define HAVE_BZ2 1" >>confdefs.h @@ -24286,8 +24190,8 @@ LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared unset ac_cv_lib_bz2_BZ2_bzerror - { { 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: in '$ac_pwd':" >&5 +printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "The bz2 extension requires libbz2 >= 1.0.0 See 'config.log' for more details" "$LINENO" 5; } ;; @@ -24430,7 +24334,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_BZ2 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_BZ2 1" >>confdefs.h fi fi @@ -24559,7 +24463,7 @@ php_enable_calendar=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable calendar conversion support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable calendar conversion support" >&5 printf %s "checking whether to enable calendar conversion support... " >&6; } # Check whether --enable-calendar was given. if test ${enable_calendar+y} @@ -24596,15 +24500,15 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } if test "$PHP_CALENDAR" = "yes"; then -printf "%s\n" "#define HAVE_CALENDAR 1" >>confdefs.h +printf '%s\n' "#define HAVE_CALENDAR 1" >>confdefs.h ext_builddir=ext/calendar @@ -24741,7 +24645,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_CALENDAR 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_CALENDAR 1" >>confdefs.h fi fi @@ -24867,7 +24771,7 @@ php_enable_ctype=yes -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable ctype functions" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable ctype functions" >&5 printf %s "checking whether to enable ctype functions... " >&6; } # Check whether --enable-ctype was given. if test ${enable_ctype+y} @@ -24904,15 +24808,15 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } if test "$PHP_CTYPE" != "no"; then -printf "%s\n" "#define HAVE_CTYPE 1" >>confdefs.h +printf '%s\n' "#define HAVE_CTYPE 1" >>confdefs.h ext_builddir=ext/ctype @@ -25049,7 +24953,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_CTYPE 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_CTYPE 1" >>confdefs.h fi fi @@ -25175,7 +25079,7 @@ php_with_curl=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cURL support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for cURL support" >&5 printf %s "checking for cURL support... " >&6; } # Check whether --with-curl was given. @@ -25213,8 +25117,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -25222,17 +25126,17 @@ if test "$PHP_CURL" != "no"; then pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libcurl >= 7.61.0" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libcurl >= 7.61.0" >&5 printf %s "checking for libcurl >= 7.61.0... " >&6; } if test -n "$CURL_CFLAGS"; then pkg_cv_CURL_CFLAGS="$CURL_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 \"libcurl >= 7.61.0\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.61.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libcurl >= 7.61.0") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl >= 7.61.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -25246,10 +25150,10 @@ pkg_cv_CURL_LIBS="$CURL_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 \"libcurl >= 7.61.0\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.61.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libcurl >= 7.61.0") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl >= 7.61.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -25263,8 +25167,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -25290,10 +25194,10 @@ and CURL_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 - { 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;} + { 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. @@ -25307,8 +25211,8 @@ else CURL_CFLAGS=$pkg_cv_CURL_CFLAGS CURL_LIBS=$pkg_cv_CURL_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } fi @@ -25316,10 +25220,10 @@ pkg_cv_CURL_FEATURES="$CURL_FEATURES" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_CURL_FEATURES=`$PKG_CONFIG --variable="supported_features" "libcurl" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -25492,7 +25396,7 @@ done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SSL support in libcurl" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for SSL support in libcurl" >&5 printf %s "checking for SSL support in libcurl... " >&6; } case $CURL_FEATURES in #( *SSL*) : @@ -25500,12 +25404,12 @@ *) : CURL_SSL=no ;; esac - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CURL_SSL" >&5 -printf "%s\n" "$CURL_SSL" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CURL_SSL" >&5 +printf '%s\n' "$CURL_SSL" >&6; } if test "x$PHP_THREAD_SAFETY" = xyes && test "x$CURL_SSL" = xyes then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether libcurl is linked against old OpenSSL < 1.1" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether libcurl is linked against old OpenSSL < 1.1" >&5 printf %s "checking whether libcurl is linked against old OpenSSL < 1.1... " >&6; } if test ${php_cv_lib_curl_ssl+y} then : @@ -25582,31 +25486,31 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_lib_curl_ssl" >&5 -printf "%s\n" "$php_cv_lib_curl_ssl" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_lib_curl_ssl" >&5 +printf '%s\n' "$php_cv_lib_curl_ssl" >&6; } if test "x$php_cv_lib_curl_ssl" = xyes then : -printf "%s\n" "#define HAVE_CURL_OLD_OPENSSL 1" >>confdefs.h +printf '%s\n' "#define HAVE_CURL_OLD_OPENSSL 1" >>confdefs.h found_openssl=no pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for openssl >= 1.1.1" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for openssl >= 1.1.1" >&5 printf %s "checking for openssl >= 1.1.1... " >&6; } if test -n "$OPENSSL_CFLAGS"; then pkg_cv_OPENSSL_CFLAGS="$OPENSSL_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 \"openssl >= 1.1.1\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.1.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "openssl >= 1.1.1") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl >= 1.1.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -25620,10 +25524,10 @@ pkg_cv_OPENSSL_LIBS="$OPENSSL_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 \"openssl >= 1.1.1\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.1.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "openssl >= 1.1.1") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl >= 1.1.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -25637,8 +25541,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -25664,10 +25568,10 @@ and OPENSSL_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 - { 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;} + { 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. @@ -25681,8 +25585,8 @@ else OPENSSL_CFLAGS=$pkg_cv_OPENSSL_CFLAGS OPENSSL_LIBS=$pkg_cv_OPENSSL_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } found_openssl=yes fi @@ -25845,7 +25749,7 @@ ac_fn_c_check_header_compile "$LINENO" "openssl/crypto.h" "ac_cv_header_openssl_crypto_h" "$ac_includes_default" if test "x$ac_cv_header_openssl_crypto_h" = xyes then : - printf "%s\n" "#define HAVE_OPENSSL_CRYPTO_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_OPENSSL_CRYPTO_H 1" >>confdefs.h fi @@ -25974,7 +25878,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for curl_easy_perform in -lcurl" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for curl_easy_perform in -lcurl" >&5 printf %s "checking for curl_easy_perform in -lcurl... " >&6; } if test ${ac_cv_lib_curl_curl_easy_perform+y} then : @@ -26015,15 +25919,15 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curl_curl_easy_perform" >&5 -printf "%s\n" "$ac_cv_lib_curl_curl_easy_perform" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curl_curl_easy_perform" >&5 +printf '%s\n' "$ac_cv_lib_curl_curl_easy_perform" >&6; } if test "x$ac_cv_lib_curl_curl_easy_perform" = xyes then : LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared -printf "%s\n" "#define HAVE_CURL 1" >>confdefs.h +printf '%s\n' "#define HAVE_CURL 1" >>confdefs.h else case e in #( @@ -26031,8 +25935,8 @@ LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared unset ac_cv_lib_curl_curl_easy_perform - { { 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: in '$ac_pwd':" >&5 +printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "The libcurl check failed. See 'config.log' for more details" "$LINENO" 5; } ;; @@ -26175,7 +26079,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_CURL 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_CURL 1" >>confdefs.h fi fi @@ -26750,8 +26654,8 @@ esac done - as_ac_Lib=`printf "%s\n" "ac_cv_lib_$LIB""_dpopen" | sed "$as_sed_sh"` -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dpopen in -l$LIB" >&5 + as_ac_Lib=`printf '%s\n' "ac_cv_lib_$LIB""_dpopen" | sed "$as_sed_sh"` +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dpopen in -l$LIB" >&5 printf %s "checking for dpopen in -l$LIB... " >&6; } if eval test \${$as_ac_Lib+y} then : @@ -26793,8 +26697,8 @@ esac fi eval ac_res=\$$as_ac_Lib - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$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\$"$as_ac_Lib"\" = x"yes" then : @@ -26802,10 +26706,10 @@ ext_shared=$save_ext_shared -printf "%s\n" "#define QDBM_INCLUDE_FILE \"$THIS_INCLUDE\"" >>confdefs.h +printf '%s\n' "#define QDBM_INCLUDE_FILE \"$THIS_INCLUDE\"" >>confdefs.h -printf "%s\n" "#define DBA_QDBM 1" >>confdefs.h +printf '%s\n' "#define DBA_QDBM 1" >>confdefs.h THIS_LIBS=$LIB @@ -26958,7 +26862,7 @@ else THIS_FULL_NAME="$THIS_NAME" fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $THIS_FULL_NAME support" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $THIS_FULL_NAME support" >&5 printf %s "checking for $THIS_FULL_NAME support... " >&6; } if test -n ""; then as_fn_error $? "" "$LINENO" 5 @@ -26966,11 +26870,11 @@ if test "$THIS_RESULT" = "yes" || test "$THIS_RESULT" = "builtin"; then HAVE_DBA=1 eval HAVE_$THIS_NAME=1 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $THIS_RESULT" >&5 -printf "%s\n" "$THIS_RESULT" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $THIS_RESULT" >&5 +printf '%s\n' "$THIS_RESULT" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi unset THIS_RESULT THIS_NAME THIS_FULL_NAME @@ -26986,7 +26890,7 @@ else THIS_FULL_NAME="$THIS_NAME" fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $THIS_FULL_NAME support" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $THIS_FULL_NAME support" >&5 printf %s "checking for $THIS_FULL_NAME support... " >&6; } if test -n "You cannot combine --with-gdbm with --with-qdbm"; then as_fn_error $? "You cannot combine --with-gdbm with --with-qdbm" "$LINENO" 5 @@ -26994,11 +26898,11 @@ if test "$THIS_RESULT" = "yes" || test "$THIS_RESULT" = "builtin"; then HAVE_DBA=1 eval HAVE_$THIS_NAME=1 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $THIS_RESULT" >&5 -printf "%s\n" "$THIS_RESULT" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $THIS_RESULT" >&5 +printf '%s\n' "$THIS_RESULT" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi unset THIS_RESULT THIS_NAME THIS_FULL_NAME @@ -27130,7 +27034,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gdbm_open in -lgdbm" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for gdbm_open in -lgdbm" >&5 printf %s "checking for gdbm_open in -lgdbm... " >&6; } if test ${ac_cv_lib_gdbm_gdbm_open+y} then : @@ -27171,8 +27075,8 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_gdbm_open" >&5 -printf "%s\n" "$ac_cv_lib_gdbm_gdbm_open" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_gdbm_open" >&5 +printf '%s\n' "$ac_cv_lib_gdbm_gdbm_open" >&6; } if test "x$ac_cv_lib_gdbm_gdbm_open" = xyes then : @@ -27180,10 +27084,10 @@ ext_shared=$save_ext_shared -printf "%s\n" "#define GDBM_INCLUDE_FILE \"$THIS_INCLUDE\"" >>confdefs.h +printf '%s\n' "#define GDBM_INCLUDE_FILE \"$THIS_INCLUDE\"" >>confdefs.h -printf "%s\n" "#define DBA_GDBM 1" >>confdefs.h +printf '%s\n' "#define DBA_GDBM 1" >>confdefs.h THIS_LIBS=gdbm @@ -27332,7 +27236,7 @@ else THIS_FULL_NAME="$THIS_NAME" fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $THIS_FULL_NAME support" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $THIS_FULL_NAME support" >&5 printf %s "checking for $THIS_FULL_NAME support... " >&6; } if test -n ""; then as_fn_error $? "" "$LINENO" 5 @@ -27340,11 +27244,11 @@ if test "$THIS_RESULT" = "yes" || test "$THIS_RESULT" = "builtin"; then HAVE_DBA=1 eval HAVE_$THIS_NAME=1 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $THIS_RESULT" >&5 -printf "%s\n" "$THIS_RESULT" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $THIS_RESULT" >&5 +printf '%s\n' "$THIS_RESULT" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi unset THIS_RESULT THIS_NAME THIS_FULL_NAME @@ -27483,8 +27387,8 @@ esac done - as_ac_Lib=`printf "%s\n" "ac_cv_lib_$LIB""_dbm_open" | sed "$as_sed_sh"` -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dbm_open in -l$LIB" >&5 + as_ac_Lib=`printf '%s\n' "ac_cv_lib_$LIB""_dbm_open" | sed "$as_sed_sh"` +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dbm_open in -l$LIB" >&5 printf %s "checking for dbm_open in -l$LIB... " >&6; } if eval test \${$as_ac_Lib+y} then : @@ -27526,8 +27430,8 @@ esac fi eval ac_res=\$$as_ac_Lib - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$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\$"$as_ac_Lib"\" = x"yes" then : @@ -27535,10 +27439,10 @@ ext_shared=$save_ext_shared -printf "%s\n" "#define NDBM_INCLUDE_FILE \"$THIS_INCLUDE\"" >>confdefs.h +printf '%s\n' "#define NDBM_INCLUDE_FILE \"$THIS_INCLUDE\"" >>confdefs.h -printf "%s\n" "#define DBA_NDBM 1" >>confdefs.h +printf '%s\n' "#define DBA_NDBM 1" >>confdefs.h THIS_LIBS=$LIB @@ -27691,7 +27595,7 @@ else THIS_FULL_NAME="$THIS_NAME" fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $THIS_FULL_NAME support" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $THIS_FULL_NAME support" >&5 printf %s "checking for $THIS_FULL_NAME support... " >&6; } if test -n ""; then as_fn_error $? "" "$LINENO" 5 @@ -27699,11 +27603,11 @@ if test "$THIS_RESULT" = "yes" || test "$THIS_RESULT" = "builtin"; then HAVE_DBA=1 eval HAVE_$THIS_NAME=1 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $THIS_RESULT" >&5 -printf "%s\n" "$THIS_RESULT" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $THIS_RESULT" >&5 +printf '%s\n' "$THIS_RESULT" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi unset THIS_RESULT THIS_NAME THIS_FULL_NAME @@ -27872,8 +27776,8 @@ esac done - as_ac_Lib=`printf "%s\n" "ac_cv_lib_$LIB""_tcadbopen" | sed "$as_sed_sh"` -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tcadbopen in -l$LIB" >&5 + as_ac_Lib=`printf '%s\n' "ac_cv_lib_$LIB""_tcadbopen" | sed "$as_sed_sh"` +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for tcadbopen in -l$LIB" >&5 printf %s "checking for tcadbopen in -l$LIB... " >&6; } if eval test \${$as_ac_Lib+y} then : @@ -27915,8 +27819,8 @@ esac fi eval ac_res=\$$as_ac_Lib - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$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\$"$as_ac_Lib"\" = x"yes" then : @@ -27924,10 +27828,10 @@ ext_shared=$save_ext_shared -printf "%s\n" "#define TCADB_INCLUDE_FILE \"$THIS_INCLUDE\"" >>confdefs.h +printf '%s\n' "#define TCADB_INCLUDE_FILE \"$THIS_INCLUDE\"" >>confdefs.h -printf "%s\n" "#define DBA_TCADB 1" >>confdefs.h +printf '%s\n' "#define DBA_TCADB 1" >>confdefs.h THIS_LIBS=$LIB @@ -28080,7 +27984,7 @@ else THIS_FULL_NAME="$THIS_NAME" fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $THIS_FULL_NAME support" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $THIS_FULL_NAME support" >&5 printf %s "checking for $THIS_FULL_NAME support... " >&6; } if test -n ""; then as_fn_error $? "" "$LINENO" 5 @@ -28088,11 +27992,11 @@ if test "$THIS_RESULT" = "yes" || test "$THIS_RESULT" = "builtin"; then HAVE_DBA=1 eval HAVE_$THIS_NAME=1 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $THIS_RESULT" >&5 -printf "%s\n" "$THIS_RESULT" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $THIS_RESULT" >&5 +printf '%s\n' "$THIS_RESULT" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi unset THIS_RESULT THIS_NAME THIS_FULL_NAME @@ -28261,8 +28165,8 @@ esac done - as_ac_Lib=`printf "%s\n" "ac_cv_lib_$LIB""_mdb_env_open" | sed "$as_sed_sh"` -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mdb_env_open in -l$LIB" >&5 + as_ac_Lib=`printf '%s\n' "ac_cv_lib_$LIB""_mdb_env_open" | sed "$as_sed_sh"` +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for mdb_env_open in -l$LIB" >&5 printf %s "checking for mdb_env_open in -l$LIB... " >&6; } if eval test \${$as_ac_Lib+y} then : @@ -28304,8 +28208,8 @@ esac fi eval ac_res=\$$as_ac_Lib - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$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\$"$as_ac_Lib"\" = x"yes" then : @@ -28313,10 +28217,10 @@ ext_shared=$save_ext_shared -printf "%s\n" "#define LMDB_INCLUDE_FILE \"$THIS_INCLUDE\"" >>confdefs.h +printf '%s\n' "#define LMDB_INCLUDE_FILE \"$THIS_INCLUDE\"" >>confdefs.h -printf "%s\n" "#define DBA_LMDB 1" >>confdefs.h +printf '%s\n' "#define DBA_LMDB 1" >>confdefs.h THIS_LIBS=$LIB @@ -28469,7 +28373,7 @@ else THIS_FULL_NAME="$THIS_NAME" fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $THIS_FULL_NAME support" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $THIS_FULL_NAME support" >&5 printf %s "checking for $THIS_FULL_NAME support... " >&6; } if test -n ""; then as_fn_error $? "" "$LINENO" 5 @@ -28477,11 +28381,11 @@ if test "$THIS_RESULT" = "yes" || test "$THIS_RESULT" = "builtin"; then HAVE_DBA=1 eval HAVE_$THIS_NAME=1 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $THIS_RESULT" >&5 -printf "%s\n" "$THIS_RESULT" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $THIS_RESULT" >&5 +printf '%s\n' "$THIS_RESULT" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi unset THIS_RESULT THIS_NAME THIS_FULL_NAME @@ -28622,14 +28526,14 @@ if ${THIS_LIBS:+false} : then : - { { 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: in '$ac_pwd':" >&5 +printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "DB4 major version check failed: header contains different version See 'config.log' for more details" "$LINENO" 5; } fi if test "4" = "4"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DB4 minor version and patch level" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for DB4 minor version and patch level" >&5 printf %s "checking for DB4 minor version and patch level... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -28643,8 +28547,8 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "yes" >/dev/null 2>&1 then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5 -printf "%s\n" "ok" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ok" >&5 +printf '%s\n' "ok" >&6; } else case e in #( e) as_fn_error $? "Version 4.1 requires patch level 25" "$LINENO" 5 ;; esac @@ -28655,7 +28559,7 @@ if test "x$ext_shared" = xyes then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if dba can be used as shared extension" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if dba can be used as shared extension" >&5 printf %s "checking if dba can be used as shared extension... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -28669,8 +28573,8 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "yes" >/dev/null 2>&1 then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } else case e in #( e) as_fn_error $? "At least version 3.3 is required" "$LINENO" 5 ;; esac @@ -28686,7 +28590,7 @@ fi -printf "%s\n" "#define DBA_DB4 1" >>confdefs.h +printf '%s\n' "#define DBA_DB4 1" >>confdefs.h if ${THIS_INCLUDE:+false} : @@ -28694,7 +28598,7 @@ else case e in #( e) -printf "%s\n" "#define DB4_INCLUDE_FILE \"$THIS_INCLUDE\"" >>confdefs.h +printf '%s\n' "#define DB4_INCLUDE_FILE \"$THIS_INCLUDE\"" >>confdefs.h ;; esac fi @@ -28825,7 +28729,7 @@ else THIS_FULL_NAME="$THIS_NAME" fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $THIS_FULL_NAME support" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $THIS_FULL_NAME support" >&5 printf %s "checking for $THIS_FULL_NAME support... " >&6; } if test -n ""; then as_fn_error $? "" "$LINENO" 5 @@ -28833,11 +28737,11 @@ if test "$THIS_RESULT" = "yes" || test "$THIS_RESULT" = "builtin"; then HAVE_DBA=1 eval HAVE_$THIS_NAME=1 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $THIS_RESULT" >&5 -printf "%s\n" "$THIS_RESULT" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $THIS_RESULT" >&5 +printf '%s\n' "$THIS_RESULT" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi unset THIS_RESULT THIS_NAME THIS_FULL_NAME @@ -28853,7 +28757,7 @@ else THIS_FULL_NAME="$THIS_NAME" fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $THIS_FULL_NAME support" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $THIS_FULL_NAME support" >&5 printf %s "checking for $THIS_FULL_NAME support... " >&6; } if test -n "You cannot combine --with-db3 with --with-db4"; then as_fn_error $? "You cannot combine --with-db3 with --with-db4" "$LINENO" 5 @@ -28861,11 +28765,11 @@ if test "$THIS_RESULT" = "yes" || test "$THIS_RESULT" = "builtin"; then HAVE_DBA=1 eval HAVE_$THIS_NAME=1 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $THIS_RESULT" >&5 -printf "%s\n" "$THIS_RESULT" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $THIS_RESULT" >&5 +printf '%s\n' "$THIS_RESULT" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi unset THIS_RESULT THIS_NAME THIS_FULL_NAME @@ -28961,14 +28865,14 @@ if ${THIS_LIBS:+false} : then : - { { 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: in '$ac_pwd':" >&5 +printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "DB3 major version check failed: header contains different version See 'config.log' for more details" "$LINENO" 5; } fi if test "3" = "4"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DB4 minor version and patch level" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for DB4 minor version and patch level" >&5 printf %s "checking for DB4 minor version and patch level... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -28982,8 +28886,8 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "yes" >/dev/null 2>&1 then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5 -printf "%s\n" "ok" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ok" >&5 +printf '%s\n' "ok" >&6; } else case e in #( e) as_fn_error $? "Version 4.1 requires patch level 25" "$LINENO" 5 ;; esac @@ -28994,7 +28898,7 @@ if test "x$ext_shared" = xyes then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if dba can be used as shared extension" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if dba can be used as shared extension" >&5 printf %s "checking if dba can be used as shared extension... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -29008,8 +28912,8 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "yes" >/dev/null 2>&1 then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } else case e in #( e) as_fn_error $? "At least version 3.3 is required" "$LINENO" 5 ;; esac @@ -29025,7 +28929,7 @@ fi -printf "%s\n" "#define DBA_DB3 1" >>confdefs.h +printf '%s\n' "#define DBA_DB3 1" >>confdefs.h if ${THIS_INCLUDE:+false} : @@ -29033,7 +28937,7 @@ else case e in #( e) -printf "%s\n" "#define DB3_INCLUDE_FILE \"$THIS_INCLUDE\"" >>confdefs.h +printf '%s\n' "#define DB3_INCLUDE_FILE \"$THIS_INCLUDE\"" >>confdefs.h ;; esac fi @@ -29164,7 +29068,7 @@ else THIS_FULL_NAME="$THIS_NAME" fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $THIS_FULL_NAME support" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $THIS_FULL_NAME support" >&5 printf %s "checking for $THIS_FULL_NAME support... " >&6; } if test -n ""; then as_fn_error $? "" "$LINENO" 5 @@ -29172,11 +29076,11 @@ if test "$THIS_RESULT" = "yes" || test "$THIS_RESULT" = "builtin"; then HAVE_DBA=1 eval HAVE_$THIS_NAME=1 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $THIS_RESULT" >&5 -printf "%s\n" "$THIS_RESULT" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $THIS_RESULT" >&5 +printf '%s\n' "$THIS_RESULT" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi unset THIS_RESULT THIS_NAME THIS_FULL_NAME @@ -29191,7 +29095,7 @@ else THIS_FULL_NAME="$THIS_NAME" fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $THIS_FULL_NAME support" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $THIS_FULL_NAME support" >&5 printf %s "checking for $THIS_FULL_NAME support... " >&6; } if test -n "You cannot combine --with-db2 with --with-db3 or --with-db4"; then as_fn_error $? "You cannot combine --with-db2 with --with-db3 or --with-db4" "$LINENO" 5 @@ -29199,11 +29103,11 @@ if test "$THIS_RESULT" = "yes" || test "$THIS_RESULT" = "builtin"; then HAVE_DBA=1 eval HAVE_$THIS_NAME=1 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $THIS_RESULT" >&5 -printf "%s\n" "$THIS_RESULT" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $THIS_RESULT" >&5 +printf '%s\n' "$THIS_RESULT" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi unset THIS_RESULT THIS_NAME THIS_FULL_NAME @@ -29291,14 +29195,14 @@ if ${THIS_LIBS:+false} : then : - { { 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: in '$ac_pwd':" >&5 +printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "DB2 major version check failed: header contains different version See 'config.log' for more details" "$LINENO" 5; } fi if test "2" = "4"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DB4 minor version and patch level" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for DB4 minor version and patch level" >&5 printf %s "checking for DB4 minor version and patch level... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -29312,8 +29216,8 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "yes" >/dev/null 2>&1 then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5 -printf "%s\n" "ok" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ok" >&5 +printf '%s\n' "ok" >&6; } else case e in #( e) as_fn_error $? "Version 4.1 requires patch level 25" "$LINENO" 5 ;; esac @@ -29324,7 +29228,7 @@ if test "x$ext_shared" = xyes then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if dba can be used as shared extension" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if dba can be used as shared extension" >&5 printf %s "checking if dba can be used as shared extension... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -29338,8 +29242,8 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "yes" >/dev/null 2>&1 then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } else case e in #( e) as_fn_error $? "At least version 3.3 is required" "$LINENO" 5 ;; esac @@ -29355,7 +29259,7 @@ fi -printf "%s\n" "#define DBA_DB2 1" >>confdefs.h +printf '%s\n' "#define DBA_DB2 1" >>confdefs.h if ${THIS_INCLUDE:+false} : @@ -29363,7 +29267,7 @@ else case e in #( e) -printf "%s\n" "#define DB2_INCLUDE_FILE \"$THIS_INCLUDE\"" >>confdefs.h +printf '%s\n' "#define DB2_INCLUDE_FILE \"$THIS_INCLUDE\"" >>confdefs.h ;; esac fi @@ -29494,7 +29398,7 @@ else THIS_FULL_NAME="$THIS_NAME" fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $THIS_FULL_NAME support" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $THIS_FULL_NAME support" >&5 printf %s "checking for $THIS_FULL_NAME support... " >&6; } if test -n ""; then as_fn_error $? "" "$LINENO" 5 @@ -29502,18 +29406,18 @@ if test "$THIS_RESULT" = "yes" || test "$THIS_RESULT" = "builtin"; then HAVE_DBA=1 eval HAVE_$THIS_NAME=1 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $THIS_RESULT" >&5 -printf "%s\n" "$THIS_RESULT" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $THIS_RESULT" >&5 +printf '%s\n' "$THIS_RESULT" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi unset THIS_RESULT THIS_NAME THIS_FULL_NAME if test "$PHP_DB1" != "no"; then unset THIS_INCLUDE THIS_LIBS THIS_LFLAGS THIS_PREFIX THIS_RESULT - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DB1 in library" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for DB1 in library" >&5 printf %s "checking for DB1 in library... " >&6; } if test "$HAVE_DB4" = "1"; then THIS_VERSION=4 @@ -29529,7 +29433,7 @@ fi if test "$HAVE_DB4" = "1" || test "$HAVE_DB3" = "1" || test "$HAVE_DB2" = "1"; then -printf "%s\n" "#define DB1_VERSION \"Berkeley DB 1.85 emulation in DB$THIS_VERSION\"" >>confdefs.h +printf '%s\n' "#define DB1_VERSION \"Berkeley DB 1.85 emulation in DB$THIS_VERSION\"" >>confdefs.h for i in \ db$THIS_VERSION/db_185.h \ @@ -29543,7 +29447,7 @@ done else -printf "%s\n" "#define DB1_VERSION \"Unknown DB1\"" >>confdefs.h +printf '%s\n' "#define DB1_VERSION \"Unknown DB1\"" >>confdefs.h for i in $PHP_DB1 /usr/local /usr; do if test -f "$i/db1/db.h"; then @@ -29562,12 +29466,12 @@ done THIS_LIBS=db fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $THIS_LIBS" >&5 -printf "%s\n" "$THIS_LIBS" >&6; } - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DB1 in header" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $THIS_LIBS" >&5 +printf '%s\n' "$THIS_LIBS" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for DB1 in header" >&5 printf %s "checking for DB1 in header... " >&6; } - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $THIS_INCLUDE" >&5 -printf "%s\n" "$THIS_INCLUDE" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $THIS_INCLUDE" >&5 +printf '%s\n' "$THIS_INCLUDE" >&6; } if test -n "$THIS_INCLUDE"; then old_LDFLAGS=$LDFLAGS @@ -29588,10 +29492,10 @@ if ac_fn_c_try_link "$LINENO" then : -printf "%s\n" "#define DB1_INCLUDE_FILE \"$THIS_INCLUDE\"" >>confdefs.h +printf '%s\n' "#define DB1_INCLUDE_FILE \"$THIS_INCLUDE\"" >>confdefs.h -printf "%s\n" "#define DBA_DB1 1" >>confdefs.h +printf '%s\n' "#define DBA_DB1 1" >>confdefs.h THIS_RESULT=yes @@ -29737,7 +29641,7 @@ else THIS_FULL_NAME="$THIS_NAME" fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $THIS_FULL_NAME support" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $THIS_FULL_NAME support" >&5 printf %s "checking for $THIS_FULL_NAME support... " >&6; } if test -n ""; then as_fn_error $? "" "$LINENO" 5 @@ -29745,11 +29649,11 @@ if test "$THIS_RESULT" = "yes" || test "$THIS_RESULT" = "builtin"; then HAVE_DBA=1 eval HAVE_$THIS_NAME=1 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $THIS_RESULT" >&5 -printf "%s\n" "$THIS_RESULT" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $THIS_RESULT" >&5 +printf '%s\n' "$THIS_RESULT" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi unset THIS_RESULT THIS_NAME THIS_FULL_NAME @@ -29765,7 +29669,7 @@ else THIS_FULL_NAME="$THIS_NAME" fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $THIS_FULL_NAME support" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $THIS_FULL_NAME support" >&5 printf %s "checking for $THIS_FULL_NAME support... " >&6; } if test -n "You cannot combine --with-dbm with --with-qdbm"; then as_fn_error $? "You cannot combine --with-dbm with --with-qdbm" "$LINENO" 5 @@ -29773,11 +29677,11 @@ if test "$THIS_RESULT" = "yes" || test "$THIS_RESULT" = "builtin"; then HAVE_DBA=1 eval HAVE_$THIS_NAME=1 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $THIS_RESULT" >&5 -printf "%s\n" "$THIS_RESULT" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $THIS_RESULT" >&5 +printf '%s\n' "$THIS_RESULT" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi unset THIS_RESULT THIS_NAME THIS_FULL_NAME @@ -29914,8 +29818,8 @@ esac done - as_ac_Lib=`printf "%s\n" "ac_cv_lib_$LIB""_dbminit" | sed "$as_sed_sh"` -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dbminit in -l$LIB" >&5 + as_ac_Lib=`printf '%s\n' "ac_cv_lib_$LIB""_dbminit" | sed "$as_sed_sh"` +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dbminit in -l$LIB" >&5 printf %s "checking for dbminit in -l$LIB... " >&6; } if eval test \${$as_ac_Lib+y} then : @@ -29957,40 +29861,40 @@ esac fi eval ac_res=\$$as_ac_Lib - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$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\$"$as_ac_Lib"\" = x"yes" then : LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DBM using GDBM" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for DBM using GDBM" >&5 printf %s "checking for DBM using GDBM... " >&6; } -printf "%s\n" "#define DBM_INCLUDE_FILE \"$THIS_INCLUDE\"" >>confdefs.h +printf '%s\n' "#define DBM_INCLUDE_FILE \"$THIS_INCLUDE\"" >>confdefs.h if test "x$LIB" = xgdbm then : -printf "%s\n" "#define DBM_VERSION \"GDBM\"" >>confdefs.h +printf '%s\n' "#define DBM_VERSION \"GDBM\"" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } else case e in #( e) -printf "%s\n" "#define DBM_VERSION \"DBM\"" >>confdefs.h +printf '%s\n' "#define DBM_VERSION \"DBM\"" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } ;; esac fi -printf "%s\n" "#define DBA_DBM 1" >>confdefs.h +printf '%s\n' "#define DBA_DBM 1" >>confdefs.h THIS_LIBS=$LIB @@ -30143,7 +30047,7 @@ else THIS_FULL_NAME="$THIS_NAME" fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $THIS_FULL_NAME support" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $THIS_FULL_NAME support" >&5 printf %s "checking for $THIS_FULL_NAME support... " >&6; } if test -n ""; then as_fn_error $? "" "$LINENO" 5 @@ -30151,11 +30055,11 @@ if test "$THIS_RESULT" = "yes" || test "$THIS_RESULT" = "builtin"; then HAVE_DBA=1 eval HAVE_$THIS_NAME=1 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $THIS_RESULT" >&5 -printf "%s\n" "$THIS_RESULT" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $THIS_RESULT" >&5 +printf '%s\n' "$THIS_RESULT" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi unset THIS_RESULT THIS_NAME THIS_FULL_NAME @@ -30238,10 +30142,10 @@ if test "$PHP_CDB" = "yes"; then -printf "%s\n" "#define DBA_CDB_BUILTIN 1" >>confdefs.h +printf '%s\n' "#define DBA_CDB_BUILTIN 1" >>confdefs.h -printf "%s\n" "#define DBA_CDB 1" >>confdefs.h +printf '%s\n' "#define DBA_CDB 1" >>confdefs.h cdb_sources="libcdb/cdb.c libcdb/cdb_make.c libcdb/uint32.c" THIS_RESULT="builtin" @@ -30375,8 +30279,8 @@ esac done - as_ac_Lib=`printf "%s\n" "ac_cv_lib_$LIB""_cdb_read" | sed "$as_sed_sh"` -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cdb_read in -l$LIB" >&5 + as_ac_Lib=`printf '%s\n' "ac_cv_lib_$LIB""_cdb_read" | sed "$as_sed_sh"` +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for cdb_read in -l$LIB" >&5 printf %s "checking for cdb_read in -l$LIB... " >&6; } if eval test \${$as_ac_Lib+y} then : @@ -30418,8 +30322,8 @@ esac fi eval ac_res=\$$as_ac_Lib - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$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\$"$as_ac_Lib"\" = x"yes" then : @@ -30427,10 +30331,10 @@ ext_shared=$save_ext_shared -printf "%s\n" "#define CDB_INCLUDE_FILE \"$THIS_INCLUDE\"" >>confdefs.h +printf '%s\n' "#define CDB_INCLUDE_FILE \"$THIS_INCLUDE\"" >>confdefs.h -printf "%s\n" "#define DBA_CDB 1" >>confdefs.h +printf '%s\n' "#define DBA_CDB 1" >>confdefs.h THIS_LIBS=$LIB @@ -30583,7 +30487,7 @@ else THIS_FULL_NAME="$THIS_NAME" fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $THIS_FULL_NAME support" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $THIS_FULL_NAME support" >&5 printf %s "checking for $THIS_FULL_NAME support... " >&6; } if test -n ""; then as_fn_error $? "" "$LINENO" 5 @@ -30591,18 +30495,18 @@ if test "$THIS_RESULT" = "yes" || test "$THIS_RESULT" = "builtin"; then HAVE_DBA=1 eval HAVE_$THIS_NAME=1 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $THIS_RESULT" >&5 -printf "%s\n" "$THIS_RESULT" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $THIS_RESULT" >&5 +printf '%s\n' "$THIS_RESULT" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi unset THIS_RESULT THIS_NAME THIS_FULL_NAME if test "$PHP_INIFILE" != "no"; then -printf "%s\n" "#define DBA_INIFILE 1" >>confdefs.h +printf '%s\n' "#define DBA_INIFILE 1" >>confdefs.h ini_sources="libinifile/inifile.c" THIS_RESULT="builtin" @@ -30614,7 +30518,7 @@ else THIS_FULL_NAME="$THIS_NAME" fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $THIS_FULL_NAME support" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $THIS_FULL_NAME support" >&5 printf %s "checking for $THIS_FULL_NAME support... " >&6; } if test -n ""; then as_fn_error $? "" "$LINENO" 5 @@ -30622,18 +30526,18 @@ if test "$THIS_RESULT" = "yes" || test "$THIS_RESULT" = "builtin"; then HAVE_DBA=1 eval HAVE_$THIS_NAME=1 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $THIS_RESULT" >&5 -printf "%s\n" "$THIS_RESULT" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $THIS_RESULT" >&5 +printf '%s\n' "$THIS_RESULT" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi unset THIS_RESULT THIS_NAME THIS_FULL_NAME if test "$PHP_FLATFILE" != "no"; then -printf "%s\n" "#define DBA_FLATFILE 1" >>confdefs.h +printf '%s\n' "#define DBA_FLATFILE 1" >>confdefs.h flat_sources="libflatfile/flatfile.c" THIS_RESULT="builtin" @@ -30645,7 +30549,7 @@ else THIS_FULL_NAME="$THIS_NAME" fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $THIS_FULL_NAME support" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $THIS_FULL_NAME support" >&5 printf %s "checking for $THIS_FULL_NAME support... " >&6; } if test -n ""; then as_fn_error $? "" "$LINENO" 5 @@ -30653,32 +30557,32 @@ if test "$THIS_RESULT" = "yes" || test "$THIS_RESULT" = "builtin"; then HAVE_DBA=1 eval HAVE_$THIS_NAME=1 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $THIS_RESULT" >&5 -printf "%s\n" "$THIS_RESULT" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $THIS_RESULT" >&5 +printf '%s\n' "$THIS_RESULT" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi unset THIS_RESULT THIS_NAME THIS_FULL_NAME -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable DBA interface" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable DBA interface" >&5 printf %s "checking whether to enable DBA interface... " >&6; } if test "x$HAVE_DBA" = x1 then : if test "x$ext_shared" = xyes then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes, shared" >&5 -printf "%s\n" "yes, shared" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes, shared" >&5 +printf '%s\n' "yes, shared" >&6; } else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } ;; + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } ;; esac fi -printf "%s\n" "#define HAVE_DBA 1" >>confdefs.h +printf '%s\n' "#define HAVE_DBA 1" >>confdefs.h ext_builddir=ext/dba @@ -30815,7 +30719,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_DBA 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_DBA 1" >>confdefs.h fi fi @@ -30940,8 +30844,8 @@ else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } ;; + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } ;; esac fi @@ -30951,7 +30855,7 @@ php_enable_dl_test=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable dl-test extension" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable dl-test extension" >&5 printf %s "checking whether to enable dl-test extension... " >&6; } # Check whether --enable-dl-test was given. if test ${enable_dl_test+y} @@ -30988,8 +30892,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -31132,7 +31036,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_DL_TEST 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_DL_TEST 1" >>confdefs.h fi fi @@ -31258,7 +31162,7 @@ php_enable_dom=yes -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable DOM support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable DOM support" >&5 printf %s "checking whether to enable DOM support... " >&6; } # Check whether --enable-dom was given. if test ${enable_dom+y} @@ -31295,8 +31199,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -31305,17 +31209,17 @@ pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 >= 2.9.4" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 >= 2.9.4" >&5 printf %s "checking for libxml-2.0 >= 2.9.4... " >&6; } if test -n "$LIBXML_CFLAGS"; then pkg_cv_LIBXML_CFLAGS="$LIBXML_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 \"libxml-2.0 >= 2.9.4\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.9.4\""; } >&5 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.9.4") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBXML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.9.4" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -31329,10 +31233,10 @@ pkg_cv_LIBXML_LIBS="$LIBXML_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 \"libxml-2.0 >= 2.9.4\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.9.4\""; } >&5 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.9.4") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBXML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.9.4" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -31346,8 +31250,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -31373,10 +31277,10 @@ and LIBXML_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 - { 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;} + { 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. @@ -31390,8 +31294,8 @@ else LIBXML_CFLAGS=$pkg_cv_LIBXML_CFLAGS LIBXML_LIBS=$pkg_cv_LIBXML_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } fi @@ -31551,7 +31455,7 @@ -printf "%s\n" "#define HAVE_DOM 1" >>confdefs.h +printf '%s\n' "#define HAVE_DOM 1" >>confdefs.h PHP_LEXBOR_CFLAGS="-I@ext_srcdir@/lexbor -DLEXBOR_STATIC" LEXBOR_DIR="lexbor/lexbor" @@ -31691,7 +31595,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_DOM 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_DOM 1" >>confdefs.h fi fi @@ -31860,7 +31764,7 @@ php_with_enchant=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build with Enchant support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to build with Enchant support" >&5 printf %s "checking whether to build with Enchant support... " >&6; } # Check whether --with-enchant was given. @@ -31898,8 +31802,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -31907,17 +31811,17 @@ if test "$PHP_ENCHANT" != "no"; then pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for enchant-2" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for enchant-2" >&5 printf %s "checking for enchant-2... " >&6; } if test -n "$ENCHANT2_CFLAGS"; then pkg_cv_ENCHANT2_CFLAGS="$ENCHANT2_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 \"enchant-2\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"enchant-2\""; } >&5 ($PKG_CONFIG --exists --print-errors "enchant-2") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ENCHANT2_CFLAGS=`$PKG_CONFIG --cflags "enchant-2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -31931,10 +31835,10 @@ pkg_cv_ENCHANT2_LIBS="$ENCHANT2_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 \"enchant-2\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"enchant-2\""; } >&5 ($PKG_CONFIG --exists --print-errors "enchant-2") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ENCHANT2_LIBS=`$PKG_CONFIG --libs "enchant-2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -31948,8 +31852,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -31966,14 +31870,14 @@ found_enchant_2=no elif test $pkg_failed = untried; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } found_enchant_2=no else ENCHANT2_CFLAGS=$pkg_cv_ENCHANT2_CFLAGS ENCHANT2_LIBS=$pkg_cv_ENCHANT2_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } found_enchant_2=yes fi @@ -32136,26 +32040,26 @@ done -printf "%s\n" "#define HAVE_ENCHANT_GET_VERSION 1" >>confdefs.h +printf '%s\n' "#define HAVE_ENCHANT_GET_VERSION 1" >>confdefs.h else case e in #( e) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: libenchant-2 not found trying with old libenchant" >&5 -printf "%s\n" "$as_me: WARNING: libenchant-2 not found trying with old libenchant" >&2;} + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: libenchant-2 not found trying with old libenchant" >&5 +printf '%s\n' "$as_me: WARNING: libenchant-2 not found trying with old libenchant" >&2;} pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for enchant >= 1.4.2" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for enchant >= 1.4.2" >&5 printf %s "checking for enchant >= 1.4.2... " >&6; } if test -n "$ENCHANT_CFLAGS"; then pkg_cv_ENCHANT_CFLAGS="$ENCHANT_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 \"enchant >= 1.4.2\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"enchant >= 1.4.2\""; } >&5 ($PKG_CONFIG --exists --print-errors "enchant >= 1.4.2") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ENCHANT_CFLAGS=`$PKG_CONFIG --cflags "enchant >= 1.4.2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -32169,10 +32073,10 @@ pkg_cv_ENCHANT_LIBS="$ENCHANT_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 \"enchant >= 1.4.2\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"enchant >= 1.4.2\""; } >&5 ($PKG_CONFIG --exists --print-errors "enchant >= 1.4.2") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ENCHANT_LIBS=`$PKG_CONFIG --libs "enchant >= 1.4.2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -32186,8 +32090,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -32213,10 +32117,10 @@ and ENCHANT_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 - { 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;} + { 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. @@ -32230,8 +32134,8 @@ else ENCHANT_CFLAGS=$pkg_cv_ENCHANT_CFLAGS ENCHANT_LIBS=$pkg_cv_ENCHANT_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } fi @@ -32509,7 +32413,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for enchant_get_version in -lenchant" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for enchant_get_version in -lenchant" >&5 printf %s "checking for enchant_get_version in -lenchant... " >&6; } if test ${ac_cv_lib_enchant_enchant_get_version+y} then : @@ -32550,14 +32454,14 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_enchant_enchant_get_version" >&5 -printf "%s\n" "$ac_cv_lib_enchant_enchant_get_version" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_enchant_enchant_get_version" >&5 +printf '%s\n' "$ac_cv_lib_enchant_enchant_get_version" >&6; } if test "x$ac_cv_lib_enchant_enchant_get_version" = xyes then : LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared - printf "%s\n" "#define HAVE_ENCHANT_GET_VERSION 1" >>confdefs.h + printf '%s\n' "#define HAVE_ENCHANT_GET_VERSION 1" >>confdefs.h else case e in #( @@ -32689,7 +32593,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for enchant_broker_set_param in -lenchant" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for enchant_broker_set_param in -lenchant" >&5 printf %s "checking for enchant_broker_set_param in -lenchant... " >&6; } if test ${ac_cv_lib_enchant_enchant_broker_set_param+y} then : @@ -32730,15 +32634,15 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_enchant_enchant_broker_set_param" >&5 -printf "%s\n" "$ac_cv_lib_enchant_enchant_broker_set_param" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_enchant_enchant_broker_set_param" >&5 +printf '%s\n' "$ac_cv_lib_enchant_enchant_broker_set_param" >&6; } if test "x$ac_cv_lib_enchant_enchant_broker_set_param" = xyes then : LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared -printf "%s\n" "#define HAVE_ENCHANT_BROKER_SET_PARAM 1" >>confdefs.h +printf '%s\n' "#define HAVE_ENCHANT_BROKER_SET_PARAM 1" >>confdefs.h else case e in #( @@ -32756,7 +32660,7 @@ fi -printf "%s\n" "#define HAVE_ENCHANT 1" >>confdefs.h +printf '%s\n' "#define HAVE_ENCHANT 1" >>confdefs.h @@ -32894,7 +32798,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_ENCHANT 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_ENCHANT 1" >>confdefs.h fi fi @@ -33023,7 +32927,7 @@ php_enable_exif=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable EXIF (metadata from images) support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable EXIF (metadata from images) support" >&5 printf %s "checking whether to enable EXIF (metadata from images) support... " >&6; } # Check whether --enable-exif was given. if test ${enable_exif+y} @@ -33060,15 +32964,15 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } if test "$PHP_EXIF" != "no"; then -printf "%s\n" "#define HAVE_EXIF 1" >>confdefs.h +printf '%s\n' "#define HAVE_EXIF 1" >>confdefs.h ext_builddir=ext/exif @@ -33205,7 +33109,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_EXIF 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_EXIF 1" >>confdefs.h fi fi @@ -33331,7 +33235,7 @@ php_with_ffi=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FFI support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for FFI support" >&5 printf %s "checking for FFI support... " >&6; } # Check whether --with-ffi was given. @@ -33369,8 +33273,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -33378,17 +33282,17 @@ if test "$PHP_FFI" != "no"; then pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libffi >= 3.0.11" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libffi >= 3.0.11" >&5 printf %s "checking for libffi >= 3.0.11... " >&6; } if test -n "$FFI_CFLAGS"; then pkg_cv_FFI_CFLAGS="$FFI_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 \"libffi >= 3.0.11\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi >= 3.0.11\""; } >&5 ($PKG_CONFIG --exists --print-errors "libffi >= 3.0.11") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_FFI_CFLAGS=`$PKG_CONFIG --cflags "libffi >= 3.0.11" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -33402,10 +33306,10 @@ pkg_cv_FFI_LIBS="$FFI_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 \"libffi >= 3.0.11\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi >= 3.0.11\""; } >&5 ($PKG_CONFIG --exists --print-errors "libffi >= 3.0.11") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_FFI_LIBS=`$PKG_CONFIG --libs "libffi >= 3.0.11" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -33419,8 +33323,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -33446,10 +33350,10 @@ and FFI_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 - { 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;} + { 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. @@ -33463,8 +33367,8 @@ else FFI_CFLAGS=$pkg_cv_FFI_CFLAGS FFI_LIBS=$pkg_cv_FFI_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } fi @@ -33625,14 +33529,14 @@ -printf "%s\n" "#define HAVE_FFI 1" >>confdefs.h +printf '%s\n' "#define HAVE_FFI 1" >>confdefs.h ac_fn_c_check_type "$LINENO" "long double" "ac_cv_type_long_double" "$ac_includes_default" if test "x$ac_cv_type_long_double" = xyes then : -printf "%s\n" "#define HAVE_LONG_DOUBLE 1" >>confdefs.h +printf '%s\n' "#define HAVE_LONG_DOUBLE 1" >>confdefs.h fi @@ -33643,59 +33547,59 @@ CFLAGS_SAVE=$CFLAGS CFLAGS="$CFLAGS $FFI_CFLAGS" ac_fn_check_decl "$LINENO" "FFI_FASTCALL" "ac_cv_have_decl_FFI_FASTCALL" "#include -" "$ac_c_undeclared_builtin_options" "CFLAGS" +" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS" if test "x$ac_cv_have_decl_FFI_FASTCALL" = xyes then : -printf "%s\n" "#define HAVE_FFI_FASTCALL 1" >>confdefs.h +printf '%s\n' "#define HAVE_FFI_FASTCALL 1" >>confdefs.h fi ac_fn_check_decl "$LINENO" "FFI_THISCALL" "ac_cv_have_decl_FFI_THISCALL" "#include -" "$ac_c_undeclared_builtin_options" "CFLAGS" +" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS" if test "x$ac_cv_have_decl_FFI_THISCALL" = xyes then : -printf "%s\n" "#define HAVE_FFI_THISCALL 1" >>confdefs.h +printf '%s\n' "#define HAVE_FFI_THISCALL 1" >>confdefs.h fi ac_fn_check_decl "$LINENO" "FFI_STDCALL" "ac_cv_have_decl_FFI_STDCALL" "#include -" "$ac_c_undeclared_builtin_options" "CFLAGS" +" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS" if test "x$ac_cv_have_decl_FFI_STDCALL" = xyes then : -printf "%s\n" "#define HAVE_FFI_STDCALL 1" >>confdefs.h +printf '%s\n' "#define HAVE_FFI_STDCALL 1" >>confdefs.h fi ac_fn_check_decl "$LINENO" "FFI_PASCAL" "ac_cv_have_decl_FFI_PASCAL" "#include -" "$ac_c_undeclared_builtin_options" "CFLAGS" +" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS" if test "x$ac_cv_have_decl_FFI_PASCAL" = xyes then : -printf "%s\n" "#define HAVE_FFI_PASCAL 1" >>confdefs.h +printf '%s\n' "#define HAVE_FFI_PASCAL 1" >>confdefs.h fi ac_fn_check_decl "$LINENO" "FFI_REGISTER" "ac_cv_have_decl_FFI_REGISTER" "#include -" "$ac_c_undeclared_builtin_options" "CFLAGS" +" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS" if test "x$ac_cv_have_decl_FFI_REGISTER" = xyes then : -printf "%s\n" "#define HAVE_FFI_REGISTER 1" >>confdefs.h +printf '%s\n' "#define HAVE_FFI_REGISTER 1" >>confdefs.h fi ac_fn_check_decl "$LINENO" "FFI_MS_CDECL" "ac_cv_have_decl_FFI_MS_CDECL" "#include -" "$ac_c_undeclared_builtin_options" "CFLAGS" +" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS" if test "x$ac_cv_have_decl_FFI_MS_CDECL" = xyes then : -printf "%s\n" "#define HAVE_FFI_MS_CDECL 1" >>confdefs.h +printf '%s\n' "#define HAVE_FFI_MS_CDECL 1" >>confdefs.h fi ac_fn_check_decl "$LINENO" "FFI_SYSV" "ac_cv_have_decl_FFI_SYSV" "#include -" "$ac_c_undeclared_builtin_options" "CFLAGS" +" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS" if test "x$ac_cv_have_decl_FFI_SYSV" = xyes then : -printf "%s\n" "#define HAVE_FFI_SYSV 1" >>confdefs.h +printf '%s\n' "#define HAVE_FFI_SYSV 1" >>confdefs.h fi CFLAGS=$CFLAGS_SAVE @@ -33835,7 +33739,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_FFI 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_FFI 1" >>confdefs.h fi fi @@ -33964,7 +33868,7 @@ php_enable_fileinfo=yes -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fileinfo support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for fileinfo support" >&5 printf %s "checking for fileinfo support... " >&6; } # Check whether --enable-fileinfo was given. if test ${enable_fileinfo+y} @@ -34001,8 +33905,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -34013,7 +33917,7 @@ ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default" if test "x$ac_cv_header_sys_sysmacros_h" = xyes then : - printf "%s\n" "#define HAVE_SYS_SYSMACROS_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_SYS_SYSMACROS_H 1" >>confdefs.h fi @@ -34024,12 +33928,12 @@ ac_fn_c_check_func "$LINENO" "strcasestr" "ac_cv_func_strcasestr" if test "x$ac_cv_func_strcasestr" = xyes then : - printf "%s\n" "#define HAVE_STRCASESTR 1" >>confdefs.h + printf '%s\n' "#define HAVE_STRCASESTR 1" >>confdefs.h else case e in #( e) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using libmagic strcasestr implementation" >&5 -printf "%s\n" "$as_me: using libmagic strcasestr implementation" >&6;} + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: using libmagic strcasestr implementation" >&5 +printf '%s\n' "$as_me: using libmagic strcasestr implementation" >&6;} libmagic_sources="$libmagic_sources libmagic/strcasestr.c" ;; esac @@ -34040,7 +33944,7 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((visibility))" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for __attribute__((visibility))" >&5 printf %s "checking for __attribute__((visibility))... " >&6; } if test ${ax_cv_have_func_attribute_visibility+y} then : @@ -34083,13 +33987,13 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_func_attribute_visibility" >&5 -printf "%s\n" "$ax_cv_have_func_attribute_visibility" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_func_attribute_visibility" >&5 +printf '%s\n' "$ax_cv_have_func_attribute_visibility" >&6; } if test yes = $ax_cv_have_func_attribute_visibility then : -printf "%s\n" "#define HAVE_FUNC_ATTRIBUTE_VISIBILITY 1" >>confdefs.h +printf '%s\n' "#define HAVE_FUNC_ATTRIBUTE_VISIBILITY 1" >>confdefs.h fi @@ -34231,7 +34135,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_FILEINFO 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_FILEINFO 1" >>confdefs.h fi fi @@ -34374,13 +34278,13 @@ ac_fn_c_check_func "$LINENO" "utimes" "ac_cv_func_utimes" if test "x$ac_cv_func_utimes" = xyes then : - printf "%s\n" "#define HAVE_UTIMES 1" >>confdefs.h + printf '%s\n' "#define HAVE_UTIMES 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "strndup" "ac_cv_func_strndup" if test "x$ac_cv_func_strndup" = xyes then : - printf "%s\n" "#define HAVE_STRNDUP 1" >>confdefs.h + printf '%s\n' "#define HAVE_STRNDUP 1" >>confdefs.h fi @@ -34398,7 +34302,7 @@ php_enable_filter=yes -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable input filter support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable input filter support" >&5 printf %s "checking whether to enable input filter support... " >&6; } # Check whether --enable-filter was given. if test ${enable_filter+y} @@ -34435,8 +34339,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -34577,7 +34481,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_FILTER 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_FILTER 1" >>confdefs.h fi fi @@ -34740,7 +34644,7 @@ php_enable_ftp=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable FTP support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable FTP support" >&5 printf %s "checking whether to enable FTP support... " >&6; } # Check whether --enable-ftp was given. if test ${enable_ftp+y} @@ -34777,8 +34681,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -34791,7 +34695,7 @@ php_with_ftp_ssl=$PHP_OPENSSL -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable FTP over SSL support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable FTP over SSL support" >&5 printf %s "checking whether to enable FTP over SSL support... " >&6; } # Check whether --with-ftp-ssl was given. @@ -34808,15 +34712,15 @@ ext_output=$PHP_FTP_SSL -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } if test "$PHP_FTP" = "yes"; then -printf "%s\n" "#define HAVE_FTP 1" >>confdefs.h +printf '%s\n' "#define HAVE_FTP 1" >>confdefs.h ext_builddir=ext/ftp @@ -34953,7 +34857,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_FTP 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_FTP 1" >>confdefs.h fi fi @@ -35082,17 +34986,17 @@ pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for openssl >= 1.1.1" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for openssl >= 1.1.1" >&5 printf %s "checking for openssl >= 1.1.1... " >&6; } if test -n "$OPENSSL_CFLAGS"; then pkg_cv_OPENSSL_CFLAGS="$OPENSSL_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 \"openssl >= 1.1.1\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.1.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "openssl >= 1.1.1") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl >= 1.1.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -35106,10 +35010,10 @@ pkg_cv_OPENSSL_LIBS="$OPENSSL_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 \"openssl >= 1.1.1\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.1.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "openssl >= 1.1.1") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl >= 1.1.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -35123,8 +35027,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -35150,10 +35054,10 @@ and OPENSSL_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 - { 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;} + { 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. @@ -35167,8 +35071,8 @@ else OPENSSL_CFLAGS=$pkg_cv_OPENSSL_CFLAGS OPENSSL_LIBS=$pkg_cv_OPENSSL_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } found_openssl=yes fi @@ -35335,7 +35239,7 @@ PHP_VAR_SUBST="$PHP_VAR_SUBST FTP_SHARED_LIBADD" -printf "%s\n" "#define HAVE_FTP_SSL 1" >>confdefs.h +printf '%s\n' "#define HAVE_FTP_SSL 1" >>confdefs.h ;; esac @@ -35348,7 +35252,7 @@ php_enable_gd=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GD support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for GD support" >&5 printf %s "checking for GD support... " >&6; } # Check whether --enable-gd was given. if test ${enable_gd+y} @@ -35385,8 +35289,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -35394,7 +35298,7 @@ php_with_external_gd=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for external libgd" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for external libgd" >&5 printf %s "checking for external libgd... " >&6; } # Check whether --with-external-gd was given. @@ -35411,8 +35315,8 @@ ext_output=$PHP_EXTERNAL_GD -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -35420,7 +35324,7 @@ php_with_avif=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libavif" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libavif" >&5 printf %s "checking for libavif... " >&6; } # Check whether --with-avif was given. @@ -35437,8 +35341,8 @@ ext_output=$PHP_AVIF -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -35446,7 +35350,7 @@ php_with_webp=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libwebp" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libwebp" >&5 printf %s "checking for libwebp... " >&6; } # Check whether --with-webp was given. @@ -35463,8 +35367,8 @@ ext_output=$PHP_WEBP -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -35472,7 +35376,7 @@ php_with_jpeg=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libjpeg" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libjpeg" >&5 printf %s "checking for libjpeg... " >&6; } # Check whether --with-jpeg was given. @@ -35489,8 +35393,8 @@ ext_output=$PHP_JPEG -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -35498,7 +35402,7 @@ php_with_xpm=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libXpm" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libXpm" >&5 printf %s "checking for libXpm... " >&6; } # Check whether --with-xpm was given. @@ -35515,8 +35419,8 @@ ext_output=$PHP_XPM -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -35524,7 +35428,7 @@ php_with_freetype=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FreeType 2" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for FreeType 2" >&5 printf %s "checking for FreeType 2... " >&6; } # Check whether --with-freetype was given. @@ -35541,8 +35445,8 @@ ext_output=$PHP_FREETYPE -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -35550,7 +35454,7 @@ php_enable_gd_jis_conv=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable JIS-mapped Japanese font support in GD" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable JIS-mapped Japanese font support in GD" >&5 printf %s "checking whether to enable JIS-mapped Japanese font support in GD... " >&6; } # Check whether --enable-gd-jis-conv was given. if test ${enable_gd_jis_conv+y} @@ -35566,8 +35470,8 @@ ext_output=$PHP_GD_JIS_CONV -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -35597,31 +35501,31 @@ extra_sources=" libgd/gd_avif.c libgd/gd_bmp.c libgd/gd_color_match.c libgd/gd_crop.c libgd/gd_filter.c libgd/gd_gd.c libgd/gd_gd2.c libgd/gd_gif_in.c libgd/gd_gif_out.c libgd/gd_interpolation.c libgd/gd_io_dp.c libgd/gd_io_file.c libgd/gd_io_ss.c libgd/gd_io.c libgd/gd_jpeg.c libgd/gd_matrix.c libgd/gd_pixelate.c libgd/gd_png.c libgd/gd_rotate.c libgd/gd_security.c libgd/gd_ss.c libgd/gd_tga.c libgd/gd_topal.c libgd/gd_transform.c libgd/gd_wbmp.c libgd/gd_webp.c libgd/gd_xbm.c libgd/gd.c libgd/gdcache.c libgd/gdfontg.c libgd/gdfontl.c libgd/gdfontmb.c libgd/gdfonts.c libgd/gdfontt.c libgd/gdft.c libgd/gdhelpers.c libgd/gdkanji.c libgd/gdtables.c libgd/gdxpm.c libgd/wbmp.c " -printf "%s\n" "#define HAVE_GD_BUNDLED 1" >>confdefs.h +printf '%s\n' "#define HAVE_GD_BUNDLED 1" >>confdefs.h -printf "%s\n" "#define HAVE_GD_PNG 1" >>confdefs.h +printf '%s\n' "#define HAVE_GD_PNG 1" >>confdefs.h -printf "%s\n" "#define HAVE_GD_BMP 1" >>confdefs.h +printf '%s\n' "#define HAVE_GD_BMP 1" >>confdefs.h -printf "%s\n" "#define HAVE_GD_TGA 1" >>confdefs.h +printf '%s\n' "#define HAVE_GD_TGA 1" >>confdefs.h pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for zlib >= 1.2.11" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for zlib >= 1.2.11" >&5 printf %s "checking for zlib >= 1.2.11... " >&6; } if test -n "$ZLIB_CFLAGS"; then pkg_cv_ZLIB_CFLAGS="$ZLIB_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 \"zlib >= 1.2.11\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.2.11\""; } >&5 ($PKG_CONFIG --exists --print-errors "zlib >= 1.2.11") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ZLIB_CFLAGS=`$PKG_CONFIG --cflags "zlib >= 1.2.11" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -35635,10 +35539,10 @@ pkg_cv_ZLIB_LIBS="$ZLIB_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 \"zlib >= 1.2.11\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.2.11\""; } >&5 ($PKG_CONFIG --exists --print-errors "zlib >= 1.2.11") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ZLIB_LIBS=`$PKG_CONFIG --libs "zlib >= 1.2.11" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -35652,8 +35556,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -35679,10 +35583,10 @@ and ZLIB_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 - { 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;} + { 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. @@ -35696,8 +35600,8 @@ else ZLIB_CFLAGS=$pkg_cv_ZLIB_CFLAGS ZLIB_LIBS=$pkg_cv_ZLIB_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } for ac_i in $ZLIB_CFLAGS; do case $ac_i in @@ -35858,17 +35762,17 @@ pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libpng" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libpng" >&5 printf %s "checking for libpng... " >&6; } if test -n "$PNG_CFLAGS"; then pkg_cv_PNG_CFLAGS="$PNG_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 \"libpng\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng\""; } >&5 ($PKG_CONFIG --exists --print-errors "libpng") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -35882,10 +35786,10 @@ pkg_cv_PNG_LIBS="$PNG_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 \"libpng\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng\""; } >&5 ($PKG_CONFIG --exists --print-errors "libpng") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -35899,8 +35803,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -35926,10 +35830,10 @@ and PNG_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 - { 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;} + { 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. @@ -35943,8 +35847,8 @@ else PNG_CFLAGS=$pkg_cv_PNG_CFLAGS PNG_LIBS=$pkg_cv_PNG_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } fi @@ -36103,7 +36007,7 @@ done -printf "%s\n" "#define HAVE_LIBPNG 1" >>confdefs.h +printf '%s\n' "#define HAVE_LIBPNG 1" >>confdefs.h @@ -36114,17 +36018,17 @@ e) pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libavif >= 0.8.2" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libavif >= 0.8.2" >&5 printf %s "checking for libavif >= 0.8.2... " >&6; } if test -n "$AVIF_CFLAGS"; then pkg_cv_AVIF_CFLAGS="$AVIF_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 \"libavif >= 0.8.2\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavif >= 0.8.2\""; } >&5 ($PKG_CONFIG --exists --print-errors "libavif >= 0.8.2") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_AVIF_CFLAGS=`$PKG_CONFIG --cflags "libavif >= 0.8.2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -36138,10 +36042,10 @@ pkg_cv_AVIF_LIBS="$AVIF_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 \"libavif >= 0.8.2\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavif >= 0.8.2\""; } >&5 ($PKG_CONFIG --exists --print-errors "libavif >= 0.8.2") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_AVIF_LIBS=`$PKG_CONFIG --libs "libavif >= 0.8.2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -36155,8 +36059,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -36182,10 +36086,10 @@ and AVIF_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 - { 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;} + { 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. @@ -36199,8 +36103,8 @@ else AVIF_CFLAGS=$pkg_cv_AVIF_CFLAGS AVIF_LIBS=$pkg_cv_AVIF_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } fi @@ -36359,10 +36263,10 @@ done -printf "%s\n" "#define HAVE_LIBAVIF 1" >>confdefs.h +printf '%s\n' "#define HAVE_LIBAVIF 1" >>confdefs.h -printf "%s\n" "#define HAVE_GD_AVIF 1" >>confdefs.h +printf '%s\n' "#define HAVE_GD_AVIF 1" >>confdefs.h ;; esac @@ -36376,17 +36280,17 @@ e) pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libwebp >= 0.2.0" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libwebp >= 0.2.0" >&5 printf %s "checking for libwebp >= 0.2.0... " >&6; } if test -n "$WEBP_CFLAGS"; then pkg_cv_WEBP_CFLAGS="$WEBP_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 \"libwebp >= 0.2.0\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libwebp >= 0.2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libwebp >= 0.2.0") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_WEBP_CFLAGS=`$PKG_CONFIG --cflags "libwebp >= 0.2.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -36400,10 +36304,10 @@ pkg_cv_WEBP_LIBS="$WEBP_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 \"libwebp >= 0.2.0\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libwebp >= 0.2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libwebp >= 0.2.0") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_WEBP_LIBS=`$PKG_CONFIG --libs "libwebp >= 0.2.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -36417,8 +36321,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -36444,10 +36348,10 @@ and WEBP_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 - { 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;} + { 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. @@ -36461,8 +36365,8 @@ else WEBP_CFLAGS=$pkg_cv_WEBP_CFLAGS WEBP_LIBS=$pkg_cv_WEBP_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } fi @@ -36621,10 +36525,10 @@ done -printf "%s\n" "#define HAVE_LIBWEBP 1" >>confdefs.h +printf '%s\n' "#define HAVE_LIBWEBP 1" >>confdefs.h -printf "%s\n" "#define HAVE_GD_WEBP 1" >>confdefs.h +printf '%s\n' "#define HAVE_GD_WEBP 1" >>confdefs.h ;; esac @@ -36638,17 +36542,17 @@ e) pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libjpeg" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libjpeg" >&5 printf %s "checking for libjpeg... " >&6; } if test -n "$JPEG_CFLAGS"; then pkg_cv_JPEG_CFLAGS="$JPEG_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 \"libjpeg\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libjpeg\""; } >&5 ($PKG_CONFIG --exists --print-errors "libjpeg") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_JPEG_CFLAGS=`$PKG_CONFIG --cflags "libjpeg" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -36662,10 +36566,10 @@ pkg_cv_JPEG_LIBS="$JPEG_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 \"libjpeg\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libjpeg\""; } >&5 ($PKG_CONFIG --exists --print-errors "libjpeg") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_JPEG_LIBS=`$PKG_CONFIG --libs "libjpeg" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -36679,8 +36583,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -36706,10 +36610,10 @@ and JPEG_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 - { 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;} + { 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. @@ -36723,8 +36627,8 @@ else JPEG_CFLAGS=$pkg_cv_JPEG_CFLAGS JPEG_LIBS=$pkg_cv_JPEG_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } fi @@ -36883,10 +36787,10 @@ done -printf "%s\n" "#define HAVE_LIBJPEG 1" >>confdefs.h +printf '%s\n' "#define HAVE_LIBJPEG 1" >>confdefs.h -printf "%s\n" "#define HAVE_GD_JPG 1" >>confdefs.h +printf '%s\n' "#define HAVE_GD_JPG 1" >>confdefs.h ;; esac @@ -36900,17 +36804,17 @@ e) pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xpm" >&5 +{ 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" && \ - { { printf "%s\n" "$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=$? - printf "%s\n" "$as_me:${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 @@ -36924,10 +36828,10 @@ pkg_cv_XPM_LIBS="$XPM_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 \"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=$? - printf "%s\n" "$as_me:${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 @@ -36941,8 +36845,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -36968,10 +36872,10 @@ and XPM_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 - { 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;} + { 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. @@ -36985,8 +36889,8 @@ else XPM_CFLAGS=$pkg_cv_XPM_CFLAGS XPM_LIBS=$pkg_cv_XPM_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } fi @@ -37145,10 +37049,10 @@ done -printf "%s\n" "#define HAVE_XPM 1" >>confdefs.h +printf '%s\n' "#define HAVE_XPM 1" >>confdefs.h -printf "%s\n" "#define HAVE_GD_XPM 1" >>confdefs.h +printf '%s\n' "#define HAVE_GD_XPM 1" >>confdefs.h ;; esac @@ -37162,17 +37066,17 @@ e) pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for freetype2" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for freetype2" >&5 printf %s "checking for freetype2... " >&6; } if test -n "$FREETYPE2_CFLAGS"; then pkg_cv_FREETYPE2_CFLAGS="$FREETYPE2_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 \"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=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_FREETYPE2_CFLAGS=`$PKG_CONFIG --cflags "freetype2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -37186,10 +37090,10 @@ pkg_cv_FREETYPE2_LIBS="$FREETYPE2_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 \"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=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_FREETYPE2_LIBS=`$PKG_CONFIG --libs "freetype2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -37203,8 +37107,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -37230,10 +37134,10 @@ and FREETYPE2_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 - { 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;} + { 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. @@ -37247,8 +37151,8 @@ else FREETYPE2_CFLAGS=$pkg_cv_FREETYPE2_CFLAGS FREETYPE2_LIBS=$pkg_cv_FREETYPE2_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } fi @@ -37407,10 +37311,10 @@ done -printf "%s\n" "#define HAVE_LIBFREETYPE 1" >>confdefs.h +printf '%s\n' "#define HAVE_LIBFREETYPE 1" >>confdefs.h -printf "%s\n" "#define HAVE_GD_FREETYPE 1" >>confdefs.h +printf '%s\n' "#define HAVE_GD_FREETYPE 1" >>confdefs.h ;; esac @@ -37421,10 +37325,10 @@ then : -printf "%s\n" "#define USE_GD_JISX0208 1" >>confdefs.h +printf '%s\n' "#define USE_GD_JISX0208 1" >>confdefs.h -printf "%s\n" "#define JISX0208 1" >>confdefs.h +printf '%s\n' "#define JISX0208 1" >>confdefs.h fi @@ -37565,7 +37469,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_GD 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_GD 1" >>confdefs.h fi fi @@ -37704,7 +37608,7 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build works" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether build works" >&5 printf %s "checking whether build works... " >&6; } if test ${php_cv_lib_gd_works+y} then : @@ -37737,14 +37641,14 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_lib_gd_works" >&5 -printf "%s\n" "$php_cv_lib_gd_works" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_lib_gd_works" >&5 +printf '%s\n' "$php_cv_lib_gd_works" >&6; } if test "x$php_cv_lib_gd_works" = xyes then : else case e in #( - e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} + e) { { 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 $? "GD library build test failed. See 'config.log' for more details" "$LINENO" 5; } ;; esac @@ -37753,17 +37657,17 @@ extra_sources="gd_compat.c" pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gdlib >= 2.1.0" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for gdlib >= 2.1.0" >&5 printf %s "checking for gdlib >= 2.1.0... " >&6; } if test -n "$GDLIB_CFLAGS"; then pkg_cv_GDLIB_CFLAGS="$GDLIB_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 \"gdlib >= 2.1.0\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdlib >= 2.1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gdlib >= 2.1.0") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GDLIB_CFLAGS=`$PKG_CONFIG --cflags "gdlib >= 2.1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -37777,10 +37681,10 @@ pkg_cv_GDLIB_LIBS="$GDLIB_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 \"gdlib >= 2.1.0\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdlib >= 2.1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gdlib >= 2.1.0") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GDLIB_LIBS=`$PKG_CONFIG --libs "gdlib >= 2.1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -37794,8 +37698,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -37821,10 +37725,10 @@ and GDLIB_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 - { 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;} + { 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. @@ -37838,8 +37742,8 @@ else GDLIB_CFLAGS=$pkg_cv_GDLIB_CFLAGS GDLIB_LIBS=$pkg_cv_GDLIB_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } fi @@ -37998,7 +37902,7 @@ done -printf "%s\n" "#define HAVE_LIBGD 1" >>confdefs.h +printf '%s\n' "#define HAVE_LIBGD 1" >>confdefs.h @@ -38012,7 +37916,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working gdImageCreateFromPng in libgd" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for working gdImageCreateFromPng in libgd" >&5 printf %s "checking for working gdImageCreateFromPng in libgd... " >&6; } if test ${php_cv_lib_gd_gdImageCreateFromPng+y} then : @@ -38057,11 +37961,11 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_lib_gd_gdImageCreateFromPng" >&5 -printf "%s\n" "$php_cv_lib_gd_gdImageCreateFromPng" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_lib_gd_gdImageCreateFromPng" >&5 +printf '%s\n' "$php_cv_lib_gd_gdImageCreateFromPng" >&6; } if test "x$php_cv_lib_gd_gdImageCreateFromPng" = xyes then : - printf "%s\n" "#define HAVE_GD_PNG 1" >>confdefs.h + printf '%s\n' "#define HAVE_GD_PNG 1" >>confdefs.h fi ac_ext=c @@ -38085,7 +37989,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working gdImageCreateFromAvif in libgd" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for working gdImageCreateFromAvif in libgd" >&5 printf %s "checking for working gdImageCreateFromAvif in libgd... " >&6; } if test ${php_cv_lib_gd_gdImageCreateFromAvif+y} then : @@ -38130,11 +38034,11 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_lib_gd_gdImageCreateFromAvif" >&5 -printf "%s\n" "$php_cv_lib_gd_gdImageCreateFromAvif" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_lib_gd_gdImageCreateFromAvif" >&5 +printf '%s\n' "$php_cv_lib_gd_gdImageCreateFromAvif" >&6; } if test "x$php_cv_lib_gd_gdImageCreateFromAvif" = xyes then : - printf "%s\n" "#define HAVE_GD_AVIF 1" >>confdefs.h + printf '%s\n' "#define HAVE_GD_AVIF 1" >>confdefs.h fi ac_ext=c @@ -38158,7 +38062,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working gdImageCreateFromWebp in libgd" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for working gdImageCreateFromWebp in libgd" >&5 printf %s "checking for working gdImageCreateFromWebp in libgd... " >&6; } if test ${php_cv_lib_gd_gdImageCreateFromWebp+y} then : @@ -38203,11 +38107,11 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_lib_gd_gdImageCreateFromWebp" >&5 -printf "%s\n" "$php_cv_lib_gd_gdImageCreateFromWebp" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_lib_gd_gdImageCreateFromWebp" >&5 +printf '%s\n' "$php_cv_lib_gd_gdImageCreateFromWebp" >&6; } if test "x$php_cv_lib_gd_gdImageCreateFromWebp" = xyes then : - printf "%s\n" "#define HAVE_GD_WEBP 1" >>confdefs.h + printf '%s\n' "#define HAVE_GD_WEBP 1" >>confdefs.h fi ac_ext=c @@ -38231,7 +38135,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working gdImageCreateFromJpeg in libgd" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for working gdImageCreateFromJpeg in libgd" >&5 printf %s "checking for working gdImageCreateFromJpeg in libgd... " >&6; } if test ${php_cv_lib_gd_gdImageCreateFromJpeg+y} then : @@ -38276,11 +38180,11 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_lib_gd_gdImageCreateFromJpeg" >&5 -printf "%s\n" "$php_cv_lib_gd_gdImageCreateFromJpeg" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_lib_gd_gdImageCreateFromJpeg" >&5 +printf '%s\n' "$php_cv_lib_gd_gdImageCreateFromJpeg" >&6; } if test "x$php_cv_lib_gd_gdImageCreateFromJpeg" = xyes then : - printf "%s\n" "#define HAVE_GD_JPG 1" >>confdefs.h + printf '%s\n' "#define HAVE_GD_JPG 1" >>confdefs.h fi ac_ext=c @@ -38304,7 +38208,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working gdImageCreateFromXpm in libgd" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for working gdImageCreateFromXpm in libgd" >&5 printf %s "checking for working gdImageCreateFromXpm in libgd... " >&6; } if test ${php_cv_lib_gd_gdImageCreateFromXpm+y} then : @@ -38349,11 +38253,11 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_lib_gd_gdImageCreateFromXpm" >&5 -printf "%s\n" "$php_cv_lib_gd_gdImageCreateFromXpm" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_lib_gd_gdImageCreateFromXpm" >&5 +printf '%s\n' "$php_cv_lib_gd_gdImageCreateFromXpm" >&6; } if test "x$php_cv_lib_gd_gdImageCreateFromXpm" = xyes then : - printf "%s\n" "#define HAVE_GD_XPM 1" >>confdefs.h + printf '%s\n' "#define HAVE_GD_XPM 1" >>confdefs.h fi ac_ext=c @@ -38377,7 +38281,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working gdImageCreateFromBmp in libgd" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for working gdImageCreateFromBmp in libgd" >&5 printf %s "checking for working gdImageCreateFromBmp in libgd... " >&6; } if test ${php_cv_lib_gd_gdImageCreateFromBmp+y} then : @@ -38422,11 +38326,11 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_lib_gd_gdImageCreateFromBmp" >&5 -printf "%s\n" "$php_cv_lib_gd_gdImageCreateFromBmp" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_lib_gd_gdImageCreateFromBmp" >&5 +printf '%s\n' "$php_cv_lib_gd_gdImageCreateFromBmp" >&6; } if test "x$php_cv_lib_gd_gdImageCreateFromBmp" = xyes then : - printf "%s\n" "#define HAVE_GD_BMP 1" >>confdefs.h + printf '%s\n' "#define HAVE_GD_BMP 1" >>confdefs.h fi ac_ext=c @@ -38450,7 +38354,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working gdImageCreateFromTga in libgd" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for working gdImageCreateFromTga in libgd" >&5 printf %s "checking for working gdImageCreateFromTga in libgd... " >&6; } if test ${php_cv_lib_gd_gdImageCreateFromTga+y} then : @@ -38495,11 +38399,11 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_lib_gd_gdImageCreateFromTga" >&5 -printf "%s\n" "$php_cv_lib_gd_gdImageCreateFromTga" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_lib_gd_gdImageCreateFromTga" >&5 +printf '%s\n' "$php_cv_lib_gd_gdImageCreateFromTga" >&6; } if test "x$php_cv_lib_gd_gdImageCreateFromTga" = xyes then : - printf "%s\n" "#define HAVE_GD_TGA 1" >>confdefs.h + printf '%s\n' "#define HAVE_GD_TGA 1" >>confdefs.h fi ac_ext=c @@ -38630,7 +38534,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gdFontCacheShutdown in -lgd" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for gdFontCacheShutdown in -lgd" >&5 printf %s "checking for gdFontCacheShutdown in -lgd... " >&6; } if test ${ac_cv_lib_gd_gdFontCacheShutdown+y} then : @@ -38671,14 +38575,14 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gd_gdFontCacheShutdown" >&5 -printf "%s\n" "$ac_cv_lib_gd_gdFontCacheShutdown" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gd_gdFontCacheShutdown" >&5 +printf '%s\n' "$ac_cv_lib_gd_gdFontCacheShutdown" >&6; } if test "x$ac_cv_lib_gd_gdFontCacheShutdown" = xyes then : LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared - printf "%s\n" "#define HAVE_GD_FREETYPE 1" >>confdefs.h + printf '%s\n' "#define HAVE_GD_FREETYPE 1" >>confdefs.h else case e in #( @@ -38809,7 +38713,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gdVersionString in -lgd" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for gdVersionString in -lgd" >&5 printf %s "checking for gdVersionString in -lgd... " >&6; } if test ${ac_cv_lib_gd_gdVersionString+y} then : @@ -38850,15 +38754,15 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gd_gdVersionString" >&5 -printf "%s\n" "$ac_cv_lib_gd_gdVersionString" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gd_gdVersionString" >&5 +printf '%s\n' "$ac_cv_lib_gd_gdVersionString" >&6; } if test "x$ac_cv_lib_gd_gdVersionString" = xyes then : LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared -printf "%s\n" "#define HAVE_GD_LIBVERSION 1" >>confdefs.h +printf '%s\n' "#define HAVE_GD_LIBVERSION 1" >>confdefs.h else case e in #( @@ -38989,7 +38893,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gdImageGetInterpolationMethod in -lgd" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for gdImageGetInterpolationMethod in -lgd" >&5 printf %s "checking for gdImageGetInterpolationMethod in -lgd... " >&6; } if test ${ac_cv_lib_gd_gdImageGetInterpolationMethod+y} then : @@ -39030,15 +38934,15 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gd_gdImageGetInterpolationMethod" >&5 -printf "%s\n" "$ac_cv_lib_gd_gdImageGetInterpolationMethod" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gd_gdImageGetInterpolationMethod" >&5 +printf '%s\n' "$ac_cv_lib_gd_gdImageGetInterpolationMethod" >&6; } if test "x$ac_cv_lib_gd_gdImageGetInterpolationMethod" = xyes then : LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared -printf "%s\n" "#define HAVE_GD_GET_INTERPOLATION 1" >>confdefs.h +printf '%s\n' "#define HAVE_GD_GET_INTERPOLATION 1" >>confdefs.h else case e in #( @@ -39188,7 +39092,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_GD 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_GD 1" >>confdefs.h fi fi @@ -39441,7 +39345,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gdImageCreate in -lgd" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for gdImageCreate in -lgd" >&5 printf %s "checking for gdImageCreate in -lgd... " >&6; } if test ${ac_cv_lib_gd_gdImageCreate+y} then : @@ -39482,8 +39386,8 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gd_gdImageCreate" >&5 -printf "%s\n" "$ac_cv_lib_gd_gdImageCreate" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gd_gdImageCreate" >&5 +printf '%s\n' "$ac_cv_lib_gd_gdImageCreate" >&6; } if test "x$ac_cv_lib_gd_gdImageCreate" = xyes then : @@ -39496,8 +39400,8 @@ LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared unset ac_cv_lib_gd_gdImageCreate - { { 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: in '$ac_pwd':" >&5 +printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "GD library build test failed. See 'config.log' for more details" "$LINENO" 5; } ;; @@ -39517,7 +39421,7 @@ php_with_gettext=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for GNU gettext support" >&5 printf %s "checking for GNU gettext support... " >&6; } # Check whether --with-gettext was given. @@ -39555,8 +39459,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -39579,7 +39483,7 @@ O_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS -L$GETTEXT_LIBDIR" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5 printf %s "checking for bindtextdomain in -lintl... " >&6; } if test ${ac_cv_lib_intl_bindtextdomain+y} then : @@ -39620,8 +39524,8 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5 -printf "%s\n" "$ac_cv_lib_intl_bindtextdomain" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5 +printf '%s\n' "$ac_cv_lib_intl_bindtextdomain" >&6; } if test "x$ac_cv_lib_intl_bindtextdomain" = xyes then : @@ -39629,7 +39533,7 @@ GETTEXT_CHECK_IN_LIB=intl else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lc" >&5 + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lc" >&5 printf %s "checking for bindtextdomain in -lc... " >&6; } if test ${ac_cv_lib_c_bindtextdomain+y} then : @@ -39670,16 +39574,16 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_bindtextdomain" >&5 -printf "%s\n" "$ac_cv_lib_c_bindtextdomain" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_bindtextdomain" >&5 +printf '%s\n' "$ac_cv_lib_c_bindtextdomain" >&6; } if test "x$ac_cv_lib_c_bindtextdomain" = xyes then : GETTEXT_LIBS= GETTEXT_CHECK_IN_LIB=c - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: symlinking en_US.UTF-8 messages to en_US in case you are on musl" >&5 -printf "%s\n" "$as_me: symlinking en_US.UTF-8 messages to en_US in case you are on musl" >&6;} + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: symlinking en_US.UTF-8 messages to en_US in case you are on musl" >&5 +printf '%s\n' "$as_me: symlinking en_US.UTF-8 messages to en_US in case you are on musl" >&6;} _linkdest="${srcdir%/}"/ext/gettext/tests/locale/en_US if test ! -e "${_linkdest}" then : @@ -39690,8 +39594,8 @@ else case e in #( - e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} + e) { { 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 $? "Unable to find required intl library for gettext. See 'config.log' for more details" "$LINENO" 5; } ;; esac @@ -39702,7 +39606,7 @@ -printf "%s\n" "#define HAVE_LIBINTL 1" >>confdefs.h +printf '%s\n' "#define HAVE_LIBINTL 1" >>confdefs.h ext_builddir=ext/gettext @@ -39839,7 +39743,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_GETTEXT 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_GETTEXT 1" >>confdefs.h fi fi @@ -39996,8 +39900,8 @@ done - as_ac_Lib=`printf "%s\n" "ac_cv_lib_$GETTEXT_CHECK_IN_LIB""_ngettext" | sed "$as_sed_sh"` -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngettext in -l$GETTEXT_CHECK_IN_LIB" >&5 + as_ac_Lib=`printf '%s\n' "ac_cv_lib_$GETTEXT_CHECK_IN_LIB""_ngettext" | sed "$as_sed_sh"` +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for ngettext in -l$GETTEXT_CHECK_IN_LIB" >&5 printf %s "checking for ngettext in -l$GETTEXT_CHECK_IN_LIB... " >&6; } if eval test \${$as_ac_Lib+y} then : @@ -40039,17 +39943,17 @@ esac fi eval ac_res=\$$as_ac_Lib - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$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\$"$as_ac_Lib"\" = x"yes" then : -printf "%s\n" "#define HAVE_NGETTEXT 1" >>confdefs.h +printf '%s\n' "#define HAVE_NGETTEXT 1" >>confdefs.h fi - as_ac_Lib=`printf "%s\n" "ac_cv_lib_$GETTEXT_CHECK_IN_LIB""_dngettext" | sed "$as_sed_sh"` -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dngettext in -l$GETTEXT_CHECK_IN_LIB" >&5 + as_ac_Lib=`printf '%s\n' "ac_cv_lib_$GETTEXT_CHECK_IN_LIB""_dngettext" | sed "$as_sed_sh"` +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dngettext in -l$GETTEXT_CHECK_IN_LIB" >&5 printf %s "checking for dngettext in -l$GETTEXT_CHECK_IN_LIB... " >&6; } if eval test \${$as_ac_Lib+y} then : @@ -40091,17 +39995,17 @@ esac fi eval ac_res=\$$as_ac_Lib - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$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\$"$as_ac_Lib"\" = x"yes" then : -printf "%s\n" "#define HAVE_DNGETTEXT 1" >>confdefs.h +printf '%s\n' "#define HAVE_DNGETTEXT 1" >>confdefs.h fi - as_ac_Lib=`printf "%s\n" "ac_cv_lib_$GETTEXT_CHECK_IN_LIB""_dcngettext" | sed "$as_sed_sh"` -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dcngettext in -l$GETTEXT_CHECK_IN_LIB" >&5 + as_ac_Lib=`printf '%s\n' "ac_cv_lib_$GETTEXT_CHECK_IN_LIB""_dcngettext" | sed "$as_sed_sh"` +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dcngettext in -l$GETTEXT_CHECK_IN_LIB" >&5 printf %s "checking for dcngettext in -l$GETTEXT_CHECK_IN_LIB... " >&6; } if eval test \${$as_ac_Lib+y} then : @@ -40143,17 +40047,17 @@ esac fi eval ac_res=\$$as_ac_Lib - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$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\$"$as_ac_Lib"\" = x"yes" then : -printf "%s\n" "#define HAVE_DCNGETTEXT 1" >>confdefs.h +printf '%s\n' "#define HAVE_DCNGETTEXT 1" >>confdefs.h fi - as_ac_Lib=`printf "%s\n" "ac_cv_lib_$GETTEXT_CHECK_IN_LIB""_bind_textdomain_codeset" | sed "$as_sed_sh"` -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bind_textdomain_codeset in -l$GETTEXT_CHECK_IN_LIB" >&5 + as_ac_Lib=`printf '%s\n' "ac_cv_lib_$GETTEXT_CHECK_IN_LIB""_bind_textdomain_codeset" | sed "$as_sed_sh"` +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for bind_textdomain_codeset in -l$GETTEXT_CHECK_IN_LIB" >&5 printf %s "checking for bind_textdomain_codeset in -l$GETTEXT_CHECK_IN_LIB... " >&6; } if eval test \${$as_ac_Lib+y} then : @@ -40195,12 +40099,12 @@ esac fi eval ac_res=\$$as_ac_Lib - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$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\$"$as_ac_Lib"\" = x"yes" then : -printf "%s\n" "#define HAVE_BIND_TEXTDOMAIN_CODESET 1" >>confdefs.h +printf '%s\n' "#define HAVE_BIND_TEXTDOMAIN_CODESET 1" >>confdefs.h fi @@ -40325,7 +40229,7 @@ php_with_gmp=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU MP support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for GNU MP support" >&5 printf %s "checking for GNU MP support... " >&6; } # Check whether --with-gmp was given. @@ -40363,8 +40267,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -40375,17 +40279,17 @@ then : pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gmp >= 4.2" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for gmp >= 4.2" >&5 printf %s "checking for gmp >= 4.2... " >&6; } if test -n "$GMP_CFLAGS"; then pkg_cv_GMP_CFLAGS="$GMP_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 \"gmp >= 4.2\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmp >= 4.2\""; } >&5 ($PKG_CONFIG --exists --print-errors "gmp >= 4.2") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GMP_CFLAGS=`$PKG_CONFIG --cflags "gmp >= 4.2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -40399,10 +40303,10 @@ pkg_cv_GMP_LIBS="$GMP_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 \"gmp >= 4.2\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmp >= 4.2\""; } >&5 ($PKG_CONFIG --exists --print-errors "gmp >= 4.2") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GMP_LIBS=`$PKG_CONFIG --libs "gmp >= 4.2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -40416,8 +40320,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -40434,14 +40338,14 @@ : elif test $pkg_failed = untried; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } : else GMP_CFLAGS=$pkg_cv_GMP_CFLAGS GMP_LIBS=$pkg_cv_GMP_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } gmp_found=yes fi fi @@ -40481,8 +40385,8 @@ if test "x$gmp_check" = xno then : - { { 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: in '$ac_pwd':" >&5 +printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? " The required GNU MP library version 4.2 or greater not found. @@ -40798,7 +40702,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_GMP 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_GMP 1" >>confdefs.h fi fi @@ -40920,7 +40824,7 @@ PHP_VAR_SUBST="$PHP_VAR_SUBST GMP_SHARED_LIBADD" -printf "%s\n" "#define HAVE_GMP 1" >>confdefs.h +printf '%s\n' "#define HAVE_GMP 1" >>confdefs.h fi @@ -40930,7 +40834,7 @@ php_with_mhash=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mhash support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for mhash support" >&5 printf %s "checking for mhash support... " >&6; } # Check whether --with-mhash was given. @@ -40968,8 +40872,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -40979,10 +40883,10 @@ else case e in #( e) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: The --with-mhash option and mhash* functions are deprecated as of PHP 8.1.0" >&5 -printf "%s\n" "$as_me: WARNING: The --with-mhash option and mhash* functions are deprecated as of PHP 8.1.0" >&2;} + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: The --with-mhash option and mhash* functions are deprecated as of PHP 8.1.0" >&5 +printf '%s\n' "$as_me: WARNING: The --with-mhash option and mhash* functions are deprecated as of PHP 8.1.0" >&2;} -printf "%s\n" "#define PHP_MHASH_BC 1" >>confdefs.h +printf '%s\n' "#define PHP_MHASH_BC 1" >>confdefs.h ;; esac @@ -40993,10 +40897,10 @@ EXT_HASH_SHA3_SOURCES= -printf "%s\n" "#define HAVE_SLOW_HASH3 1" >>confdefs.h +printf '%s\n' "#define HAVE_SLOW_HASH3 1" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Using SHA3 slow implementation on bigendian" >&5 -printf "%s\n" "$as_me: WARNING: Using SHA3 slow implementation on bigendian" >&2;} + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: Using SHA3 slow implementation on bigendian" >&5 +printf '%s\n' "$as_me: WARNING: Using SHA3 slow implementation on bigendian" >&2;} SHA3_DIR= else case e in #( @@ -41005,7 +40909,7 @@ # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 printf %s "checking size of long... " >&6; } if test ${ac_cv_sizeof_long+y} then : @@ -41015,37 +40919,30 @@ then : else case e in #( - e) if test "$ac_cv_type_long" = yes; then - { { 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 compute sizeof (long) -See 'config.log' for more details" "$LINENO" 5; } - else - ac_cv_sizeof_long=0 - fi ;; + e) ac_cv_sizeof_long=0 ;; esac fi ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 -printf "%s\n" "$ac_cv_sizeof_long" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 +printf '%s\n' "$ac_cv_sizeof_long" >&6; } -printf "%s\n" "#define SIZEOF_LONG $ac_cv_sizeof_long" >>confdefs.h +printf '%s\n' "#define SIZEOF_LONG $ac_cv_sizeof_long" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we're at 64-bit platform" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if we're at 64-bit platform" >&5 printf %s "checking if we're at 64-bit platform... " >&6; } if test "$ac_cv_sizeof_long" -eq 4 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}: result: no" >&5 +printf '%s\n' "no" >&6; } SHA3_DIR="sha3/generic32lc" SHA3_OPT_SRC="$SHA3_DIR/KeccakP-1600-inplace32BI.c" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -Wno-implicit-fallthrough" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -Wno-implicit-fallthrough" >&5 printf %s "checking whether the C compiler accepts -Wno-implicit-fallthrough... " >&6; } if test ${ax_cv_check_cflags__Werror__Wno_implicit_fallthrough+y} then : @@ -41076,8 +40973,8 @@ CFLAGS=$ax_check_save_flags ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags__Werror__Wno_implicit_fallthrough" >&5 -printf "%s\n" "$ax_cv_check_cflags__Werror__Wno_implicit_fallthrough" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags__Werror__Wno_implicit_fallthrough" >&5 +printf '%s\n' "$ax_cv_check_cflags__Werror__Wno_implicit_fallthrough" >&6; } if test "x$ax_cv_check_cflags__Werror__Wno_implicit_fallthrough" = xyes then : PHP_HASH_CFLAGS="$PHP_HASH_CFLAGS -Wno-implicit-fallthrough" @@ -41089,8 +40986,8 @@ else case e in #( e) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } SHA3_DIR="sha3/generic64lc" SHA3_OPT_SRC="$SHA3_DIR/KeccakP-1600-opt64.c" ;; @@ -41237,7 +41134,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_HASH 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_HASH 1" >>confdefs.h fi fi @@ -41389,7 +41286,7 @@ php_with_iconv=yes -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for iconv support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for iconv support" >&5 printf %s "checking for iconv support... " >&6; } # Check whether --with-iconv was given. @@ -41427,8 +41324,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -41453,7 +41350,7 @@ if test "x$ac_cv_func_libiconv" = xyes then : - printf "%s\n" "#define HAVE_LIBICONV 1" >>confdefs.h + printf '%s\n' "#define HAVE_LIBICONV 1" >>confdefs.h found_iconv=yes @@ -41610,8 +41507,8 @@ esac done - as_ac_Lib=`printf "%s\n" "ac_cv_lib_$iconv_lib_name""_libiconv" | sed "$as_sed_sh"` -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libiconv in -l$iconv_lib_name" >&5 + as_ac_Lib=`printf '%s\n' "ac_cv_lib_$iconv_lib_name""_libiconv" | sed "$as_sed_sh"` +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libiconv in -l$iconv_lib_name" >&5 printf %s "checking for libiconv in -l$iconv_lib_name... " >&6; } if eval test \${$as_ac_Lib+y} then : @@ -41653,8 +41550,8 @@ esac fi eval ac_res=\$$as_ac_Lib - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$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\$"$as_ac_Lib"\" = x"yes" then : @@ -41662,10 +41559,10 @@ ext_shared=$save_ext_shared found_iconv=yes - printf "%s\n" "#define HAVE_LIBICONV 1" >>confdefs.h + printf '%s\n' "#define HAVE_LIBICONV 1" >>confdefs.h -printf "%s\n" "#define ICONV_ALIASED_LIBICONV 1" >>confdefs.h +printf '%s\n' "#define ICONV_ALIASED_LIBICONV 1" >>confdefs.h @@ -41792,8 +41689,8 @@ esac done - as_ac_Lib=`printf "%s\n" "ac_cv_lib_$iconv_lib_name""_iconv" | sed "$as_sed_sh"` -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for iconv in -l$iconv_lib_name" >&5 + as_ac_Lib=`printf '%s\n' "ac_cv_lib_$iconv_lib_name""_iconv" | sed "$as_sed_sh"` +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for iconv in -l$iconv_lib_name" >&5 printf %s "checking for iconv in -l$iconv_lib_name... " >&6; } if eval test \${$as_ac_Lib+y} then : @@ -41835,8 +41732,8 @@ esac fi eval ac_res=\$$as_ac_Lib - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$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\$"$as_ac_Lib"\" = x"yes" then : @@ -42005,8 +41902,8 @@ fi -else { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} +else { { 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 iconv not found. See 'config.log' for more details" "$LINENO" 5; } fi @@ -42017,7 +41914,7 @@ LIBS="$LIBS $ICONV_SHARED_LIBADD" CFLAGS="$INCLUDES $CFLAGS" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for iconv implementation" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for iconv implementation" >&5 printf %s "checking for iconv implementation... " >&6; } if test ${php_cv_iconv_implementation+y} then : @@ -42119,8 +42016,8 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_iconv_implementation" >&5 -printf "%s\n" "$php_cv_iconv_implementation" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_iconv_implementation" >&5 +printf '%s\n' "$php_cv_iconv_implementation" >&6; } @@ -42128,34 +42025,34 @@ glibc) : -printf "%s\n" "#define HAVE_GLIBC_ICONV 1" >>confdefs.h +printf '%s\n' "#define HAVE_GLIBC_ICONV 1" >>confdefs.h - printf "%s\n" "#define PHP_ICONV_IMPL \"glibc\"" >>confdefs.h + printf '%s\n' "#define PHP_ICONV_IMPL \"glibc\"" >>confdefs.h ;; #( "GNU libiconv") : - printf "%s\n" "#define PHP_ICONV_IMPL \"libiconv\"" >>confdefs.h + printf '%s\n' "#define PHP_ICONV_IMPL \"libiconv\"" >>confdefs.h - printf "%s\n" "#define HAVE_LIBICONV 1" >>confdefs.h + printf '%s\n' "#define HAVE_LIBICONV 1" >>confdefs.h ;; #( BSD) : - printf "%s\n" "#define PHP_ICONV_IMPL \"BSD iconv\"" >>confdefs.h + printf '%s\n' "#define PHP_ICONV_IMPL \"BSD iconv\"" >>confdefs.h ;; #( IBM) : -printf "%s\n" "#define HAVE_IBM_ICONV 1" >>confdefs.h +printf '%s\n' "#define HAVE_IBM_ICONV 1" >>confdefs.h - printf "%s\n" "#define PHP_ICONV_IMPL \"IBM iconv\"" >>confdefs.h + printf '%s\n' "#define PHP_ICONV_IMPL \"IBM iconv\"" >>confdefs.h ;; #( *) : ;; esac - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if iconv supports errno" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if iconv supports errno" >&5 printf %s "checking if iconv supports errno... " >&6; } if test ${php_cv_iconv_errno+y} then : @@ -42200,20 +42097,20 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_iconv_errno" >&5 -printf "%s\n" "$php_cv_iconv_errno" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_iconv_errno" >&5 +printf '%s\n' "$php_cv_iconv_errno" >&6; } if test "x$php_cv_iconv_errno" = xyes then : else case e in #( - e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} + e) { { 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 iconv check failed, 'errno' is missing. See 'config.log' for more details" "$LINENO" 5; } ;; esac fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if iconv input parameter is const (non-standard)" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if iconv input parameter is const (non-standard)" >&5 printf %s "checking if iconv input parameter is const (non-standard)... " >&6; } if test ${php_cv_iconv_const+y} then : @@ -42237,14 +42134,14 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_iconv_const" >&5 -printf "%s\n" "$php_cv_iconv_const" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_iconv_const" >&5 +printf '%s\n' "$php_cv_iconv_const" >&6; } if test "x$php_cv_iconv_const" = xnon-const then : php_cv_iconv_const= fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if iconv supports //IGNORE" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if iconv supports //IGNORE" >&5 printf %s "checking if iconv supports //IGNORE... " >&6; } if test ${php_cv_iconv_ignore+y} then : @@ -42291,12 +42188,12 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_iconv_ignore" >&5 -printf "%s\n" "$php_cv_iconv_ignore" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_iconv_ignore" >&5 +printf '%s\n' "$php_cv_iconv_ignore" >&6; } if test "x$php_cv_iconv_ignore" = xno then : -printf "%s\n" "#define ICONV_BROKEN_IGNORE 1" >>confdefs.h +printf '%s\n' "#define ICONV_BROKEN_IGNORE 1" >>confdefs.h fi @@ -42304,7 +42201,7 @@ CFLAGS=$save_CFLAGS -printf "%s\n" "#define HAVE_ICONV 1" >>confdefs.h +printf '%s\n' "#define HAVE_ICONV 1" >>confdefs.h @@ -42442,7 +42339,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_ICONV 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_ICONV 1" >>confdefs.h fi fi @@ -42588,7 +42485,7 @@ php_enable_intl=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable internationalization support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable internationalization support" >&5 printf %s "checking whether to enable internationalization support... " >&6; } # Check whether --enable-intl was given. if test ${enable_intl+y} @@ -42625,8 +42522,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -42635,17 +42532,17 @@ pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for icu-uc >= 50.1 icu-io icu-i18n" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for icu-uc >= 50.1 icu-io icu-i18n" >&5 printf %s "checking for icu-uc >= 50.1 icu-io icu-i18n... " >&6; } if test -n "$ICU_CFLAGS"; then pkg_cv_ICU_CFLAGS="$ICU_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 \"icu-uc >= 50.1 icu-io icu-i18n\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-uc >= 50.1 icu-io icu-i18n\""; } >&5 ($PKG_CONFIG --exists --print-errors "icu-uc >= 50.1 icu-io icu-i18n") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ICU_CFLAGS=`$PKG_CONFIG --cflags "icu-uc >= 50.1 icu-io icu-i18n" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -42659,10 +42556,10 @@ pkg_cv_ICU_LIBS="$ICU_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 \"icu-uc >= 50.1 icu-io icu-i18n\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-uc >= 50.1 icu-io icu-i18n\""; } >&5 ($PKG_CONFIG --exists --print-errors "icu-uc >= 50.1 icu-io icu-i18n") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ICU_LIBS=`$PKG_CONFIG --libs "icu-uc >= 50.1 icu-io icu-i18n" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -42676,8 +42573,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -42703,10 +42600,10 @@ and ICU_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 - { 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;} + { 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. @@ -42720,8 +42617,8 @@ else ICU_CFLAGS=$pkg_cv_ICU_CFLAGS ICU_LIBS=$pkg_cv_ICU_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } fi @@ -43028,7 +42925,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_INTL 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_INTL 1" >>confdefs.h fi fi @@ -43187,7 +43084,7 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ 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 : @@ -43208,7 +43105,7 @@ 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_CXX="$ac_tool_prefix$ac_prog" - printf "%s\n" "$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 @@ -43220,11 +43117,11 @@ fi CXX=$ac_cv_prog_CXX if test -n "$CXX"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 -printf "%s\n" "$CXX" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 +printf '%s\n' "$CXX" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi @@ -43237,7 +43134,7 @@ 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\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 : @@ -43258,7 +43155,7 @@ 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_CXX="$ac_prog" - printf "%s\n" "$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 @@ -43270,11 +43167,11 @@ fi ac_ct_CXX=$ac_cv_prog_ac_ct_CXX if test -n "$ac_ct_CXX"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 -printf "%s\n" "$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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi @@ -43286,8 +43183,8 @@ 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;} +{ 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 @@ -43297,7 +43194,7 @@ fi fi # Provide some information about the compiler. -printf "%s\n" "$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 @@ -43307,7 +43204,7 @@ *) 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 +printf '%s\n' "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -43317,11 +43214,11 @@ cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5 +{ 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 : @@ -43353,8 +43250,8 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 -printf "%s\n" "$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 @@ -43364,7 +43261,7 @@ fi ac_test_CXXFLAGS=${CXXFLAGS+y} ac_save_CXXFLAGS=$CXXFLAGS -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 +{ 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 : @@ -43432,8 +43329,8 @@ ac_cxx_werror_flag=$ac_save_cxx_werror_flag ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 -printf "%s\n" "$ac_cv_prog_cxx_g" >&6; } +{ 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 @@ -43449,106 +43346,6 @@ 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_cxx11+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) ac_cv_prog_cxx_cxx11=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 ;; -esac -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 case e in #( - e) 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 case e in #( - e) { 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" ;; -esac -fi - ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11 - ac_prog_cxx_stdcxx=cxx11 ;; -esac -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_cxx98+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) ac_cv_prog_cxx_cxx98=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 ;; -esac -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 case e in #( - e) 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 case e in #( - e) { 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" ;; -esac -fi - ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98 - ac_prog_cxx_stdcxx=cxx98 ;; -esac -fi -fi - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -43560,7 +43357,7 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 +{ 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 test ${ac_cv_prog_CXXCPP+y} @@ -43627,8 +43424,8 @@ else ac_cv_prog_CXXCPP=$CXXCPP fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 -printf "%s\n" "$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 @@ -43676,8 +43473,8 @@ then : else case e in #( - e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} + e) { { 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; } ;; esac @@ -43704,14 +43501,14 @@ fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if intl requires -std=gnu++17" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if intl requires -std=gnu++17" >&5 printf %s "checking if intl requires -std=gnu++17... " >&6; } if $PKG_CONFIG icu-uc --atleast-version=74 then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } ax_cxx_compile_alternatives="17 1z" ax_cxx_compile_cxx17_required=true ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -43721,8 +43518,8 @@ for alternative in ${ax_cxx_compile_alternatives}; do for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do - cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx17_$switch" | sed "$as_sed_sh"` - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++17 features with $switch" >&5 + cachevar=`printf '%s\n' "ax_cv_cxx_compile_cxx17_$switch" | sed "$as_sed_sh"` + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++17 features with $switch" >&5 printf %s "checking whether $CXX supports C++17 features with $switch... " >&6; } if eval test \${$cachevar+y} then : @@ -44531,8 +44328,8 @@ esac fi eval ac_res=\$$cachevar - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$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 eval PHP_INTL_STDCXX="$switch" ac_success=yes @@ -44556,16 +44353,16 @@ fi fi if test x$ac_success = xno; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: No compiler with C++17 support was found" >&5 -printf "%s\n" "$as_me: No compiler with C++17 support was found" >&6;} + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: No compiler with C++17 support was found" >&5 +printf '%s\n' "$as_me: No compiler with C++17 support was found" >&6;} fi else case e in #( e) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } ax_cxx_compile_alternatives="11 0x" ax_cxx_compile_cxx11_required=true ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -44575,8 +44372,8 @@ for alternative in ${ax_cxx_compile_alternatives}; do for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do - cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx11_$switch" | sed "$as_sed_sh"` - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5 + cachevar=`printf '%s\n' "ax_cv_cxx_compile_cxx11_$switch" | sed "$as_sed_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 : @@ -44887,8 +44684,8 @@ esac fi eval ac_res=\$$cachevar - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$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 eval PHP_INTL_STDCXX="$switch" ac_success=yes @@ -44912,8 +44709,8 @@ fi fi if test x$ac_success = xno; then - { 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;} + { 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;} fi @@ -45186,7 +44983,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_JSON 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_JSON 1" >>confdefs.h fi fi @@ -45335,7 +45132,7 @@ php_with_ldap=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LDAP support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for LDAP support" >&5 printf %s "checking for LDAP support... " >&6; } # Check whether --with-ldap was given. @@ -45373,8 +45170,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -45382,7 +45179,7 @@ php_with_ldap_sasl=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build with LDAP Cyrus SASL support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to build with LDAP Cyrus SASL support" >&5 printf %s "checking whether to build with LDAP Cyrus SASL support... " >&6; } # Check whether --with-ldap-sasl was given. @@ -45399,8 +45196,8 @@ ext_output=$PHP_LDAP_SASL -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -45541,7 +45338,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_LDAP 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_LDAP 1" >>confdefs.h fi fi @@ -45679,7 +45476,7 @@ # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 printf %s "checking size of long... " >&6; } if test ${ac_cv_sizeof_long+y} then : @@ -45689,40 +45486,33 @@ then : else case e in #( - e) if test "$ac_cv_type_long" = yes; then - { { 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 compute sizeof (long) -See 'config.log' for more details" "$LINENO" 5; } - else - ac_cv_sizeof_long=0 - fi ;; + e) ac_cv_sizeof_long=0 ;; esac fi ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 -printf "%s\n" "$ac_cv_sizeof_long" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 +printf '%s\n' "$ac_cv_sizeof_long" >&6; } -printf "%s\n" "#define SIZEOF_LONG $ac_cv_sizeof_long" >>confdefs.h +printf '%s\n' "#define SIZEOF_LONG $ac_cv_sizeof_long" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we're at 64-bit platform" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if we're at 64-bit platform" >&5 printf %s "checking if we're at 64-bit platform... " >&6; } if test "$ac_cv_sizeof_long" -eq 4 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}: result: no" >&5 +printf '%s\n' "no" >&6; } PHP_OCI8_IC_LIBDIR_SUFFIX="" else case e in #( e) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } PHP_OCI8_IC_LIBDIR_SUFFIX=64 ;; esac @@ -45759,7 +45549,7 @@ # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 printf %s "checking size of long... " >&6; } if test ${ac_cv_sizeof_long+y} then : @@ -45769,40 +45559,33 @@ then : else case e in #( - e) if test "$ac_cv_type_long" = yes; then - { { 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 compute sizeof (long) -See 'config.log' for more details" "$LINENO" 5; } - else - ac_cv_sizeof_long=0 - fi ;; + e) ac_cv_sizeof_long=0 ;; esac fi ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 -printf "%s\n" "$ac_cv_sizeof_long" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 +printf '%s\n' "$ac_cv_sizeof_long" >&6; } -printf "%s\n" "#define SIZEOF_LONG $ac_cv_sizeof_long" >>confdefs.h +printf '%s\n' "#define SIZEOF_LONG $ac_cv_sizeof_long" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we're at 64-bit platform" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if we're at 64-bit platform" >&5 printf %s "checking if we're at 64-bit platform... " >&6; } if test "$ac_cv_sizeof_long" -eq 4 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}: result: no" >&5 +printf '%s\n' "no" >&6; } PHP_OCI8_IC_LIBDIR_SUFFIX="" else case e in #( e) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } PHP_OCI8_IC_LIBDIR_SUFFIX=64 ;; esac @@ -46258,7 +46041,7 @@ fi - printf "%s\n" "#define HAVE_ORALDAP 1" >>confdefs.h + printf '%s\n' "#define HAVE_ORALDAP 1" >>confdefs.h elif test -f $LDAP_LIBDIR/libclntsh.$SHLIB_SUFFIX_NAME.11.1 || test -f $LDAP_LIBDIR/$MACHINE_INCLUDES/libclntsh.$SHLIB_SUFFIX_NAME.11.1; then @@ -46367,7 +46150,7 @@ fi - printf "%s\n" "#define HAVE_ORALDAP 1" >>confdefs.h + printf '%s\n' "#define HAVE_ORALDAP 1" >>confdefs.h elif test -f $LDAP_LIBDIR/libclntsh.$SHLIB_SUFFIX_NAME || test -f $LDAP_LIBDIR/$MACHINE_INCLUDES/libclntsh.$SHLIB_SUFFIX_NAME; then @@ -46476,7 +46259,7 @@ fi - printf "%s\n" "#define HAVE_ORALDAP 1" >>confdefs.h + printf '%s\n' "#define HAVE_ORALDAP 1" >>confdefs.h else @@ -46521,7 +46304,7 @@ PHP_VAR_SUBST="$PHP_VAR_SUBST LDAP_SHARED_LIBADD" -printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h +printf '%s\n' "#define HAVE_LDAP 1" >>confdefs.h _SAVE_CPPFLAGS=$CPPFLAGS @@ -46529,7 +46312,7 @@ CPPFLAGS="$CPPFLAGS -I$LDAP_INCDIR" LIBS="$LIBS $LDAP_SHARED_LIBADD" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 3 arg ldap_set_rebind_proc" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for 3 arg ldap_set_rebind_proc" >&5 printf %s "checking for 3 arg ldap_set_rebind_proc... " >&6; } if test ${php_cv_have_3arg_setrebindproc+y} then : @@ -46556,73 +46339,73 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_3arg_setrebindproc" >&5 -printf "%s\n" "$php_cv_have_3arg_setrebindproc" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_3arg_setrebindproc" >&5 +printf '%s\n' "$php_cv_have_3arg_setrebindproc" >&6; } if test "x$php_cv_have_3arg_setrebindproc" = xyes then : -printf "%s\n" "#define HAVE_3ARG_SETREBINDPROC 1" >>confdefs.h +printf '%s\n' "#define HAVE_3ARG_SETREBINDPROC 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "ldap_control_find" "ac_cv_func_ldap_control_find" if test "x$ac_cv_func_ldap_control_find" = xyes then : - printf "%s\n" "#define HAVE_LDAP_CONTROL_FIND 1" >>confdefs.h + printf '%s\n' "#define HAVE_LDAP_CONTROL_FIND 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "ldap_extended_operation" "ac_cv_func_ldap_extended_operation" if test "x$ac_cv_func_ldap_extended_operation" = xyes then : - printf "%s\n" "#define HAVE_LDAP_EXTENDED_OPERATION 1" >>confdefs.h + printf '%s\n' "#define HAVE_LDAP_EXTENDED_OPERATION 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "ldap_extended_operation_s" "ac_cv_func_ldap_extended_operation_s" if test "x$ac_cv_func_ldap_extended_operation_s" = xyes then : - printf "%s\n" "#define HAVE_LDAP_EXTENDED_OPERATION_S 1" >>confdefs.h + printf '%s\n' "#define HAVE_LDAP_EXTENDED_OPERATION_S 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "ldap_parse_extended_result" "ac_cv_func_ldap_parse_extended_result" if test "x$ac_cv_func_ldap_parse_extended_result" = xyes then : - printf "%s\n" "#define HAVE_LDAP_PARSE_EXTENDED_RESULT 1" >>confdefs.h + printf '%s\n' "#define HAVE_LDAP_PARSE_EXTENDED_RESULT 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "ldap_parse_reference" "ac_cv_func_ldap_parse_reference" if test "x$ac_cv_func_ldap_parse_reference" = xyes then : - printf "%s\n" "#define HAVE_LDAP_PARSE_REFERENCE 1" >>confdefs.h + printf '%s\n' "#define HAVE_LDAP_PARSE_REFERENCE 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "ldap_parse_result" "ac_cv_func_ldap_parse_result" if test "x$ac_cv_func_ldap_parse_result" = xyes then : - printf "%s\n" "#define HAVE_LDAP_PARSE_RESULT 1" >>confdefs.h + printf '%s\n' "#define HAVE_LDAP_PARSE_RESULT 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "ldap_passwd" "ac_cv_func_ldap_passwd" if test "x$ac_cv_func_ldap_passwd" = xyes then : - printf "%s\n" "#define HAVE_LDAP_PASSWD 1" >>confdefs.h + printf '%s\n' "#define HAVE_LDAP_PASSWD 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "ldap_refresh_s" "ac_cv_func_ldap_refresh_s" if test "x$ac_cv_func_ldap_refresh_s" = xyes then : - printf "%s\n" "#define HAVE_LDAP_REFRESH_S 1" >>confdefs.h + printf '%s\n' "#define HAVE_LDAP_REFRESH_S 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "ldap_start_tls_s" "ac_cv_func_ldap_start_tls_s" if test "x$ac_cv_func_ldap_start_tls_s" = xyes then : - printf "%s\n" "#define HAVE_LDAP_START_TLS_S 1" >>confdefs.h + printf '%s\n' "#define HAVE_LDAP_START_TLS_S 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "ldap_whoami_s" "ac_cv_func_ldap_whoami_s" if test "x$ac_cv_func_ldap_whoami_s" = xyes then : - printf "%s\n" "#define HAVE_LDAP_WHOAMI_S 1" >>confdefs.h + printf '%s\n' "#define HAVE_LDAP_WHOAMI_S 1" >>confdefs.h fi @@ -46634,17 +46417,17 @@ e) pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libsasl2" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libsasl2" >&5 printf %s "checking for libsasl2... " >&6; } if test -n "$SASL_CFLAGS"; then pkg_cv_SASL_CFLAGS="$SASL_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 \"libsasl2\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsasl2\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsasl2") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SASL_CFLAGS=`$PKG_CONFIG --cflags "libsasl2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -46658,10 +46441,10 @@ pkg_cv_SASL_LIBS="$SASL_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 \"libsasl2\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsasl2\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsasl2") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SASL_LIBS=`$PKG_CONFIG --libs "libsasl2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -46675,8 +46458,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -46702,10 +46485,10 @@ and SASL_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 - { 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;} + { 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. @@ -46719,8 +46502,8 @@ else SASL_CFLAGS=$pkg_cv_SASL_CFLAGS SASL_LIBS=$pkg_cv_SASL_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } fi @@ -46879,7 +46662,7 @@ done -printf "%s\n" "#define HAVE_LDAP_SASL 1" >>confdefs.h +printf '%s\n' "#define HAVE_LDAP_SASL 1" >>confdefs.h ;; esac @@ -46928,7 +46711,7 @@ php_enable_mbstring=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable multibyte string support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable multibyte string support" >&5 printf %s "checking whether to enable multibyte string support... " >&6; } # Check whether --enable-mbstring was given. if test ${enable_mbstring+y} @@ -46965,8 +46748,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -46974,7 +46757,7 @@ php_enable_mbregex=yes -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable multibyte regex support (requires oniguruma)" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable multibyte regex support (requires oniguruma)" >&5 printf %s "checking whether to enable multibyte regex support (requires oniguruma)... " >&6; } # Check whether --enable-mbregex was given. if test ${enable_mbregex+y} @@ -46990,15 +46773,15 @@ ext_output=$PHP_MBREGEX -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } if test "$PHP_MBSTRING" != "no"; then -printf "%s\n" "#define HAVE_MBSTRING 1" >>confdefs.h +printf '%s\n' "#define HAVE_MBSTRING 1" >>confdefs.h @@ -47010,17 +46793,17 @@ pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for oniguruma" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for oniguruma" >&5 printf %s "checking for oniguruma... " >&6; } if test -n "$ONIG_CFLAGS"; then pkg_cv_ONIG_CFLAGS="$ONIG_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 \"oniguruma\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"oniguruma\""; } >&5 ($PKG_CONFIG --exists --print-errors "oniguruma") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ONIG_CFLAGS=`$PKG_CONFIG --cflags "oniguruma" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -47034,10 +46817,10 @@ pkg_cv_ONIG_LIBS="$ONIG_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 \"oniguruma\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"oniguruma\""; } >&5 ($PKG_CONFIG --exists --print-errors "oniguruma") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ONIG_LIBS=`$PKG_CONFIG --libs "oniguruma" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -47051,8 +46834,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -47078,10 +46861,10 @@ and ONIG_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 - { 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;} + { 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. @@ -47095,8 +46878,8 @@ else ONIG_CFLAGS=$pkg_cv_ONIG_CFLAGS ONIG_LIBS=$pkg_cv_ONIG_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } fi @@ -47255,7 +47038,7 @@ done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if oniguruma has an invalid entry for KOI8 encoding" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if oniguruma has an invalid entry for KOI8 encoding" >&5 printf %s "checking if oniguruma has an invalid entry for KOI8 encoding... " >&6; } if test ${php_cv_lib_onig_invalid_koi8+y} then : @@ -47292,12 +47075,12 @@ CFLAGS=$save_old_CFLAGS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_lib_onig_invalid_koi8" >&5 -printf "%s\n" "$php_cv_lib_onig_invalid_koi8" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_lib_onig_invalid_koi8" >&5 +printf '%s\n' "$php_cv_lib_onig_invalid_koi8" >&6; } if test "x$php_cv_lib_onig_invalid_koi8" = xyes then : -printf "%s\n" "#define PHP_ONIG_BAD_KOI8_ENTRY 1" >>confdefs.h +printf '%s\n' "#define PHP_ONIG_BAD_KOI8_ENTRY 1" >>confdefs.h fi @@ -47309,7 +47092,7 @@ -printf "%s\n" "#define HAVE_MBREGEX 1" >>confdefs.h +printf '%s\n' "#define HAVE_MBREGEX 1" >>confdefs.h @@ -47550,7 +47333,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_MBSTRING 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_MBSTRING 1" >>confdefs.h fi fi @@ -47806,7 +47589,7 @@ php_with_mysqli=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MySQLi support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for MySQLi support" >&5 printf %s "checking for MySQLi support... " >&6; } # Check whether --with-mysqli was given. @@ -47844,8 +47627,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -47853,7 +47636,7 @@ php_with_mysql_sock=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for specified location of the MySQL Unix socket" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for specified location of the MySQL Unix socket" >&5 printf %s "checking for specified location of the MySQL Unix socket... " >&6; } # Check whether --with-mysql-sock was given. @@ -47870,8 +47653,8 @@ ext_output=$PHP_MYSQL_SOCK -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -47885,7 +47668,7 @@ '--with-mysqli=$PHP_MYSQLI' with '--with-mysqli'." "$LINENO" 5 ;; esac - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MySQL Unix socket location" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for MySQL Unix socket location" >&5 printf %s "checking for MySQL Unix socket location... " >&6; } case $PHP_MYSQL_SOCK in #( yes) : @@ -47909,28 +47692,28 @@ if ${MYSQL_SOCK:+false} : 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}: result: no" >&5 +printf '%s\n' "no" >&6; } else case e in #( e) -printf "%s\n" "#define PHP_MYSQL_UNIX_SOCK_ADDR \"$MYSQL_SOCK\"" >>confdefs.h +printf '%s\n' "#define PHP_MYSQL_UNIX_SOCK_ADDR \"$MYSQL_SOCK\"" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MYSQL_SOCK" >&5 -printf "%s\n" "$MYSQL_SOCK" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MYSQL_SOCK" >&5 +printf '%s\n' "$MYSQL_SOCK" >&6; } ;; esac fi ;; #( no) : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } ;; #( + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } ;; #( *) : - printf "%s\n" "#define PHP_MYSQL_UNIX_SOCK_ADDR \"$PHP_MYSQL_SOCK\"" >>confdefs.h + printf '%s\n' "#define PHP_MYSQL_UNIX_SOCK_ADDR \"$PHP_MYSQL_SOCK\"" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PHP_MYSQL_SOCK" >&5 -printf "%s\n" "$PHP_MYSQL_SOCK" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $PHP_MYSQL_SOCK" >&5 +printf '%s\n' "$PHP_MYSQL_SOCK" >&6; } ;; esac @@ -48069,7 +47852,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_MYSQLI 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_MYSQLI 1" >>confdefs.h fi fi @@ -48307,7 +48090,7 @@ php_with_adabas=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Adabas support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for Adabas support" >&5 printf %s "checking for Adabas support... " >&6; } # Check whether --with-adabas was given. @@ -48345,8 +48128,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -48516,7 +48299,7 @@ as_fn_error $? "ODBC header file '$ODBC_INCDIR/sqlext.h' not found!" "$LINENO" 5 fi -printf "%s\n" "#define HAVE_ADABAS 1" >>confdefs.h +printf '%s\n' "#define HAVE_ADABAS 1" >>confdefs.h ;; esac @@ -48530,7 +48313,7 @@ php_with_sapdb=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SAP DB support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for SAP DB support" >&5 printf %s "checking for SAP DB support... " >&6; } # Check whether --with-sapdb was given. @@ -48568,8 +48351,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -48666,7 +48449,7 @@ ODBC_TYPE=sapdb -printf "%s\n" "#define HAVE_SAPDB 1" >>confdefs.h +printf '%s\n' "#define HAVE_SAPDB 1" >>confdefs.h ;; esac @@ -48680,7 +48463,7 @@ php_with_solid=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Solid support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for Solid support" >&5 printf %s "checking for Solid support... " >&6; } # Check whether --with-solid was given. @@ -48718,8 +48501,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -48739,19 +48522,19 @@ ODBC_TYPE=solid if test -f $ODBC_LIBDIR/soc*35.a; then -printf "%s\n" "#define HAVE_SOLID_35 1" >>confdefs.h +printf '%s\n' "#define HAVE_SOLID_35 1" >>confdefs.h elif test -f $ODBC_LIBDIR/scl*30.a; then -printf "%s\n" "#define HAVE_SOLID_30 1" >>confdefs.h +printf '%s\n' "#define HAVE_SOLID_30 1" >>confdefs.h elif test -f $ODBC_LIBDIR/scl*23.a; then -printf "%s\n" "#define HAVE_SOLID 1" >>confdefs.h +printf '%s\n' "#define HAVE_SOLID 1" >>confdefs.h fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Solid library file" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking Solid library file" >&5 printf %s "checking Solid library file... " >&6; } ac_solid_uname_r=$(uname -r 2>/dev/null) ac_solid_uname_s=$(uname -s 2>/dev/null) @@ -48765,7 +48548,7 @@ ac_solid_os=lux fi -printf "%s\n" "#define SS_LINUX 1" >>confdefs.h +printf '%s\n' "#define SS_LINUX 1" >>confdefs.h ;; SunOS) @@ -48777,7 +48560,7 @@ ac_solid_os=fbx fi -printf "%s\n" "#define SS_FBX 1" >>confdefs.h +printf '%s\n' "#define SS_FBX 1" >>confdefs.h ;; esac @@ -48807,8 +48590,8 @@ ODBC_LIBS=-l${ac_solid_prefix}${ac_solid_os}${ac_solid_version} fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $(echo $ODBC_LIBS | $SED -e 's!.*/!!')" >&5 -printf "%s\n" "$(echo $ODBC_LIBS | $SED -e 's!.*/!!')" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $(echo $ODBC_LIBS | $SED -e 's!.*/!!')" >&5 +printf '%s\n' "$(echo $ODBC_LIBS | $SED -e 's!.*/!!')" >&6; } ;; esac @@ -48822,7 +48605,7 @@ php_with_ibm_db2=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IBM DB2 support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for IBM DB2 support" >&5 printf %s "checking for IBM DB2 support... " >&6; } # Check whether --with-ibm-db2 was given. @@ -48860,8 +48643,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -48901,11 +48684,11 @@ if test "x$ac_cv_func_SQLExecute" = xyes then : -printf "%s\n" "#define HAVE_IBMDB2 1" >>confdefs.h +printf '%s\n' "#define HAVE_IBMDB2 1" >>confdefs.h else case e in #( - e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} + e) { { 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 $? " ODBC build test failed. You need to source your DB2 environment before running PHP configure: @@ -48928,7 +48711,7 @@ php_with_empress=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Empress support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for Empress support" >&5 printf %s "checking for Empress support... " >&6; } # Check whether --with-empress was given. @@ -48966,8 +48749,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -48994,17 +48777,17 @@ ODBC_LFLAGS=-L$ODBC_LIBDIR ODBC_TYPE=empress -printf "%s\n" "#define HAVE_EMPRESS 1" >>confdefs.h +printf '%s\n' "#define HAVE_EMPRESS 1" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Empress library file" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking Empress library file" >&5 printf %s "checking Empress library file... " >&6; } ODBC_LIBS=$(echo $ODBC_LIBDIR/libempodbccl.so | cut -d' ' -f1) if test ! -f $ODBC_LIBS; then ODBC_LIBS=$(echo $ODBC_LIBDIR/libempodbccl.so | cut -d' ' -f1) fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $(echo $ODBC_LIBS | $SED -e 's!.*/!!')" >&5 -printf "%s\n" "$(echo $ODBC_LIBS | $SED -e 's!.*/!!')" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $(echo $ODBC_LIBS | $SED -e 's!.*/!!')" >&5 +printf '%s\n' "$(echo $ODBC_LIBS | $SED -e 's!.*/!!')" >&6; } ;; esac @@ -49018,7 +48801,7 @@ php_with_empress_bcs=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Empress local access support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for Empress local access support" >&5 printf %s "checking for Empress local access support... " >&6; } # Check whether --with-empress-bcs was given. @@ -49056,8 +48839,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -49100,17 +48883,17 @@ ODBC_LIBS="-lempphpbcs -lms -lmscfg -lbasic -lbasic_os -lnlscstab -lnlsmsgtab -lm -ldl -lcrypt" ODBC_TYPE=empress-bcs -printf "%s\n" "#define HAVE_EMPRESS 1" >>confdefs.h +printf '%s\n' "#define HAVE_EMPRESS 1" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Empress local access library file" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking Empress local access library file" >&5 printf %s "checking Empress local access library file... " >&6; } ODBCBCS_LIBS=$(echo $ODBC_LIBDIR/libempodbcbcs.a | cut -d' ' -f1) if test ! -f $ODBCBCS_LIBS; then ODBCBCS_LIBS=$(echo $ODBC_LIBDIR/libempodbcbcs.a | cut -d' ' -f1) fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $(echo $ODBCBCS_LIBS | $SED -e 's!.*/!!')" >&5 -printf "%s\n" "$(echo $ODBCBCS_LIBS | $SED -e 's!.*/!!')" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $(echo $ODBCBCS_LIBS | $SED -e 's!.*/!!')" >&5 +printf '%s\n' "$(echo $ODBCBCS_LIBS | $SED -e 's!.*/!!')" >&6; } ;; esac @@ -49124,7 +48907,7 @@ php_with_custom_odbc=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a custom ODBC support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a custom ODBC support" >&5 printf %s "checking for a custom ODBC support... " >&6; } # Check whether --with-custom-odbc was given. @@ -49162,8 +48945,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -49184,7 +48967,7 @@ ODBC_LIBS=$CUSTOM_ODBC_LIBS ODBC_TYPE=custom-odbc -printf "%s\n" "#define HAVE_CODBC 1" >>confdefs.h +printf '%s\n' "#define HAVE_CODBC 1" >>confdefs.h ;; esac @@ -49198,7 +48981,7 @@ php_with_iodbc=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build with iODBC support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to build with iODBC support" >&5 printf %s "checking whether to build with iODBC support... " >&6; } # Check whether --with-iodbc was given. @@ -49236,8 +49019,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -49249,17 +49032,17 @@ e) pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libiodbc" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libiodbc" >&5 printf %s "checking for libiodbc... " >&6; } if test -n "$ODBC_CFLAGS"; then pkg_cv_ODBC_CFLAGS="$ODBC_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 \"libiodbc\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libiodbc\""; } >&5 ($PKG_CONFIG --exists --print-errors "libiodbc") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ODBC_CFLAGS=`$PKG_CONFIG --cflags "libiodbc" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -49273,10 +49056,10 @@ pkg_cv_ODBC_LIBS="$ODBC_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 \"libiodbc\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libiodbc\""; } >&5 ($PKG_CONFIG --exists --print-errors "libiodbc") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ODBC_LIBS=`$PKG_CONFIG --libs "libiodbc" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -49290,8 +49073,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -49317,10 +49100,10 @@ and ODBC_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 - { 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;} + { 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. @@ -49334,8 +49117,8 @@ else ODBC_CFLAGS=$pkg_cv_ODBC_CFLAGS ODBC_LIBS=$pkg_cv_ODBC_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } fi @@ -49383,7 +49166,7 @@ ODBC_TYPE=iodbc -printf "%s\n" "#define HAVE_IODBC 1" >>confdefs.h +printf '%s\n' "#define HAVE_IODBC 1" >>confdefs.h ;; esac @@ -49397,7 +49180,7 @@ php_with_esoob=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Easysoft ODBC-ODBC Bridge support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for Easysoft ODBC-ODBC Bridge support" >&5 printf %s "checking for Easysoft ODBC-ODBC Bridge support... " >&6; } # Check whether --with-esoob was given. @@ -49435,8 +49218,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -49457,7 +49240,7 @@ ODBC_LIBS=-lesoobclient ODBC_TYPE=esoob -printf "%s\n" "#define HAVE_ESOOB 1" >>confdefs.h +printf '%s\n' "#define HAVE_ESOOB 1" >>confdefs.h ;; esac @@ -49471,7 +49254,7 @@ php_with_unixodbc=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build with unixODBC support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to build with unixODBC support" >&5 printf %s "checking whether to build with unixODBC support... " >&6; } # Check whether --with-unixODBC was given. @@ -49509,8 +49292,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -49525,17 +49308,17 @@ pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for odbc" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for odbc" >&5 printf %s "checking for odbc... " >&6; } if test -n "$ODBC_CFLAGS"; then pkg_cv_ODBC_CFLAGS="$ODBC_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 \"odbc\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"odbc\""; } >&5 ($PKG_CONFIG --exists --print-errors "odbc") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ODBC_CFLAGS=`$PKG_CONFIG --cflags "odbc" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -49549,10 +49332,10 @@ pkg_cv_ODBC_LIBS="$ODBC_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 \"odbc\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"odbc\""; } >&5 ($PKG_CONFIG --exists --print-errors "odbc") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ODBC_LIBS=`$PKG_CONFIG --libs "odbc" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -49566,8 +49349,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -49593,10 +49376,10 @@ and ODBC_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 - { 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;} + { 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. @@ -49610,8 +49393,8 @@ else ODBC_CFLAGS=$pkg_cv_ODBC_CFLAGS ODBC_LIBS=$pkg_cv_ODBC_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } fi @@ -49669,14 +49452,14 @@ then : as_fn_error $? "ODBC header file '$ODBC_INCDIR/sqlext.h' not found!" "$LINENO" 5 fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using unixODBC in $PHP_UNIXODBC" >&5 -printf "%s\n" "$as_me: Using unixODBC in $PHP_UNIXODBC" >&6;} + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: Using unixODBC in $PHP_UNIXODBC" >&5 +printf '%s\n' "$as_me: Using unixODBC in $PHP_UNIXODBC" >&6;} ;; esac fi ODBC_TYPE=unixODBC -printf "%s\n" "#define HAVE_UNIXODBC 1" >>confdefs.h +printf '%s\n' "#define HAVE_UNIXODBC 1" >>confdefs.h ;; esac @@ -49690,7 +49473,7 @@ php_with_dbmaker=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DBMaker support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for DBMaker support" >&5 printf %s "checking for DBMaker support... " >&6; } # Check whether --with-dbmaker was given. @@ -49728,8 +49511,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -49771,7 +49554,7 @@ ODBC_TYPE=dbmaker -printf "%s\n" "#define HAVE_DBMAKER 1" >>confdefs.h +printf '%s\n' "#define HAVE_DBMAKER 1" >>confdefs.h if test "x$ext_shared" = xyes @@ -49878,14 +49661,14 @@ if test "x$PHP_ODBCVER" = xno then : - printf "%s\n" "#define ODBCVER 0x0350" >>confdefs.h + printf '%s\n' "#define ODBCVER 0x0350" >>confdefs.h else case e in #( e) if test "x$PHP_ODBCVER" = x0 then : else case e in #( - e) printf "%s\n" "#define ODBCVER $PHP_ODBCVER" >>confdefs.h + e) printf '%s\n' "#define ODBCVER $PHP_ODBCVER" >>confdefs.h ;; esac fi ;; @@ -50015,7 +49798,7 @@ else case e in #( e) -printf "%s\n" "#define HAVE_SQLDATASOURCES 1" >>confdefs.h +printf '%s\n' "#define HAVE_SQLDATASOURCES 1" >>confdefs.h ;; esac fi @@ -50024,7 +49807,7 @@ fi -printf "%s\n" "#define HAVE_UODBC 1" >>confdefs.h +printf '%s\n' "#define HAVE_UODBC 1" >>confdefs.h PHP_VAR_SUBST="$PHP_VAR_SUBST ODBC_SHARED_LIBADD" @@ -50169,7 +49952,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_ODBC 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_ODBC 1" >>confdefs.h fi fi @@ -50288,10 +50071,10 @@ fi else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for any ODBC driver support" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for any ODBC driver support" >&5 printf %s "checking for any ODBC driver support... " >&6; } - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi @@ -50300,7 +50083,7 @@ php_enable_opcache=yes -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable Zend OPcache support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable Zend OPcache support" >&5 printf %s "checking whether to enable Zend OPcache support... " >&6; } # Check whether --enable-opcache was given. if test ${enable_opcache+y} @@ -50337,8 +50120,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -50346,7 +50129,7 @@ php_enable_huge_code_pages=yes -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable copying PHP CODE pages into HUGE PAGES" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable copying PHP CODE pages into HUGE PAGES" >&5 printf %s "checking whether to enable copying PHP CODE pages into HUGE PAGES... " >&6; } # Check whether --enable-huge-code-pages was given. if test ${enable_huge_code_pages+y} @@ -50362,8 +50145,8 @@ ext_output=$PHP_HUGE_CODE_PAGES -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -50371,7 +50154,7 @@ php_enable_opcache_jit=yes -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable JIT" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable JIT" >&5 printf %s "checking whether to enable JIT... " >&6; } # Check whether --enable-opcache-jit was given. if test ${enable_opcache_jit+y} @@ -50387,8 +50170,8 @@ ext_output=$PHP_OPCACHE_JIT -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -50396,7 +50179,7 @@ php_with_capstone=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support opcache JIT disassembly through Capstone" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to support opcache JIT disassembly through Capstone" >&5 printf %s "checking whether to support opcache JIT disassembly through Capstone... " >&6; } # Check whether --with-capstone was given. @@ -50413,8 +50196,8 @@ ext_output=$PHP_CAPSTONE -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -50425,7 +50208,7 @@ if test "x$PHP_HUGE_CODE_PAGES" = xyes then : -printf "%s\n" "#define HAVE_HUGE_CODE_PAGES 1" >>confdefs.h +printf '%s\n' "#define HAVE_HUGE_CODE_PAGES 1" >>confdefs.h fi @@ -50437,15 +50220,15 @@ ;; #( *) : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: JIT not supported by host architecture" >&5 -printf "%s\n" "$as_me: WARNING: JIT not supported by host architecture" >&2;} + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: JIT not supported by host architecture" >&5 +printf '%s\n' "$as_me: WARNING: JIT not supported by host architecture" >&2;} PHP_OPCACHE_JIT=no ;; esac if test "$host_vendor" = "apple" && test "$host_cpu" = "aarch64" && test "$PHP_THREAD_SAFETY" = "yes"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: JIT not supported on Apple Silicon with ZTS" >&5 -printf "%s\n" "$as_me: WARNING: JIT not supported on Apple Silicon with ZTS" >&2;} + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: JIT not supported on Apple Silicon with ZTS" >&5 +printf '%s\n' "$as_me: WARNING: JIT not supported on Apple Silicon with ZTS" >&2;} PHP_OPCACHE_JIT=no fi @@ -50455,7 +50238,7 @@ then : -printf "%s\n" "#define HAVE_JIT 1" >>confdefs.h +printf '%s\n' "#define HAVE_JIT 1" >>confdefs.h ZEND_JIT_SRC=" jit/ir/ir_cfg.c jit/ir/ir_check.c jit/ir/ir_dump.c jit/ir/ir_emit.c jit/ir/ir_gcm.c jit/ir/ir_gdb.c jit/ir/ir_patch.c jit/ir/ir_perf.c jit/ir/ir_ra.c jit/ir/ir_save.c jit/ir/ir_sccp.c jit/ir/ir_strtab.c jit/ir/ir.c jit/zend_jit_vm_helpers.c jit/zend_jit.c " @@ -50490,17 +50273,17 @@ then : pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capstone >= 3.0.0" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for capstone >= 3.0.0" >&5 printf %s "checking for capstone >= 3.0.0... " >&6; } if test -n "$CAPSTONE_CFLAGS"; then pkg_cv_CAPSTONE_CFLAGS="$CAPSTONE_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 \"capstone >= 3.0.0\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"capstone >= 3.0.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "capstone >= 3.0.0") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_CAPSTONE_CFLAGS=`$PKG_CONFIG --cflags "capstone >= 3.0.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -50514,10 +50297,10 @@ pkg_cv_CAPSTONE_LIBS="$CAPSTONE_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 \"capstone >= 3.0.0\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"capstone >= 3.0.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "capstone >= 3.0.0") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_CAPSTONE_LIBS=`$PKG_CONFIG --libs "capstone >= 3.0.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -50531,8 +50314,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -50558,10 +50341,10 @@ and CAPSTONE_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 - { 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;} + { 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. @@ -50575,11 +50358,11 @@ else CAPSTONE_CFLAGS=$pkg_cv_CAPSTONE_CFLAGS CAPSTONE_LIBS=$pkg_cv_CAPSTONE_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } -printf "%s\n" "#define HAVE_CAPSTONE 1" >>confdefs.h +printf '%s\n' "#define HAVE_CAPSTONE 1" >>confdefs.h for ac_i in $CAPSTONE_LIBS; do @@ -50762,18 +50545,18 @@ ac_fn_c_check_func "$LINENO" "mprotect" "ac_cv_func_mprotect" if test "x$ac_cv_func_mprotect" = xyes then : - printf "%s\n" "#define HAVE_MPROTECT 1" >>confdefs.h + printf '%s\n' "#define HAVE_MPROTECT 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "shm_create_largepage" "ac_cv_func_shm_create_largepage" if test "x$ac_cv_func_shm_create_largepage" = xyes then : - printf "%s\n" "#define HAVE_SHM_CREATE_LARGEPAGE 1" >>confdefs.h + printf '%s\n' "#define HAVE_SHM_CREATE_LARGEPAGE 1" >>confdefs.h fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysvipc shared memory support" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for sysvipc shared memory support" >&5 printf %s "checking for sysvipc shared memory support... " >&6; } if test ${php_cv_shm_ipc+y} then : @@ -50865,16 +50648,16 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_shm_ipc" >&5 -printf "%s\n" "$php_cv_shm_ipc" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_shm_ipc" >&5 +printf '%s\n' "$php_cv_shm_ipc" >&6; } if test "x$php_cv_shm_ipc" = xyes then : -printf "%s\n" "#define HAVE_SHM_IPC 1" >>confdefs.h +printf '%s\n' "#define HAVE_SHM_IPC 1" >>confdefs.h fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mmap() using MAP_ANON shared memory support" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for mmap() using MAP_ANON shared memory support" >&5 printf %s "checking for mmap() using MAP_ANON shared memory support... " >&6; } if test ${php_cv_shm_mmap_anon+y} then : @@ -50953,18 +50736,18 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_shm_mmap_anon" >&5 -printf "%s\n" "$php_cv_shm_mmap_anon" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_shm_mmap_anon" >&5 +printf '%s\n' "$php_cv_shm_mmap_anon" >&6; } if test "x$php_cv_shm_mmap_anon" = xyes then : -printf "%s\n" "#define HAVE_SHM_MMAP_ANON 1" >>confdefs.h +printf '%s\n' "#define HAVE_SHM_MMAP_ANON 1" >>confdefs.h fi LIBS_save=$LIBS LIBS= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing shm_open" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for library containing shm_open" >&5 printf %s "checking for library containing shm_open... " >&6; } if test ${ac_cv_search_shm_open+y} then : @@ -51022,13 +50805,13 @@ LIBS=$ac_func_search_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_shm_open" >&5 -printf "%s\n" "$ac_cv_search_shm_open" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_shm_open" >&5 +printf '%s\n' "$ac_cv_search_shm_open" >&6; } ac_res=$ac_cv_search_shm_open if test "$ac_res" != no then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mmap() using shm_open() shared memory support" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for mmap() using shm_open() shared memory support" >&5 printf %s "checking for mmap() using shm_open() shared memory support... " >&6; } if test ${php_cv_shm_mmap_posix+y} then : @@ -51119,8 +50902,8 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_shm_mmap_posix" >&5 -printf "%s\n" "$php_cv_shm_mmap_posix" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_shm_mmap_posix" >&5 +printf '%s\n' "$php_cv_shm_mmap_posix" >&6; } fi @@ -51130,7 +50913,7 @@ then : -printf "%s\n" "#define HAVE_SHM_MMAP_POSIX 1" >>confdefs.h +printf '%s\n' "#define HAVE_SHM_MMAP_POSIX 1" >>confdefs.h case $ac_cv_search_shm_open in #( "none required"|no) : @@ -51387,7 +51170,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_OPCACHE 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_OPCACHE 1" >>confdefs.h fi fi @@ -51546,8 +51329,8 @@ if test "$php_cv_shm_ipc" != "yes" && test "$php_cv_shm_mmap_posix" != "yes" && test "$php_cv_shm_mmap_anon" != "yes"; then - { { 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: in '$ac_pwd':" >&5 +printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "No supported shared memory caching support was found when configuring opcache. See 'config.log' for more details" "$LINENO" 5; } fi @@ -51575,7 +51358,7 @@ php_enable_pcntl=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable pcntl support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable pcntl support" >&5 printf %s "checking whether to enable pcntl support... " >&6; } # Check whether --enable-pcntl was given. if test ${enable_pcntl+y} @@ -51612,22 +51395,22 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } if test "$PHP_PCNTL" != "no"; then for function in fork sigaction waitpid; do - as_ac_var=`printf "%s\n" "ac_cv_func_$function" | sed "$as_sed_sh"` + as_ac_var=`printf '%s\n' "ac_cv_func_$function" | sed "$as_sed_sh"` ac_fn_c_check_func "$LINENO" "$function" "$as_ac_var" if eval test \"x\$"$as_ac_var"\" = x"yes" then : else case e in #( - e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} + e) { { 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 $? "ext/pcntl: required function $function() not found. See 'config.log' for more details" "$LINENO" 5; } ;; esac @@ -51638,91 +51421,91 @@ ac_fn_c_check_func "$LINENO" "forkx" "ac_cv_func_forkx" if test "x$ac_cv_func_forkx" = xyes then : - printf "%s\n" "#define HAVE_FORKX 1" >>confdefs.h + printf '%s\n' "#define HAVE_FORKX 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "getcpuid" "ac_cv_func_getcpuid" if test "x$ac_cv_func_getcpuid" = xyes then : - printf "%s\n" "#define HAVE_GETCPUID 1" >>confdefs.h + printf '%s\n' "#define HAVE_GETCPUID 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "getpriority" "ac_cv_func_getpriority" if test "x$ac_cv_func_getpriority" = xyes then : - printf "%s\n" "#define HAVE_GETPRIORITY 1" >>confdefs.h + printf '%s\n' "#define HAVE_GETPRIORITY 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "pidfd_open" "ac_cv_func_pidfd_open" if test "x$ac_cv_func_pidfd_open" = xyes then : - printf "%s\n" "#define HAVE_PIDFD_OPEN 1" >>confdefs.h + printf '%s\n' "#define HAVE_PIDFD_OPEN 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "pset_bind" "ac_cv_func_pset_bind" if test "x$ac_cv_func_pset_bind" = xyes then : - printf "%s\n" "#define HAVE_PSET_BIND 1" >>confdefs.h + printf '%s\n' "#define HAVE_PSET_BIND 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "pthread_set_qos_class_self_np" "ac_cv_func_pthread_set_qos_class_self_np" if test "x$ac_cv_func_pthread_set_qos_class_self_np" = xyes then : - printf "%s\n" "#define HAVE_PTHREAD_SET_QOS_CLASS_SELF_NP 1" >>confdefs.h + printf '%s\n' "#define HAVE_PTHREAD_SET_QOS_CLASS_SELF_NP 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "rfork" "ac_cv_func_rfork" if test "x$ac_cv_func_rfork" = xyes then : - printf "%s\n" "#define HAVE_RFORK 1" >>confdefs.h + printf '%s\n' "#define HAVE_RFORK 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "sched_setaffinity" "ac_cv_func_sched_setaffinity" if test "x$ac_cv_func_sched_setaffinity" = xyes then : - printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h + printf '%s\n' "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "setpriority" "ac_cv_func_setpriority" if test "x$ac_cv_func_setpriority" = xyes then : - printf "%s\n" "#define HAVE_SETPRIORITY 1" >>confdefs.h + printf '%s\n' "#define HAVE_SETPRIORITY 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "sigwaitinfo" "ac_cv_func_sigwaitinfo" if test "x$ac_cv_func_sigwaitinfo" = xyes then : - printf "%s\n" "#define HAVE_SIGWAITINFO 1" >>confdefs.h + printf '%s\n' "#define HAVE_SIGWAITINFO 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "sigtimedwait" "ac_cv_func_sigtimedwait" if test "x$ac_cv_func_sigtimedwait" = xyes then : - printf "%s\n" "#define HAVE_SIGTIMEDWAIT 1" >>confdefs.h + printf '%s\n' "#define HAVE_SIGTIMEDWAIT 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "unshare" "ac_cv_func_unshare" if test "x$ac_cv_func_unshare" = xyes then : - printf "%s\n" "#define HAVE_UNSHARE 1" >>confdefs.h + printf '%s\n' "#define HAVE_UNSHARE 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "wait3" "ac_cv_func_wait3" if test "x$ac_cv_func_wait3" = xyes then : - printf "%s\n" "#define HAVE_WAIT3 1" >>confdefs.h + printf '%s\n' "#define HAVE_WAIT3 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "wait4" "ac_cv_func_wait4" if test "x$ac_cv_func_wait4" = xyes then : - printf "%s\n" "#define HAVE_WAIT4 1" >>confdefs.h + printf '%s\n' "#define HAVE_WAIT4 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "waitid" "ac_cv_func_waitid" if test "x$ac_cv_func_waitid" = xyes then : - printf "%s\n" "#define HAVE_WAITID 1" >>confdefs.h + printf '%s\n' "#define HAVE_WAITID 1" >>confdefs.h fi @@ -51733,14 +51516,14 @@ ac_fn_c_check_func "$LINENO" "WIFCONTINUED" "ac_cv_func_WIFCONTINUED" if test "x$ac_cv_func_WIFCONTINUED" = xyes then : - printf "%s\n" "#define HAVE_WIFCONTINUED 1" >>confdefs.h + printf '%s\n' "#define HAVE_WIFCONTINUED 1" >>confdefs.h else case e in #( e) ac_fn_check_decl "$LINENO" "WIFCONTINUED" "ac_cv_have_decl_WIFCONTINUED" "#include -" "$ac_c_undeclared_builtin_options" "CFLAGS" +" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS" if test "x$ac_cv_have_decl_WIFCONTINUED" = xyes then : - printf "%s\n" "#define HAVE_WIFCONTINUED 1" >>confdefs.h + printf '%s\n' "#define HAVE_WIFCONTINUED 1" >>confdefs.h fi ;; esac @@ -51749,7 +51532,7 @@ done ac_fn_check_decl "$LINENO" "WCONTINUED" "ac_cv_have_decl_WCONTINUED" "#include -" "$ac_c_undeclared_builtin_options" "CFLAGS" +" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS" if test "x$ac_cv_have_decl_WCONTINUED" = xyes then : ac_have_decl=1 @@ -51757,9 +51540,9 @@ e) ac_have_decl=0 ;; esac fi -printf "%s\n" "#define HAVE_DECL_WCONTINUED $ac_have_decl" >>confdefs.h +printf '%s\n' "#define HAVE_DECL_WCONTINUED $ac_have_decl" >>confdefs.h ac_fn_check_decl "$LINENO" "WEXITED" "ac_cv_have_decl_WEXITED" "#include -" "$ac_c_undeclared_builtin_options" "CFLAGS" +" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS" if test "x$ac_cv_have_decl_WEXITED" = xyes then : ac_have_decl=1 @@ -51767,9 +51550,9 @@ e) ac_have_decl=0 ;; esac fi -printf "%s\n" "#define HAVE_DECL_WEXITED $ac_have_decl" >>confdefs.h +printf '%s\n' "#define HAVE_DECL_WEXITED $ac_have_decl" >>confdefs.h ac_fn_check_decl "$LINENO" "WSTOPPED" "ac_cv_have_decl_WSTOPPED" "#include -" "$ac_c_undeclared_builtin_options" "CFLAGS" +" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS" if test "x$ac_cv_have_decl_WSTOPPED" = xyes then : ac_have_decl=1 @@ -51777,9 +51560,9 @@ e) ac_have_decl=0 ;; esac fi -printf "%s\n" "#define HAVE_DECL_WSTOPPED $ac_have_decl" >>confdefs.h +printf '%s\n' "#define HAVE_DECL_WSTOPPED $ac_have_decl" >>confdefs.h ac_fn_check_decl "$LINENO" "WNOWAIT" "ac_cv_have_decl_WNOWAIT" "#include -" "$ac_c_undeclared_builtin_options" "CFLAGS" +" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS" if test "x$ac_cv_have_decl_WNOWAIT" = xyes then : ac_have_decl=1 @@ -51787,9 +51570,9 @@ e) ac_have_decl=0 ;; esac fi -printf "%s\n" "#define HAVE_DECL_WNOWAIT $ac_have_decl" >>confdefs.h +printf '%s\n' "#define HAVE_DECL_WNOWAIT $ac_have_decl" >>confdefs.h ac_fn_check_decl "$LINENO" "P_ALL" "ac_cv_have_decl_P_ALL" "#include -" "$ac_c_undeclared_builtin_options" "CFLAGS" +" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS" if test "x$ac_cv_have_decl_P_ALL" = xyes then : ac_have_decl=1 @@ -51797,9 +51580,9 @@ e) ac_have_decl=0 ;; esac fi -printf "%s\n" "#define HAVE_DECL_P_ALL $ac_have_decl" >>confdefs.h +printf '%s\n' "#define HAVE_DECL_P_ALL $ac_have_decl" >>confdefs.h ac_fn_check_decl "$LINENO" "P_PIDFD" "ac_cv_have_decl_P_PIDFD" "#include -" "$ac_c_undeclared_builtin_options" "CFLAGS" +" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS" if test "x$ac_cv_have_decl_P_PIDFD" = xyes then : ac_have_decl=1 @@ -51807,9 +51590,9 @@ e) ac_have_decl=0 ;; esac fi -printf "%s\n" "#define HAVE_DECL_P_PIDFD $ac_have_decl" >>confdefs.h +printf '%s\n' "#define HAVE_DECL_P_PIDFD $ac_have_decl" >>confdefs.h ac_fn_check_decl "$LINENO" "P_UID" "ac_cv_have_decl_P_UID" "#include -" "$ac_c_undeclared_builtin_options" "CFLAGS" +" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS" if test "x$ac_cv_have_decl_P_UID" = xyes then : ac_have_decl=1 @@ -51817,9 +51600,9 @@ e) ac_have_decl=0 ;; esac fi -printf "%s\n" "#define HAVE_DECL_P_UID $ac_have_decl" >>confdefs.h +printf '%s\n' "#define HAVE_DECL_P_UID $ac_have_decl" >>confdefs.h ac_fn_check_decl "$LINENO" "P_JAILID" "ac_cv_have_decl_P_JAILID" "#include -" "$ac_c_undeclared_builtin_options" "CFLAGS" +" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS" if test "x$ac_cv_have_decl_P_JAILID" = xyes then : ac_have_decl=1 @@ -51827,10 +51610,10 @@ e) ac_have_decl=0 ;; esac fi -printf "%s\n" "#define HAVE_DECL_P_JAILID $ac_have_decl" >>confdefs.h +printf '%s\n' "#define HAVE_DECL_P_JAILID $ac_have_decl" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sched_getcpu is supported" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if sched_getcpu is supported" >&5 printf %s "checking if sched_getcpu is supported... " >&6; } if test ${php_cv_func_sched_getcpu+y} then : @@ -51866,12 +51649,12 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_func_sched_getcpu" >&5 -printf "%s\n" "$php_cv_func_sched_getcpu" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_func_sched_getcpu" >&5 +printf '%s\n' "$php_cv_func_sched_getcpu" >&6; } if test "x$php_cv_func_sched_getcpu" = xyes then : -printf "%s\n" "#define HAVE_SCHED_GETCPU 1" >>confdefs.h +printf '%s\n' "#define HAVE_SCHED_GETCPU 1" >>confdefs.h fi @@ -52018,7 +51801,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_PCNTL 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_PCNTL 1" >>confdefs.h fi fi @@ -52144,7 +51927,7 @@ php_with_pdo_dblib=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PDO_DBLIB support via FreeTDS" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for PDO_DBLIB support via FreeTDS" >&5 printf %s "checking for PDO_DBLIB support via FreeTDS... " >&6; } # Check whether --with-pdo-dblib was given. @@ -52182,8 +51965,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -52310,7 +52093,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dbsqlexec in -lsybdb" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dbsqlexec in -lsybdb" >&5 printf %s "checking for dbsqlexec in -lsybdb... " >&6; } if test ${ac_cv_lib_sybdb_dbsqlexec+y} then : @@ -52351,8 +52134,8 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sybdb_dbsqlexec" >&5 -printf "%s\n" "$ac_cv_lib_sybdb_dbsqlexec" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sybdb_dbsqlexec" >&5 +printf '%s\n' "$ac_cv_lib_sybdb_dbsqlexec" >&6; } if test "x$ac_cv_lib_sybdb_dbsqlexec" = xyes then : @@ -52365,8 +52148,8 @@ LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared unset ac_cv_lib_sybdb_dbsqlexec - { { 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: in '$ac_pwd':" >&5 +printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "Cannot find FreeTDS in known installation directories. See 'config.log' for more details" "$LINENO" 5; } ;; @@ -52557,7 +52340,7 @@ fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PDO includes" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for PDO includes" >&5 printf %s "checking for PDO includes... " >&6; } if test ${pdo_cv_inc_path+y} then : @@ -52572,8 +52355,8 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $pdo_cv_inc_path" >&5 -printf "%s\n" "$pdo_cv_inc_path" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $pdo_cv_inc_path" >&5 +printf '%s\n' "$pdo_cv_inc_path" >&6; } if test -n "$pdo_cv_inc_path"; then : else @@ -52717,7 +52500,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_PDO_DBLIB 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_PDO_DBLIB 1" >>confdefs.h fi fi @@ -52866,7 +52649,7 @@ php_with_pdo_firebird=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Firebird support for PDO" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for Firebird support for PDO" >&5 printf %s "checking for Firebird support for PDO... " >&6; } # Check whether --with-pdo-firebird was given. @@ -52904,8 +52687,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -52913,7 +52696,7 @@ if test "$PHP_PDO_FIREBIRD" != "no"; then # Extract the first word of "fb_config", so it can be a program name with args. set dummy fb_config; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ 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_FB_CONFIG+y} then : @@ -52936,7 +52719,7 @@ 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_FB_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 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -52950,23 +52733,23 @@ fi FB_CONFIG=$ac_cv_path_FB_CONFIG if test -n "$FB_CONFIG"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FB_CONFIG" >&5 -printf "%s\n" "$FB_CONFIG" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $FB_CONFIG" >&5 +printf '%s\n' "$FB_CONFIG" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi if test -x "$FB_CONFIG" && test "$PHP_PDO_FIREBIRD" = "yes"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libfbconfig" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libfbconfig" >&5 printf %s "checking for libfbconfig... " >&6; } FB_CFLAGS=$($FB_CONFIG --cflags) FB_LIBDIR=$($FB_CONFIG --libs) FB_VERSION=$($FB_CONFIG --version) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: version $FB_VERSION" >&5 -printf "%s\n" "version $FB_VERSION" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: version $FB_VERSION" >&5 +printf '%s\n' "version $FB_VERSION" >&6; } as_arg_v1=$FB_VERSION as_arg_v2=3.0 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null @@ -53270,7 +53053,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fb_get_master_interface in -lfbclient" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for fb_get_master_interface in -lfbclient" >&5 printf %s "checking for fb_get_master_interface in -lfbclient... " >&6; } if test ${ac_cv_lib_fbclient_fb_get_master_interface+y} then : @@ -53311,8 +53094,8 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fbclient_fb_get_master_interface" >&5 -printf "%s\n" "$ac_cv_lib_fbclient_fb_get_master_interface" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fbclient_fb_get_master_interface" >&5 +printf '%s\n' "$ac_cv_lib_fbclient_fb_get_master_interface" >&6; } if test "x$ac_cv_lib_fbclient_fb_get_master_interface" = xyes then : @@ -53325,8 +53108,8 @@ LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared unset ac_cv_lib_fbclient_fb_get_master_interface - { { 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: in '$ac_pwd':" >&5 +printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "libfbclient not found. See 'config.log' for more details" "$LINENO" 5; } ;; @@ -53475,7 +53258,7 @@ fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PDO includes" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for PDO includes" >&5 printf %s "checking for PDO includes... " >&6; } if test ${pdo_cv_inc_path+y} then : @@ -53490,8 +53273,8 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $pdo_cv_inc_path" >&5 -printf "%s\n" "$pdo_cv_inc_path" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $pdo_cv_inc_path" >&5 +printf '%s\n' "$pdo_cv_inc_path" >&6; } if test -n "$pdo_cv_inc_path"; then : else @@ -53634,7 +53417,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_PDO_FIREBIRD 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_PDO_FIREBIRD 1" >>confdefs.h fi fi @@ -53793,7 +53576,7 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ 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 : @@ -53814,7 +53597,7 @@ 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_CXX="$ac_tool_prefix$ac_prog" - printf "%s\n" "$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 @@ -53826,11 +53609,11 @@ fi CXX=$ac_cv_prog_CXX if test -n "$CXX"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 -printf "%s\n" "$CXX" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 +printf '%s\n' "$CXX" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi @@ -53843,7 +53626,7 @@ 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\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 : @@ -53864,7 +53647,7 @@ 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_CXX="$ac_prog" - printf "%s\n" "$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 @@ -53876,11 +53659,11 @@ fi ac_ct_CXX=$ac_cv_prog_ac_ct_CXX if test -n "$ac_ct_CXX"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 -printf "%s\n" "$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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi @@ -53892,8 +53675,8 @@ 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;} +{ 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 @@ -53903,7 +53686,7 @@ fi fi # Provide some information about the compiler. -printf "%s\n" "$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 @@ -53913,7 +53696,7 @@ *) 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 +printf '%s\n' "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -53923,11 +53706,11 @@ cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5 +{ 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 : @@ -53959,8 +53742,8 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 -printf "%s\n" "$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 @@ -53970,7 +53753,7 @@ fi ac_test_CXXFLAGS=${CXXFLAGS+y} ac_save_CXXFLAGS=$CXXFLAGS -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 +{ 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 : @@ -54038,8 +53821,8 @@ ac_cxx_werror_flag=$ac_save_cxx_werror_flag ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 -printf "%s\n" "$ac_cv_prog_cxx_g" >&6; } +{ 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 @@ -54055,106 +53838,6 @@ 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_cxx11+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) ac_cv_prog_cxx_cxx11=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 ;; -esac -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 case e in #( - e) 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 case e in #( - e) { 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" ;; -esac -fi - ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11 - ac_prog_cxx_stdcxx=cxx11 ;; -esac -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_cxx98+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) ac_cv_prog_cxx_cxx98=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 ;; -esac -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 case e in #( - e) 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 case e in #( - e) { 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" ;; -esac -fi - ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98 - ac_prog_cxx_stdcxx=cxx98 ;; -esac -fi -fi - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -54166,7 +53849,7 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 +{ 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 test ${ac_cv_prog_CXXCPP+y} @@ -54233,8 +53916,8 @@ else ac_cv_prog_CXXCPP=$CXXCPP fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 -printf "%s\n" "$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 @@ -54282,8 +53965,8 @@ then : else case e in #( - e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} + e) { { 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; } ;; esac @@ -54318,8 +54001,8 @@ for alternative in ${ax_cxx_compile_alternatives}; do for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do - cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx11_$switch" | sed "$as_sed_sh"` - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5 + cachevar=`printf '%s\n' "ax_cv_cxx_compile_cxx11_$switch" | sed "$as_sed_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 : @@ -54630,8 +54313,8 @@ esac fi eval ac_res=\$$cachevar - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$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 eval PHP_PDO_FIREBIRD_STDCXX="$switch" ac_success=yes @@ -54655,8 +54338,8 @@ fi fi if test x$ac_success = xno; then - { 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;} + { 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;} fi @@ -54766,7 +54449,7 @@ php_with_pdo_mysql=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MySQL support for PDO" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for MySQL support for PDO" >&5 printf %s "checking for MySQL support for PDO... " >&6; } # Check whether --with-pdo-mysql was given. @@ -54804,14 +54487,14 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } if test "$PHP_PDO_MYSQL" != "no"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MySQL Unix socket location" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for MySQL Unix socket location" >&5 printf %s "checking for MySQL Unix socket location... " >&6; } case $PHP_MYSQL_SOCK in #( yes) : @@ -54835,29 +54518,29 @@ if ${MYSQL_SOCK:+false} : 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}: result: no" >&5 +printf '%s\n' "no" >&6; } else case e in #( e) -printf "%s\n" "#define PHP_MYSQL_UNIX_SOCK_ADDR \"$MYSQL_SOCK\"" >>confdefs.h +printf '%s\n' "#define PHP_MYSQL_UNIX_SOCK_ADDR \"$MYSQL_SOCK\"" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MYSQL_SOCK" >&5 -printf "%s\n" "$MYSQL_SOCK" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MYSQL_SOCK" >&5 +printf '%s\n' "$MYSQL_SOCK" >&6; } ;; esac fi ;; #( no) : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } ;; #( + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } ;; #( *) : -printf "%s\n" "#define PHP_MYSQL_UNIX_SOCK_ADDR \"$PHP_MYSQL_SOCK\"" >>confdefs.h +printf '%s\n' "#define PHP_MYSQL_UNIX_SOCK_ADDR \"$PHP_MYSQL_SOCK\"" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PHP_MYSQL_SOCK" >&5 -printf "%s\n" "$PHP_MYSQL_SOCK" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $PHP_MYSQL_SOCK" >&5 +printf '%s\n' "$PHP_MYSQL_SOCK" >&6; } ;; esac @@ -54866,12 +54549,12 @@ PHP_MYSQLND_ENABLED=yes -printf "%s\n" "#define PDO_USE_MYSQLND 1" >>confdefs.h +printf '%s\n' "#define PDO_USE_MYSQLND 1" >>confdefs.h ;; #( *) : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mysql_config" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for mysql_config" >&5 printf %s "checking for mysql_config... " >&6; } if test -f $PHP_PDO_MYSQL && test -x $PHP_PDO_MYSQL ; then PDO_MYSQL_CONFIG=$PHP_PDO_MYSQL @@ -54886,18 +54569,18 @@ fi if test -n "$PDO_MYSQL_CONFIG"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PDO_MYSQL_CONFIG" >&5 -printf "%s\n" "$PDO_MYSQL_CONFIG" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $PDO_MYSQL_CONFIG" >&5 +printf '%s\n' "$PDO_MYSQL_CONFIG" >&6; } PDO_MYSQL_LIBS=$($PDO_MYSQL_CONFIG --libs | $SED -e "s/'//g") PDO_MYSQL_INCLUDE=$($PDO_MYSQL_CONFIG --cflags | $SED -e "s/'//g") PDO_MYSQL_SOCKET=$($PDO_MYSQL_CONFIG --socket) -printf "%s\n" "#define PDO_MYSQL_UNIX_ADDR \"$PDO_MYSQL_SOCKET\"" >>confdefs.h +printf '%s\n' "#define PDO_MYSQL_UNIX_ADDR \"$PDO_MYSQL_SOCKET\"" >>confdefs.h elif test -n "$PDO_MYSQL_DIR"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5 -printf "%s\n" "not found" >&6; } - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mysql install under $PDO_MYSQL_DIR" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +printf '%s\n' "not found" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for mysql install under $PDO_MYSQL_DIR" >&5 printf %s "checking for mysql install under $PDO_MYSQL_DIR... " >&6; } if test -r $PDO_MYSQL_DIR/include/mysql; then PDO_MYSQL_INC_DIR=$PDO_MYSQL_DIR/include/mysql @@ -54911,19 +54594,19 @@ fi if test -r "$PDO_MYSQL_LIB_DIR"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libs under $PDO_MYSQL_LIB_DIR; seems promising" >&5 -printf "%s\n" "libs under $PDO_MYSQL_LIB_DIR; seems promising" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: libs under $PDO_MYSQL_LIB_DIR; seems promising" >&5 +printf '%s\n' "libs under $PDO_MYSQL_LIB_DIR; seems promising" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: can not find it" >&5 -printf "%s\n" "can not find it" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: can not find it" >&5 +printf '%s\n' "can not find it" >&6; } as_fn_error $? "Unable to find your mysql installation" "$LINENO" 5 fi PDO_MYSQL_INCLUDE=-I$PDO_MYSQL_INC_DIR PDO_MYSQL_LIBS="-L$PDO_MYSQL_LIB_DIR -lmysqlclient" else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5 -printf "%s\n" "not found" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +printf '%s\n' "not found" >&6; } as_fn_error $? "Unable to find your mysql installation" "$LINENO" 5 fi @@ -55086,7 +54769,7 @@ esac - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PDO includes" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for PDO includes" >&5 printf %s "checking for PDO includes... " >&6; } if test ${pdo_cv_inc_path+y} then : @@ -55101,8 +54784,8 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $pdo_cv_inc_path" >&5 -printf "%s\n" "$pdo_cv_inc_path" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $pdo_cv_inc_path" >&5 +printf '%s\n' "$pdo_cv_inc_path" >&6; } if test -n "$pdo_cv_inc_path"; then : else @@ -55245,7 +54928,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_PDO_MYSQL 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_PDO_MYSQL 1" >>confdefs.h fi fi @@ -55429,7 +55112,7 @@ php_with_pdo_odbc=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ODBC v3 support for PDO" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for ODBC v3 support for PDO" >&5 printf %s "checking for ODBC v3 support for PDO... " >&6; } # Check whether --with-pdo-odbc was given. @@ -55467,8 +55150,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -55477,7 +55160,7 @@ if test "$PHP_PDO_ODBC" != "no"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PDO includes" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for PDO includes" >&5 printf %s "checking for PDO includes... " >&6; } if test ${pdo_cv_inc_path+y} then : @@ -55492,8 +55175,8 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $pdo_cv_inc_path" >&5 -printf "%s\n" "$pdo_cv_inc_path" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $pdo_cv_inc_path" >&5 +printf '%s\n' "$pdo_cv_inc_path" >&6; } if test -n "$pdo_cv_inc_path"; then : else @@ -55501,7 +55184,7 @@ fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for selected PDO ODBC flavour" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for selected PDO ODBC flavour" >&5 printf %s "checking for selected PDO ODBC flavour... " >&6; } pdo_odbc_flavour="$(echo $PHP_PDO_ODBC | cut -d, -f1)" @@ -55545,21 +55228,21 @@ esac if test -n "$pdo_odbc_pkgconfig_module"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $pdo_odbc_flavour using pkg-config" >&5 -printf "%s\n" "$pdo_odbc_flavour using pkg-config" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $pdo_odbc_flavour using pkg-config" >&5 +printf '%s\n' "$pdo_odbc_flavour using pkg-config" >&6; } pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $pdo_odbc_pkgconfig_module" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $pdo_odbc_pkgconfig_module" >&5 printf %s "checking for $pdo_odbc_pkgconfig_module... " >&6; } if test -n "$PDO_ODBC_CFLAGS"; then pkg_cv_PDO_ODBC_CFLAGS="$PDO_ODBC_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 \"\$pdo_odbc_pkgconfig_module\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pdo_odbc_pkgconfig_module\""; } >&5 ($PKG_CONFIG --exists --print-errors "$pdo_odbc_pkgconfig_module") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PDO_ODBC_CFLAGS=`$PKG_CONFIG --cflags "$pdo_odbc_pkgconfig_module" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -55573,10 +55256,10 @@ pkg_cv_PDO_ODBC_LIBS="$PDO_ODBC_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 \"\$pdo_odbc_pkgconfig_module\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pdo_odbc_pkgconfig_module\""; } >&5 ($PKG_CONFIG --exists --print-errors "$pdo_odbc_pkgconfig_module") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PDO_ODBC_LIBS=`$PKG_CONFIG --libs "$pdo_odbc_pkgconfig_module" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -55590,8 +55273,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -55617,10 +55300,10 @@ and PDO_ODBC_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 - { 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;} + { 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. @@ -55634,8 +55317,8 @@ else PDO_ODBC_CFLAGS=$pkg_cv_PDO_ODBC_CFLAGS PDO_ODBC_LIBS=$pkg_cv_PDO_ODBC_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } fi else @@ -55653,16 +55336,16 @@ esac fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $pdo_odbc_flavour + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $pdo_odbc_flavour libs $PDO_ODBC_LIBDIR, headers $PDO_ODBC_INCDIR" >&5 -printf "%s\n" "$pdo_odbc_flavour +printf '%s\n' "$pdo_odbc_flavour libs $PDO_ODBC_LIBDIR, headers $PDO_ODBC_INCDIR" >&6; } if test ! -d "$PDO_ODBC_LIBDIR" ; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: library dir $PDO_ODBC_LIBDIR does not exist" >&5 -printf "%s\n" "$as_me: WARNING: library dir $PDO_ODBC_LIBDIR does not exist" >&2;} + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: library dir $PDO_ODBC_LIBDIR does not exist" >&5 +printf '%s\n' "$as_me: WARNING: library dir $PDO_ODBC_LIBDIR does not exist" >&2;} fi PDO_ODBC_CFLAGS="$pdo_odbc_def_cflags -I$PDO_ODBC_INCDIR" @@ -55786,8 +55469,8 @@ esac done - as_ac_Lib=`printf "%s\n" "ac_cv_lib_$pdo_odbc_def_lib""_SQLBindCol" | sed "$as_sed_sh"` -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SQLBindCol in -l$pdo_odbc_def_lib" >&5 + as_ac_Lib=`printf '%s\n' "ac_cv_lib_$pdo_odbc_def_lib""_SQLBindCol" | sed "$as_sed_sh"` +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for SQLBindCol in -l$pdo_odbc_def_lib" >&5 printf %s "checking for SQLBindCol in -l$pdo_odbc_def_lib... " >&6; } if eval test \${$as_ac_Lib+y} then : @@ -55829,8 +55512,8 @@ esac fi eval ac_res=\$$as_ac_Lib - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$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\$"$as_ac_Lib"\" = x"yes" then : @@ -55954,8 +55637,8 @@ esac done - as_ac_Lib=`printf "%s\n" "ac_cv_lib_$pdo_odbc_def_lib""_SQLAllocHandle" | sed "$as_sed_sh"` -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SQLAllocHandle in -l$pdo_odbc_def_lib" >&5 + as_ac_Lib=`printf '%s\n' "ac_cv_lib_$pdo_odbc_def_lib""_SQLAllocHandle" | sed "$as_sed_sh"` +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for SQLAllocHandle in -l$pdo_odbc_def_lib" >&5 printf %s "checking for SQLAllocHandle in -l$pdo_odbc_def_lib... " >&6; } if eval test \${$as_ac_Lib+y} then : @@ -55997,8 +55680,8 @@ esac fi eval ac_res=\$$as_ac_Lib - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$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\$"$as_ac_Lib"\" = x"yes" then : @@ -56011,8 +55694,8 @@ LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared unset ac_cv_lib_$pdo_odbc_def_lib_SQLAllocHandle - { { 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: in '$ac_pwd':" >&5 +printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? " Your ODBC library does not appear to be ODBC 3 compatible. You should consider using iODBC or unixODBC instead, and loading your @@ -56030,8 +55713,8 @@ LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared unset ac_cv_lib_$pdo_odbc_def_lib_SQLBindCol - { { 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: in '$ac_pwd':" >&5 +printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "Your ODBC library does not exist or there was an error. See 'config.log' for more details" "$LINENO" 5; } ;; @@ -56198,7 +55881,7 @@ OLD_CPPFLAGS=$CPPFLAGS CPPFLAGS="$CPPFLAGS $PDO_ODBC_CFLAGS" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cli0cli.h" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for cli0cli.h" >&5 printf %s "checking for cli0cli.h... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -56216,19 +55899,19 @@ php_pdo_odbc_have_header=yes -printf "%s\n" "#define HAVE_CLI0CLI_H 1" >>confdefs.h +printf '%s\n' "#define HAVE_CLI0CLI_H 1" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } ;; + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } ;; esac fi rm -f conftest.err conftest.i conftest.$ac_ext - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cli0core.h" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for cli0core.h" >&5 printf %s "checking for cli0core.h... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -56246,19 +55929,19 @@ php_pdo_odbc_have_header=yes -printf "%s\n" "#define HAVE_CLI0CORE_H 1" >>confdefs.h +printf '%s\n' "#define HAVE_CLI0CORE_H 1" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } ;; + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } ;; esac fi rm -f conftest.err conftest.i conftest.$ac_ext - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cli0defs.h" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for cli0defs.h" >&5 printf %s "checking for cli0defs.h... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -56276,19 +55959,19 @@ php_pdo_odbc_have_header=yes -printf "%s\n" "#define HAVE_CLI0DEFS_H 1" >>confdefs.h +printf '%s\n' "#define HAVE_CLI0DEFS_H 1" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } ;; + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } ;; esac fi rm -f conftest.err conftest.i conftest.$ac_ext - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cli0env.h" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for cli0env.h" >&5 printf %s "checking for cli0env.h... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -56306,19 +55989,19 @@ php_pdo_odbc_have_header=yes -printf "%s\n" "#define HAVE_CLI0ENV_H 1" >>confdefs.h +printf '%s\n' "#define HAVE_CLI0ENV_H 1" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } ;; + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } ;; esac fi rm -f conftest.err conftest.i conftest.$ac_ext - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cli0ext.h" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for cli0ext.h" >&5 printf %s "checking for cli0ext.h... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -56336,19 +56019,19 @@ php_pdo_odbc_have_header=yes -printf "%s\n" "#define HAVE_CLI0EXT_H 1" >>confdefs.h +printf '%s\n' "#define HAVE_CLI0EXT_H 1" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } ;; + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } ;; esac fi rm -f conftest.err conftest.i conftest.$ac_ext - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for iodbc.h" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for iodbc.h" >&5 printf %s "checking for iodbc.h... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -56366,19 +56049,19 @@ php_pdo_odbc_have_header=yes -printf "%s\n" "#define HAVE_IODBC_H 1" >>confdefs.h +printf '%s\n' "#define HAVE_IODBC_H 1" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } ;; + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } ;; esac fi rm -f conftest.err conftest.i conftest.$ac_ext - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isql.h" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for isql.h" >&5 printf %s "checking for isql.h... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -56396,19 +56079,19 @@ php_pdo_odbc_have_header=yes -printf "%s\n" "#define HAVE_ISQL_H 1" >>confdefs.h +printf '%s\n' "#define HAVE_ISQL_H 1" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } ;; + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } ;; esac fi rm -f conftest.err conftest.i conftest.$ac_ext - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isqlext.h" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for isqlext.h" >&5 printf %s "checking for isqlext.h... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -56426,19 +56109,19 @@ php_pdo_odbc_have_header=yes -printf "%s\n" "#define HAVE_ISQLEXT_H 1" >>confdefs.h +printf '%s\n' "#define HAVE_ISQLEXT_H 1" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } ;; + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } ;; esac fi rm -f conftest.err conftest.i conftest.$ac_ext - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LibraryManager.h" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for LibraryManager.h" >&5 printf %s "checking for LibraryManager.h... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -56456,19 +56139,19 @@ php_pdo_odbc_have_header=yes -printf "%s\n" "#define HAVE_LIBRARYMANAGER_H 1" >>confdefs.h +printf '%s\n' "#define HAVE_LIBRARYMANAGER_H 1" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } ;; + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } ;; esac fi rm -f conftest.err conftest.i conftest.$ac_ext - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for odbc.h" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for odbc.h" >&5 printf %s "checking for odbc.h... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -56486,19 +56169,19 @@ php_pdo_odbc_have_header=yes -printf "%s\n" "#define HAVE_ODBC_H 1" >>confdefs.h +printf '%s\n' "#define HAVE_ODBC_H 1" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } ;; + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } ;; esac fi rm -f conftest.err conftest.i conftest.$ac_ext - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sql.h" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for sql.h" >&5 printf %s "checking for sql.h... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -56516,19 +56199,19 @@ php_pdo_odbc_have_header=yes -printf "%s\n" "#define HAVE_SQL_H 1" >>confdefs.h +printf '%s\n' "#define HAVE_SQL_H 1" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } ;; + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } ;; esac fi rm -f conftest.err conftest.i conftest.$ac_ext - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlcli1.h" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for sqlcli1.h" >&5 printf %s "checking for sqlcli1.h... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -56546,19 +56229,19 @@ php_pdo_odbc_have_header=yes -printf "%s\n" "#define HAVE_SQLCLI1_H 1" >>confdefs.h +printf '%s\n' "#define HAVE_SQLCLI1_H 1" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } ;; + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } ;; esac fi rm -f conftest.err conftest.i conftest.$ac_ext - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlext.h" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for sqlext.h" >&5 printf %s "checking for sqlext.h... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -56576,19 +56259,19 @@ php_pdo_odbc_have_header=yes -printf "%s\n" "#define HAVE_SQLEXT_H 1" >>confdefs.h +printf '%s\n' "#define HAVE_SQLEXT_H 1" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } ;; + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } ;; esac fi rm -f conftest.err conftest.i conftest.$ac_ext - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqltypes.h" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for sqltypes.h" >&5 printf %s "checking for sqltypes.h... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -56606,19 +56289,19 @@ php_pdo_odbc_have_header=yes -printf "%s\n" "#define HAVE_SQLTYPES_H 1" >>confdefs.h +printf '%s\n' "#define HAVE_SQLTYPES_H 1" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } ;; + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } ;; esac fi rm -f conftest.err conftest.i conftest.$ac_ext - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlucode.h" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for sqlucode.h" >&5 printf %s "checking for sqlucode.h... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -56636,19 +56319,19 @@ php_pdo_odbc_have_header=yes -printf "%s\n" "#define HAVE_SQLUCODE_H 1" >>confdefs.h +printf '%s\n' "#define HAVE_SQLUCODE_H 1" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } ;; + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } ;; esac fi rm -f conftest.err conftest.i conftest.$ac_ext - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlunix.h" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for sqlunix.h" >&5 printf %s "checking for sqlunix.h... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -56666,19 +56349,19 @@ php_pdo_odbc_have_header=yes -printf "%s\n" "#define HAVE_SQLUNIX_H 1" >>confdefs.h +printf '%s\n' "#define HAVE_SQLUNIX_H 1" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } ;; + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } ;; esac fi rm -f conftest.err conftest.i conftest.$ac_ext - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udbcext.h" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for udbcext.h" >&5 printf %s "checking for udbcext.h... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -56696,14 +56379,14 @@ php_pdo_odbc_have_header=yes -printf "%s\n" "#define HAVE_UDBCEXT_H 1" >>confdefs.h +printf '%s\n' "#define HAVE_UDBCEXT_H 1" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } ;; + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } ;; esac fi rm -f conftest.err conftest.i conftest.$ac_ext @@ -56719,7 +56402,7 @@ fi -printf "%s\n" "#define PDO_ODBC_TYPE \"$pdo_odbc_flavour\"" >>confdefs.h +printf '%s\n' "#define PDO_ODBC_TYPE \"$pdo_odbc_flavour\"" >>confdefs.h @@ -56857,7 +56540,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_PDO_ODBC 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_PDO_ODBC 1" >>confdefs.h fi fi @@ -57005,7 +56688,7 @@ php_with_pdo_pgsql=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PostgreSQL support for PDO" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for PostgreSQL support for PDO" >&5 printf %s "checking for PostgreSQL support for PDO... " >&6; } # Check whether --with-pdo-pgsql was given. @@ -57043,8 +56726,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -57061,17 +56744,17 @@ then : pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libpq >= 10.0" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libpq >= 10.0" >&5 printf %s "checking for libpq >= 10.0... " >&6; } if test -n "$PGSQL_CFLAGS"; then pkg_cv_PGSQL_CFLAGS="$PGSQL_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 \"libpq >= 10.0\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpq >= 10.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libpq >= 10.0") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PGSQL_CFLAGS=`$PKG_CONFIG --cflags "libpq >= 10.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -57085,10 +56768,10 @@ pkg_cv_PGSQL_LIBS="$PGSQL_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 \"libpq >= 10.0\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpq >= 10.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libpq >= 10.0") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PGSQL_LIBS=`$PKG_CONFIG --libs "libpq >= 10.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -57102,8 +56785,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -57120,21 +56803,21 @@ found_pgsql=no elif test $pkg_failed = untried; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } found_pgsql=no else PGSQL_CFLAGS=$pkg_cv_PGSQL_CFLAGS PGSQL_LIBS=$pkg_cv_PGSQL_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } found_pgsql=yes fi fi if test "x$found_pgsql" = xno then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pg_config" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for pg_config" >&5 printf %s "checking for pg_config... " >&6; } for i in $pgsql_dir $pgsql_dir/bin /usr/local/pgsql/bin /usr/local/bin /usr/bin ""; do if test -x $i/pg_config @@ -57145,8 +56828,8 @@ if ${PG_CONFIG:+false} : then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5 -printf "%s\n" "not found" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +printf '%s\n' "not found" >&6; } if ${pgsql_dir:+false} : then : pgsql_search_paths="/usr /usr/local /usr/local/pgsql" @@ -57172,8 +56855,8 @@ done else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PG_CONFIG" >&5 -printf "%s\n" "$PG_CONFIG" >&6; } + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $PG_CONFIG" >&5 +printf '%s\n' "$PG_CONFIG" >&6; } PGSQL_INCLUDE=$($PG_CONFIG --includedir) PGSQL_LIBDIR=$($PG_CONFIG --libdir) ;; @@ -57465,7 +57148,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PQencryptPasswordConn in -lpq" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for PQencryptPasswordConn in -lpq" >&5 printf %s "checking for PQencryptPasswordConn in -lpq... " >&6; } if test ${ac_cv_lib_pq_PQencryptPasswordConn+y} then : @@ -57506,8 +57189,8 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pq_PQencryptPasswordConn" >&5 -printf "%s\n" "$ac_cv_lib_pq_PQencryptPasswordConn" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pq_PQencryptPasswordConn" >&5 +printf '%s\n' "$ac_cv_lib_pq_PQencryptPasswordConn" >&6; } if test "x$ac_cv_lib_pq_PQencryptPasswordConn" = xyes then : @@ -57520,8 +57203,8 @@ LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared unset ac_cv_lib_pq_PQencryptPasswordConn - { { 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: in '$ac_pwd':" >&5 +printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "PostgreSQL check failed: libpq 10.0 or later is required. See 'config.log' for more details" "$LINENO" 5; } ;; @@ -57530,8 +57213,8 @@ else case e in #( - e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} + e) { { 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 find libpq-fe.h or pq library (libpq). Please specify the correct PostgreSQL installation path with environment variables PGSQL_CFLAGS and PGSQL_LIBS or provide the PostgreSQL installation directory. @@ -57544,7 +57227,7 @@ -printf "%s\n" "#define HAVE_PDO_PGSQL 1" >>confdefs.h +printf '%s\n' "#define HAVE_PDO_PGSQL 1" >>confdefs.h @@ -57665,7 +57348,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PQresultMemorySize in -lpq" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for PQresultMemorySize in -lpq" >&5 printf %s "checking for PQresultMemorySize in -lpq... " >&6; } if test ${ac_cv_lib_pq_PQresultMemorySize+y} then : @@ -57706,15 +57389,15 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pq_PQresultMemorySize" >&5 -printf "%s\n" "$ac_cv_lib_pq_PQresultMemorySize" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pq_PQresultMemorySize" >&5 +printf '%s\n' "$ac_cv_lib_pq_PQresultMemorySize" >&6; } if test "x$ac_cv_lib_pq_PQresultMemorySize" = xyes then : LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared -printf "%s\n" "#define HAVE_PG_RESULT_MEMORY_SIZE 1" >>confdefs.h +printf '%s\n' "#define HAVE_PG_RESULT_MEMORY_SIZE 1" >>confdefs.h else case e in #( @@ -57846,7 +57529,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PQclosePrepared in -lpq" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for PQclosePrepared in -lpq" >&5 printf %s "checking for PQclosePrepared in -lpq... " >&6; } if test ${ac_cv_lib_pq_PQclosePrepared+y} then : @@ -57887,15 +57570,15 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pq_PQclosePrepared" >&5 -printf "%s\n" "$ac_cv_lib_pq_PQclosePrepared" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pq_PQclosePrepared" >&5 +printf '%s\n' "$ac_cv_lib_pq_PQclosePrepared" >&6; } if test "x$ac_cv_lib_pq_PQclosePrepared" = xyes then : LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared -printf "%s\n" "#define HAVE_PQCLOSEPREPARED 1" >>confdefs.h +printf '%s\n' "#define HAVE_PQCLOSEPREPARED 1" >>confdefs.h else case e in #( @@ -57910,7 +57593,7 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PDO includes" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for PDO includes" >&5 printf %s "checking for PDO includes... " >&6; } if test ${pdo_cv_inc_path+y} then : @@ -57925,8 +57608,8 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $pdo_cv_inc_path" >&5 -printf "%s\n" "$pdo_cv_inc_path" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $pdo_cv_inc_path" >&5 +printf '%s\n' "$pdo_cv_inc_path" >&6; } if test -n "$pdo_cv_inc_path"; then : else @@ -58069,7 +57752,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_PDO_PGSQL 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_PDO_PGSQL 1" >>confdefs.h fi fi @@ -58219,7 +57902,7 @@ php_with_pdo_sqlite=$PHP_PDO -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite 3 support for PDO" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for sqlite 3 support for PDO" >&5 printf %s "checking for sqlite 3 support for PDO... " >&6; } # Check whether --with-pdo-sqlite was given. @@ -58257,15 +57940,15 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } if test "$PHP_PDO_SQLITE" != "no"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PDO includes" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for PDO includes" >&5 printf %s "checking for PDO includes... " >&6; } if test ${pdo_cv_inc_path+y} then : @@ -58280,8 +57963,8 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $pdo_cv_inc_path" >&5 -printf "%s\n" "$pdo_cv_inc_path" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $pdo_cv_inc_path" >&5 +printf '%s\n' "$pdo_cv_inc_path" >&6; } if test -n "$pdo_cv_inc_path"; then : else @@ -58292,17 +57975,17 @@ pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3 >= 3.7.7" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for sqlite3 >= 3.7.7" >&5 printf %s "checking for sqlite3 >= 3.7.7... " >&6; } if test -n "$SQLITE_CFLAGS"; then pkg_cv_SQLITE_CFLAGS="$SQLITE_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 \"sqlite3 >= 3.7.7\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 >= 3.7.7\""; } >&5 ($PKG_CONFIG --exists --print-errors "sqlite3 >= 3.7.7") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SQLITE_CFLAGS=`$PKG_CONFIG --cflags "sqlite3 >= 3.7.7" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -58316,10 +57999,10 @@ pkg_cv_SQLITE_LIBS="$SQLITE_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 \"sqlite3 >= 3.7.7\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 >= 3.7.7\""; } >&5 ($PKG_CONFIG --exists --print-errors "sqlite3 >= 3.7.7") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SQLITE_LIBS=`$PKG_CONFIG --libs "sqlite3 >= 3.7.7" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -58333,8 +58016,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -58360,10 +58043,10 @@ and SQLITE_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 - { 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;} + { 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. @@ -58377,8 +58060,8 @@ else SQLITE_CFLAGS=$pkg_cv_SQLITE_CFLAGS SQLITE_LIBS=$pkg_cv_SQLITE_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } for ac_i in $SQLITE_CFLAGS; do @@ -58657,7 +58340,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3_close_v2 in -lsqlite3" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for sqlite3_close_v2 in -lsqlite3" >&5 printf %s "checking for sqlite3_close_v2 in -lsqlite3... " >&6; } if test ${ac_cv_lib_sqlite3_sqlite3_close_v2+y} then : @@ -58698,15 +58381,15 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_close_v2" >&5 -printf "%s\n" "$ac_cv_lib_sqlite3_sqlite3_close_v2" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_close_v2" >&5 +printf '%s\n' "$ac_cv_lib_sqlite3_sqlite3_close_v2" >&6; } if test "x$ac_cv_lib_sqlite3_sqlite3_close_v2" = xyes then : LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared -printf "%s\n" "#define HAVE_SQLITE3_CLOSE_V2 1" >>confdefs.h +printf '%s\n' "#define HAVE_SQLITE3_CLOSE_V2 1" >>confdefs.h else case e in #( @@ -58838,7 +58521,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3_column_table_name in -lsqlite3" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for sqlite3_column_table_name in -lsqlite3" >&5 printf %s "checking for sqlite3_column_table_name in -lsqlite3... " >&6; } if test ${ac_cv_lib_sqlite3_sqlite3_column_table_name+y} then : @@ -58879,15 +58562,15 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_column_table_name" >&5 -printf "%s\n" "$ac_cv_lib_sqlite3_sqlite3_column_table_name" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_column_table_name" >&5 +printf '%s\n' "$ac_cv_lib_sqlite3_sqlite3_column_table_name" >&6; } if test "x$ac_cv_lib_sqlite3_sqlite3_column_table_name" = xyes then : LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared -printf "%s\n" "#define HAVE_SQLITE3_COLUMN_TABLE_NAME 1" >>confdefs.h +printf '%s\n' "#define HAVE_SQLITE3_COLUMN_TABLE_NAME 1" >>confdefs.h else case e in #( @@ -59019,7 +58702,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3_load_extension in -lsqlite3" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for sqlite3_load_extension in -lsqlite3" >&5 printf %s "checking for sqlite3_load_extension in -lsqlite3... " >&6; } if test ${ac_cv_lib_sqlite3_sqlite3_load_extension+y} then : @@ -59060,8 +58743,8 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_load_extension" >&5 -printf "%s\n" "$ac_cv_lib_sqlite3_sqlite3_load_extension" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_load_extension" >&5 +printf '%s\n' "$ac_cv_lib_sqlite3_sqlite3_load_extension" >&6; } if test "x$ac_cv_lib_sqlite3_sqlite3_load_extension" = xyes then : @@ -59075,7 +58758,7 @@ ext_shared=$save_ext_shared unset ac_cv_lib_sqlite3_sqlite3_load_extension -printf "%s\n" "#define PDO_SQLITE_OMIT_LOAD_EXTENSION 1" >>confdefs.h +printf '%s\n' "#define PDO_SQLITE_OMIT_LOAD_EXTENSION 1" >>confdefs.h ;; esac @@ -59220,7 +58903,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_PDO_SQLITE 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_PDO_SQLITE 1" >>confdefs.h fi fi @@ -59371,7 +59054,7 @@ php_enable_pdo=yes -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable PDO support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable PDO support" >&5 printf %s "checking whether to enable PDO support... " >&6; } # Check whether --enable-pdo was given. if test ${enable_pdo+y} @@ -59408,8 +59091,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -59552,7 +59235,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_PDO 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_PDO 1" >>confdefs.h fi fi @@ -59719,7 +59402,7 @@ php_with_pgsql=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PostgreSQL support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for PostgreSQL support" >&5 printf %s "checking for PostgreSQL support... " >&6; } # Check whether --with-pgsql was given. @@ -59757,8 +59440,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -59775,17 +59458,17 @@ then : pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libpq >= 10.0" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libpq >= 10.0" >&5 printf %s "checking for libpq >= 10.0... " >&6; } if test -n "$PGSQL_CFLAGS"; then pkg_cv_PGSQL_CFLAGS="$PGSQL_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 \"libpq >= 10.0\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpq >= 10.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libpq >= 10.0") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PGSQL_CFLAGS=`$PKG_CONFIG --cflags "libpq >= 10.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -59799,10 +59482,10 @@ pkg_cv_PGSQL_LIBS="$PGSQL_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 \"libpq >= 10.0\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpq >= 10.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libpq >= 10.0") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PGSQL_LIBS=`$PKG_CONFIG --libs "libpq >= 10.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -59816,8 +59499,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -59834,21 +59517,21 @@ found_pgsql=no elif test $pkg_failed = untried; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } found_pgsql=no else PGSQL_CFLAGS=$pkg_cv_PGSQL_CFLAGS PGSQL_LIBS=$pkg_cv_PGSQL_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } found_pgsql=yes fi fi if test "x$found_pgsql" = xno then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pg_config" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for pg_config" >&5 printf %s "checking for pg_config... " >&6; } for i in $pgsql_dir $pgsql_dir/bin /usr/local/pgsql/bin /usr/local/bin /usr/bin ""; do if test -x $i/pg_config @@ -59859,8 +59542,8 @@ if ${PG_CONFIG:+false} : then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5 -printf "%s\n" "not found" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +printf '%s\n' "not found" >&6; } if ${pgsql_dir:+false} : then : pgsql_search_paths="/usr /usr/local /usr/local/pgsql" @@ -59886,8 +59569,8 @@ done else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PG_CONFIG" >&5 -printf "%s\n" "$PG_CONFIG" >&6; } + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $PG_CONFIG" >&5 +printf '%s\n' "$PG_CONFIG" >&6; } PGSQL_INCLUDE=$($PG_CONFIG --includedir) PGSQL_LIBDIR=$($PG_CONFIG --libdir) ;; @@ -60179,7 +59862,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PQencryptPasswordConn in -lpq" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for PQencryptPasswordConn in -lpq" >&5 printf %s "checking for PQencryptPasswordConn in -lpq... " >&6; } if test ${ac_cv_lib_pq_PQencryptPasswordConn+y} then : @@ -60220,8 +59903,8 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pq_PQencryptPasswordConn" >&5 -printf "%s\n" "$ac_cv_lib_pq_PQencryptPasswordConn" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pq_PQencryptPasswordConn" >&5 +printf '%s\n' "$ac_cv_lib_pq_PQencryptPasswordConn" >&6; } if test "x$ac_cv_lib_pq_PQencryptPasswordConn" = xyes then : @@ -60234,8 +59917,8 @@ LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared unset ac_cv_lib_pq_PQencryptPasswordConn - { { 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: in '$ac_pwd':" >&5 +printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "PostgreSQL check failed: libpq 10.0 or later is required. See 'config.log' for more details" "$LINENO" 5; } ;; @@ -60244,8 +59927,8 @@ else case e in #( - e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} + e) { { 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 find libpq-fe.h or pq library (libpq). Please specify the correct PostgreSQL installation path with environment variables PGSQL_CFLAGS and PGSQL_LIBS or provide the PostgreSQL installation directory. @@ -60258,7 +59941,7 @@ -printf "%s\n" "#define HAVE_PGSQL 1" >>confdefs.h +printf '%s\n' "#define HAVE_PGSQL 1" >>confdefs.h @@ -60379,7 +60062,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PQresultMemorySize in -lpq" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for PQresultMemorySize in -lpq" >&5 printf %s "checking for PQresultMemorySize in -lpq... " >&6; } if test ${ac_cv_lib_pq_PQresultMemorySize+y} then : @@ -60420,15 +60103,15 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pq_PQresultMemorySize" >&5 -printf "%s\n" "$ac_cv_lib_pq_PQresultMemorySize" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pq_PQresultMemorySize" >&5 +printf '%s\n' "$ac_cv_lib_pq_PQresultMemorySize" >&6; } if test "x$ac_cv_lib_pq_PQresultMemorySize" = xyes then : LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared -printf "%s\n" "#define HAVE_PG_RESULT_MEMORY_SIZE 1" >>confdefs.h +printf '%s\n' "#define HAVE_PG_RESULT_MEMORY_SIZE 1" >>confdefs.h else case e in #( @@ -60559,7 +60242,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PQchangePassword in -lpq" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for PQchangePassword in -lpq" >&5 printf %s "checking for PQchangePassword in -lpq... " >&6; } if test ${ac_cv_lib_pq_PQchangePassword+y} then : @@ -60600,15 +60283,15 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pq_PQchangePassword" >&5 -printf "%s\n" "$ac_cv_lib_pq_PQchangePassword" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pq_PQchangePassword" >&5 +printf '%s\n' "$ac_cv_lib_pq_PQchangePassword" >&6; } if test "x$ac_cv_lib_pq_PQchangePassword" = xyes then : LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared -printf "%s\n" "#define HAVE_PG_CHANGE_PASSWORD 1" >>confdefs.h +printf '%s\n' "#define HAVE_PG_CHANGE_PASSWORD 1" >>confdefs.h else case e in #( @@ -60739,7 +60422,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PQsocketPoll in -lpq" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for PQsocketPoll in -lpq" >&5 printf %s "checking for PQsocketPoll in -lpq... " >&6; } if test ${ac_cv_lib_pq_PQsocketPoll+y} then : @@ -60780,15 +60463,15 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pq_PQsocketPoll" >&5 -printf "%s\n" "$ac_cv_lib_pq_PQsocketPoll" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pq_PQsocketPoll" >&5 +printf '%s\n' "$ac_cv_lib_pq_PQsocketPoll" >&6; } if test "x$ac_cv_lib_pq_PQsocketPoll" = xyes then : LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared -printf "%s\n" "#define HAVE_PG_SOCKET_POLL 1" >>confdefs.h +printf '%s\n' "#define HAVE_PG_SOCKET_POLL 1" >>confdefs.h else case e in #( @@ -60807,7 +60490,7 @@ ac_fn_check_decl "$LINENO" "PGRES_TUPLES_CHUNK" "ac_cv_have_decl_PGRES_TUPLES_CHUNK" "#include -" "$ac_c_undeclared_builtin_options" "CFLAGS" +" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS" if test "x$ac_cv_have_decl_PGRES_TUPLES_CHUNK" = xyes then : ac_have_decl=1 @@ -60815,7 +60498,7 @@ e) ac_have_decl=0 ;; esac fi -printf "%s\n" "#define HAVE_DECL_PGRES_TUPLES_CHUNK $ac_have_decl" >>confdefs.h +printf '%s\n' "#define HAVE_DECL_PGRES_TUPLES_CHUNK $ac_have_decl" >>confdefs.h if test $ac_have_decl = 1 then : @@ -60936,7 +60619,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PQsetChunkedRowsMode in -lpq" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for PQsetChunkedRowsMode in -lpq" >&5 printf %s "checking for PQsetChunkedRowsMode in -lpq... " >&6; } if test ${ac_cv_lib_pq_PQsetChunkedRowsMode+y} then : @@ -60977,15 +60660,15 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pq_PQsetChunkedRowsMode" >&5 -printf "%s\n" "$ac_cv_lib_pq_PQsetChunkedRowsMode" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pq_PQsetChunkedRowsMode" >&5 +printf '%s\n' "$ac_cv_lib_pq_PQsetChunkedRowsMode" >&6; } if test "x$ac_cv_lib_pq_PQsetChunkedRowsMode" = xyes then : LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared -printf "%s\n" "#define HAVE_PG_SET_CHUNKED_ROWS_SIZE 1" >>confdefs.h +printf '%s\n' "#define HAVE_PG_SET_CHUNKED_ROWS_SIZE 1" >>confdefs.h else case e in #( @@ -61001,7 +60684,7 @@ fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if PGVerbosity enum has PQERRORS_SQLSTATE" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if PGVerbosity enum has PQERRORS_SQLSTATE" >&5 printf %s "checking if PGVerbosity enum has PQERRORS_SQLSTATE... " >&6; } if test ${php_cv_enum_pgverbosity_pqerrors_sqlstate+y} then : @@ -61028,12 +60711,12 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_enum_pgverbosity_pqerrors_sqlstate" >&5 -printf "%s\n" "$php_cv_enum_pgverbosity_pqerrors_sqlstate" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_enum_pgverbosity_pqerrors_sqlstate" >&5 +printf '%s\n' "$php_cv_enum_pgverbosity_pqerrors_sqlstate" >&6; } if test "x$php_cv_enum_pgverbosity_pqerrors_sqlstate" = xyes then : -printf "%s\n" "#define HAVE_PQERRORS_SQLSTATE 1" >>confdefs.h +printf '%s\n' "#define HAVE_PQERRORS_SQLSTATE 1" >>confdefs.h fi @@ -61174,7 +60857,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_PGSQL 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_PGSQL 1" >>confdefs.h fi fi @@ -61319,7 +61002,7 @@ php_enable_phar=yes -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for phar archive support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for phar archive support" >&5 printf %s "checking for phar archive support... " >&6; } # Check whether --enable-phar was given. if test ${enable_phar+y} @@ -61356,8 +61039,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -61498,7 +61181,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_PHAR 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_PHAR 1" >>confdefs.h fi fi @@ -61617,25 +61300,25 @@ fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for phar openssl support" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for phar openssl support" >&5 printf %s "checking for phar openssl support... " >&6; } if test "x$PHP_OPENSSL_SHARED" = xyes then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no (shared openssl)" >&5 -printf "%s\n" "no (shared openssl)" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no (shared openssl)" >&5 +printf '%s\n' "no (shared openssl)" >&6; } else case e in #( e) if test "x$PHP_OPENSSL" = xyes then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } -printf "%s\n" "#define PHAR_HAVE_OPENSSL 1" >>confdefs.h +printf '%s\n' "#define PHAR_HAVE_OPENSSL 1" >>confdefs.h else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } ;; + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } ;; esac fi ;; esac @@ -61713,7 +61396,7 @@ php_enable_posix=yes -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable POSIX-like functions" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable POSIX-like functions" >&5 printf %s "checking whether to enable POSIX-like functions... " >&6; } # Check whether --enable-posix was given. if test ${enable_posix+y} @@ -61750,15 +61433,15 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } if test "$PHP_POSIX" = "yes"; then -printf "%s\n" "#define HAVE_POSIX 1" >>confdefs.h +printf '%s\n' "#define HAVE_POSIX 1" >>confdefs.h ext_builddir=ext/posix @@ -61895,7 +61578,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_POSIX 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_POSIX 1" >>confdefs.h fi fi @@ -62017,85 +61700,85 @@ ac_fn_c_check_func "$LINENO" "ctermid" "ac_cv_func_ctermid" if test "x$ac_cv_func_ctermid" = xyes then : - printf "%s\n" "#define HAVE_CTERMID 1" >>confdefs.h + printf '%s\n' "#define HAVE_CTERMID 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "eaccess" "ac_cv_func_eaccess" if test "x$ac_cv_func_eaccess" = xyes then : - printf "%s\n" "#define HAVE_EACCESS 1" >>confdefs.h + printf '%s\n' "#define HAVE_EACCESS 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "getgrgid_r" "ac_cv_func_getgrgid_r" if test "x$ac_cv_func_getgrgid_r" = xyes then : - printf "%s\n" "#define HAVE_GETGRGID_R 1" >>confdefs.h + printf '%s\n' "#define HAVE_GETGRGID_R 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "getgroups" "ac_cv_func_getgroups" if test "x$ac_cv_func_getgroups" = xyes then : - printf "%s\n" "#define HAVE_GETGROUPS 1" >>confdefs.h + printf '%s\n' "#define HAVE_GETGROUPS 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "getpgid" "ac_cv_func_getpgid" if test "x$ac_cv_func_getpgid" = xyes then : - printf "%s\n" "#define HAVE_GETPGID 1" >>confdefs.h + printf '%s\n' "#define HAVE_GETPGID 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "getrlimit" "ac_cv_func_getrlimit" if test "x$ac_cv_func_getrlimit" = xyes then : - printf "%s\n" "#define HAVE_GETRLIMIT 1" >>confdefs.h + printf '%s\n' "#define HAVE_GETRLIMIT 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "getsid" "ac_cv_func_getsid" if test "x$ac_cv_func_getsid" = xyes then : - printf "%s\n" "#define HAVE_GETSID 1" >>confdefs.h + printf '%s\n' "#define HAVE_GETSID 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "initgroups" "ac_cv_func_initgroups" if test "x$ac_cv_func_initgroups" = xyes then : - printf "%s\n" "#define HAVE_INITGROUPS 1" >>confdefs.h + printf '%s\n' "#define HAVE_INITGROUPS 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "mkfifo" "ac_cv_func_mkfifo" if test "x$ac_cv_func_mkfifo" = xyes then : - printf "%s\n" "#define HAVE_MKFIFO 1" >>confdefs.h + printf '%s\n' "#define HAVE_MKFIFO 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "mknod" "ac_cv_func_mknod" if test "x$ac_cv_func_mknod" = xyes then : - printf "%s\n" "#define HAVE_MKNOD 1" >>confdefs.h + printf '%s\n' "#define HAVE_MKNOD 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "setegid" "ac_cv_func_setegid" if test "x$ac_cv_func_setegid" = xyes then : - printf "%s\n" "#define HAVE_SETEGID 1" >>confdefs.h + printf '%s\n' "#define HAVE_SETEGID 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "seteuid" "ac_cv_func_seteuid" if test "x$ac_cv_func_seteuid" = xyes then : - printf "%s\n" "#define HAVE_SETEUID 1" >>confdefs.h + printf '%s\n' "#define HAVE_SETEUID 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "setrlimit" "ac_cv_func_setrlimit" if test "x$ac_cv_func_setrlimit" = xyes then : - printf "%s\n" "#define HAVE_SETRLIMIT 1" >>confdefs.h + printf '%s\n' "#define HAVE_SETRLIMIT 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "setsid" "ac_cv_func_setsid" if test "x$ac_cv_func_setsid" = xyes then : - printf "%s\n" "#define HAVE_SETSID 1" >>confdefs.h + printf '%s\n' "#define HAVE_SETSID 1" >>confdefs.h fi @@ -62106,7 +61789,7 @@ ac_fn_c_check_func "$LINENO" "makedev" "ac_cv_func_makedev" if test "x$ac_cv_func_makedev" = xyes then : - printf "%s\n" "#define HAVE_MAKEDEV 1" >>confdefs.h + printf '%s\n' "#define HAVE_MAKEDEV 1" >>confdefs.h else case e in #( e) ac_fn_check_decl "$LINENO" "makedev" "ac_cv_have_decl_makedev" " @@ -62117,10 +61800,10 @@ # include #endif -" "$ac_c_undeclared_builtin_options" "CFLAGS" +" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS" if test "x$ac_cv_have_decl_makedev" = xyes then : - printf "%s\n" "#define HAVE_MAKEDEV 1" >>confdefs.h + printf '%s\n' "#define HAVE_MAKEDEV 1" >>confdefs.h fi ;; esac @@ -62135,20 +61818,20 @@ e) ac_fn_c_check_func "$LINENO" "pathconf" "ac_cv_func_pathconf" if test "x$ac_cv_func_pathconf" = xyes then : - printf "%s\n" "#define HAVE_PATHCONF 1" >>confdefs.h + printf '%s\n' "#define HAVE_PATHCONF 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "fpathconf" "ac_cv_func_fpathconf" if test "x$ac_cv_func_fpathconf" = xyes then : - printf "%s\n" "#define HAVE_FPATHCONF 1" >>confdefs.h + printf '%s\n' "#define HAVE_FPATHCONF 1" >>confdefs.h fi ;; esac fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working ttyname_r() implementation" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for working ttyname_r() implementation" >&5 printf %s "checking for working ttyname_r() implementation... " >&6; } if test ${php_cv_func_ttyname_r+y} then : @@ -62194,16 +61877,16 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_func_ttyname_r" >&5 -printf "%s\n" "$php_cv_func_ttyname_r" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_func_ttyname_r" >&5 +printf '%s\n' "$php_cv_func_ttyname_r" >&6; } if test "x$php_cv_func_ttyname_r" = xyes then : -printf "%s\n" "#define HAVE_TTYNAME_R 1" >>confdefs.h +printf '%s\n' "#define HAVE_TTYNAME_R 1" >>confdefs.h else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: posix_ttyname() will be thread-unsafe" >&5 -printf "%s\n" "$as_me: posix_ttyname() will be thread-unsafe" >&6;} ;; + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: posix_ttyname() will be thread-unsafe" >&5 +printf '%s\n' "$as_me: posix_ttyname() will be thread-unsafe" >&6;} ;; esac fi @@ -62217,7 +61900,7 @@ if test "x$ac_cv_member_struct_utsname_domainname" = xyes then : -printf "%s\n" "#define HAVE_STRUCT_UTSNAME_DOMAINNAME 1" >>confdefs.h +printf '%s\n' "#define HAVE_STRUCT_UTSNAME_DOMAINNAME 1" >>confdefs.h fi @@ -62227,11 +61910,11 @@ -ac_fn_check_decl "$LINENO" "arc4random_buf" "ac_cv_have_decl_arc4random_buf" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" +ac_fn_check_decl "$LINENO" "arc4random_buf" "ac_cv_have_decl_arc4random_buf" "$ac_includes_default" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS" if test "x$ac_cv_have_decl_arc4random_buf" = xyes then : -printf "%s\n" "#define HAVE_ARC4RANDOM_BUF 1" >>confdefs.h +printf '%s\n' "#define HAVE_ARC4RANDOM_BUF 1" >>confdefs.h fi @@ -62242,7 +61925,7 @@ " if test "x$ac_cv_header_CommonCrypto_CommonRandom_h" = xyes then : - printf "%s\n" "#define HAVE_COMMONCRYPTO_COMMONRANDOM_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_COMMONCRYPTO_COMMONRANDOM_H 1" >>confdefs.h fi @@ -62250,7 +61933,7 @@ ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom" if test "x$ac_cv_func_getrandom" = xyes then : - printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h + printf '%s\n' "#define HAVE_GETRANDOM 1" >>confdefs.h fi @@ -62390,7 +62073,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_RANDOM 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_RANDOM 1" >>confdefs.h fi fi @@ -62532,7 +62215,7 @@ php_with_libedit=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libedit readline replacement" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libedit readline replacement" >&5 printf %s "checking for libedit readline replacement... " >&6; } # Check whether --with-libedit was given. @@ -62570,8 +62253,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -62580,7 +62263,7 @@ php_with_readline=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for readline support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for readline support" >&5 printf %s "checking for readline support... " >&6; } # Check whether --with-readline was given. @@ -62618,8 +62301,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -62676,7 +62359,7 @@ PHP_READLINE_LIBS="" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tgetent in -lncurses" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for tgetent in -lncurses" >&5 printf %s "checking for tgetent in -lncurses... " >&6; } if test ${ac_cv_lib_ncurses_tgetent+y} then : @@ -62717,8 +62400,8 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_tgetent" >&5 -printf "%s\n" "$ac_cv_lib_ncurses_tgetent" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_tgetent" >&5 +printf '%s\n' "$ac_cv_lib_ncurses_tgetent" >&6; } if test "x$ac_cv_lib_ncurses_tgetent" = xyes then : @@ -62748,7 +62431,7 @@ PHP_READLINE_LIBS="$PHP_READLINE_LIBS -lncurses" else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermcap" >&5 + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermcap" >&5 printf %s "checking for tgetent in -ltermcap... " >&6; } if test ${ac_cv_lib_termcap_tgetent+y} then : @@ -62789,8 +62472,8 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetent" >&5 -printf "%s\n" "$ac_cv_lib_termcap_tgetent" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetent" >&5 +printf '%s\n' "$ac_cv_lib_termcap_tgetent" >&6; } if test "x$ac_cv_lib_termcap_tgetent" = xyes then : @@ -62944,7 +62627,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5 printf %s "checking for readline in -lreadline... " >&6; } if test ${ac_cv_lib_readline_readline+y} then : @@ -62985,8 +62668,8 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5 -printf "%s\n" "$ac_cv_lib_readline_readline" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5 +printf '%s\n' "$ac_cv_lib_readline_readline" >&6; } if test "x$ac_cv_lib_readline_readline" = xyes then : @@ -63103,8 +62786,8 @@ LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared unset ac_cv_lib_readline_readline - { { 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: in '$ac_pwd':" >&5 +printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "The readline library not found. See 'config.log' for more details" "$LINENO" 5; } ;; @@ -63230,7 +62913,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rl_callback_read_char in -lreadline" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for rl_callback_read_char in -lreadline" >&5 printf %s "checking for rl_callback_read_char in -lreadline... " >&6; } if test ${ac_cv_lib_readline_rl_callback_read_char+y} then : @@ -63271,14 +62954,14 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_callback_read_char" >&5 -printf "%s\n" "$ac_cv_lib_readline_rl_callback_read_char" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_callback_read_char" >&5 +printf '%s\n' "$ac_cv_lib_readline_rl_callback_read_char" >&6; } if test "x$ac_cv_lib_readline_rl_callback_read_char" = xyes then : LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared - printf "%s\n" "#define HAVE_RL_CALLBACK_READ_CHAR 1" >>confdefs.h + printf '%s\n' "#define HAVE_RL_CALLBACK_READ_CHAR 1" >>confdefs.h else case e in #( @@ -63410,7 +63093,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rl_on_new_line in -lreadline" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for rl_on_new_line in -lreadline" >&5 printf %s "checking for rl_on_new_line in -lreadline... " >&6; } if test ${ac_cv_lib_readline_rl_on_new_line+y} then : @@ -63451,14 +63134,14 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_on_new_line" >&5 -printf "%s\n" "$ac_cv_lib_readline_rl_on_new_line" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_on_new_line" >&5 +printf '%s\n' "$ac_cv_lib_readline_rl_on_new_line" >&6; } if test "x$ac_cv_lib_readline_rl_on_new_line" = xyes then : LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared - printf "%s\n" "#define HAVE_RL_ON_NEW_LINE 1" >>confdefs.h + printf '%s\n' "#define HAVE_RL_ON_NEW_LINE 1" >>confdefs.h else case e in #( @@ -63590,7 +63273,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rl_completion_matches in -lreadline" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for rl_completion_matches in -lreadline" >&5 printf %s "checking for rl_completion_matches in -lreadline... " >&6; } if test ${ac_cv_lib_readline_rl_completion_matches+y} then : @@ -63631,14 +63314,14 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_completion_matches" >&5 -printf "%s\n" "$ac_cv_lib_readline_rl_completion_matches" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_completion_matches" >&5 +printf '%s\n' "$ac_cv_lib_readline_rl_completion_matches" >&6; } if test "x$ac_cv_lib_readline_rl_completion_matches" = xyes then : LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared - printf "%s\n" "#define HAVE_RL_COMPLETION_MATCHES 1" >>confdefs.h + printf '%s\n' "#define HAVE_RL_COMPLETION_MATCHES 1" >>confdefs.h else case e in #( @@ -63663,13 +63346,13 @@ #include #include -" "$ac_c_undeclared_builtin_options" "CFLAGS" +" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS" if test "x$ac_cv_have_decl_rl_pending_input" = xyes then : else case e in #( - e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} + e) { { 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 $? " Invalid readline installation detected. Try --with-libedit instead. @@ -63681,20 +63364,20 @@ #include #include -" "$ac_c_undeclared_builtin_options" "CFLAGS" +" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS" if test "x$ac_cv_have_decl_rl_erase_empty_line" = xyes then : - printf "%s\n" "#define HAVE_ERASE_EMPTY_LINE 1" >>confdefs.h + printf '%s\n' "#define HAVE_ERASE_EMPTY_LINE 1" >>confdefs.h fi CFLAGS=$CFLAGS_SAVE LDFLAGS=$LDFLAGS_SAVE LIBS=$LIBS_SAVE - printf "%s\n" "#define HAVE_HISTORY_LIST 1" >>confdefs.h + printf '%s\n' "#define HAVE_HISTORY_LIST 1" >>confdefs.h -printf "%s\n" "#define HAVE_LIBREADLINE 1" >>confdefs.h +printf '%s\n' "#define HAVE_LIBREADLINE 1" >>confdefs.h elif test "$PHP_LIBEDIT" != "no"; then @@ -63702,10 +63385,10 @@ then : else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: The libedit directory argument is not supported anymore, rely on pkg-config. + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: The libedit directory argument is not supported anymore, rely on pkg-config. Replace '--with-libedit=$PHP_LIBEDIT' with '--with-libedit' and use environment variables 'PKG_CONFIG_PATH', 'EDIT_LIBS', or 'EDIT_CFLAGS'." >&5 -printf "%s\n" "$as_me: WARNING: The libedit directory argument is not supported anymore, rely on pkg-config. +printf '%s\n' "$as_me: WARNING: The libedit directory argument is not supported anymore, rely on pkg-config. Replace '--with-libedit=$PHP_LIBEDIT' with '--with-libedit' and use environment variables 'PKG_CONFIG_PATH', 'EDIT_LIBS', or 'EDIT_CFLAGS'." >&2;} ;; esac @@ -63713,17 +63396,17 @@ pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libedit" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libedit" >&5 printf %s "checking for libedit... " >&6; } if test -n "$EDIT_CFLAGS"; then pkg_cv_EDIT_CFLAGS="$EDIT_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 \"libedit\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libedit\""; } >&5 ($PKG_CONFIG --exists --print-errors "libedit") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_EDIT_CFLAGS=`$PKG_CONFIG --cflags "libedit" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -63737,10 +63420,10 @@ pkg_cv_EDIT_LIBS="$EDIT_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 \"libedit\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libedit\""; } >&5 ($PKG_CONFIG --exists --print-errors "libedit") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_EDIT_LIBS=`$PKG_CONFIG --libs "libedit" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -63754,8 +63437,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -63781,10 +63464,10 @@ and EDIT_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 - { 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;} + { 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. @@ -63798,8 +63481,8 @@ else EDIT_CFLAGS=$pkg_cv_EDIT_CFLAGS EDIT_LIBS=$pkg_cv_EDIT_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } fi @@ -63958,7 +63641,7 @@ done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tgetent in -lncurses" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for tgetent in -lncurses" >&5 printf %s "checking for tgetent in -lncurses... " >&6; } if test ${ac_cv_lib_ncurses_tgetent+y} then : @@ -63999,8 +63682,8 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_tgetent" >&5 -printf "%s\n" "$ac_cv_lib_ncurses_tgetent" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_tgetent" >&5 +printf '%s\n' "$ac_cv_lib_ncurses_tgetent" >&6; } if test "x$ac_cv_lib_ncurses_tgetent" = xyes then : @@ -64027,7 +63710,7 @@ else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermcap" >&5 + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermcap" >&5 printf %s "checking for tgetent in -ltermcap... " >&6; } if test ${ac_cv_lib_termcap_tgetent+y} then : @@ -64068,8 +63751,8 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetent" >&5 -printf "%s\n" "$ac_cv_lib_termcap_tgetent" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetent" >&5 +printf '%s\n' "$ac_cv_lib_termcap_tgetent" >&6; } if test "x$ac_cv_lib_termcap_tgetent" = xyes then : @@ -64219,7 +63902,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for readline in -ledit" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for readline in -ledit" >&5 printf %s "checking for readline in -ledit... " >&6; } if test ${ac_cv_lib_edit_readline+y} then : @@ -64260,8 +63943,8 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_edit_readline" >&5 -printf "%s\n" "$ac_cv_lib_edit_readline" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_edit_readline" >&5 +printf '%s\n' "$ac_cv_lib_edit_readline" >&6; } if test "x$ac_cv_lib_edit_readline" = xyes then : @@ -64274,8 +63957,8 @@ LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared unset ac_cv_lib_edit_readline - { { 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: in '$ac_pwd':" >&5 +printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "The edit library required by readline extension not found. See 'config.log' for more details" "$LINENO" 5; } ;; @@ -64401,7 +64084,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rl_callback_read_char in -ledit" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for rl_callback_read_char in -ledit" >&5 printf %s "checking for rl_callback_read_char in -ledit... " >&6; } if test ${ac_cv_lib_edit_rl_callback_read_char+y} then : @@ -64442,15 +64125,15 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_edit_rl_callback_read_char" >&5 -printf "%s\n" "$ac_cv_lib_edit_rl_callback_read_char" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_edit_rl_callback_read_char" >&5 +printf '%s\n' "$ac_cv_lib_edit_rl_callback_read_char" >&6; } if test "x$ac_cv_lib_edit_rl_callback_read_char" = xyes then : LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared -printf "%s\n" "#define HAVE_RL_CALLBACK_READ_CHAR 1" >>confdefs.h +printf '%s\n' "#define HAVE_RL_CALLBACK_READ_CHAR 1" >>confdefs.h else case e in #( @@ -64582,7 +64265,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rl_on_new_line in -ledit" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for rl_on_new_line in -ledit" >&5 printf %s "checking for rl_on_new_line in -ledit... " >&6; } if test ${ac_cv_lib_edit_rl_on_new_line+y} then : @@ -64623,15 +64306,15 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_edit_rl_on_new_line" >&5 -printf "%s\n" "$ac_cv_lib_edit_rl_on_new_line" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_edit_rl_on_new_line" >&5 +printf '%s\n' "$ac_cv_lib_edit_rl_on_new_line" >&6; } if test "x$ac_cv_lib_edit_rl_on_new_line" = xyes then : LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared -printf "%s\n" "#define HAVE_RL_ON_NEW_LINE 1" >>confdefs.h +printf '%s\n' "#define HAVE_RL_ON_NEW_LINE 1" >>confdefs.h else case e in #( @@ -64763,7 +64446,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rl_completion_matches in -ledit" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for rl_completion_matches in -ledit" >&5 printf %s "checking for rl_completion_matches in -ledit... " >&6; } if test ${ac_cv_lib_edit_rl_completion_matches+y} then : @@ -64804,15 +64487,15 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_edit_rl_completion_matches" >&5 -printf "%s\n" "$ac_cv_lib_edit_rl_completion_matches" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_edit_rl_completion_matches" >&5 +printf '%s\n' "$ac_cv_lib_edit_rl_completion_matches" >&6; } if test "x$ac_cv_lib_edit_rl_completion_matches" = xyes then : LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared -printf "%s\n" "#define HAVE_RL_COMPLETION_MATCHES 1" >>confdefs.h +printf '%s\n' "#define HAVE_RL_COMPLETION_MATCHES 1" >>confdefs.h else case e in #( @@ -64944,7 +64627,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for history_list in -ledit" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for history_list in -ledit" >&5 printf %s "checking for history_list in -ledit... " >&6; } if test ${ac_cv_lib_edit_history_list+y} then : @@ -64985,15 +64668,15 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_edit_history_list" >&5 -printf "%s\n" "$ac_cv_lib_edit_history_list" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_edit_history_list" >&5 +printf '%s\n' "$ac_cv_lib_edit_history_list" >&6; } if test "x$ac_cv_lib_edit_history_list" = xyes then : LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared -printf "%s\n" "#define HAVE_HISTORY_LIST 1" >>confdefs.h +printf '%s\n' "#define HAVE_HISTORY_LIST 1" >>confdefs.h else case e in #( @@ -65012,18 +64695,18 @@ CFLAGS="$CFLAGS $EDIT_CFLAGS" LIBS="$LIBS $EDIT_LIBS" ac_fn_check_decl "$LINENO" "rl_erase_empty_line" "ac_cv_have_decl_rl_erase_empty_line" "#include -" "$ac_c_undeclared_builtin_options" "CFLAGS" +" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS" if test "x$ac_cv_have_decl_rl_erase_empty_line" = xyes then : -printf "%s\n" "#define HAVE_ERASE_EMPTY_LINE 1" >>confdefs.h +printf '%s\n' "#define HAVE_ERASE_EMPTY_LINE 1" >>confdefs.h fi CFLAGS=$CFLAGS_SAVE LIBS=$LIBS_SAVE -printf "%s\n" "#define HAVE_LIBEDIT 1" >>confdefs.h +printf '%s\n' "#define HAVE_LIBEDIT 1" >>confdefs.h fi @@ -65163,7 +64846,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_READLINE 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_READLINE 1" >>confdefs.h fi fi @@ -65424,7 +65107,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_REFLECTION 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_REFLECTION 1" >>confdefs.h fi fi @@ -65549,7 +65232,7 @@ php_enable_session=yes -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable PHP sessions" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable PHP sessions" >&5 printf %s "checking whether to enable PHP sessions... " >&6; } # Check whether --enable-session was given. if test ${enable_session+y} @@ -65586,8 +65269,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -65595,7 +65278,7 @@ php_with_mm=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mm support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for mm support" >&5 printf %s "checking for mm support... " >&6; } # Check whether --with-mm was given. @@ -65612,15 +65295,15 @@ ext_output=$PHP_MM -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } if test "$PHP_SESSION" != "no"; then -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pwrite works" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether pwrite works" >&5 printf %s "checking whether pwrite works... " >&6; } if test ${php_cv_func_pwrite+y} then : @@ -65717,8 +65400,8 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_func_pwrite" >&5 -printf "%s\n" "$php_cv_func_pwrite" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_func_pwrite" >&5 +printf '%s\n' "$php_cv_func_pwrite" >&6; } if test "x$php_cv_func_pwrite" = xno then : @@ -65726,12 +65409,12 @@ else case e in #( e) -printf "%s\n" "#define HAVE_PWRITE 1" >>confdefs.h +printf '%s\n' "#define HAVE_PWRITE 1" >>confdefs.h if test "x$php_cv_func_pwrite" = x64 then : -printf "%s\n" "#define PHP_PWRITE_64 1" >>confdefs.h +printf '%s\n' "#define PHP_PWRITE_64 1" >>confdefs.h fi ;; @@ -65739,7 +65422,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pread works" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether pread works" >&5 printf %s "checking whether pread works... " >&6; } if test ${php_cv_func_pread+y} then : @@ -65838,8 +65521,8 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_func_pread" >&5 -printf "%s\n" "$php_cv_func_pread" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_func_pread" >&5 +printf '%s\n' "$php_cv_func_pread" >&6; } if test "x$php_cv_func_pread" = xno then : @@ -65847,12 +65530,12 @@ else case e in #( e) -printf "%s\n" "#define HAVE_PREAD 1" >>confdefs.h +printf '%s\n' "#define HAVE_PREAD 1" >>confdefs.h if test "x$php_cv_func_pread" = x64 then : -printf "%s\n" "#define PHP_PREAD_64 1" >>confdefs.h +printf '%s\n' "#define PHP_PREAD_64 1" >>confdefs.h fi ;; @@ -65994,7 +65677,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_SESSION 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_SESSION 1" >>confdefs.h fi fi @@ -66173,7 +65856,7 @@ -printf "%s\n" "#define HAVE_PHP_SESSION 1" >>confdefs.h +printf '%s\n' "#define HAVE_PHP_SESSION 1" >>confdefs.h if test "x$PHP_MM" = xno @@ -66358,7 +66041,7 @@ -printf "%s\n" "#define HAVE_LIBMM 1" >>confdefs.h +printf '%s\n' "#define HAVE_LIBMM 1" >>confdefs.h ;; esac @@ -66371,7 +66054,7 @@ php_enable_shmop=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable shmop support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable shmop support" >&5 printf %s "checking whether to enable shmop support... " >&6; } # Check whether --enable-shmop was given. if test ${enable_shmop+y} @@ -66408,15 +66091,15 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } if test "$PHP_SHMOP" != "no"; then -printf "%s\n" "#define HAVE_SHMOP 1" >>confdefs.h +printf '%s\n' "#define HAVE_SHMOP 1" >>confdefs.h ext_builddir=ext/shmop @@ -66553,7 +66236,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_SHMOP 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_SHMOP 1" >>confdefs.h fi fi @@ -66679,7 +66362,7 @@ php_enable_simplexml=yes -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable SimpleXML support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable SimpleXML support" >&5 printf %s "checking whether to enable SimpleXML support... " >&6; } # Check whether --enable-simplexml was given. if test ${enable_simplexml+y} @@ -66716,8 +66399,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -66726,17 +66409,17 @@ pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 >= 2.9.4" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 >= 2.9.4" >&5 printf %s "checking for libxml-2.0 >= 2.9.4... " >&6; } if test -n "$LIBXML_CFLAGS"; then pkg_cv_LIBXML_CFLAGS="$LIBXML_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 \"libxml-2.0 >= 2.9.4\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.9.4\""; } >&5 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.9.4") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBXML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.9.4" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -66750,10 +66433,10 @@ pkg_cv_LIBXML_LIBS="$LIBXML_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 \"libxml-2.0 >= 2.9.4\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.9.4\""; } >&5 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.9.4") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBXML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.9.4" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -66767,8 +66450,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -66794,10 +66477,10 @@ and LIBXML_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 - { 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;} + { 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. @@ -66811,8 +66494,8 @@ else LIBXML_CFLAGS=$pkg_cv_LIBXML_CFLAGS LIBXML_LIBS=$pkg_cv_LIBXML_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } fi @@ -66972,7 +66655,7 @@ -printf "%s\n" "#define HAVE_SIMPLEXML 1" >>confdefs.h +printf '%s\n' "#define HAVE_SIMPLEXML 1" >>confdefs.h ext_builddir=ext/simplexml @@ -67109,7 +66792,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_SIMPLEXML 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_SIMPLEXML 1" >>confdefs.h fi fi @@ -67295,7 +66978,7 @@ php_with_snmp=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SNMP support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for SNMP support" >&5 printf %s "checking for SNMP support... " >&6; } # Check whether --with-snmp was given. @@ -67333,8 +67016,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -67345,17 +67028,17 @@ then : pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for netsnmp >= 5.3" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for netsnmp >= 5.3" >&5 printf %s "checking for netsnmp >= 5.3... " >&6; } if test -n "$SNMP_CFLAGS"; then pkg_cv_SNMP_CFLAGS="$SNMP_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 \"netsnmp >= 5.3\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"netsnmp >= 5.3\""; } >&5 ($PKG_CONFIG --exists --print-errors "netsnmp >= 5.3") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SNMP_CFLAGS=`$PKG_CONFIG --cflags "netsnmp >= 5.3" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -67369,10 +67052,10 @@ pkg_cv_SNMP_LIBS="$SNMP_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 \"netsnmp >= 5.3\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"netsnmp >= 5.3\""; } >&5 ($PKG_CONFIG --exists --print-errors "netsnmp >= 5.3") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SNMP_LIBS=`$PKG_CONFIG --libs "netsnmp >= 5.3" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -67386,8 +67069,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -67404,14 +67087,14 @@ : elif test $pkg_failed = untried; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } : else SNMP_CFLAGS=$pkg_cv_SNMP_CFLAGS SNMP_LIBS=$pkg_cv_SNMP_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } snmp_found=yes fi fi @@ -67423,7 +67106,7 @@ then : # Extract the first word of "net-snmp-config", so it can be a program name with args. set dummy net-snmp-config; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ 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_SNMP_CONFIG+y} then : @@ -67447,7 +67130,7 @@ 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_SNMP_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 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -67460,11 +67143,11 @@ fi SNMP_CONFIG=$ac_cv_path_SNMP_CONFIG if test -n "$SNMP_CONFIG"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SNMP_CONFIG" >&5 -printf "%s\n" "$SNMP_CONFIG" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $SNMP_CONFIG" >&5 +printf '%s\n' "$SNMP_CONFIG" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi @@ -67781,8 +67464,8 @@ esac done - as_ac_Lib=`printf "%s\n" "ac_cv_lib_$SNMP_LIBNAME""_init_snmp" | sed "$as_sed_sh"` -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for init_snmp in -l$SNMP_LIBNAME" >&5 + as_ac_Lib=`printf '%s\n' "ac_cv_lib_$SNMP_LIBNAME""_init_snmp" | sed "$as_sed_sh"` +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for init_snmp in -l$SNMP_LIBNAME" >&5 printf %s "checking for init_snmp in -l$SNMP_LIBNAME... " >&6; } if eval test \${$as_ac_Lib+y} then : @@ -67824,15 +67507,15 @@ esac fi eval ac_res=\$$as_ac_Lib - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$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\$"$as_ac_Lib"\" = x"yes" then : LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared -printf "%s\n" "#define HAVE_SNMP 1" >>confdefs.h +printf '%s\n' "#define HAVE_SNMP 1" >>confdefs.h else case e in #( @@ -67840,8 +67523,8 @@ LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared unset ac_cv_lib_$SNMP_LIBNAME_init_snmp - { { 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: in '$ac_pwd':" >&5 +printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "SNMP sanity check failed. See 'config.log' for more details" "$LINENO" 5; } ;; @@ -67967,8 +67650,8 @@ esac done - as_ac_Lib=`printf "%s\n" "ac_cv_lib_$SNMP_LIBNAME""_shutdown_snmp_logging" | sed "$as_sed_sh"` -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shutdown_snmp_logging in -l$SNMP_LIBNAME" >&5 + as_ac_Lib=`printf '%s\n' "ac_cv_lib_$SNMP_LIBNAME""_shutdown_snmp_logging" | sed "$as_sed_sh"` +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for shutdown_snmp_logging in -l$SNMP_LIBNAME" >&5 printf %s "checking for shutdown_snmp_logging in -l$SNMP_LIBNAME... " >&6; } if eval test \${$as_ac_Lib+y} then : @@ -68010,15 +67693,15 @@ esac fi eval ac_res=\$$as_ac_Lib - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$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\$"$as_ac_Lib"\" = x"yes" then : LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared -printf "%s\n" "#define HAVE_SHUTDOWN_SNMP_LOGGING 1" >>confdefs.h +printf '%s\n' "#define HAVE_SHUTDOWN_SNMP_LOGGING 1" >>confdefs.h else case e in #( @@ -68041,11 +67724,11 @@ #include #include -" "$ac_c_undeclared_builtin_options" "CFLAGS" +" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS" if test "x$ac_cv_have_decl_usmHMAC192SHA256AuthProtocol" = xyes then : -printf "%s\n" "#define HAVE_SNMP_SHA256 1" >>confdefs.h +printf '%s\n' "#define HAVE_SNMP_SHA256 1" >>confdefs.h fi @@ -68053,11 +67736,11 @@ #include #include -" "$ac_c_undeclared_builtin_options" "CFLAGS" +" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS" if test "x$ac_cv_have_decl_usmHMAC384SHA512AuthProtocol" = xyes then : -printf "%s\n" "#define HAVE_SNMP_SHA512 1" >>confdefs.h +printf '%s\n' "#define HAVE_SNMP_SHA512 1" >>confdefs.h fi @@ -68199,7 +67882,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_SNMP 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_SNMP 1" >>confdefs.h fi fi @@ -68347,7 +68030,7 @@ php_enable_soap=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable SOAP support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable SOAP support" >&5 printf %s "checking whether to enable SOAP support... " >&6; } # Check whether --enable-soap was given. if test ${enable_soap+y} @@ -68384,8 +68067,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -68394,17 +68077,17 @@ pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 >= 2.9.4" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 >= 2.9.4" >&5 printf %s "checking for libxml-2.0 >= 2.9.4... " >&6; } if test -n "$LIBXML_CFLAGS"; then pkg_cv_LIBXML_CFLAGS="$LIBXML_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 \"libxml-2.0 >= 2.9.4\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.9.4\""; } >&5 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.9.4") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBXML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.9.4" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -68418,10 +68101,10 @@ pkg_cv_LIBXML_LIBS="$LIBXML_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 \"libxml-2.0 >= 2.9.4\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.9.4\""; } >&5 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.9.4") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBXML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.9.4" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -68435,8 +68118,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -68462,10 +68145,10 @@ and LIBXML_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 - { 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;} + { 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. @@ -68479,8 +68162,8 @@ else LIBXML_CFLAGS=$pkg_cv_LIBXML_CFLAGS LIBXML_LIBS=$pkg_cv_LIBXML_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } fi @@ -68640,7 +68323,7 @@ -printf "%s\n" "#define HAVE_SOAP 1" >>confdefs.h +printf '%s\n' "#define HAVE_SOAP 1" >>confdefs.h ext_builddir=ext/soap @@ -68777,7 +68460,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_SOAP 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_SOAP 1" >>confdefs.h fi fi @@ -68984,7 +68667,7 @@ php_enable_sockets=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable sockets support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable sockets support" >&5 printf %s "checking whether to enable sockets support... " >&6; } # Check whether --enable-sockets was given. if test ${enable_sockets+y} @@ -69021,8 +68704,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -69031,43 +68714,43 @@ ac_fn_c_check_func "$LINENO" "hstrerror" "ac_cv_func_hstrerror" if test "x$ac_cv_func_hstrerror" = xyes then : - printf "%s\n" "#define HAVE_HSTRERROR 1" >>confdefs.h + printf '%s\n' "#define HAVE_HSTRERROR 1" >>confdefs.h fi 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 + printf '%s\n' "#define HAVE_IF_NAMETOINDEX 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "if_indextoname" "ac_cv_func_if_indextoname" if test "x$ac_cv_func_if_indextoname" = xyes then : - printf "%s\n" "#define HAVE_IF_INDEXTONAME 1" >>confdefs.h + printf '%s\n' "#define HAVE_IF_INDEXTONAME 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark" if test "x$ac_cv_func_sockatmark" = xyes then : - printf "%s\n" "#define HAVE_SOCKATMARK 1" >>confdefs.h + printf '%s\n' "#define HAVE_SOCKATMARK 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default" if test "x$ac_cv_header_sys_sockio_h" = xyes then : - printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default" if test "x$ac_cv_header_linux_filter_h" = xyes then : - printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h fi -printf "%s\n" "#define HAVE_SOCKETS 1" >>confdefs.h +printf '%s\n' "#define HAVE_SOCKETS 1" >>confdefs.h ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "ss_family" "ac_cv_member_struct_sockaddr_storage_ss_family" "#include @@ -69075,7 +68758,7 @@ if test "x$ac_cv_member_struct_sockaddr_storage_ss_family" = xyes then : -printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1" >>confdefs.h +printf '%s\n' "#define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1" >>confdefs.h fi @@ -69091,7 +68774,7 @@ if test "x$ac_cv_type_struct_ucred" = xyes then : -printf "%s\n" "#define HAVE_STRUCT_UCRED 1" >>confdefs.h +printf '%s\n' "#define HAVE_STRUCT_UCRED 1" >>confdefs.h fi @@ -69102,7 +68785,7 @@ if test "x$ac_cv_type_struct_cmsgcred" = xyes then : -printf "%s\n" "#define HAVE_STRUCT_CMSGCRED 1" >>confdefs.h +printf '%s\n' "#define HAVE_STRUCT_CMSGCRED 1" >>confdefs.h fi @@ -69251,7 +68934,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_SOCKETS 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_SOCKETS 1" >>confdefs.h fi fi @@ -69394,7 +69077,7 @@ php_with_sodium=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sodium support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for sodium support" >&5 printf %s "checking for sodium support... " >&6; } # Check whether --with-sodium was given. @@ -69432,8 +69115,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -69441,17 +69124,17 @@ if test "$PHP_SODIUM" != "no"; then pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libsodium >= 1.0.8" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libsodium >= 1.0.8" >&5 printf %s "checking for libsodium >= 1.0.8... " >&6; } if test -n "$LIBSODIUM_CFLAGS"; then pkg_cv_LIBSODIUM_CFLAGS="$LIBSODIUM_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 \"libsodium >= 1.0.8\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsodium >= 1.0.8\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsodium >= 1.0.8") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBSODIUM_CFLAGS=`$PKG_CONFIG --cflags "libsodium >= 1.0.8" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -69465,10 +69148,10 @@ pkg_cv_LIBSODIUM_LIBS="$LIBSODIUM_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 \"libsodium >= 1.0.8\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsodium >= 1.0.8\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsodium >= 1.0.8") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBSODIUM_LIBS=`$PKG_CONFIG --libs "libsodium >= 1.0.8" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -69482,8 +69165,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -69509,10 +69192,10 @@ and LIBSODIUM_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 - { 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;} + { 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. @@ -69526,8 +69209,8 @@ else LIBSODIUM_CFLAGS=$pkg_cv_LIBSODIUM_CFLAGS LIBSODIUM_LIBS=$pkg_cv_LIBSODIUM_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } fi @@ -69688,7 +69371,7 @@ -printf "%s\n" "#define HAVE_LIBSODIUMLIB 1" >>confdefs.h +printf '%s\n' "#define HAVE_LIBSODIUMLIB 1" >>confdefs.h SODIUM_COMPILER_FLAGS=$LIBSODIUM_CFLAGS @@ -69697,7 +69380,7 @@ # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 printf %s "checking size of long... " >&6; } if test ${ac_cv_sizeof_long+y} then : @@ -69707,32 +69390,25 @@ then : else case e in #( - e) if test "$ac_cv_type_long" = yes; then - { { 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 compute sizeof (long) -See 'config.log' for more details" "$LINENO" 5; } - else - ac_cv_sizeof_long=0 - fi ;; + e) ac_cv_sizeof_long=0 ;; esac fi ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 -printf "%s\n" "$ac_cv_sizeof_long" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 +printf '%s\n' "$ac_cv_sizeof_long" >&6; } -printf "%s\n" "#define SIZEOF_LONG $ac_cv_sizeof_long" >>confdefs.h +printf '%s\n' "#define SIZEOF_LONG $ac_cv_sizeof_long" >>confdefs.h if test "$ac_cv_sizeof_long" -eq 4 then : SODIUM_COMPILER_FLAGS="$SODIUM_COMPILER_FLAGS -Wno-type-limits" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -Wno-logical-op" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -Wno-logical-op" >&5 printf %s "checking whether the C compiler accepts -Wno-logical-op... " >&6; } if test ${ax_cv_check_cflags__Werror__Wno_logical_op+y} then : @@ -69763,8 +69439,8 @@ CFLAGS=$ax_check_save_flags ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags__Werror__Wno_logical_op" >&5 -printf "%s\n" "$ax_cv_check_cflags__Werror__Wno_logical_op" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags__Werror__Wno_logical_op" >&5 +printf '%s\n' "$ax_cv_check_cflags__Werror__Wno_logical_op" >&6; } if test "x$ax_cv_check_cflags__Werror__Wno_logical_op" = xyes then : SODIUM_COMPILER_FLAGS="$SODIUM_COMPILER_FLAGS -Wno-logical-op" @@ -69911,7 +69587,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_SODIUM 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_SODIUM 1" >>confdefs.h fi fi @@ -70189,7 +69865,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_SPL 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_SPL 1" >>confdefs.h fi fi @@ -70385,7 +70061,7 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flush should be called explicitly after a buffered io" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether flush should be called explicitly after a buffered io" >&5 printf %s "checking whether flush should be called explicitly after a buffered io... " >&6; } if test ${php_cv_have_flush_io+y} then : @@ -70471,19 +70147,19 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_flush_io" >&5 -printf "%s\n" "$php_cv_have_flush_io" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_flush_io" >&5 +printf '%s\n' "$php_cv_have_flush_io" >&6; } if test "x$php_cv_have_flush_io" = xyes then : -printf "%s\n" "#define HAVE_FLUSHIO 1" >>confdefs.h +printf '%s\n' "#define HAVE_FLUSHIO 1" >>confdefs.h fi php_with_external_libcrypt=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for external libcrypt or libxcrypt" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for external libcrypt or libxcrypt" >&5 printf %s "checking for external libcrypt or libxcrypt... " >&6; } # Check whether --with-external-libcrypt was given. @@ -70500,8 +70176,8 @@ ext_output=$PHP_EXTERNAL_LIBCRYPT -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -70512,13 +70188,13 @@ if test "x$PHP_EXTERNAL_LIBCRYPT" = xno then : - printf "%s\n" "#define PHP_USE_PHP_CRYPT_R 1" >>confdefs.h + printf '%s\n' "#define PHP_USE_PHP_CRYPT_R 1" >>confdefs.h php_ext_standard_sources=" crypt_blowfish.c crypt_freesec.c crypt_sha256.c crypt_sha512.c php_crypt_r.c " else case e in #( e) -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5 printf %s "checking for library containing crypt... " >&6; } if test ${ac_cv_search_crypt+y} then : @@ -70576,25 +70252,25 @@ LIBS=$ac_func_search_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5 -printf "%s\n" "$ac_cv_search_crypt" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5 +printf '%s\n' "$ac_cv_search_crypt" >&6; } ac_res=$ac_cv_search_crypt if test "$ac_res" != no then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" -printf "%s\n" "#define HAVE_CRYPT 1" >>confdefs.h +printf '%s\n' "#define HAVE_CRYPT 1" >>confdefs.h else case e in #( - e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} + e) { { 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 use external libcrypt as crypt() is missing. See 'config.log' for more details" "$LINENO" 5; } ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing crypt_r" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for library containing crypt_r" >&5 printf %s "checking for library containing crypt_r... " >&6; } if test ${ac_cv_search_crypt_r+y} then : @@ -70652,25 +70328,25 @@ LIBS=$ac_func_search_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt_r" >&5 -printf "%s\n" "$ac_cv_search_crypt_r" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt_r" >&5 +printf '%s\n' "$ac_cv_search_crypt_r" >&6; } ac_res=$ac_cv_search_crypt_r if test "$ac_res" != no then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" -printf "%s\n" "#define HAVE_CRYPT_R 1" >>confdefs.h +printf '%s\n' "#define HAVE_CRYPT_R 1" >>confdefs.h else case e in #( - e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} + e) { { 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 use external libcrypt as crypt_r() is missing. See 'config.log' for more details" "$LINENO" 5; } ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which data struct is used by crypt_r" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking which data struct is used by crypt_r" >&5 printf %s "checking which data struct is used by crypt_r... " >&6; } if test ${php_cv_crypt_r_style+y} then : @@ -70783,20 +70459,20 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_crypt_r_style" >&5 -printf "%s\n" "$php_cv_crypt_r_style" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_crypt_r_style" >&5 +printf '%s\n' "$php_cv_crypt_r_style" >&6; } if test "x$php_cv_crypt_r_style" = xcryptd then : -printf "%s\n" "#define CRYPT_R_CRYPTD 1" >>confdefs.h +printf '%s\n' "#define CRYPT_R_CRYPTD 1" >>confdefs.h fi case $php_cv_crypt_r_style in #( struct_crypt_data|struct_crypt_data_gnu_source) : -printf "%s\n" "#define CRYPT_R_STRUCT_CRYPT_DATA 1" >>confdefs.h +printf '%s\n' "#define CRYPT_R_STRUCT_CRYPT_DATA 1" >>confdefs.h ;; #( *) : ;; @@ -70805,14 +70481,14 @@ if test "x$php_cv_crypt_r_style" = xstruct_crypt_data_gnu_source then : -printf "%s\n" "#define CRYPT_R_GNU_SOURCE 1" >>confdefs.h +printf '%s\n' "#define CRYPT_R_GNU_SOURCE 1" >>confdefs.h fi if test "x$php_cv_crypt_r_style" = xnone then : - { { 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: in '$ac_pwd':" >&5 +printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "Unable to detect data struct used by crypt_r. See 'config.log' for more details" "$LINENO" 5; } fi @@ -70820,12 +70496,12 @@ ac_fn_c_check_header_compile "$LINENO" "crypt.h" "ac_cv_header_crypt_h" "$ac_includes_default" if test "x$ac_cv_header_crypt_h" = xyes then : - printf "%s\n" "#define HAVE_CRYPT_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_CRYPT_H 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for standard DES crypt" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for standard DES crypt" >&5 printf %s "checking for standard DES crypt... " >&6; } if test ${ac_cv_crypt_des+y} then : @@ -70868,10 +70544,10 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crypt_des" >&5 -printf "%s\n" "$ac_cv_crypt_des" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crypt_des" >&5 +printf '%s\n' "$ac_cv_crypt_des" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for extended DES crypt" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for extended DES crypt" >&5 printf %s "checking for extended DES crypt... " >&6; } if test ${ac_cv_crypt_ext_des+y} then : @@ -70914,10 +70590,10 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crypt_ext_des" >&5 -printf "%s\n" "$ac_cv_crypt_ext_des" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crypt_ext_des" >&5 +printf '%s\n' "$ac_cv_crypt_ext_des" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MD5 crypt" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for MD5 crypt" >&5 printf %s "checking for MD5 crypt... " >&6; } if test ${ac_cv_crypt_md5+y} then : @@ -70970,10 +70646,10 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crypt_md5" >&5 -printf "%s\n" "$ac_cv_crypt_md5" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crypt_md5" >&5 +printf '%s\n' "$ac_cv_crypt_md5" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Blowfish crypt" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for Blowfish crypt" >&5 printf %s "checking for Blowfish crypt... " >&6; } if test ${ac_cv_crypt_blowfish+y} then : @@ -71024,10 +70700,10 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crypt_blowfish" >&5 -printf "%s\n" "$ac_cv_crypt_blowfish" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crypt_blowfish" >&5 +printf '%s\n' "$ac_cv_crypt_blowfish" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SHA512 crypt" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for SHA512 crypt" >&5 printf %s "checking for SHA512 crypt... " >&6; } if test ${ac_cv_crypt_sha512+y} then : @@ -71076,10 +70752,10 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crypt_sha512" >&5 -printf "%s\n" "$ac_cv_crypt_sha512" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crypt_sha512" >&5 +printf '%s\n' "$ac_cv_crypt_sha512" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SHA256 crypt" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for SHA256 crypt" >&5 printf %s "checking for SHA256 crypt... " >&6; } if test ${ac_cv_crypt_sha256+y} then : @@ -71128,17 +70804,17 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crypt_sha256" >&5 -printf "%s\n" "$ac_cv_crypt_sha256" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crypt_sha256" >&5 +printf '%s\n' "$ac_cv_crypt_sha256" >&6; } if test "$ac_cv_crypt_blowfish" = "no" || test "$ac_cv_crypt_des" = "no" || test "$ac_cv_crypt_ext_des" = "no" || test "$ac_cv_crypt_md5" = "no" || test "$ac_cv_crypt_sha512" = "no" || test "$ac_cv_crypt_sha256" = "no"; then - { { 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: in '$ac_pwd':" >&5 +printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "Cannot use external libcrypt as some algo are missing. See 'config.log' for more details" "$LINENO" 5; } fi - printf "%s\n" "#define PHP_USE_PHP_CRYPT_R 0" >>confdefs.h + printf '%s\n' "#define PHP_USE_PHP_CRYPT_R 0" >>confdefs.h ;; esac @@ -71148,19 +70824,19 @@ then : case $host_alias in #( *linux*) : - printf "%s\n" "#define HAVE_FNMATCH 1" >>confdefs.h + printf '%s\n' "#define HAVE_FNMATCH 1" >>confdefs.h ;; #( *) : ;; esac else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working POSIX fnmatch" >&5 + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for working POSIX fnmatch" >&5 printf %s "checking for working POSIX fnmatch... " >&6; } if test ${ac_cv_func_fnmatch_works+y} then : printf %s "(cached) " >&6 else case e in #( - e) # Some versions of Solaris, SCO, and the GNU C Library + e) # Some versions of Solaris and the GNU C Library # have a broken or incompatible fnmatch. # So we run a test program. If we are cross-compiling, take no chance. # Thanks to John Oleynick, François Pinard, and Paul Eggert for this test. @@ -71203,12 +70879,12 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fnmatch_works" >&5 -printf "%s\n" "$ac_cv_func_fnmatch_works" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fnmatch_works" >&5 +printf '%s\n' "$ac_cv_func_fnmatch_works" >&6; } if test $ac_cv_func_fnmatch_works = yes then : -printf "%s\n" "#define HAVE_FNMATCH 1" >>confdefs.h +printf '%s\n' "#define HAVE_FNMATCH 1" >>confdefs.h fi @@ -71219,12 +70895,12 @@ for ac_func in fork CreateProcess do : - as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | sed "$as_sed_sh"` + as_ac_var=`printf '%s\n' "ac_cv_func_$ac_func" | sed "$as_sed_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 `printf "%s\n" "HAVE_$ac_func" | sed "$as_sed_cpp"` 1 +#define `printf '%s\n' "HAVE_$ac_func" | sed "$as_sed_cpp"` 1 _ACEOF php_can_support_proc_open=yes; break; else case e in #( @@ -71233,16 +70909,16 @@ fi done -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if your OS can spawn processes with inherited handles" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if your OS can spawn processes with inherited handles" >&5 printf %s "checking if your OS can spawn processes with inherited handles... " >&6; } if test "x$php_can_support_proc_open" = xyes then : -printf "%s\n" "#define PHP_CAN_SUPPORT_PROC_OPEN 1" >>confdefs.h +printf '%s\n' "#define PHP_CAN_SUPPORT_PROC_OPEN 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_can_support_proc_open" >&5 -printf "%s\n" "$php_can_support_proc_open" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_can_support_proc_open" >&5 +printf '%s\n' "$php_can_support_proc_open" >&6; } PHP_ENABLE_CHROOT_FUNC=no case "$PHP_SAPI" in @@ -71269,7 +70945,7 @@ if test "x$PHP_ENABLE_CHROOT_FUNC" = xyes then : -printf "%s\n" "#define ENABLE_CHROOT_FUNC 1" >>confdefs.h +printf '%s\n' "#define ENABLE_CHROOT_FUNC 1" >>confdefs.h fi @@ -71299,7 +70975,7 @@ case $found in yes) -printf "%s\n" "#define HAVE_RES_NSEARCH 1" >>confdefs.h +printf '%s\n' "#define HAVE_RES_NSEARCH 1" >>confdefs.h ac_cv_func_res_nsearch=yes ;; @@ -71309,7 +70985,7 @@ unset ac_cv_lib_resolv_res_nsearch unset ac_cv_lib_resolv___res_nsearch unset found - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_nsearch in -lresolv" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for res_nsearch in -lresolv" >&5 printf %s "checking for res_nsearch in -lresolv... " >&6; } if test ${ac_cv_lib_resolv_res_nsearch+y} then : @@ -71350,14 +71026,14 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_nsearch" >&5 -printf "%s\n" "$ac_cv_lib_resolv_res_nsearch" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_nsearch" >&5 +printf '%s\n' "$ac_cv_lib_resolv_res_nsearch" >&6; } if test "x$ac_cv_lib_resolv_res_nsearch" = xyes then : found=yes else case e in #( e) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __res_nsearch in -lresolv" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for __res_nsearch in -lresolv" >&5 printf %s "checking for __res_nsearch in -lresolv... " >&6; } if test ${ac_cv_lib_resolv___res_nsearch+y} then : @@ -71398,8 +71074,8 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___res_nsearch" >&5 -printf "%s\n" "$ac_cv_lib_resolv___res_nsearch" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___res_nsearch" >&5 +printf '%s\n' "$ac_cv_lib_resolv___res_nsearch" >&6; } if test "x$ac_cv_lib_resolv___res_nsearch" = xyes then : found=yes @@ -71460,10 +71136,10 @@ -printf "%s\n" "#define HAVE_RES_NSEARCH 1" >>confdefs.h +printf '%s\n' "#define HAVE_RES_NSEARCH 1" >>confdefs.h -printf "%s\n" "#define HAVE_LIBRESOLV 1" >>confdefs.h +printf '%s\n' "#define HAVE_LIBRESOLV 1" >>confdefs.h ac_cv_func_res_nsearch=yes else @@ -71472,7 +71148,7 @@ unset ac_cv_lib_socket_res_nsearch unset ac_cv_lib_socket___res_nsearch unset found - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_nsearch in -lsocket" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for res_nsearch in -lsocket" >&5 printf %s "checking for res_nsearch in -lsocket... " >&6; } if test ${ac_cv_lib_socket_res_nsearch+y} then : @@ -71513,14 +71189,14 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_res_nsearch" >&5 -printf "%s\n" "$ac_cv_lib_socket_res_nsearch" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_res_nsearch" >&5 +printf '%s\n' "$ac_cv_lib_socket_res_nsearch" >&6; } if test "x$ac_cv_lib_socket_res_nsearch" = xyes then : found=yes else case e in #( e) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __res_nsearch in -lsocket" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for __res_nsearch in -lsocket" >&5 printf %s "checking for __res_nsearch in -lsocket... " >&6; } if test ${ac_cv_lib_socket___res_nsearch+y} then : @@ -71561,8 +71237,8 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket___res_nsearch" >&5 -printf "%s\n" "$ac_cv_lib_socket___res_nsearch" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket___res_nsearch" >&5 +printf '%s\n' "$ac_cv_lib_socket___res_nsearch" >&6; } if test "x$ac_cv_lib_socket___res_nsearch" = xyes then : found=yes @@ -71623,10 +71299,10 @@ -printf "%s\n" "#define HAVE_RES_NSEARCH 1" >>confdefs.h +printf '%s\n' "#define HAVE_RES_NSEARCH 1" >>confdefs.h -printf "%s\n" "#define HAVE_LIBSOCKET 1" >>confdefs.h +printf '%s\n' "#define HAVE_LIBSOCKET 1" >>confdefs.h ac_cv_func_res_nsearch=yes else @@ -71668,7 +71344,7 @@ case $found in yes) -printf "%s\n" "#define HAVE_RES_NDESTROY 1" >>confdefs.h +printf '%s\n' "#define HAVE_RES_NDESTROY 1" >>confdefs.h ac_cv_func_res_ndestroy=yes ;; @@ -71678,7 +71354,7 @@ unset ac_cv_lib_resolv_res_ndestroy unset ac_cv_lib_resolv___res_ndestroy unset found - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_ndestroy in -lresolv" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for res_ndestroy in -lresolv" >&5 printf %s "checking for res_ndestroy in -lresolv... " >&6; } if test ${ac_cv_lib_resolv_res_ndestroy+y} then : @@ -71719,14 +71395,14 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_ndestroy" >&5 -printf "%s\n" "$ac_cv_lib_resolv_res_ndestroy" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_ndestroy" >&5 +printf '%s\n' "$ac_cv_lib_resolv_res_ndestroy" >&6; } if test "x$ac_cv_lib_resolv_res_ndestroy" = xyes then : found=yes else case e in #( e) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __res_ndestroy in -lresolv" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for __res_ndestroy in -lresolv" >&5 printf %s "checking for __res_ndestroy in -lresolv... " >&6; } if test ${ac_cv_lib_resolv___res_ndestroy+y} then : @@ -71767,8 +71443,8 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___res_ndestroy" >&5 -printf "%s\n" "$ac_cv_lib_resolv___res_ndestroy" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___res_ndestroy" >&5 +printf '%s\n' "$ac_cv_lib_resolv___res_ndestroy" >&6; } if test "x$ac_cv_lib_resolv___res_ndestroy" = xyes then : found=yes @@ -71829,10 +71505,10 @@ -printf "%s\n" "#define HAVE_RES_NDESTROY 1" >>confdefs.h +printf '%s\n' "#define HAVE_RES_NDESTROY 1" >>confdefs.h -printf "%s\n" "#define HAVE_LIBRESOLV 1" >>confdefs.h +printf '%s\n' "#define HAVE_LIBRESOLV 1" >>confdefs.h ac_cv_func_res_ndestroy=yes else @@ -71841,7 +71517,7 @@ unset ac_cv_lib_socket_res_ndestroy unset ac_cv_lib_socket___res_ndestroy unset found - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_ndestroy in -lsocket" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for res_ndestroy in -lsocket" >&5 printf %s "checking for res_ndestroy in -lsocket... " >&6; } if test ${ac_cv_lib_socket_res_ndestroy+y} then : @@ -71882,14 +71558,14 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_res_ndestroy" >&5 -printf "%s\n" "$ac_cv_lib_socket_res_ndestroy" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_res_ndestroy" >&5 +printf '%s\n' "$ac_cv_lib_socket_res_ndestroy" >&6; } if test "x$ac_cv_lib_socket_res_ndestroy" = xyes then : found=yes else case e in #( e) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __res_ndestroy in -lsocket" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for __res_ndestroy in -lsocket" >&5 printf %s "checking for __res_ndestroy in -lsocket... " >&6; } if test ${ac_cv_lib_socket___res_ndestroy+y} then : @@ -71930,8 +71606,8 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket___res_ndestroy" >&5 -printf "%s\n" "$ac_cv_lib_socket___res_ndestroy" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket___res_ndestroy" >&5 +printf '%s\n' "$ac_cv_lib_socket___res_ndestroy" >&6; } if test "x$ac_cv_lib_socket___res_ndestroy" = xyes then : found=yes @@ -71992,10 +71668,10 @@ -printf "%s\n" "#define HAVE_RES_NDESTROY 1" >>confdefs.h +printf '%s\n' "#define HAVE_RES_NDESTROY 1" >>confdefs.h -printf "%s\n" "#define HAVE_LIBSOCKET 1" >>confdefs.h +printf '%s\n' "#define HAVE_LIBSOCKET 1" >>confdefs.h ac_cv_func_res_ndestroy=yes else @@ -72037,7 +71713,7 @@ case $found in yes) -printf "%s\n" "#define HAVE_DNS_SEARCH 1" >>confdefs.h +printf '%s\n' "#define HAVE_DNS_SEARCH 1" >>confdefs.h ac_cv_func_dns_search=yes ;; @@ -72047,7 +71723,7 @@ unset ac_cv_lib_resolv_dns_search unset ac_cv_lib_resolv___dns_search unset found - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dns_search in -lresolv" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dns_search in -lresolv" >&5 printf %s "checking for dns_search in -lresolv... " >&6; } if test ${ac_cv_lib_resolv_dns_search+y} then : @@ -72088,14 +71764,14 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_dns_search" >&5 -printf "%s\n" "$ac_cv_lib_resolv_dns_search" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_dns_search" >&5 +printf '%s\n' "$ac_cv_lib_resolv_dns_search" >&6; } if test "x$ac_cv_lib_resolv_dns_search" = xyes then : found=yes else case e in #( e) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __dns_search in -lresolv" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for __dns_search in -lresolv" >&5 printf %s "checking for __dns_search in -lresolv... " >&6; } if test ${ac_cv_lib_resolv___dns_search+y} then : @@ -72136,8 +71812,8 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___dns_search" >&5 -printf "%s\n" "$ac_cv_lib_resolv___dns_search" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___dns_search" >&5 +printf '%s\n' "$ac_cv_lib_resolv___dns_search" >&6; } if test "x$ac_cv_lib_resolv___dns_search" = xyes then : found=yes @@ -72198,10 +71874,10 @@ -printf "%s\n" "#define HAVE_DNS_SEARCH 1" >>confdefs.h +printf '%s\n' "#define HAVE_DNS_SEARCH 1" >>confdefs.h -printf "%s\n" "#define HAVE_LIBRESOLV 1" >>confdefs.h +printf '%s\n' "#define HAVE_LIBRESOLV 1" >>confdefs.h ac_cv_func_dns_search=yes else @@ -72210,7 +71886,7 @@ unset ac_cv_lib_socket_dns_search unset ac_cv_lib_socket___dns_search unset found - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dns_search in -lsocket" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dns_search in -lsocket" >&5 printf %s "checking for dns_search in -lsocket... " >&6; } if test ${ac_cv_lib_socket_dns_search+y} then : @@ -72251,14 +71927,14 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_dns_search" >&5 -printf "%s\n" "$ac_cv_lib_socket_dns_search" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_dns_search" >&5 +printf '%s\n' "$ac_cv_lib_socket_dns_search" >&6; } if test "x$ac_cv_lib_socket_dns_search" = xyes then : found=yes else case e in #( e) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __dns_search in -lsocket" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for __dns_search in -lsocket" >&5 printf %s "checking for __dns_search in -lsocket... " >&6; } if test ${ac_cv_lib_socket___dns_search+y} then : @@ -72299,8 +71975,8 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket___dns_search" >&5 -printf "%s\n" "$ac_cv_lib_socket___dns_search" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket___dns_search" >&5 +printf '%s\n' "$ac_cv_lib_socket___dns_search" >&6; } if test "x$ac_cv_lib_socket___dns_search" = xyes then : found=yes @@ -72361,10 +72037,10 @@ -printf "%s\n" "#define HAVE_DNS_SEARCH 1" >>confdefs.h +printf '%s\n' "#define HAVE_DNS_SEARCH 1" >>confdefs.h -printf "%s\n" "#define HAVE_LIBSOCKET 1" >>confdefs.h +printf '%s\n' "#define HAVE_LIBSOCKET 1" >>confdefs.h ac_cv_func_dns_search=yes else @@ -72406,7 +72082,7 @@ case $found in yes) -printf "%s\n" "#define HAVE_DN_EXPAND 1" >>confdefs.h +printf '%s\n' "#define HAVE_DN_EXPAND 1" >>confdefs.h ac_cv_func_dn_expand=yes ;; @@ -72416,7 +72092,7 @@ unset ac_cv_lib_resolv_dn_expand unset ac_cv_lib_resolv___dn_expand unset found - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dn_expand in -lresolv" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dn_expand in -lresolv" >&5 printf %s "checking for dn_expand in -lresolv... " >&6; } if test ${ac_cv_lib_resolv_dn_expand+y} then : @@ -72457,14 +72133,14 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_dn_expand" >&5 -printf "%s\n" "$ac_cv_lib_resolv_dn_expand" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_dn_expand" >&5 +printf '%s\n' "$ac_cv_lib_resolv_dn_expand" >&6; } if test "x$ac_cv_lib_resolv_dn_expand" = xyes then : found=yes else case e in #( e) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __dn_expand in -lresolv" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for __dn_expand in -lresolv" >&5 printf %s "checking for __dn_expand in -lresolv... " >&6; } if test ${ac_cv_lib_resolv___dn_expand+y} then : @@ -72505,8 +72181,8 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___dn_expand" >&5 -printf "%s\n" "$ac_cv_lib_resolv___dn_expand" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___dn_expand" >&5 +printf '%s\n' "$ac_cv_lib_resolv___dn_expand" >&6; } if test "x$ac_cv_lib_resolv___dn_expand" = xyes then : found=yes @@ -72567,10 +72243,10 @@ -printf "%s\n" "#define HAVE_DN_EXPAND 1" >>confdefs.h +printf '%s\n' "#define HAVE_DN_EXPAND 1" >>confdefs.h -printf "%s\n" "#define HAVE_LIBRESOLV 1" >>confdefs.h +printf '%s\n' "#define HAVE_LIBRESOLV 1" >>confdefs.h ac_cv_func_dn_expand=yes else @@ -72579,7 +72255,7 @@ unset ac_cv_lib_socket_dn_expand unset ac_cv_lib_socket___dn_expand unset found - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dn_expand in -lsocket" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dn_expand in -lsocket" >&5 printf %s "checking for dn_expand in -lsocket... " >&6; } if test ${ac_cv_lib_socket_dn_expand+y} then : @@ -72620,14 +72296,14 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_dn_expand" >&5 -printf "%s\n" "$ac_cv_lib_socket_dn_expand" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_dn_expand" >&5 +printf '%s\n' "$ac_cv_lib_socket_dn_expand" >&6; } if test "x$ac_cv_lib_socket_dn_expand" = xyes then : found=yes else case e in #( e) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __dn_expand in -lsocket" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for __dn_expand in -lsocket" >&5 printf %s "checking for __dn_expand in -lsocket... " >&6; } if test ${ac_cv_lib_socket___dn_expand+y} then : @@ -72668,8 +72344,8 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket___dn_expand" >&5 -printf "%s\n" "$ac_cv_lib_socket___dn_expand" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket___dn_expand" >&5 +printf '%s\n' "$ac_cv_lib_socket___dn_expand" >&6; } if test "x$ac_cv_lib_socket___dn_expand" = xyes then : found=yes @@ -72730,10 +72406,10 @@ -printf "%s\n" "#define HAVE_DN_EXPAND 1" >>confdefs.h +printf '%s\n' "#define HAVE_DN_EXPAND 1" >>confdefs.h -printf "%s\n" "#define HAVE_LIBSOCKET 1" >>confdefs.h +printf '%s\n' "#define HAVE_LIBSOCKET 1" >>confdefs.h ac_cv_func_dn_expand=yes else @@ -72775,7 +72451,7 @@ case $found in yes) -printf "%s\n" "#define HAVE_DN_SKIPNAME 1" >>confdefs.h +printf '%s\n' "#define HAVE_DN_SKIPNAME 1" >>confdefs.h ac_cv_func_dn_skipname=yes ;; @@ -72785,7 +72461,7 @@ unset ac_cv_lib_resolv_dn_skipname unset ac_cv_lib_resolv___dn_skipname unset found - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dn_skipname in -lresolv" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dn_skipname in -lresolv" >&5 printf %s "checking for dn_skipname in -lresolv... " >&6; } if test ${ac_cv_lib_resolv_dn_skipname+y} then : @@ -72826,14 +72502,14 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_dn_skipname" >&5 -printf "%s\n" "$ac_cv_lib_resolv_dn_skipname" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_dn_skipname" >&5 +printf '%s\n' "$ac_cv_lib_resolv_dn_skipname" >&6; } if test "x$ac_cv_lib_resolv_dn_skipname" = xyes then : found=yes else case e in #( e) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __dn_skipname in -lresolv" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for __dn_skipname in -lresolv" >&5 printf %s "checking for __dn_skipname in -lresolv... " >&6; } if test ${ac_cv_lib_resolv___dn_skipname+y} then : @@ -72874,8 +72550,8 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___dn_skipname" >&5 -printf "%s\n" "$ac_cv_lib_resolv___dn_skipname" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___dn_skipname" >&5 +printf '%s\n' "$ac_cv_lib_resolv___dn_skipname" >&6; } if test "x$ac_cv_lib_resolv___dn_skipname" = xyes then : found=yes @@ -72936,10 +72612,10 @@ -printf "%s\n" "#define HAVE_DN_SKIPNAME 1" >>confdefs.h +printf '%s\n' "#define HAVE_DN_SKIPNAME 1" >>confdefs.h -printf "%s\n" "#define HAVE_LIBRESOLV 1" >>confdefs.h +printf '%s\n' "#define HAVE_LIBRESOLV 1" >>confdefs.h ac_cv_func_dn_skipname=yes else @@ -72948,7 +72624,7 @@ unset ac_cv_lib_socket_dn_skipname unset ac_cv_lib_socket___dn_skipname unset found - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dn_skipname in -lsocket" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dn_skipname in -lsocket" >&5 printf %s "checking for dn_skipname in -lsocket... " >&6; } if test ${ac_cv_lib_socket_dn_skipname+y} then : @@ -72989,14 +72665,14 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_dn_skipname" >&5 -printf "%s\n" "$ac_cv_lib_socket_dn_skipname" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_dn_skipname" >&5 +printf '%s\n' "$ac_cv_lib_socket_dn_skipname" >&6; } if test "x$ac_cv_lib_socket_dn_skipname" = xyes then : found=yes else case e in #( e) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __dn_skipname in -lsocket" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for __dn_skipname in -lsocket" >&5 printf %s "checking for __dn_skipname in -lsocket... " >&6; } if test ${ac_cv_lib_socket___dn_skipname+y} then : @@ -73037,8 +72713,8 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket___dn_skipname" >&5 -printf "%s\n" "$ac_cv_lib_socket___dn_skipname" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket___dn_skipname" >&5 +printf '%s\n' "$ac_cv_lib_socket___dn_skipname" >&6; } if test "x$ac_cv_lib_socket___dn_skipname" = xyes then : found=yes @@ -73099,10 +72775,10 @@ -printf "%s\n" "#define HAVE_DN_SKIPNAME 1" >>confdefs.h +printf '%s\n' "#define HAVE_DN_SKIPNAME 1" >>confdefs.h -printf "%s\n" "#define HAVE_LIBSOCKET 1" >>confdefs.h +printf '%s\n' "#define HAVE_LIBSOCKET 1" >>confdefs.h ac_cv_func_dn_skipname=yes else @@ -73146,7 +72822,7 @@ case $found in yes) -printf "%s\n" "#define HAVE_RES_SEARCH 1" >>confdefs.h +printf '%s\n' "#define HAVE_RES_SEARCH 1" >>confdefs.h ac_cv_func_res_search=yes ;; @@ -73156,7 +72832,7 @@ unset ac_cv_lib_resolv_res_search unset ac_cv_lib_resolv___res_search unset found - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_search in -lresolv" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for res_search in -lresolv" >&5 printf %s "checking for res_search in -lresolv... " >&6; } if test ${ac_cv_lib_resolv_res_search+y} then : @@ -73197,14 +72873,14 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_search" >&5 -printf "%s\n" "$ac_cv_lib_resolv_res_search" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_search" >&5 +printf '%s\n' "$ac_cv_lib_resolv_res_search" >&6; } if test "x$ac_cv_lib_resolv_res_search" = xyes then : found=yes else case e in #( e) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __res_search in -lresolv" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for __res_search in -lresolv" >&5 printf %s "checking for __res_search in -lresolv... " >&6; } if test ${ac_cv_lib_resolv___res_search+y} then : @@ -73245,8 +72921,8 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___res_search" >&5 -printf "%s\n" "$ac_cv_lib_resolv___res_search" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___res_search" >&5 +printf '%s\n' "$ac_cv_lib_resolv___res_search" >&6; } if test "x$ac_cv_lib_resolv___res_search" = xyes then : found=yes @@ -73307,10 +72983,10 @@ -printf "%s\n" "#define HAVE_RES_SEARCH 1" >>confdefs.h +printf '%s\n' "#define HAVE_RES_SEARCH 1" >>confdefs.h -printf "%s\n" "#define HAVE_LIBRESOLV 1" >>confdefs.h +printf '%s\n' "#define HAVE_LIBRESOLV 1" >>confdefs.h ac_cv_func_res_search=yes else @@ -73319,7 +72995,7 @@ unset ac_cv_lib_socket_res_search unset ac_cv_lib_socket___res_search unset found - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_search in -lsocket" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for res_search in -lsocket" >&5 printf %s "checking for res_search in -lsocket... " >&6; } if test ${ac_cv_lib_socket_res_search+y} then : @@ -73360,14 +73036,14 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_res_search" >&5 -printf "%s\n" "$ac_cv_lib_socket_res_search" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_res_search" >&5 +printf '%s\n' "$ac_cv_lib_socket_res_search" >&6; } if test "x$ac_cv_lib_socket_res_search" = xyes then : found=yes else case e in #( e) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __res_search in -lsocket" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for __res_search in -lsocket" >&5 printf %s "checking for __res_search in -lsocket... " >&6; } if test ${ac_cv_lib_socket___res_search+y} then : @@ -73408,8 +73084,8 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket___res_search" >&5 -printf "%s\n" "$ac_cv_lib_socket___res_search" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket___res_search" >&5 +printf '%s\n' "$ac_cv_lib_socket___res_search" >&6; } if test "x$ac_cv_lib_socket___res_search" = xyes then : found=yes @@ -73470,10 +73146,10 @@ -printf "%s\n" "#define HAVE_RES_SEARCH 1" >>confdefs.h +printf '%s\n' "#define HAVE_RES_SEARCH 1" >>confdefs.h -printf "%s\n" "#define HAVE_LIBSOCKET 1" >>confdefs.h +printf '%s\n' "#define HAVE_LIBSOCKET 1" >>confdefs.h ac_cv_func_res_search=yes else @@ -73493,30 +73169,30 @@ ac_fn_c_check_func "$LINENO" "posix_spawn_file_actions_addchdir_np" "ac_cv_func_posix_spawn_file_actions_addchdir_np" if test "x$ac_cv_func_posix_spawn_file_actions_addchdir_np" = xyes then : - printf "%s\n" "#define HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDCHDIR_NP 1" >>confdefs.h + printf '%s\n' "#define HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDCHDIR_NP 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "elf_aux_info" "ac_cv_func_elf_aux_info" if test "x$ac_cv_func_elf_aux_info" = xyes then : - printf "%s\n" "#define HAVE_ELF_AUX_INFO 1" >>confdefs.h + printf '%s\n' "#define HAVE_ELF_AUX_INFO 1" >>confdefs.h fi ac_fn_check_decl "$LINENO" "strptime" "ac_cv_have_decl_strptime" "#include -" "$ac_c_undeclared_builtin_options" "CFLAGS" +" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS" if test "x$ac_cv_have_decl_strptime" = xyes then : -printf "%s\n" "#define HAVE_DECL_STRPTIME 1" >>confdefs.h +printf '%s\n' "#define HAVE_DECL_STRPTIME 1" >>confdefs.h fi php_with_password_argon2=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Argon2 support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for Argon2 support" >&5 printf %s "checking for Argon2 support... " >&6; } # Check whether --with-password-argon2 was given. @@ -73554,8 +73230,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -73567,17 +73243,17 @@ e) pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libargon2" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libargon2" >&5 printf %s "checking for libargon2... " >&6; } if test -n "$ARGON2_CFLAGS"; then pkg_cv_ARGON2_CFLAGS="$ARGON2_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 \"libargon2\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libargon2\""; } >&5 ($PKG_CONFIG --exists --print-errors "libargon2") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ARGON2_CFLAGS=`$PKG_CONFIG --cflags "libargon2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -73591,10 +73267,10 @@ pkg_cv_ARGON2_LIBS="$ARGON2_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 \"libargon2\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libargon2\""; } >&5 ($PKG_CONFIG --exists --print-errors "libargon2") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ARGON2_LIBS=`$PKG_CONFIG --libs "libargon2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -73608,8 +73284,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -73635,10 +73311,10 @@ and ARGON2_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 - { 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;} + { 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. @@ -73652,8 +73328,8 @@ else ARGON2_CFLAGS=$pkg_cv_ARGON2_CFLAGS ARGON2_LIBS=$pkg_cv_ARGON2_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } fi @@ -73795,7 +73471,7 @@ -printf "%s\n" "#define HAVE_ARGON2LIB 1" >>confdefs.h +printf '%s\n' "#define HAVE_ARGON2LIB 1" >>confdefs.h ;; esac @@ -73808,12 +73484,12 @@ " if test "x$ac_cv_header_net_if_h" = xyes then : - printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_NET_IF_H 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for usable getifaddrs" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for usable getifaddrs" >&5 printf %s "checking for usable getifaddrs... " >&6; } if test ${php_cv_func_getifaddrs+y} then : @@ -73849,12 +73525,12 @@ conftest$ac_exeext conftest.$ac_ext ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_func_getifaddrs" >&5 -printf "%s\n" "$php_cv_func_getifaddrs" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_func_getifaddrs" >&5 +printf '%s\n' "$php_cv_func_getifaddrs" >&6; } if test "x$php_cv_func_getifaddrs" = xyes then : -printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h +printf '%s\n' "#define HAVE_GETIFADDRS 1" >>confdefs.h fi @@ -73993,7 +73669,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_STANDARD 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_STANDARD 1" >>confdefs.h fi fi @@ -74142,7 +73818,7 @@ php_enable_sysvmsg=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable System V IPC support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable System V IPC support" >&5 printf %s "checking whether to enable System V IPC support... " >&6; } # Check whether --enable-sysvmsg was given. if test ${enable_sysvmsg+y} @@ -74179,8 +73855,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -74191,8 +73867,8 @@ then : else case e in #( - e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} + e) { { 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 enable System V IPC support. Required header file not found. See 'config.log' for more details" "$LINENO" 5; } ;; @@ -74201,7 +73877,7 @@ -printf "%s\n" "#define HAVE_SYSVMSG 1" >>confdefs.h +printf '%s\n' "#define HAVE_SYSVMSG 1" >>confdefs.h ext_builddir=ext/sysvmsg @@ -74338,7 +74014,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_SYSVMSG 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_SYSVMSG 1" >>confdefs.h fi fi @@ -74464,7 +74140,7 @@ php_enable_sysvsem=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable System V semaphore support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable System V semaphore support" >&5 printf %s "checking whether to enable System V semaphore support... " >&6; } # Check whether --enable-sysvsem was given. if test ${enable_sysvsem+y} @@ -74501,8 +74177,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -74643,7 +74319,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_SYSVSEM 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_SYSVSEM 1" >>confdefs.h fi fi @@ -74762,7 +74438,7 @@ fi -printf "%s\n" "#define HAVE_SYSVSEM 1" >>confdefs.h +printf '%s\n' "#define HAVE_SYSVSEM 1" >>confdefs.h ac_fn_c_check_type "$LINENO" "union semun" "ac_cv_type_union_semun" " #include @@ -74773,7 +74449,7 @@ if test "x$ac_cv_type_union_semun" = xyes then : -printf "%s\n" "#define HAVE_UNION_SEMUN 1" >>confdefs.h +printf '%s\n' "#define HAVE_UNION_SEMUN 1" >>confdefs.h fi @@ -74786,7 +74462,7 @@ php_enable_sysvshm=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable System V shared memory support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable System V shared memory support" >&5 printf %s "checking whether to enable System V shared memory support... " >&6; } # Check whether --enable-sysvshm was given. if test ${enable_sysvshm+y} @@ -74823,15 +74499,15 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } if test "$PHP_SYSVSHM" != "no"; then -printf "%s\n" "#define HAVE_SYSVSHM 1" >>confdefs.h +printf '%s\n' "#define HAVE_SYSVSHM 1" >>confdefs.h ext_builddir=ext/sysvshm @@ -74968,7 +74644,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_SYSVSHM 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_SYSVSHM 1" >>confdefs.h fi fi @@ -75094,7 +74770,7 @@ php_with_tidy=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIDY support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for TIDY support" >&5 printf %s "checking for TIDY support... " >&6; } # Check whether --with-tidy was given. @@ -75132,8 +74808,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -75177,7 +74853,7 @@ if test -f "$TIDY_INCDIR/tidybuffio.h" then : -printf "%s\n" "#define HAVE_TIDYBUFFIO_H 1" >>confdefs.h +printf '%s\n' "#define HAVE_TIDYBUFFIO_H 1" >>confdefs.h fi @@ -75185,11 +74861,11 @@ if test "x$TIDY_LIB_NAME" = xtidyp then : -printf "%s\n" "#define HAVE_TIDYP_H 1" >>confdefs.h +printf '%s\n' "#define HAVE_TIDYP_H 1" >>confdefs.h else case e in #( e) -printf "%s\n" "#define HAVE_TIDY_H 1" >>confdefs.h +printf '%s\n' "#define HAVE_TIDY_H 1" >>confdefs.h ;; esac fi @@ -75312,8 +74988,8 @@ esac done - as_ac_Lib=`printf "%s\n" "ac_cv_lib_$TIDY_LIB_NAME""_tidyOptGetDoc" | sed "$as_sed_sh"` -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tidyOptGetDoc in -l$TIDY_LIB_NAME" >&5 + as_ac_Lib=`printf '%s\n' "ac_cv_lib_$TIDY_LIB_NAME""_tidyOptGetDoc" | sed "$as_sed_sh"` +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for tidyOptGetDoc in -l$TIDY_LIB_NAME" >&5 printf %s "checking for tidyOptGetDoc in -l$TIDY_LIB_NAME... " >&6; } if eval test \${$as_ac_Lib+y} then : @@ -75355,15 +75031,15 @@ esac fi eval ac_res=\$$as_ac_Lib - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$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\$"$as_ac_Lib"\" = x"yes" then : LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared -printf "%s\n" "#define HAVE_TIDYOPTGETDOC 1" >>confdefs.h +printf '%s\n' "#define HAVE_TIDYOPTGETDOC 1" >>confdefs.h else case e in #( @@ -75489,7 +75165,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tidyOptGetDoc in -ltidy5" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for tidyOptGetDoc in -ltidy5" >&5 printf %s "checking for tidyOptGetDoc in -ltidy5... " >&6; } if test ${ac_cv_lib_tidy5_tidyOptGetDoc+y} then : @@ -75530,15 +75206,15 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tidy5_tidyOptGetDoc" >&5 -printf "%s\n" "$ac_cv_lib_tidy5_tidyOptGetDoc" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tidy5_tidyOptGetDoc" >&5 +printf '%s\n' "$ac_cv_lib_tidy5_tidyOptGetDoc" >&6; } if test "x$ac_cv_lib_tidy5_tidyOptGetDoc" = xyes then : LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared TIDY_LIB_NAME=tidy5 - printf "%s\n" "#define HAVE_TIDYOPTGETDOC 1" >>confdefs.h + printf '%s\n' "#define HAVE_TIDYOPTGETDOC 1" >>confdefs.h else case e in #( @@ -75674,8 +75350,8 @@ esac done - as_ac_Lib=`printf "%s\n" "ac_cv_lib_$TIDY_LIB_NAME""_tidyReleaseDate" | sed "$as_sed_sh"` -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tidyReleaseDate in -l$TIDY_LIB_NAME" >&5 + as_ac_Lib=`printf '%s\n' "ac_cv_lib_$TIDY_LIB_NAME""_tidyReleaseDate" | sed "$as_sed_sh"` +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for tidyReleaseDate in -l$TIDY_LIB_NAME" >&5 printf %s "checking for tidyReleaseDate in -l$TIDY_LIB_NAME... " >&6; } if eval test \${$as_ac_Lib+y} then : @@ -75717,15 +75393,15 @@ esac fi eval ac_res=\$$as_ac_Lib - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$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\$"$as_ac_Lib"\" = x"yes" then : LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared -printf "%s\n" "#define HAVE_TIDYRELEASEDATE 1" >>confdefs.h +printf '%s\n' "#define HAVE_TIDYRELEASEDATE 1" >>confdefs.h else case e in #( @@ -75882,7 +75558,7 @@ old_CPPFLAGS=$CPPFLAGS CPPFLAGS=-I$TIDY_INCDIR - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tidyOptGetCategory" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for tidyOptGetCategory" >&5 printf %s "checking for tidyOptGetCategory... " >&6; } if test ${php_ac_cv_have_tidyoptgetcategory+y} then : @@ -75916,12 +75592,12 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_ac_cv_have_tidyoptgetcategory" >&5 -printf "%s\n" "$php_ac_cv_have_tidyoptgetcategory" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_ac_cv_have_tidyoptgetcategory" >&5 +printf '%s\n' "$php_ac_cv_have_tidyoptgetcategory" >&6; } if test "x$php_ac_cv_have_tidyoptgetcategory" = xyes then : -printf "%s\n" "#define HAVE_TIDYOPTGETCATEGORY 1" >>confdefs.h +printf '%s\n' "#define HAVE_TIDYOPTGETCATEGORY 1" >>confdefs.h fi @@ -76062,7 +75738,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_TIDY 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_TIDY 1" >>confdefs.h fi fi @@ -76184,7 +75860,7 @@ PHP_VAR_SUBST="$PHP_VAR_SUBST TIDY_SHARED_LIBADD" -printf "%s\n" "#define HAVE_TIDY 1" >>confdefs.h +printf '%s\n' "#define HAVE_TIDY 1" >>confdefs.h fi @@ -76194,7 +75870,7 @@ php_enable_tokenizer=yes -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable tokenizer support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable tokenizer support" >&5 printf %s "checking whether to enable tokenizer support... " >&6; } # Check whether --enable-tokenizer was given. if test ${enable_tokenizer+y} @@ -76231,8 +75907,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -76373,7 +76049,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_TOKENIZER 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_TOKENIZER 1" >>confdefs.h fi fi @@ -76504,7 +76180,7 @@ php_enable_xml=yes -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable XML support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable XML support" >&5 printf %s "checking whether to enable XML support... " >&6; } # Check whether --enable-xml was given. if test ${enable_xml+y} @@ -76541,8 +76217,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -76550,7 +76226,7 @@ php_with_expat=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build with Expat support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to build with Expat support" >&5 printf %s "checking whether to build with Expat support... " >&6; } # Check whether --with-expat was given. @@ -76567,8 +76243,8 @@ ext_output=$PHP_EXPAT -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -76579,17 +76255,17 @@ pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 >= 2.9.4" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 >= 2.9.4" >&5 printf %s "checking for libxml-2.0 >= 2.9.4... " >&6; } if test -n "$LIBXML_CFLAGS"; then pkg_cv_LIBXML_CFLAGS="$LIBXML_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 \"libxml-2.0 >= 2.9.4\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.9.4\""; } >&5 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.9.4") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBXML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.9.4" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -76603,10 +76279,10 @@ pkg_cv_LIBXML_LIBS="$LIBXML_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 \"libxml-2.0 >= 2.9.4\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.9.4\""; } >&5 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.9.4") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBXML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.9.4" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -76620,8 +76296,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -76647,10 +76323,10 @@ and LIBXML_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 - { 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;} + { 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. @@ -76664,8 +76340,8 @@ else LIBXML_CFLAGS=$pkg_cv_LIBXML_CFLAGS LIBXML_LIBS=$pkg_cv_LIBXML_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } fi @@ -76829,17 +76505,17 @@ e) pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for expat" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for expat" >&5 printf %s "checking for expat... " >&6; } if test -n "$EXPAT_CFLAGS"; then pkg_cv_EXPAT_CFLAGS="$EXPAT_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 \"expat\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"expat\""; } >&5 ($PKG_CONFIG --exists --print-errors "expat") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_EXPAT_CFLAGS=`$PKG_CONFIG --cflags "expat" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -76853,10 +76529,10 @@ pkg_cv_EXPAT_LIBS="$EXPAT_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 \"expat\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"expat\""; } >&5 ($PKG_CONFIG --exists --print-errors "expat") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_EXPAT_LIBS=`$PKG_CONFIG --libs "expat" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -76870,8 +76546,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -76897,10 +76573,10 @@ and EXPAT_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 - { 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;} + { 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. @@ -76914,8 +76590,8 @@ else EXPAT_CFLAGS=$pkg_cv_EXPAT_CFLAGS EXPAT_LIBS=$pkg_cv_EXPAT_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } fi @@ -77074,7 +76750,7 @@ done -printf "%s\n" "#define HAVE_LIBEXPAT 1" >>confdefs.h +printf '%s\n' "#define HAVE_LIBEXPAT 1" >>confdefs.h ;; esac @@ -77215,7 +76891,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_XML 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_XML 1" >>confdefs.h fi fi @@ -77380,7 +77056,7 @@ -printf "%s\n" "#define HAVE_XML 1" >>confdefs.h +printf '%s\n' "#define HAVE_XML 1" >>confdefs.h fi @@ -77390,7 +77066,7 @@ php_enable_xmlreader=yes -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable XMLReader support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable XMLReader support" >&5 printf %s "checking whether to enable XMLReader support... " >&6; } # Check whether --enable-xmlreader was given. if test ${enable_xmlreader+y} @@ -77427,8 +77103,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -77437,17 +77113,17 @@ pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 >= 2.9.4" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 >= 2.9.4" >&5 printf %s "checking for libxml-2.0 >= 2.9.4... " >&6; } if test -n "$LIBXML_CFLAGS"; then pkg_cv_LIBXML_CFLAGS="$LIBXML_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 \"libxml-2.0 >= 2.9.4\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.9.4\""; } >&5 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.9.4") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBXML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.9.4" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -77461,10 +77137,10 @@ pkg_cv_LIBXML_LIBS="$LIBXML_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 \"libxml-2.0 >= 2.9.4\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.9.4\""; } >&5 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.9.4") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBXML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.9.4" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -77478,8 +77154,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -77505,10 +77181,10 @@ and LIBXML_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 - { 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;} + { 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. @@ -77522,8 +77198,8 @@ else LIBXML_CFLAGS=$pkg_cv_LIBXML_CFLAGS LIBXML_LIBS=$pkg_cv_LIBXML_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } fi @@ -77683,7 +77359,7 @@ -printf "%s\n" "#define HAVE_XMLREADER 1" >>confdefs.h +printf '%s\n' "#define HAVE_XMLREADER 1" >>confdefs.h ext_builddir=ext/xmlreader @@ -77820,7 +77496,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_XMLREADER 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_XMLREADER 1" >>confdefs.h fi fi @@ -77989,7 +77665,7 @@ php_enable_xmlwriter=yes -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable XMLWriter support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable XMLWriter support" >&5 printf %s "checking whether to enable XMLWriter support... " >&6; } # Check whether --enable-xmlwriter was given. if test ${enable_xmlwriter+y} @@ -78026,8 +77702,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -78036,17 +77712,17 @@ pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 >= 2.9.4" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 >= 2.9.4" >&5 printf %s "checking for libxml-2.0 >= 2.9.4... " >&6; } if test -n "$LIBXML_CFLAGS"; then pkg_cv_LIBXML_CFLAGS="$LIBXML_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 \"libxml-2.0 >= 2.9.4\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.9.4\""; } >&5 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.9.4") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBXML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.9.4" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -78060,10 +77736,10 @@ pkg_cv_LIBXML_LIBS="$LIBXML_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 \"libxml-2.0 >= 2.9.4\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.9.4\""; } >&5 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.9.4") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBXML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.9.4" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -78077,8 +77753,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -78104,10 +77780,10 @@ and LIBXML_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 - { 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;} + { 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. @@ -78121,8 +77797,8 @@ else LIBXML_CFLAGS=$pkg_cv_LIBXML_CFLAGS LIBXML_LIBS=$pkg_cv_LIBXML_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } fi @@ -78282,7 +77958,7 @@ -printf "%s\n" "#define HAVE_XMLWRITER 1" >>confdefs.h +printf '%s\n' "#define HAVE_XMLWRITER 1" >>confdefs.h ext_builddir=ext/xmlwriter @@ -78419,7 +78095,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_XMLWRITER 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_XMLWRITER 1" >>confdefs.h fi fi @@ -78569,7 +78245,7 @@ php_with_xsl=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build with XSL support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to build with XSL support" >&5 printf %s "checking whether to build with XSL support... " >&6; } # Check whether --with-xsl was given. @@ -78607,8 +78283,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -78616,17 +78292,17 @@ if test "$PHP_XSL" != "no"; then pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libxslt >= 1.1.0" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libxslt >= 1.1.0" >&5 printf %s "checking for libxslt >= 1.1.0... " >&6; } if test -n "$XSL_CFLAGS"; then pkg_cv_XSL_CFLAGS="$XSL_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 \"libxslt >= 1.1.0\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxslt >= 1.1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libxslt >= 1.1.0") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_XSL_CFLAGS=`$PKG_CONFIG --cflags "libxslt >= 1.1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -78640,10 +78316,10 @@ pkg_cv_XSL_LIBS="$XSL_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 \"libxslt >= 1.1.0\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxslt >= 1.1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libxslt >= 1.1.0") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_XSL_LIBS=`$PKG_CONFIG --libs "libxslt >= 1.1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -78657,8 +78333,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -78684,10 +78360,10 @@ and XSL_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 - { 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;} + { 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. @@ -78701,8 +78377,8 @@ else XSL_CFLAGS=$pkg_cv_XSL_CFLAGS XSL_LIBS=$pkg_cv_XSL_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } fi @@ -78864,17 +78540,17 @@ pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libexslt" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libexslt" >&5 printf %s "checking for libexslt... " >&6; } if test -n "$EXSLT_CFLAGS"; then pkg_cv_EXSLT_CFLAGS="$EXSLT_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 \"libexslt\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libexslt\""; } >&5 ($PKG_CONFIG --exists --print-errors "libexslt") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_EXSLT_CFLAGS=`$PKG_CONFIG --cflags "libexslt" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -78888,10 +78564,10 @@ pkg_cv_EXSLT_LIBS="$EXSLT_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 \"libexslt\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libexslt\""; } >&5 ($PKG_CONFIG --exists --print-errors "libexslt") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_EXSLT_LIBS=`$PKG_CONFIG --libs "libexslt" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -78905,8 +78581,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -78923,14 +78599,14 @@ : elif test $pkg_failed = untried; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } : else EXSLT_CFLAGS=$pkg_cv_EXSLT_CFLAGS EXSLT_LIBS=$pkg_cv_EXSLT_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } for ac_i in $EXSLT_CFLAGS; do @@ -79088,13 +78764,13 @@ done -printf "%s\n" "#define HAVE_XSL_EXSLT 1" >>confdefs.h +printf '%s\n' "#define HAVE_XSL_EXSLT 1" >>confdefs.h fi -printf "%s\n" "#define HAVE_XSL 1" >>confdefs.h +printf '%s\n' "#define HAVE_XSL 1" >>confdefs.h ext_builddir=ext/xsl @@ -79231,7 +78907,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_XSL 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_XSL 1" >>confdefs.h fi fi @@ -79398,7 +79074,7 @@ php_enable_zend_test=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable zend_test extension" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable zend_test extension" >&5 printf %s "checking whether to enable zend_test extension... " >&6; } # Check whether --enable-zend-test was given. if test ${enable_zend_test+y} @@ -79435,8 +79111,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -79577,7 +79253,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_ZEND_TEST 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_ZEND_TEST 1" >>confdefs.h fi fi @@ -79703,7 +79379,7 @@ php_with_zip=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for zip archive read/write support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for zip archive read/write support" >&5 printf %s "checking for zip archive read/write support... " >&6; } # Check whether --with-zip was given. @@ -79741,8 +79417,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -79750,17 +79426,17 @@ if test "$PHP_ZIP" != "no"; then pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libzip >= 0.11 libzip != 1.3.1 libzip != 1.7.0" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libzip >= 0.11 libzip != 1.3.1 libzip != 1.7.0" >&5 printf %s "checking for libzip >= 0.11 libzip != 1.3.1 libzip != 1.7.0... " >&6; } if test -n "$LIBZIP_CFLAGS"; then pkg_cv_LIBZIP_CFLAGS="$LIBZIP_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 \"libzip >= 0.11 libzip != 1.3.1 libzip != 1.7.0\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzip >= 0.11 libzip != 1.3.1 libzip != 1.7.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libzip >= 0.11 libzip != 1.3.1 libzip != 1.7.0") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBZIP_CFLAGS=`$PKG_CONFIG --cflags "libzip >= 0.11 libzip != 1.3.1 libzip != 1.7.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -79774,10 +79450,10 @@ pkg_cv_LIBZIP_LIBS="$LIBZIP_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 \"libzip >= 0.11 libzip != 1.3.1 libzip != 1.7.0\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzip >= 0.11 libzip != 1.3.1 libzip != 1.7.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libzip >= 0.11 libzip != 1.3.1 libzip != 1.7.0") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBZIP_LIBS=`$PKG_CONFIG --libs "libzip >= 0.11 libzip != 1.3.1 libzip != 1.7.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -79791,8 +79467,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -79818,10 +79494,10 @@ and LIBZIP_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 - { 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;} + { 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. @@ -79835,8 +79511,8 @@ else LIBZIP_CFLAGS=$pkg_cv_LIBZIP_CFLAGS LIBZIP_LIBS=$pkg_cv_LIBZIP_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } fi @@ -80114,7 +79790,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for zip_file_set_mtime in -lzip" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for zip_file_set_mtime in -lzip" >&5 printf %s "checking for zip_file_set_mtime in -lzip... " >&6; } if test ${ac_cv_lib_zip_zip_file_set_mtime+y} then : @@ -80155,15 +79831,15 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zip_zip_file_set_mtime" >&5 -printf "%s\n" "$ac_cv_lib_zip_zip_file_set_mtime" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zip_zip_file_set_mtime" >&5 +printf '%s\n' "$ac_cv_lib_zip_zip_file_set_mtime" >&6; } if test "x$ac_cv_lib_zip_zip_file_set_mtime" = xyes then : LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared -printf "%s\n" "#define HAVE_SET_MTIME 1" >>confdefs.h +printf '%s\n' "#define HAVE_SET_MTIME 1" >>confdefs.h else case e in #( @@ -80171,8 +79847,8 @@ LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared unset ac_cv_lib_zip_zip_file_set_mtime - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libzip >= 1.0.0 needed for setting mtime" >&5 -printf "%s\n" "$as_me: WARNING: Libzip >= 1.0.0 needed for setting mtime" >&2;} + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: Libzip >= 1.0.0 needed for setting mtime" >&5 +printf '%s\n' "$as_me: WARNING: Libzip >= 1.0.0 needed for setting mtime" >&2;} ;; esac fi @@ -80296,7 +79972,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for zip_file_set_encryption in -lzip" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for zip_file_set_encryption in -lzip" >&5 printf %s "checking for zip_file_set_encryption in -lzip... " >&6; } if test ${ac_cv_lib_zip_zip_file_set_encryption+y} then : @@ -80337,15 +80013,15 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zip_zip_file_set_encryption" >&5 -printf "%s\n" "$ac_cv_lib_zip_zip_file_set_encryption" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zip_zip_file_set_encryption" >&5 +printf '%s\n' "$ac_cv_lib_zip_zip_file_set_encryption" >&6; } if test "x$ac_cv_lib_zip_zip_file_set_encryption" = xyes then : LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared -printf "%s\n" "#define HAVE_ENCRYPTION 1" >>confdefs.h +printf '%s\n' "#define HAVE_ENCRYPTION 1" >>confdefs.h else case e in #( @@ -80353,8 +80029,8 @@ LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared unset ac_cv_lib_zip_zip_file_set_encryption - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libzip >= 1.2.0 needed for encryption support" >&5 -printf "%s\n" "$as_me: WARNING: Libzip >= 1.2.0 needed for encryption support" >&2;} + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: Libzip >= 1.2.0 needed for encryption support" >&5 +printf '%s\n' "$as_me: WARNING: Libzip >= 1.2.0 needed for encryption support" >&2;} ;; esac fi @@ -80478,7 +80154,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for zip_libzip_version in -lzip" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for zip_libzip_version in -lzip" >&5 printf %s "checking for zip_libzip_version in -lzip... " >&6; } if test ${ac_cv_lib_zip_zip_libzip_version+y} then : @@ -80519,15 +80195,15 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zip_zip_libzip_version" >&5 -printf "%s\n" "$ac_cv_lib_zip_zip_libzip_version" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zip_zip_libzip_version" >&5 +printf '%s\n' "$ac_cv_lib_zip_zip_libzip_version" >&6; } if test "x$ac_cv_lib_zip_zip_libzip_version" = xyes then : LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared -printf "%s\n" "#define HAVE_LIBZIP_VERSION 1" >>confdefs.h +printf '%s\n' "#define HAVE_LIBZIP_VERSION 1" >>confdefs.h else case e in #( @@ -80659,7 +80335,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for zip_register_progress_callback_with_state in -lzip" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for zip_register_progress_callback_with_state in -lzip" >&5 printf %s "checking for zip_register_progress_callback_with_state in -lzip... " >&6; } if test ${ac_cv_lib_zip_zip_register_progress_callback_with_state+y} then : @@ -80700,15 +80376,15 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zip_zip_register_progress_callback_with_state" >&5 -printf "%s\n" "$ac_cv_lib_zip_zip_register_progress_callback_with_state" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zip_zip_register_progress_callback_with_state" >&5 +printf '%s\n' "$ac_cv_lib_zip_zip_register_progress_callback_with_state" >&6; } if test "x$ac_cv_lib_zip_zip_register_progress_callback_with_state" = xyes then : LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared -printf "%s\n" "#define HAVE_PROGRESS_CALLBACK 1" >>confdefs.h +printf '%s\n' "#define HAVE_PROGRESS_CALLBACK 1" >>confdefs.h else case e in #( @@ -80840,7 +80516,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for zip_register_cancel_callback_with_state in -lzip" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for zip_register_cancel_callback_with_state in -lzip" >&5 printf %s "checking for zip_register_cancel_callback_with_state in -lzip... " >&6; } if test ${ac_cv_lib_zip_zip_register_cancel_callback_with_state+y} then : @@ -80881,15 +80557,15 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zip_zip_register_cancel_callback_with_state" >&5 -printf "%s\n" "$ac_cv_lib_zip_zip_register_cancel_callback_with_state" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zip_zip_register_cancel_callback_with_state" >&5 +printf '%s\n' "$ac_cv_lib_zip_zip_register_cancel_callback_with_state" >&6; } if test "x$ac_cv_lib_zip_zip_register_cancel_callback_with_state" = xyes then : LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared -printf "%s\n" "#define HAVE_CANCEL_CALLBACK 1" >>confdefs.h +printf '%s\n' "#define HAVE_CANCEL_CALLBACK 1" >>confdefs.h else case e in #( @@ -81021,7 +80697,7 @@ esac done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for zip_compression_method_supported in -lzip" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for zip_compression_method_supported in -lzip" >&5 printf %s "checking for zip_compression_method_supported in -lzip... " >&6; } if test ${ac_cv_lib_zip_zip_compression_method_supported+y} then : @@ -81062,15 +80738,15 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zip_zip_compression_method_supported" >&5 -printf "%s\n" "$ac_cv_lib_zip_zip_compression_method_supported" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zip_zip_compression_method_supported" >&5 +printf '%s\n' "$ac_cv_lib_zip_zip_compression_method_supported" >&6; } if test "x$ac_cv_lib_zip_zip_compression_method_supported" = xyes then : LDFLAGS=$save_old_LDFLAGS ext_shared=$save_ext_shared -printf "%s\n" "#define HAVE_METHOD_SUPPORTED 1" >>confdefs.h +printf '%s\n' "#define HAVE_METHOD_SUPPORTED 1" >>confdefs.h else case e in #( @@ -81085,7 +80761,7 @@ -printf "%s\n" "#define HAVE_ZIP 1" >>confdefs.h +printf '%s\n' "#define HAVE_ZIP 1" >>confdefs.h @@ -81223,7 +80899,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_ZIP 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_ZIP 1" >>confdefs.h fi fi @@ -81372,7 +81048,7 @@ php_enable_mysqlnd=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable mysqlnd" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable mysqlnd" >&5 printf %s "checking whether to enable mysqlnd... " >&6; } # Check whether --enable-mysqlnd was given. if test ${enable_mysqlnd+y} @@ -81409,8 +81085,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -81423,7 +81099,7 @@ php_with_mysqlnd_ssl=$PHP_OPENSSL -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable extended SSL support in mysqlnd" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable extended SSL support in mysqlnd" >&5 printf %s "checking whether to enable extended SSL support in mysqlnd... " >&6; } # Check whether --with-mysqlnd-ssl was given. @@ -81440,8 +81116,8 @@ ext_output=$PHP_MYSQLND_SSL -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -81449,7 +81125,7 @@ php_enable_mysqlnd_compression_support=yes -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable compressed protocol support in mysqlnd" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable compressed protocol support in mysqlnd" >&5 printf %s "checking whether to enable compressed protocol support in mysqlnd... " >&6; } # Check whether --enable-mysqlnd-compression-support was given. if test ${enable_mysqlnd_compression_support+y} @@ -81465,8 +81141,8 @@ ext_output=$PHP_MYSQLND_COMPRESSION_SUPPORT -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -81478,17 +81154,17 @@ else case e in #( e) pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for zlib >= 1.2.11" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for zlib >= 1.2.11" >&5 printf %s "checking for zlib >= 1.2.11... " >&6; } if test -n "$ZLIB_CFLAGS"; then pkg_cv_ZLIB_CFLAGS="$ZLIB_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 \"zlib >= 1.2.11\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.2.11\""; } >&5 ($PKG_CONFIG --exists --print-errors "zlib >= 1.2.11") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ZLIB_CFLAGS=`$PKG_CONFIG --cflags "zlib >= 1.2.11" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -81502,10 +81178,10 @@ pkg_cv_ZLIB_LIBS="$ZLIB_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 \"zlib >= 1.2.11\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.2.11\""; } >&5 ($PKG_CONFIG --exists --print-errors "zlib >= 1.2.11") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ZLIB_LIBS=`$PKG_CONFIG --libs "zlib >= 1.2.11" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -81519,8 +81195,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -81546,10 +81222,10 @@ and ZLIB_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 - { 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;} + { 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. @@ -81563,8 +81239,8 @@ else ZLIB_CFLAGS=$pkg_cv_ZLIB_CFLAGS ZLIB_LIBS=$pkg_cv_ZLIB_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } for ac_i in $ZLIB_CFLAGS; do case $ac_i in @@ -81721,14 +81397,14 @@ done -printf "%s\n" "#define MYSQLND_COMPRESSION_ENABLED 1" >>confdefs.h +printf '%s\n' "#define MYSQLND_COMPRESSION_ENABLED 1" >>confdefs.h fi ;; esac fi -printf "%s\n" "#define MYSQLND_SSL_SUPPORTED 1" >>confdefs.h +printf '%s\n' "#define MYSQLND_SSL_SUPPORTED 1" >>confdefs.h @@ -81866,7 +81542,7 @@ EOF -printf "%s\n" "#define COMPILE_DL_MYSQLND 1" >>confdefs.h +printf '%s\n' "#define COMPILE_DL_MYSQLND 1" >>confdefs.h fi fi @@ -81994,17 +81670,17 @@ pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for openssl >= 1.1.1" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for openssl >= 1.1.1" >&5 printf %s "checking for openssl >= 1.1.1... " >&6; } if test -n "$OPENSSL_CFLAGS"; then pkg_cv_OPENSSL_CFLAGS="$OPENSSL_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 \"openssl >= 1.1.1\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.1.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "openssl >= 1.1.1") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl >= 1.1.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -82018,10 +81694,10 @@ pkg_cv_OPENSSL_LIBS="$OPENSSL_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 \"openssl >= 1.1.1\""; } >&5 + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.1.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "openssl >= 1.1.1") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl >= 1.1.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -82035,8 +81711,8 @@ if test $pkg_failed = yes; 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}: result: no" >&5 +printf '%s\n' "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -82062,10 +81738,10 @@ and OPENSSL_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 - { 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;} + { 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. @@ -82079,8 +81755,8 @@ else OPENSSL_CFLAGS=$pkg_cv_OPENSSL_CFLAGS OPENSSL_LIBS=$pkg_cv_OPENSSL_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } found_openssl=yes fi @@ -82242,7 +81918,7 @@ -printf "%s\n" "#define MYSQLND_HAVE_SSL 1" >>confdefs.h +printf '%s\n' "#define MYSQLND_HAVE_SSL 1" >>confdefs.h am_i_shared=$PHP_MYSQLND_SHARED @@ -82294,7 +81970,7 @@ case $host_alias in #( i[3456]86-*-linux-* | x86_64-*-linux-*) : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking linker support for -zcommon-page-size=2097152" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking linker support for -zcommon-page-size=2097152" >&5 printf %s "checking linker support for -zcommon-page-size=2097152... " >&6; } if test ${php_cv_have_common_page_size+y} then : @@ -82333,13 +82009,13 @@ LDFLAGS=$save_LDFLAGS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_common_page_size" >&5 -printf "%s\n" "$php_cv_have_common_page_size" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_common_page_size" >&5 +printf '%s\n' "$php_cv_have_common_page_size" >&6; } if test "x$php_cv_have_common_page_size" = xyes then : EXTRA_LDFLAGS_PROGRAM="$EXTRA_LDFLAGS_PROGRAM -Wl,-zcommon-page-size=2097152 -Wl,-zmax-page-size=2097152" else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking linker support for -zmax-page-size=2097152" >&5 + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking linker support for -zmax-page-size=2097152" >&5 printf %s "checking linker support for -zmax-page-size=2097152... " >&6; } if test ${php_cv_have_max_page_size+y} then : @@ -82378,8 +82054,8 @@ LDFLAGS=$save_LDFLAGS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_max_page_size" >&5 -printf "%s\n" "$php_cv_have_max_page_size" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_max_page_size" >&5 +printf '%s\n' "$php_cv_have_max_page_size" >&6; } if test "x$php_cv_have_max_page_size" = xyes then : EXTRA_LDFLAGS_PROGRAM="$EXTRA_LDFLAGS_PROGRAM -Wl,-zmax-page-size=2097152" @@ -82429,10 +82105,10 @@ fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: " >&5 -printf "%s\n" "" >&6; } - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${T_MD}Configuring PEAR${T_ME}" >&5 -printf "%s\n" "${T_MD}Configuring PEAR${T_ME}" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: " >&5 +printf '%s\n' "" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ${T_MD}Configuring PEAR${T_ME}" >&5 +printf '%s\n' "${T_MD}Configuring PEAR${T_ME}" >&6; } if test "x$PHP_CLI" = xno @@ -82443,7 +82119,7 @@ php_with_pear=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to install PEAR" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to install PEAR" >&5 printf %s "checking whether to install PEAR... " >&6; } # Check whether --with-pear was given. @@ -82481,8 +82157,8 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 -printf "%s\n" "$ext_output" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ext_output" >&5 +printf '%s\n' "$ext_output" >&6; } @@ -82492,8 +82168,8 @@ else case e in #( e) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: The --with-pear option is deprecated" >&5 -printf "%s\n" "$as_me: WARNING: The --with-pear option is deprecated" >&2;} + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: The --with-pear option is deprecated" >&5 +printf '%s\n' "$as_me: WARNING: The --with-pear option is deprecated" >&2;} if test "x$PHP_XML" = xno then : @@ -82538,10 +82214,10 @@ fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: " >&5 -printf "%s\n" "" >&6; } - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${T_MD}Configuring Zend${T_ME}" >&5 -printf "%s\n" "${T_MD}Configuring Zend${T_ME}" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: " >&5 +printf '%s\n' "" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ${T_MD}Configuring Zend${T_ME}" >&5 +printf '%s\n' "${T_MD}Configuring Zend${T_ME}" >&6; } # Check whether --enable-fiber-asm was given. @@ -82658,7 +82334,7 @@ fiber_asm="no" fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether syscall to create shadow stack exists" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether syscall to create shadow stack exists" >&5 printf %s "checking whether syscall to create shadow stack exists... " >&6; } if test ${php_cv_have_shadow_stack_syscall+y} then : @@ -82699,8 +82375,8 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_shadow_stack_syscall" >&5 -printf "%s\n" "$php_cv_have_shadow_stack_syscall" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_shadow_stack_syscall" >&5 +printf '%s\n' "$php_cv_have_shadow_stack_syscall" >&6; } if test "x$php_cv_have_shadow_stack_syscall" = xyes then : fiber_asm_cflag="-DSHADOW_STACK_SYSCALL=1" @@ -82710,7 +82386,7 @@ fi if test "$fiber_asm" = 'yes'; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fiber switching context" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for fiber switching context" >&5 printf %s "checking for fiber switching context... " >&6; } @@ -82758,24 +82434,24 @@ done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $fiber_asm_file" >&5 -printf "%s\n" "$fiber_asm_file" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $fiber_asm_file" >&5 +printf '%s\n' "$fiber_asm_file" >&6; } else if test "x$fiber_os" = xmac then : -printf "%s\n" "#define _XOPEN_SOURCE 1" >>confdefs.h +printf '%s\n' "#define _XOPEN_SOURCE 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "$ac_includes_default" if test "x$ac_cv_header_ucontext_h" = xyes then : -printf "%s\n" "#define ZEND_FIBER_UCONTEXT 1" >>confdefs.h +printf '%s\n' "#define ZEND_FIBER_UCONTEXT 1" >>confdefs.h else case e in #( - e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} + e) { { 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 $? "fibers not available on this platform See 'config.log' for more details" "$LINENO" 5; } ;; esac @@ -82786,7 +82462,7 @@ 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 : - printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_DLFCN_H 1" >>confdefs.h fi @@ -82795,13 +82471,13 @@ ac_fn_c_check_header_compile "$LINENO" "cpuid.h" "ac_cv_header_cpuid_h" "$ac_includes_default" if test "x$ac_cv_header_cpuid_h" = xyes then : - printf "%s\n" "#define HAVE_CPUID_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_CPUID_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default" if test "x$ac_cv_header_libproc_h" = xyes then : - printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_LIBPROC_H 1" >>confdefs.h fi @@ -82809,55 +82485,55 @@ ac_fn_c_check_func "$LINENO" "getpid" "ac_cv_func_getpid" if test "x$ac_cv_func_getpid" = xyes then : - printf "%s\n" "#define HAVE_GETPID 1" >>confdefs.h + printf '%s\n' "#define HAVE_GETPID 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "gettid" "ac_cv_func_gettid" if test "x$ac_cv_func_gettid" = xyes then : - printf "%s\n" "#define HAVE_GETTID 1" >>confdefs.h + printf '%s\n' "#define HAVE_GETTID 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "kill" "ac_cv_func_kill" if test "x$ac_cv_func_kill" = xyes then : - printf "%s\n" "#define HAVE_KILL 1" >>confdefs.h + printf '%s\n' "#define HAVE_KILL 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "mremap" "ac_cv_func_mremap" if test "x$ac_cv_func_mremap" = xyes then : - printf "%s\n" "#define HAVE_MREMAP 1" >>confdefs.h + printf '%s\n' "#define HAVE_MREMAP 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "pthread_attr_get_np" "ac_cv_func_pthread_attr_get_np" if test "x$ac_cv_func_pthread_attr_get_np" = xyes then : - printf "%s\n" "#define HAVE_PTHREAD_ATTR_GET_NP 1" >>confdefs.h + printf '%s\n' "#define HAVE_PTHREAD_ATTR_GET_NP 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "pthread_attr_getstack" "ac_cv_func_pthread_attr_getstack" if test "x$ac_cv_func_pthread_attr_getstack" = xyes then : - printf "%s\n" "#define HAVE_PTHREAD_ATTR_GETSTACK 1" >>confdefs.h + printf '%s\n' "#define HAVE_PTHREAD_ATTR_GETSTACK 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "pthread_get_stackaddr_np" "ac_cv_func_pthread_get_stackaddr_np" if test "x$ac_cv_func_pthread_get_stackaddr_np" = xyes then : - printf "%s\n" "#define HAVE_PTHREAD_GET_STACKADDR_NP 1" >>confdefs.h + printf '%s\n' "#define HAVE_PTHREAD_GET_STACKADDR_NP 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "pthread_getattr_np" "ac_cv_func_pthread_getattr_np" if test "x$ac_cv_func_pthread_getattr_np" = xyes then : - printf "%s\n" "#define HAVE_PTHREAD_GETATTR_NP 1" >>confdefs.h + printf '%s\n' "#define HAVE_PTHREAD_GETATTR_NP 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "pthread_stackseg_np" "ac_cv_func_pthread_stackseg_np" if test "x$ac_cv_func_pthread_stackseg_np" = xyes then : - printf "%s\n" "#define HAVE_PTHREAD_STACKSEG_NP 1" >>confdefs.h + printf '%s\n' "#define HAVE_PTHREAD_STACKSEG_NP 1" >>confdefs.h fi @@ -82868,13 +82544,13 @@ else case e in #( e) ac_fn_check_decl "$LINENO" "sigsetjmp" "ac_cv_have_decl_sigsetjmp" "#include -" "$ac_c_undeclared_builtin_options" "CFLAGS" +" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS" if test "x$ac_cv_have_decl_sigsetjmp" = xyes then : else case e in #( - e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} + e) { { 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 $? "Required sigsetjmp not found. See 'config.log' for more details" "$LINENO" 5; } ;; esac @@ -82883,7 +82559,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the stack grows downwards" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the stack grows downwards" >&5 printf %s "checking whether the stack grows downwards... " >&6; } if test ${php_cv_have_stack_limit+y} then : @@ -82942,16 +82618,16 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_stack_limit" >&5 -printf "%s\n" "$php_cv_have_stack_limit" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_stack_limit" >&5 +printf '%s\n' "$php_cv_have_stack_limit" >&6; } if test "x$php_cv_have_stack_limit" = xyes then : -printf "%s\n" "#define ZEND_CHECK_STACK_LIMIT 1" >>confdefs.h +printf '%s\n' "#define ZEND_CHECK_STACK_LIMIT 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for usable _FPU_SETCW" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for usable _FPU_SETCW" >&5 printf %s "checking for usable _FPU_SETCW... " >&6; } if test ${php_cv_have__fpu_setcw+y} then : @@ -82990,16 +82666,16 @@ conftest$ac_exeext conftest.$ac_ext ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have__fpu_setcw" >&5 -printf "%s\n" "$php_cv_have__fpu_setcw" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have__fpu_setcw" >&5 +printf '%s\n' "$php_cv_have__fpu_setcw" >&6; } if test "x$php_cv_have__fpu_setcw" = xyes then : -printf "%s\n" "#define HAVE__FPU_SETCW 1" >>confdefs.h +printf '%s\n' "#define HAVE__FPU_SETCW 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for usable fpsetprec" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for usable fpsetprec" >&5 printf %s "checking for usable fpsetprec... " >&6; } if test ${php_cv_have_fpsetprec+y} then : @@ -83037,16 +82713,16 @@ conftest$ac_exeext conftest.$ac_ext ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_fpsetprec" >&5 -printf "%s\n" "$php_cv_have_fpsetprec" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_fpsetprec" >&5 +printf '%s\n' "$php_cv_have_fpsetprec" >&6; } if test "x$php_cv_have_fpsetprec" = xyes then : -printf "%s\n" "#define HAVE_FPSETPREC 1" >>confdefs.h +printf '%s\n' "#define HAVE_FPSETPREC 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for usable _controlfp" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for usable _controlfp" >&5 printf %s "checking for usable _controlfp... " >&6; } if test ${php_cv_have__controlfp+y} then : @@ -83084,16 +82760,16 @@ conftest$ac_exeext conftest.$ac_ext ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have__controlfp" >&5 -printf "%s\n" "$php_cv_have__controlfp" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have__controlfp" >&5 +printf '%s\n' "$php_cv_have__controlfp" >&6; } if test "x$php_cv_have__controlfp" = xyes then : -printf "%s\n" "#define HAVE__CONTROLFP 1" >>confdefs.h +printf '%s\n' "#define HAVE__CONTROLFP 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for usable _controlfp_s" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for usable _controlfp_s" >&5 printf %s "checking for usable _controlfp_s... " >&6; } if test ${php_cv_have__controlfp_s+y} then : @@ -83132,16 +82808,16 @@ conftest$ac_exeext conftest.$ac_ext ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have__controlfp_s" >&5 -printf "%s\n" "$php_cv_have__controlfp_s" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have__controlfp_s" >&5 +printf '%s\n' "$php_cv_have__controlfp_s" >&6; } if test "x$php_cv_have__controlfp_s" = xyes then : -printf "%s\n" "#define HAVE__CONTROLFP_S 1" >>confdefs.h +printf '%s\n' "#define HAVE__CONTROLFP_S 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether FPU control word can be manipulated by inline assembler" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether FPU control word can be manipulated by inline assembler" >&5 printf %s "checking whether FPU control word can be manipulated by inline assembler... " >&6; } if test ${php_cv_have_fpu_inline_asm_x86+y} then : @@ -83180,16 +82856,16 @@ conftest$ac_exeext conftest.$ac_ext ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_fpu_inline_asm_x86" >&5 -printf "%s\n" "$php_cv_have_fpu_inline_asm_x86" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_fpu_inline_asm_x86" >&5 +printf '%s\n' "$php_cv_have_fpu_inline_asm_x86" >&6; } if test "x$php_cv_have_fpu_inline_asm_x86" = xyes then : -printf "%s\n" "#define HAVE_FPU_INLINE_ASM_X86 1" >>confdefs.h +printf '%s\n' "#define HAVE_FPU_INLINE_ASM_X86 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether dlsym() requires a leading underscore in symbol names" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether dlsym() requires a leading underscore in symbol names" >&5 printf %s "checking whether dlsym() requires a leading underscore in symbol names... " >&6; } if test "$cross_compiling" = yes; then : @@ -83197,7 +82873,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <&5 (eval $ac_link) 2>&5 ac_status=$? - printf "%s\n" "$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=$? case x$lt_status in - x$lt_dlno_uscore) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } ;; + x$lt_dlno_uscore) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } ;; x$lt_dlneed_uscore) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } -printf "%s\n" "#define DLSYM_NEEDS_UNDERSCORE 1" >>confdefs.h +printf '%s\n' "#define DLSYM_NEEDS_UNDERSCORE 1" >>confdefs.h ;; - x$lt_dlunknown|x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } ;; + x$lt_dlunknown|x*) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } ;; esac else : # compilation failed - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi fi rm -fr conftest* @@ -83300,7 +82976,7 @@ then : else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether system supports global register variables" >&5 + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether system supports global register variables" >&5 printf %s "checking whether system supports global register variables... " >&6; } if test ${php_cv_have_global_register_vars+y} then : @@ -83366,12 +83042,12 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_global_register_vars" >&5 -printf "%s\n" "$php_cv_have_global_register_vars" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have_global_register_vars" >&5 +printf '%s\n' "$php_cv_have_global_register_vars" >&6; } if test "x$php_cv_have_global_register_vars" = xyes then : -printf "%s\n" "#define HAVE_GCC_GLOBAL_REGS 1" >>confdefs.h +printf '%s\n' "#define HAVE_GCC_GLOBAL_REGS 1" >>confdefs.h else case e in #( e) ZEND_GCC_GLOBAL_REGS=no ;; @@ -83380,12 +83056,12 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable global register variables support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable global register variables support" >&5 printf %s "checking whether to enable global register variables support... " >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ZEND_GCC_GLOBAL_REGS" >&5 -printf "%s\n" "$ZEND_GCC_GLOBAL_REGS" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ZEND_GCC_GLOBAL_REGS" >&5 +printf '%s\n' "$ZEND_GCC_GLOBAL_REGS" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether __cpuid_count is available" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether __cpuid_count is available" >&5 printf %s "checking whether __cpuid_count is available... " >&6; } if test ${php_cv_have___cpuid_count+y} then : @@ -83415,44 +83091,44 @@ conftest$ac_exeext conftest.$ac_ext ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_have___cpuid_count" >&5 -printf "%s\n" "$php_cv_have___cpuid_count" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_have___cpuid_count" >&5 +printf '%s\n' "$php_cv_have___cpuid_count" >&6; } if test "x$php_cv_have___cpuid_count" = xyes then : -printf "%s\n" "#define HAVE_CPUID_COUNT 1" >>confdefs.h +printf '%s\n' "#define HAVE_CPUID_COUNT 1" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable thread safety" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable thread safety" >&5 printf %s "checking whether to enable thread safety... " >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ZEND_ZTS" >&5 -printf "%s\n" "$ZEND_ZTS" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ZEND_ZTS" >&5 +printf '%s\n' "$ZEND_ZTS" >&6; } if test "x$ZEND_ZTS" = xyes then : -printf "%s\n" "#define ZTS 1" >>confdefs.h +printf '%s\n' "#define ZTS 1" >>confdefs.h as_fn_append CFLAGS " -DZTS" fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable Zend debugging" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable Zend debugging" >&5 printf %s "checking whether to enable Zend debugging... " >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ZEND_DEBUG" >&5 -printf "%s\n" "$ZEND_DEBUG" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ZEND_DEBUG" >&5 +printf '%s\n' "$ZEND_DEBUG" >&6; } if test "x$ZEND_DEBUG" = xyes then : - printf "%s\n" "#define ZEND_DEBUG 1" >>confdefs.h + printf '%s\n' "#define ZEND_DEBUG 1" >>confdefs.h echo " $CFLAGS" | grep ' -g' >/dev/null || CFLAGS="$CFLAGS -g" else case e in #( - e) printf "%s\n" "#define ZEND_DEBUG 0" >>confdefs.h + e) printf '%s\n' "#define ZEND_DEBUG 0" >>confdefs.h ;; esac fi @@ -83462,7 +83138,7 @@ CFLAGS="-Wall -Wextra -Wno-unused-parameter -Wno-sign-compare $CFLAGS" fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -Wno-clobbered" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -Wno-clobbered" >&5 printf %s "checking whether the C compiler accepts -Wno-clobbered... " >&6; } if test ${ax_cv_check_cflags__Werror__Wno_clobbered+y} then : @@ -83493,8 +83169,8 @@ CFLAGS=$ax_check_save_flags ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags__Werror__Wno_clobbered" >&5 -printf "%s\n" "$ax_cv_check_cflags__Werror__Wno_clobbered" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags__Werror__Wno_clobbered" >&5 +printf '%s\n' "$ax_cv_check_cflags__Werror__Wno_clobbered" >&6; } if test "x$ax_cv_check_cflags__Werror__Wno_clobbered" = xyes then : CFLAGS="-Wno-clobbered $CFLAGS" @@ -83503,7 +83179,7 @@ esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -Wimplicit-fallthrough=1" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -Wimplicit-fallthrough=1" >&5 printf %s "checking whether the C compiler accepts -Wimplicit-fallthrough=1... " >&6; } if test ${ax_cv_check_cflags__Werror__Wimplicit_fallthrough_1+y} then : @@ -83534,8 +83210,8 @@ CFLAGS=$ax_check_save_flags ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags__Werror__Wimplicit_fallthrough_1" >&5 -printf "%s\n" "$ax_cv_check_cflags__Werror__Wimplicit_fallthrough_1" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags__Werror__Wimplicit_fallthrough_1" >&5 +printf '%s\n' "$ax_cv_check_cflags__Werror__Wimplicit_fallthrough_1" >&6; } if test "x$ax_cv_check_cflags__Werror__Wimplicit_fallthrough_1" = xyes then : CFLAGS="$CFLAGS -Wimplicit-fallthrough=1" @@ -83544,7 +83220,7 @@ esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -Wduplicated-cond" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -Wduplicated-cond" >&5 printf %s "checking whether the C compiler accepts -Wduplicated-cond... " >&6; } if test ${ax_cv_check_cflags__Werror__Wduplicated_cond+y} then : @@ -83575,8 +83251,8 @@ CFLAGS=$ax_check_save_flags ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags__Werror__Wduplicated_cond" >&5 -printf "%s\n" "$ax_cv_check_cflags__Werror__Wduplicated_cond" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags__Werror__Wduplicated_cond" >&5 +printf '%s\n' "$ax_cv_check_cflags__Werror__Wduplicated_cond" >&6; } if test "x$ax_cv_check_cflags__Werror__Wduplicated_cond" = xyes then : CFLAGS="-Wduplicated-cond $CFLAGS" @@ -83585,7 +83261,7 @@ esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -Wlogical-op" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -Wlogical-op" >&5 printf %s "checking whether the C compiler accepts -Wlogical-op... " >&6; } if test ${ax_cv_check_cflags__Werror__Wlogical_op+y} then : @@ -83616,8 +83292,8 @@ CFLAGS=$ax_check_save_flags ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags__Werror__Wlogical_op" >&5 -printf "%s\n" "$ax_cv_check_cflags__Werror__Wlogical_op" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags__Werror__Wlogical_op" >&5 +printf '%s\n' "$ax_cv_check_cflags__Werror__Wlogical_op" >&6; } if test "x$ax_cv_check_cflags__Werror__Wlogical_op" = xyes then : CFLAGS="-Wlogical-op $CFLAGS" @@ -83626,7 +83302,7 @@ esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -Wformat-truncation" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -Wformat-truncation" >&5 printf %s "checking whether the C compiler accepts -Wformat-truncation... " >&6; } if test ${ax_cv_check_cflags__Werror__Wformat_truncation+y} then : @@ -83657,8 +83333,8 @@ CFLAGS=$ax_check_save_flags ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags__Werror__Wformat_truncation" >&5 -printf "%s\n" "$ax_cv_check_cflags__Werror__Wformat_truncation" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags__Werror__Wformat_truncation" >&5 +printf '%s\n' "$ax_cv_check_cflags__Werror__Wformat_truncation" >&6; } if test "x$ax_cv_check_cflags__Werror__Wformat_truncation" = xyes then : CFLAGS="-Wformat-truncation $CFLAGS" @@ -83667,7 +83343,7 @@ esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -Wstrict-prototypes" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -Wstrict-prototypes" >&5 printf %s "checking whether the C compiler accepts -Wstrict-prototypes... " >&6; } if test ${ax_cv_check_cflags__Werror__Wstrict_prototypes+y} then : @@ -83698,8 +83374,8 @@ CFLAGS=$ax_check_save_flags ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags__Werror__Wstrict_prototypes" >&5 -printf "%s\n" "$ax_cv_check_cflags__Werror__Wstrict_prototypes" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags__Werror__Wstrict_prototypes" >&5 +printf '%s\n' "$ax_cv_check_cflags__Werror__Wstrict_prototypes" >&6; } if test "x$ax_cv_check_cflags__Werror__Wstrict_prototypes" = xyes then : CFLAGS="-Wstrict-prototypes $CFLAGS" @@ -83708,7 +83384,7 @@ esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -fno-common" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -fno-common" >&5 printf %s "checking whether the C compiler accepts -fno-common... " >&6; } if test ${ax_cv_check_cflags__Werror__fno_common+y} then : @@ -83739,8 +83415,8 @@ CFLAGS=$ax_check_save_flags ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags__Werror__fno_common" >&5 -printf "%s\n" "$ax_cv_check_cflags__Werror__fno_common" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags__Werror__fno_common" >&5 +printf '%s\n' "$ax_cv_check_cflags__Werror__fno_common" >&6; } if test "x$ax_cv_check_cflags__Werror__fno_common" = xyes then : CFLAGS="-fno-common $CFLAGS" @@ -83750,7 +83426,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Zend memory manager alignment and log values" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for Zend memory manager alignment and log values" >&5 printf %s "checking for Zend memory manager alignment and log values... " >&6; } if test ${php_cv_align_mm+y} then : @@ -83812,12 +83488,12 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_align_mm" >&5 -printf "%s\n" "$php_cv_align_mm" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_align_mm" >&5 +printf '%s\n' "$php_cv_align_mm" >&6; } if test "x$php_cv_align_mm" = xfailed then : - { { 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: in '$ac_pwd':" >&5 +printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "ZEND_MM alignment defines failed. See 'config.log' for more details" "$LINENO" 5; } else case e in #( @@ -83825,13 +83501,13 @@ zend_mm_alignment_log2=$(echo $php_cv_align_mm | cut -d ' ' -f 2) zend_mm_8byte_realign=$(echo $php_cv_align_mm | cut -d ' ' -f 3) -printf "%s\n" "#define ZEND_MM_ALIGNMENT $zend_mm_alignment" >>confdefs.h +printf '%s\n' "#define ZEND_MM_ALIGNMENT $zend_mm_alignment" >>confdefs.h -printf "%s\n" "#define ZEND_MM_ALIGNMENT_LOG2 $zend_mm_alignment_log2" >>confdefs.h +printf '%s\n' "#define ZEND_MM_ALIGNMENT_LOG2 $zend_mm_alignment_log2" >>confdefs.h -printf "%s\n" "#define ZEND_MM_NEED_EIGHT_BYTE_REALIGNMENT $zend_mm_8byte_realign" >>confdefs.h +printf '%s\n' "#define ZEND_MM_NEED_EIGHT_BYTE_REALIGNMENT $zend_mm_8byte_realign" >>confdefs.h ;; esac @@ -83853,7 +83529,7 @@ ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction" if test "x$ac_cv_func_sigaction" = xyes then : - printf "%s\n" "#define HAVE_SIGACTION 1" >>confdefs.h + printf '%s\n' "#define HAVE_SIGACTION 1" >>confdefs.h else case e in #( e) ZEND_SIGNALS=no ;; @@ -83864,15 +83540,15 @@ if test "x$ZEND_SIGNALS" = xyes then : -printf "%s\n" "#define ZEND_SIGNALS 1" >>confdefs.h +printf '%s\n' "#define ZEND_SIGNALS 1" >>confdefs.h as_fn_append CFLAGS " -DZEND_SIGNALS" fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable Zend signal handling" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable Zend signal handling" >&5 printf %s "checking whether to enable Zend signal handling... " >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ZEND_SIGNALS" >&5 -printf "%s\n" "$ZEND_SIGNALS" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ZEND_SIGNALS" >&5 +printf '%s\n' "$ZEND_SIGNALS" >&6; } # Check whether --enable-zend-max-execution-timers was given. if test ${enable_zend_max_execution_timers+y} @@ -83893,7 +83569,7 @@ if test "x$ZEND_MAX_EXECUTION_TIMERS" = xyes then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing timer_create" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for library containing timer_create" >&5 printf %s "checking for library containing timer_create... " >&6; } if test ${ac_cv_search_timer_create+y} then : @@ -83951,8 +83627,8 @@ LIBS=$ac_func_search_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_timer_create" >&5 -printf "%s\n" "$ac_cv_search_timer_create" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_timer_create" >&5 +printf '%s\n' "$ac_cv_search_timer_create" >&6; } ac_res=$ac_cv_search_timer_create if test "$ac_res" != no then : @@ -83968,15 +83644,15 @@ if test "x$ZEND_MAX_EXECUTION_TIMERS" = xyes then : -printf "%s\n" "#define ZEND_MAX_EXECUTION_TIMERS 1" >>confdefs.h +printf '%s\n' "#define ZEND_MAX_EXECUTION_TIMERS 1" >>confdefs.h as_fn_append CFLAGS " -DZEND_MAX_EXECUTION_TIMERS" fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable Zend max execution timers" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to enable Zend max execution timers" >&5 printf %s "checking whether to enable Zend max execution timers... " >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ZEND_MAX_EXECUTION_TIMERS" >&5 -printf "%s\n" "$ZEND_MAX_EXECUTION_TIMERS" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ZEND_MAX_EXECUTION_TIMERS" >&5 +printf '%s\n' "$ZEND_MAX_EXECUTION_TIMERS" >&6; } @@ -84268,7 +83944,7 @@ # Double any \ or $. # By default was 's,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' -program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"` +program_transform_name=`printf '%s\n' "$program_transform_name" | sed "$ac_script"` if test "x$prefix" = xNONE @@ -84448,12 +84124,12 @@ PHP_UNAME=$(uname -a | xargs) fi -printf "%s\n" "#define PHP_UNAME \"$PHP_UNAME\"" >>confdefs.h +printf '%s\n' "#define PHP_UNAME \"$PHP_UNAME\"" >>confdefs.h PHP_OS=$(uname | xargs) -printf "%s\n" "#define PHP_OS \"$PHP_OS\"" >>confdefs.h +printf '%s\n' "#define PHP_OS \"$PHP_OS\"" >>confdefs.h @@ -84462,7 +84138,7 @@ PHP_BUILD_SYSTEM=$PHP_UNAME fi -printf "%s\n" "#define PHP_BUILD_SYSTEM \"$PHP_BUILD_SYSTEM\"" >>confdefs.h +printf '%s\n' "#define PHP_BUILD_SYSTEM \"$PHP_BUILD_SYSTEM\"" >>confdefs.h @@ -84471,7 +84147,7 @@ else case e in #( e) -printf "%s\n" "#define PHP_BUILD_PROVIDER \"$PHP_BUILD_PROVIDER\"" >>confdefs.h +printf '%s\n' "#define PHP_BUILD_PROVIDER \"$PHP_BUILD_PROVIDER\"" >>confdefs.h ;; esac fi @@ -84482,7 +84158,7 @@ else case e in #( e) -printf "%s\n" "#define PHP_BUILD_COMPILER \"$PHP_BUILD_COMPILER\"" >>confdefs.h +printf '%s\n' "#define PHP_BUILD_COMPILER \"$PHP_BUILD_COMPILER\"" >>confdefs.h ;; esac fi @@ -84493,7 +84169,7 @@ else case e in #( e) -printf "%s\n" "#define PHP_BUILD_ARCH \"$PHP_BUILD_ARCH\"" >>confdefs.h +printf '%s\n' "#define PHP_BUILD_ARCH \"$PHP_BUILD_ARCH\"" >>confdefs.h ;; esac fi @@ -84684,7 +84360,7 @@ if test "x$PHP_MEMORY_SANITIZER" = xyes then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -fsanitize=memory -fsanitize-memory-track-origins" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -fsanitize=memory -fsanitize-memory-track-origins" >&5 printf %s "checking whether the C compiler accepts -fsanitize=memory -fsanitize-memory-track-origins... " >&6; } if test ${ax_cv_check_cflags___fsanitize_memory__fsanitize_memory_track_origins+y} then : @@ -84715,8 +84391,8 @@ CFLAGS=$ax_check_save_flags ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fsanitize_memory__fsanitize_memory_track_origins" >&5 -printf "%s\n" "$ax_cv_check_cflags___fsanitize_memory__fsanitize_memory_track_origins" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fsanitize_memory__fsanitize_memory_track_origins" >&5 +printf '%s\n' "$ax_cv_check_cflags___fsanitize_memory__fsanitize_memory_track_origins" >&6; } if test "x$ax_cv_check_cflags___fsanitize_memory__fsanitize_memory_track_origins" = xyes then : @@ -84743,7 +84419,7 @@ esac fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -fsanitize=address" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -fsanitize=address" >&5 printf %s "checking whether the C compiler accepts -fsanitize=address... " >&6; } if test ${ax_cv_check_cflags___fsanitize_address+y} then : @@ -84774,8 +84450,8 @@ CFLAGS=$ax_check_save_flags ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fsanitize_address" >&5 -printf "%s\n" "$ax_cv_check_cflags___fsanitize_address" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fsanitize_address" >&5 +printf '%s\n' "$ax_cv_check_cflags___fsanitize_address" >&6; } if test "x$ax_cv_check_cflags___fsanitize_address" = xyes then : @@ -84792,7 +84468,7 @@ if test "x$PHP_UNDEFINED_SANITIZER" = xyes then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -fsanitize=undefined" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -fsanitize=undefined" >&5 printf %s "checking whether the C compiler accepts -fsanitize=undefined... " >&6; } if test ${ax_cv_check_cflags___fsanitize_undefined+y} then : @@ -84823,14 +84499,14 @@ CFLAGS=$ax_check_save_flags ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fsanitize_undefined" >&5 -printf "%s\n" "$ax_cv_check_cflags___fsanitize_undefined" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fsanitize_undefined" >&5 +printf '%s\n' "$ax_cv_check_cflags___fsanitize_undefined" >&6; } if test "x$ax_cv_check_cflags___fsanitize_undefined" = xyes then : CFLAGS="$CFLAGS -fsanitize=undefined -fno-sanitize-recover=undefined" CXXFLAGS="$CXXFLAGS -fsanitize=undefined -fno-sanitize-recover=undefined" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -fno-sanitize=object-size" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -fno-sanitize=object-size" >&5 printf %s "checking whether the C compiler accepts -fno-sanitize=object-size... " >&6; } if test ${ax_cv_check_cflags___fno_sanitize_object_size+y} then : @@ -84861,8 +84537,8 @@ CFLAGS=$ax_check_save_flags ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fno_sanitize_object_size" >&5 -printf "%s\n" "$ax_cv_check_cflags___fno_sanitize_object_size" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fno_sanitize_object_size" >&5 +printf '%s\n' "$ax_cv_check_cflags___fno_sanitize_object_size" >&6; } if test "x$ax_cv_check_cflags___fno_sanitize_object_size" = xyes then : @@ -84877,7 +84553,7 @@ OLD_CFLAGS=$CFLAGS CFLAGS="$CFLAGS -fno-sanitize-recover=undefined" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to add -fno-sanitize=function" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to add -fno-sanitize=function" >&5 printf %s "checking whether to add -fno-sanitize=function... " >&6; } if test ${php_cv_ubsan_no_function+y} then : @@ -84912,8 +84588,8 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $php_cv_ubsan_no_function" >&5 -printf "%s\n" "$php_cv_ubsan_no_function" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $php_cv_ubsan_no_function" >&5 +printf '%s\n' "$php_cv_ubsan_no_function" >&6; } CFLAGS=$OLD_CFLAGS if test "x$php_cv_ubsan_no_function" = xyes then : @@ -84946,10 +84622,10 @@ fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: " >&5 -printf "%s\n" "" >&6; } - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${T_MD}Configuring libtool${T_ME}" >&5 -printf "%s\n" "${T_MD}Configuring libtool${T_ME}" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: " >&5 +printf '%s\n' "" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ${T_MD}Configuring libtool${T_ME}" >&5 +printf '%s\n' "${T_MD}Configuring libtool${T_ME}" >&6; } AR_FLAGS=cr @@ -85034,7 +84710,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 +{ 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 ${lt_cv_path_SED+y} then : @@ -85090,8 +84766,8 @@ fi SED=$lt_cv_path_SED -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SED" >&5 -printf "%s\n" "$SED" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $SED" >&5 +printf '%s\n' "$SED" >&6; } # Check whether --with-gnu-ld was given. @@ -85106,7 +84782,7 @@ ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 + { 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*) @@ -85136,10 +84812,10 @@ ;; esac elif test "$with_gnu_ld" = yes; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 printf %s "checking for GNU ld... " >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 printf %s "checking for non-GNU ld... " >&6; } fi if test ${lt_cv_path_LD+y} @@ -85175,14 +84851,14 @@ LD="$lt_cv_path_LD" if test -n "$LD"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 -printf "%s\n" "$LD" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 +printf '%s\n' "$LD" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 +{ 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 : @@ -85199,12 +84875,12 @@ esac ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 -printf "%s\n" "$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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 +{ 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 : @@ -85213,8 +84889,8 @@ e) lt_cv_ld_reload_flag='-r' ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 -printf "%s\n" "$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 "" | " "*) ;; @@ -85231,7 +84907,7 @@ ;; esac -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD-compatible nm" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for BSD-compatible nm" >&5 printf %s "checking for BSD-compatible nm... " >&6; } if test ${lt_cv_path_NM+y} then : @@ -85282,11 +84958,11 @@ fi ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 -printf "%s\n" "$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; } NM="$lt_cv_path_NM" -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 +{ 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 : @@ -85474,8 +85150,8 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 -printf "%s\n" "$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_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method test -z "$deplibs_check_method" && deplibs_check_method=unknown @@ -85505,7 +85181,7 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? - printf "%s\n" "$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*) @@ -85520,11 +85196,11 @@ ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 85523 "configure"' > conftest.$ac_ext + echo '#line 85199 "configure"' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? - printf "%s\n" "$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 "$lt_cv_prog_gnu_ld" = yes; then case `/usr/bin/file conftest.$ac_objext` in @@ -85562,7 +85238,7 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? - printf "%s\n" "$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*) @@ -85618,7 +85294,7 @@ # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 + { 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 : @@ -85658,8 +85334,8 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 -printf "%s\n" "$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 x"$lt_cv_cc_needs_belf" != x"yes"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS="$SAVE_CFLAGS" @@ -85671,7 +85347,7 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? - printf "%s\n" "$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*) @@ -85705,7 +85381,7 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 +{ 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 test ${ac_cv_prog_CXXCPP+y} @@ -85772,8 +85448,8 @@ else ac_cv_prog_CXXCPP=$CXXCPP fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 -printf "%s\n" "$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 @@ -85821,8 +85497,8 @@ then : else case e in #( - e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} + e) { { 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; } ;; esac @@ -85839,7 +85515,7 @@ # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! # find the maximum length of command line arguments -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 +{ 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 : @@ -85953,11 +85629,11 @@ fi if test -n $lt_cv_sys_max_cmd_len ; then - { 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; } + { 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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5 -printf "%s\n" "none" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none" >&5 +printf '%s\n' "none" >&6; } fi @@ -85965,7 +85641,7 @@ # Check for command to grab the raw symbol name followed by C symbol from nm. -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 +{ 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 : @@ -86074,14 +85750,14 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? - printf "%s\n" "$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 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 ac_status=$? - printf "%s\n" "$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 "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then @@ -86136,7 +85812,7 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? - printf "%s\n" "$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 @@ -86172,14 +85848,14 @@ 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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5 -printf "%s\n" "failed" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: failed" >&5 +printf '%s\n' "failed" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5 -printf "%s\n" "ok" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ok" >&5 +printf '%s\n' "ok" >&6; } fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 +{ 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 : @@ -86196,8 +85872,8 @@ rmdir .libs 2>/dev/null ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 -printf "%s\n" "$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 @@ -86248,7 +85924,7 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. set dummy ${ac_tool_prefix}ar; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ 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 : @@ -86269,7 +85945,7 @@ 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_AR="${ac_tool_prefix}ar" - printf "%s\n" "$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 @@ -86281,11 +85957,11 @@ fi AR=$ac_cv_prog_AR if test -n "$AR"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 -printf "%s\n" "$AR" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 +printf '%s\n' "$AR" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi @@ -86294,7 +85970,7 @@ ac_ct_AR=$AR # Extract the first word of "ar", so it can be a program name with args. set dummy ar; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ 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 : @@ -86315,7 +85991,7 @@ 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_AR="ar" - printf "%s\n" "$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 @@ -86327,11 +86003,11 @@ fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 -printf "%s\n" "$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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi if test "x$ac_ct_AR" = x; then @@ -86339,8 +86015,8 @@ 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;} +{ 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 @@ -86352,7 +86028,7 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ 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 : @@ -86373,7 +86049,7 @@ 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_RANLIB="${ac_tool_prefix}ranlib" - printf "%s\n" "$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 @@ -86385,11 +86061,11 @@ fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 -printf "%s\n" "$RANLIB" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 +printf '%s\n' "$RANLIB" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi @@ -86398,7 +86074,7 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ 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 : @@ -86419,7 +86095,7 @@ 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_RANLIB="ranlib" - printf "%s\n" "$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 @@ -86431,11 +86107,11 @@ fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 -printf "%s\n" "$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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "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 @@ -86443,8 +86119,8 @@ 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;} +{ 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 @@ -86456,7 +86132,7 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ 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 : @@ -86477,7 +86153,7 @@ 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_STRIP="${ac_tool_prefix}strip" - printf "%s\n" "$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 @@ -86489,11 +86165,11 @@ fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 -printf "%s\n" "$STRIP" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +printf '%s\n' "$STRIP" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi @@ -86502,7 +86178,7 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ 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 : @@ -86523,7 +86199,7 @@ 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_STRIP="strip" - printf "%s\n" "$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 @@ -86535,11 +86211,11 @@ fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 -printf "%s\n" "$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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "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 @@ -86547,8 +86223,8 @@ 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;} +{ 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 @@ -86611,7 +86287,7 @@ case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 + { 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 : @@ -86666,16 +86342,16 @@ MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 -printf "%s\n" "$MAGIC_CMD" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 +printf '%s\n' "$MAGIC_CMD" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5 + { 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 : @@ -86730,11 +86406,11 @@ MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 -printf "%s\n" "$MAGIC_CMD" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 +printf '%s\n' "$MAGIC_CMD" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi else @@ -86752,7 +86428,7 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ 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 : @@ -86773,7 +86449,7 @@ 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_DSYMUTIL="${ac_tool_prefix}dsymutil" - printf "%s\n" "$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 @@ -86785,11 +86461,11 @@ fi DSYMUTIL=$ac_cv_prog_DSYMUTIL if test -n "$DSYMUTIL"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 -printf "%s\n" "$DSYMUTIL" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 +printf '%s\n' "$DSYMUTIL" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi @@ -86798,7 +86474,7 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ 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 : @@ -86819,7 +86495,7 @@ 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_DSYMUTIL="dsymutil" - printf "%s\n" "$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 @@ -86831,11 +86507,11 @@ fi ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL if test -n "$ac_ct_DSYMUTIL"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 -printf "%s\n" "$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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "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 @@ -86843,8 +86519,8 @@ 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;} +{ 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 @@ -86856,7 +86532,7 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ 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 : @@ -86877,7 +86553,7 @@ 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_NMEDIT="${ac_tool_prefix}nmedit" - printf "%s\n" "$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 @@ -86889,11 +86565,11 @@ fi NMEDIT=$ac_cv_prog_NMEDIT if test -n "$NMEDIT"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 -printf "%s\n" "$NMEDIT" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 +printf '%s\n' "$NMEDIT" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi @@ -86902,7 +86578,7 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ 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 : @@ -86923,7 +86599,7 @@ 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_NMEDIT="nmedit" - printf "%s\n" "$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 @@ -86935,11 +86611,11 @@ fi ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT if test -n "$ac_ct_NMEDIT"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 -printf "%s\n" "$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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "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 @@ -86947,8 +86623,8 @@ 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;} +{ 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 @@ -86958,7 +86634,7 @@ fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 + { 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 : @@ -86981,9 +86657,9 @@ fi ;; esac fi -{ 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; } - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 +{ 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; } + { 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 : @@ -86995,7 +86671,7 @@ LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" cat > conftest.$ac_ext <&5 (eval $ac_link) 2>&5 ac_status=$? - printf "%s\n" "$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 lt_cv_ld_exported_symbols_list=yes rm -rf conftest* @@ -87018,8 +86694,8 @@ ;; esac fi -{ 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; } +{ 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; } case $host_os in rhapsody* | darwin1.[0123]) _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; @@ -87138,7 +86814,7 @@ lt_prog_compiler_no_builtin_flag=' -fno-builtin' -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 +{ 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 : @@ -87157,11 +86833,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"configure:87160: $lt_compile\"" >&5) + (eval echo "\"configure:86836: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "configure:87164: \$? = $ac_status" >&5 + echo "configure:86840: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -87175,8 +86851,8 @@ ;; esac fi -{ 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; } +{ 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 x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" @@ -87190,7 +86866,7 @@ lt_prog_compiler_pic= lt_prog_compiler_static= -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 +{ 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 "$GCC" = yes; then @@ -87430,15 +87106,15 @@ esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 -printf "%s\n" "$lt_prog_compiler_pic" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 +printf '%s\n' "$lt_prog_compiler_pic" >&6; } # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic"; then -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 +{ 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 : @@ -87457,11 +87133,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"configure:87460: $lt_compile\"" >&5) + (eval echo "\"configure:87136: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "configure:87464: \$? = $ac_status" >&5 + echo "configure:87140: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -87475,8 +87151,8 @@ ;; esac fi -{ 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; } +{ 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 x"$lt_cv_prog_compiler_pic_works" = xyes; then case $lt_prog_compiler_pic in @@ -87503,7 +87179,7 @@ # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 +{ 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 : @@ -87533,8 +87209,8 @@ ;; esac fi -{ 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; } +{ 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 x"$lt_cv_prog_compiler_static_works" = xyes; then : @@ -87543,7 +87219,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 +{ 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 : @@ -87565,11 +87241,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"configure:87568: $lt_compile\"" >&5) + (eval echo "\"configure:87244: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "configure:87572: \$? = $ac_status" >&5 + echo "configure:87248: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -87592,14 +87268,14 @@ ;; esac fi -{ 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; } +{ 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; } hard_links="nottested" if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 + { 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* @@ -87607,18 +87283,18 @@ touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 -printf "%s\n" "$hard_links" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 +printf '%s\n' "$hard_links" >&6; } if test "$hard_links" = no; then - { 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;} + { 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 need_locks=no fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +{ 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= @@ -88030,7 +87706,7 @@ # Determine the default libpath from the value encoded in an empty executable. cat > conftest.$ac_ext <&5 (eval $ac_link) 2>&5 ac_status=$? - printf "%s\n" "$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 lt_aix_libpath_sed=' @@ -88072,7 +87748,7 @@ # Determine the default libpath from the value encoded in an empty executable. cat > conftest.$ac_ext <&5 (eval $ac_link) 2>&5 ac_status=$? - printf "%s\n" "$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 lt_aix_libpath_sed=' @@ -88546,8 +88222,8 @@ esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 -printf "%s\n" "$ld_shlibs" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 +printf '%s\n' "$ld_shlibs" >&6; } test "$ld_shlibs" = no && can_build_shared=no # @@ -88567,7 +88243,7 @@ # 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. - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 + { 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; } $rm conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext @@ -88575,7 +88251,7 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? - printf "%s\n" "$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 @@ -88593,7 +88269,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=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } then archive_cmds_need_lc=no @@ -88605,15 +88281,15 @@ cat conftest.err 1>&5 fi $rm conftest* - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5 -printf "%s\n" "$archive_cmds_need_lc" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5 +printf '%s\n' "$archive_cmds_need_lc" >&6; } ;; esac fi ;; esac -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 +{ 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' @@ -89222,8 +88898,8 @@ dynamic_linker=no ;; esac -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 -printf "%s\n" "$dynamic_linker" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 +printf '%s\n' "$dynamic_linker" >&6; } test "$dynamic_linker" = no && can_build_shared=no if test ${lt_cv_sys_lib_search_path_spec+y} @@ -89250,7 +88926,7 @@ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 +{ 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" || \ @@ -89275,8 +88951,8 @@ # directories. hardcode_action=unsupported fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 -printf "%s\n" "$hardcode_action" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 +printf '%s\n' "$hardcode_action" >&6; } if test "$hardcode_action" = relink; then # Fast installation is not supported @@ -89289,13 +88965,13 @@ striplib= old_striplib= -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 +{ 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" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "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 @@ -89303,16 +88979,16 @@ if test -n "$STRIP" ; then striplib="$STRIP -x" old_striplib="$STRIP -S" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi ;; *) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } ;; esac fi @@ -89344,7 +89020,7 @@ darwin*) # if libdl is installed we need to link against it - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 + { 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 : @@ -89385,8 +89061,8 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 -printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; } +{ 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" @@ -89407,7 +89083,7 @@ then : lt_cv_dlopen="shl_load" else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 + e) { 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 : @@ -89448,8 +89124,8 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ 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; } +{ 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" @@ -89459,7 +89135,7 @@ then : lt_cv_dlopen="dlopen" else case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 + e) { 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 : @@ -89500,13 +89176,13 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 -printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; } +{ 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 case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 + e) { 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 : @@ -89547,13 +89223,13 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 -printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; } +{ 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 case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 + e) { 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 : @@ -89594,8 +89270,8 @@ LIBS=$ac_check_lib_save_LIBS ;; esac fi -{ 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; } +{ 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" @@ -89641,7 +89317,7 @@ save_LIBS="$LIBS" LIBS="$lt_cv_dlopen_libs $LIBS" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 + { 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 : @@ -89653,7 +89329,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <&5 (eval $ac_link) 2>&5 ac_status=$? - printf "%s\n" "$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=$? @@ -89735,12 +89411,12 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 -printf "%s\n" "$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 "x$lt_cv_dlopen_self" = xyes; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 + { 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 : @@ -89752,7 +89428,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <&5 (eval $ac_link) 2>&5 ac_status=$? - printf "%s\n" "$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=$? @@ -89834,8 +89510,8 @@ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 -printf "%s\n" "$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" @@ -89857,12 +89533,12 @@ # Report which library types will actually be built -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 +{ 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; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 +printf '%s\n' "$can_build_shared" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 +{ 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 "$can_build_shared" = "no" && enable_shared=no @@ -89883,15 +89559,15 @@ fi ;; esac -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 -printf "%s\n" "$enable_shared" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 +printf '%s\n' "$enable_shared" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 +{ 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 "$enable_shared" = yes || enable_static=yes -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 -printf "%s\n" "$enable_static" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 +printf '%s\n' "$enable_static" >&6; } # The else clause should only fire when bootstrapping the # libtool distribution, otherwise you forgot to ship ltmain.sh @@ -89984,9 +89660,9 @@ cfgfile="${ofile}T" trap "$rm \"$cfgfile\"; exit 1" 1 2 15 $rm -f "$cfgfile" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: creating $ofile" >&5 -printf "%s\n" " +printf '%s\n' " creating $ofile" >&6; } cat <<__EOF__ >> "$cfgfile" @@ -90400,18 +90076,18 @@ if test -f "$ltmain" && test -n "$tagnames"; then if test ! -f "${ofile}"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: output file '$ofile' does not exist" >&5 -printf "%s\n" "$as_me: WARNING: output file '$ofile' does not exist" >&2;} + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: output file '$ofile' does not exist" >&5 +printf '%s\n' "$as_me: WARNING: output file '$ofile' does not exist" >&2;} fi if test -z "$LTCC"; then eval "`$SHELL ${ofile} --config | grep '^LTCC='`" if test -z "$LTCC"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: output file '$ofile' does not look like a libtool script" >&5 -printf "%s\n" "$as_me: WARNING: output file '$ofile' does not look like a libtool script" >&2;} + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: output file '$ofile' does not look like a libtool script" >&5 +printf '%s\n' "$as_me: WARNING: output file '$ofile' does not look like a libtool script" >&2;} else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using 'LTCC=$LTCC', extracted from '$ofile'" >&5 -printf "%s\n" "$as_me: WARNING: using 'LTCC=$LTCC', extracted from '$ofile'" >&2;} + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using 'LTCC=$LTCC', extracted from '$ofile'" >&5 +printf '%s\n' "$as_me: WARNING: using 'LTCC=$LTCC', extracted from '$ofile'" >&2;} fi fi if test -z "$LTCFLAGS"; then @@ -90578,7 +90254,7 @@ ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 + { 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*) @@ -90608,10 +90284,10 @@ ;; esac elif test "$with_gnu_ld" = yes; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 printf %s "checking for GNU ld... " >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 printf %s "checking for non-GNU ld... " >&6; } fi if test ${lt_cv_path_LD+y} @@ -90647,14 +90323,14 @@ LD="$lt_cv_path_LD" if test -n "$LD"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 -printf "%s\n" "$LD" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 +printf '%s\n' "$LD" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 +{ 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 : @@ -90671,8 +90347,8 @@ esac ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 -printf "%s\n" "$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 @@ -90722,7 +90398,7 @@ fi # PORTME: fill in a description of your system's C++ link characteristics -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +{ 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 @@ -90821,7 +90497,7 @@ # Determine the default libpath from the value encoded in an empty executable. cat > conftest.$ac_ext <&5 (eval $ac_link) 2>&5 ac_status=$? - printf "%s\n" "$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 lt_aix_libpath_sed=' @@ -90864,7 +90540,7 @@ # Determine the default libpath from the value encoded in an empty executable. cat > conftest.$ac_ext <&5 (eval $ac_link) 2>&5 ac_status=$? - printf "%s\n" "$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 lt_aix_libpath_sed=' @@ -91620,8 +91296,8 @@ ld_shlibs_CXX=no ;; esac -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 -printf "%s\n" "$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 "$ld_shlibs_CXX" = no && can_build_shared=no GCC_CXX="$GXX" @@ -91644,7 +91320,7 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? - printf "%s\n" "$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. @@ -91800,7 +91476,7 @@ lt_prog_compiler_pic_CXX= lt_prog_compiler_static_CXX= -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 +{ 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; } # C++ specific cases for pic, static, wl, etc. @@ -92090,15 +91766,15 @@ esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5 -printf "%s\n" "$lt_prog_compiler_pic_CXX" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5 +printf '%s\n' "$lt_prog_compiler_pic_CXX" >&6; } # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic_CXX"; then -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 +{ 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 : @@ -92117,11 +91793,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"configure:92120: $lt_compile\"" >&5) + (eval echo "\"configure:91796: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "configure:92124: \$? = $ac_status" >&5 + echo "configure:91800: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -92135,8 +91811,8 @@ ;; esac fi -{ 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; } +{ 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 x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then case $lt_prog_compiler_pic_CXX in @@ -92163,7 +91839,7 @@ # 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\" -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 +{ 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 : @@ -92193,8 +91869,8 @@ ;; esac fi -{ 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; } +{ 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 x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then : @@ -92203,7 +91879,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 +{ 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 : @@ -92225,11 +91901,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"configure:92228: $lt_compile\"" >&5) + (eval echo "\"configure:91904: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "configure:92232: \$? = $ac_status" >&5 + echo "configure:91908: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -92252,14 +91928,14 @@ ;; esac fi -{ 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; } +{ 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; } hard_links="nottested" if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 + { 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* @@ -92267,18 +91943,18 @@ touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 -printf "%s\n" "$hard_links" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 +printf '%s\n' "$hard_links" >&6; } if test "$hard_links" = no; then - { 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;} + { 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 need_locks=no fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +{ 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' @@ -92304,8 +91980,8 @@ esac exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 -printf "%s\n" "$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 "$ld_shlibs_CXX" = no && can_build_shared=no # @@ -92325,7 +92001,7 @@ # 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. - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 + { 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; } $rm conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext @@ -92333,7 +92009,7 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? - printf "%s\n" "$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 @@ -92351,7 +92027,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=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } then archive_cmds_need_lc_CXX=no @@ -92363,15 +92039,15 @@ cat conftest.err 1>&5 fi $rm conftest* - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5 -printf "%s\n" "$archive_cmds_need_lc_CXX" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5 +printf '%s\n' "$archive_cmds_need_lc_CXX" >&6; } ;; esac fi ;; esac -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 +{ 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' @@ -92928,8 +92604,8 @@ dynamic_linker=no ;; esac -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 -printf "%s\n" "$dynamic_linker" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 +printf '%s\n' "$dynamic_linker" >&6; } test "$dynamic_linker" = no && can_build_shared=no if test ${lt_cv_sys_lib_search_path_spec+y} @@ -92956,7 +92632,7 @@ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 +{ 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" || \ @@ -92981,8 +92657,8 @@ # directories. hardcode_action_CXX=unsupported fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 -printf "%s\n" "$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 "$hardcode_action_CXX" = relink; then # Fast installation is not supported @@ -93494,10 +93170,10 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: " >&5 -printf "%s\n" "" >&6; } - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${T_MD}Generating files${T_ME}" >&5 -printf "%s\n" "${T_MD}Generating files${T_ME}" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: " >&5 +printf '%s\n' "" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ${T_MD}Generating files${T_ME}" >&5 +printf '%s\n' "${T_MD}Generating files${T_ME}" >&6; } CXXFLAGS_CLEAN=$CXXFLAGS @@ -93951,7 +93627,7 @@ -printf "%s\n" "#define HAVE_BUILD_DEFS_H 1" >>confdefs.h +printf '%s\n' "#define HAVE_BUILD_DEFS_H 1" >>confdefs.h as_fn_append BUILD_DIR " main main/streams scripts scripts/man1 TSRM Zend Zend/asm Zend/Optimizer" @@ -93989,44 +93665,7 @@ _ACEOF -# The following way of writing the cache mishandles newlines in values, -# but we know of no workaround that is simple, portable, and efficient. -# So, we kill variables containing newlines. -# Ultrix sh set writes to stderr and can't be redirected directly, -# and sets the high bit in the cache file unless we assign to the vars. -( - for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_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) ;; #( - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( - *) { eval $ac_var=; unset $ac_var;} ;; - esac ;; - esac - done - - (set) 2>&1 | - case $as_nl`(ac_space=' '; set) 2>&1` in #( - *${as_nl}ac_space=\ *) - # 'set' does not quote correctly, so add quotes: double-quote - # substitution turns \\\\ into \\, and sed turns \\ into \. - sed -n \ - "s/'/'\\\\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" - ;; #( - *) - # 'set' quotes correctly as required by POSIX, so do not add quotes. - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" - ;; - esac | - sort -) | +ac_cache_dump | sed ' /^ac_cv_env_/b end t clear @@ -94038,8 +93677,8 @@ 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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 -printf "%s\n" "$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 @@ -94053,8 +93692,8 @@ fi fi else - { 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;} + { 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 @@ -94071,7 +93710,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=`printf "%s\n" "$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" @@ -94089,13 +93728,13 @@ PHP_VAR_SUBST="$PHP_VAR_SUBST phplibdir" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating build directories" >&5 -printf "%s\n" "$as_me: creating build directories" >&6;} + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating build directories" >&5 +printf '%s\n' "$as_me: creating build directories" >&6;} $php_shtool mkdir -p $BUILD_DIR - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating Makefile" >&5 -printf "%s\n" "$as_me: creating Makefile" >&6;} + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating Makefile" >&5 +printf '%s\n' "$as_me: creating Makefile" >&6;} cat >Makefile <&5 -printf "%s\n" "$as_me: patching main/php_config.h.in" >&6;} + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: patching main/php_config.h.in" >&5 +printf '%s\n' "$as_me: patching main/php_config.h.in" >&6;} $SED -e 's/^#undef PACKAGE_[^ ]*/\/\* & \*\//g' < $srcdir/main/php_config.h.in \ > $srcdir/main/php_config.h.in.tmp && mv $srcdir/main/php_config.h.in.tmp $srcdir/main/php_config.h.in : "${CONFIG_STATUS=./config.status}" +case $CONFIG_STATUS in #( + -*) : + CONFIG_STATUS=./$CONFIG_STATUS ;; #( + */*) : + ;; #( + *) : + CONFIG_STATUS=./$CONFIG_STATUS ;; +esac + ac_write_fail=0 -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 -printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} +ac_clean_CONFIG_STATUS='"$CONFIG_STATUS"' +{ 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 +cat >"$CONFIG_STATUS" <<_ASEOF || as_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. @@ -94138,7 +93785,7 @@ SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF -cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 +cat >>"$CONFIG_STATUS" <<\_ASEOF || as_write_fail=1 ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## @@ -94150,7 +93797,7 @@ emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. + # contradicts POSIX and common usage. Disable this. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case e in #( @@ -94237,7 +93884,7 @@ as_myself=$0 fi if test ! -f "$as_myself"; then - printf "%s\n" "$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 @@ -94253,9 +93900,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 - printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi - printf "%s\n" "$as_me: error: $2" >&2 + printf '%s\n' "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error @@ -94350,7 +93997,7 @@ $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || -printf "%s\n" X/"$0" | +printf '%s\n' X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q @@ -94372,29 +94019,6 @@ 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*) - case `echo 'xy\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - xy) ECHO_C='\c';; - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null - ECHO_T=' ';; - esac;; -*) - 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 @@ -94436,7 +94060,7 @@ as_dirs= while :; do case $as_dir in #( - *\'*) as_qdir=`printf "%s\n" "$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" @@ -94445,7 +94069,7 @@ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -printf "%s\n" X"$as_dir" | +printf '%s\n' X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -94498,19 +94122,19 @@ exec 6>&1 -## ----------------------------------- ## -## Main body of $CONFIG_STATUS script. ## -## ----------------------------------- ## +## ------------------------------------- ## +## Main body of "$CONFIG_STATUS" script. ## +## ------------------------------------- ## _ASEOF -test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 +test $as_write_fail = 0 && chmod +x "$CONFIG_STATUS" || ac_write_fail=1 -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 # Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by PHP $as_me 8.4.21, which was -generated by GNU Autoconf 2.72. Invocation command line was +This file was extended by PHP $as_me 8.4.23, which was +generated by GNU Autoconf 2.73. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS @@ -94532,7 +94156,7 @@ esac -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" @@ -94540,7 +94164,7 @@ _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ '$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files @@ -94573,25 +94197,29 @@ PHP home page: ." _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=`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='$ac_cs_config_escaped' ac_cs_version="\\ -PHP config.status 8.4.21 -configured by $0, generated by GNU Autoconf 2.72, +PHP config.status 8.4.23 +configured by $0, generated by GNU Autoconf 2.73, with options \\"\$ac_cs_config\\" -Copyright (C) 2023 Free Software Foundation, Inc. +Copyright (C) 2026 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' -test -n "\$AWK" || AWK=awk +test -n "\$AWK" || { + awk '' >$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 @@ -94619,15 +94247,15 @@ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) - printf "%s\n" "$ac_cs_version"; exit ;; + printf '%s\n' "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) - printf "%s\n" "$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=`printf "%s\n" "$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'" @@ -94635,7 +94263,7 @@ --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in - *\'*) ac_optarg=`printf "%s\n" "$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;; @@ -94644,7 +94272,7 @@ as_fn_error $? "ambiguous option: '$1' Try '$0 --help' for more information.";; --help | --hel | -h ) - printf "%s\n" "$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=: ;; @@ -94668,29 +94296,29 @@ fi _ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift - \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 + \printf '%s\n' "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX - printf "%s\n" "$ac_log" + printf '%s\n' "$ac_log" } >&5 _ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # @@ -94708,7 +94336,7 @@ _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets @@ -94809,13 +94437,13 @@ echo "_ACEOF" } >conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 -ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` +ac_delim_num=`echo "$ac_subst_vars" | sed -n '$='` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 - ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | sed -n '$='` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then @@ -94826,7 +94454,7 @@ done rm -f conf$$subs.sh -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' @@ -94871,9 +94499,9 @@ N s/\n// } -' >>$CONFIG_STATUS || ac_write_fail=1 +' >>"$CONFIG_STATUS" || ac_write_fail=1 rm -f conf$$subs.awk -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 @@ -94902,7 +94530,7 @@ _ACAWK _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else @@ -94934,7 +94562,7 @@ }' fi -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. @@ -95005,9 +94633,9 @@ b cont ' >$CONFIG_STATUS || ac_write_fail=1 +"/g' >>"$CONFIG_STATUS" || ac_write_fail=1 -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 for (key in D) D_is_set[key] = 1 FS = "" } @@ -95025,8 +94653,12 @@ macro = mac2[1] prefix = substr(line, 1, index(line, defundef) - 1) if (D_is_set[macro]) { + suffix = P[macro] D[macro] + while (suffix ~ /[\t ]$/) { + suffix = substr(suffix, 1, length(suffix) - 1) + } # Preserve the white space surrounding the "#". - print prefix "define", macro P[macro] D[macro] + print prefix "define", macro suffix next } else { # Replace #undef with comments. This is necessary, for example, @@ -95041,7 +94673,7 @@ { print } _ACAWK _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 fi # test -n "$CONFIG_HEADERS" @@ -95085,7 +94717,7 @@ esac || as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;; esac - case $ac_f in *\'*) ac_f=`printf "%s\n" "$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 @@ -95093,17 +94725,17 @@ # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` - printf "%s\n" "$*" | 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" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 -printf "%s\n" "$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=`printf "%s\n" "$configure_input" | + ac_sed_conf_input=`printf '%s\n' "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac @@ -95120,7 +94752,7 @@ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -printf "%s\n" X"$ac_file" | +printf '%s\n' X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -95144,9 +94776,9 @@ case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) - ac_dir_suffix=/`printf "%s\n" "$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=`printf "%s\n" "$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/ ;; @@ -95182,7 +94814,7 @@ _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= @@ -95199,10 +94831,10 @@ case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) - { 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;} + { 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 +cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g @@ -95216,11 +94848,11 @@ # Neutralize VPATH when '$srcdir' = '.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t @@ -95242,9 +94874,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"; } && - { printf "%s\n" "$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 -printf "%s\n" "$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" @@ -95260,27 +94892,27 @@ # if test x"$ac_file" != x-; then { - printf "%s\n" "/* $configure_input */" >&1 \ + 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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 -printf "%s\n" "$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 - printf "%s\n" "/* $configure_input */" >&1 \ + 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 ;; - :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 -printf "%s\n" "$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 @@ -95292,7 +94924,7 @@ else case e in #( e) if test "x$APACHE_THREADED_MPM" = xno then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: +--------------------------------------------------------------------+ | *** WARNING *** | | | @@ -95301,7 +94933,7 @@ | PHP with --enable-zts | +--------------------------------------------------------------------+ " >&5 -printf "%s\n" "$as_me: WARNING: +printf '%s\n' "$as_me: WARNING: +--------------------------------------------------------------------+ | *** WARNING *** | | | @@ -95341,7 +94973,7 @@ as_fn_exit 0 _ACEOF -ac_clean_files=$ac_clean_files_save +ac_clean_CONFIG_STATUS= test $ac_write_fail = 0 || as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 @@ -95357,19 +94989,26 @@ # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: + case $CONFIG_STATUS in #( + -*) : + ac_no_opts=-- ;; #( + *) : + ac_no_opts= ;; +esac ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null - $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false + $SHELL $ac_no_opts "$CONFIG_STATUS" $ac_config_status_args || + ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then - { 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;} + { 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 diff -Nru php8.4-8.4.21/configure.ac php8.4-8.4.23/configure.ac --- php8.4-8.4.21/configure.ac 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/configure.ac 2026-07-01 04:28:00.000000000 +0000 @@ -17,7 +17,7 @@ dnl ---------------------------------------------------------------------------- AC_PREREQ([2.68]) -AC_INIT([PHP],[8.4.21],[https://github.com/php/php-src/issues],[php],[https://www.php.net]) +AC_INIT([PHP],[8.4.23],[https://github.com/php/php-src/issues],[php],[https://www.php.net]) AC_CONFIG_SRCDIR([main/php_version.h]) AC_CONFIG_AUX_DIR([build]) AC_PRESERVE_HELP_ORDER diff -Nru php8.4-8.4.21/debian/changelog php8.4-8.4.23/debian/changelog --- php8.4-8.4.21/debian/changelog 2026-05-08 05:56:48.000000000 +0000 +++ php8.4-8.4.23/debian/changelog 2026-07-03 12:26:56.000000000 +0000 @@ -1,3 +1,11 @@ +php8.4 (8.4.23-1~deb13u1) trixie-security; urgency=high + + * New upstream version 8.4.23 + + [CVE-2026-14355]: Memory corruption (zend_mm_heap corrupted) in + openssl_encrypt with AES-WRAP-PAD. + + -- Ondřej Surý Fri, 03 Jul 2026 14:26:56 +0200 + php8.4 (8.4.21-1~deb13u1) trixie-security; urgency=high * New upstream version 8.4.21 diff -Nru php8.4-8.4.21/ext/bcmath/bcmath.c php8.4-8.4.23/ext/bcmath/bcmath.c --- php8.4-8.4.21/ext/bcmath/bcmath.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/bcmath/bcmath.c 2026-07-01 04:28:00.000000000 +0000 @@ -157,6 +157,16 @@ return SUCCESS; } +static zend_result bcmath_check_precision(zend_long precision, uint32_t arg_num) +{ + if (ZEND_LONG_INT_OVFL(precision)) { + zend_argument_value_error(arg_num, "must be between " ZEND_LONG_FMT " and %d", + (zend_long) ZEND_LONG_MIN, INT_MAX); + return FAILURE; + } + return SUCCESS; +} + static void php_long2num(bc_num *num, zend_long lval) { *num = bc_long2num(lval); @@ -778,6 +788,10 @@ Z_PARAM_OBJ_OF_CLASS(mode_object, rounding_mode_ce) ZEND_PARSE_PARAMETERS_END(); + if (bcmath_check_precision(precision, 2) == FAILURE) { + RETURN_THROWS(); + } + if (mode_object != NULL) { mode = php_math_round_mode_from_enum(mode_object); } @@ -1784,6 +1798,10 @@ Z_PARAM_OBJ_OF_CLASS(mode_object, rounding_mode_ce); ZEND_PARSE_PARAMETERS_END(); + if (bcmath_check_precision(precision, 1) == FAILURE) { + RETURN_THROWS(); + } + if (mode_object != NULL) { rounding_mode = php_math_round_mode_from_enum(mode_object); } diff -Nru php8.4-8.4.21/ext/bcmath/libbcmath/src/round.c php8.4-8.4.23/ext/bcmath/libbcmath/src/round.c --- php8.4-8.4.21/ext/bcmath/libbcmath/src/round.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/bcmath/libbcmath/src/round.c 2026-07-01 04:28:00.000000000 +0000 @@ -70,12 +70,10 @@ return; } - /* If precision is -3, it becomes 1000. */ - if (UNEXPECTED(precision == ZEND_LONG_MIN)) { - *result = bc_new_num((size_t) ZEND_LONG_MAX + 2, 0); - } else { - *result = bc_new_num(-precision + 1, 0); - } + /* If precision is -3, it becomes 1000. Negate in unsigned space so + * precision == ZEND_LONG_MIN doesn't overflow signed long. */ + zend_ulong magnitude = -(zend_ulong) precision; + *result = bc_new_num((size_t) magnitude + 1, 0); (*result)->n_value[0] = 1; (*result)->n_sign = num->n_sign; return; diff -Nru php8.4-8.4.21/ext/bcmath/tests/bcround_precision_bounds.phpt php8.4-8.4.23/ext/bcmath/tests/bcround_precision_bounds.phpt --- php8.4-8.4.21/ext/bcmath/tests/bcround_precision_bounds.phpt 1970-01-01 00:00:00.000000000 +0000 +++ php8.4-8.4.23/ext/bcmath/tests/bcround_precision_bounds.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -0,0 +1,28 @@ +--TEST-- +bcround() and BcMath\Number::round() reject $precision above INT_MAX +--EXTENSIONS-- +bcmath +--SKIPIF-- + +--FILE-- +getMessage() . \PHP_EOL; +} +try { + (new BcMath\Number('1'))->round(PHP_INT_MAX); +} catch (\ValueError $e) { + echo $e->getMessage() . \PHP_EOL; +} +try { + (new BcMath\Number('1'))->round(2147483648); // INT_MAX + 1 +} catch (\ValueError $e) { + echo $e->getMessage() . \PHP_EOL; +} +?> +--EXPECTF-- +bcround(): Argument #2 ($precision) must be between %i and %d +BcMath\Number::round(): Argument #1 ($precision) must be between %i and %d +BcMath\Number::round(): Argument #1 ($precision) must be between %i and %d diff -Nru php8.4-8.4.21/ext/com_dotnet/tests/variants.phpt php8.4-8.4.23/ext/com_dotnet/tests/variants.phpt --- php8.4-8.4.21/ext/com_dotnet/tests/variants.phpt 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/com_dotnet/tests/variants.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -43,7 +43,7 @@ echo "OK!"; ?> ---EXPECT-- +--EXPECTF-- -- add: 84 cat: 4242 @@ -142,8 +142,8 @@ and: 0 div: variant_div(42, ) - exception Division by zero - code 80020012 + exception %s + code 800200%x eqv: -43 idiv: @@ -258,8 +258,8 @@ and: 0 div: variant_div(3.5, ) - exception Division by zero - code 80020012 + exception %s + code 800200%x eqv: -5 idiv: diff -Nru php8.4-8.4.21/ext/curl/config.w32 php8.4-8.4.23/ext/curl/config.w32 --- php8.4-8.4.21/ext/curl/config.w32 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/curl/config.w32 2026-07-01 04:28:00.000000000 +0000 @@ -16,21 +16,29 @@ var curl_location; if ((curl_location = CHECK_LIB("libcurl_a.lib;libcurl.lib", "curl", PHP_CURL)) && CHECK_HEADER_ADD_INCLUDE("curl/easy.h", "CFLAGS_CURL") && - SETUP_OPENSSL("curl", PHP_CURL) >= 2 && + SETUP_OPENSSL("curl", PHP_CURL) > 0 && CHECK_LIB("winmm.lib", "curl", PHP_CURL) && CHECK_LIB("wldap32.lib", "curl", PHP_CURL) && (((PHP_ZLIB=="no") && (CHECK_LIB("zlib_a.lib;zlib.lib", "curl", PHP_CURL))) || (PHP_ZLIB_SHARED && CHECK_LIB("zlib.lib", "curl", PHP_CURL)) || (PHP_ZLIB == "yes" && (!PHP_ZLIB_SHARED))) && !isNaN(ver_num) && - (CHECK_LIB("normaliz.lib", "curl", PHP_CURL) && - CHECK_LIB("libssh2.lib", "curl", PHP_CURL) && - CHECK_LIB("nghttp2.lib", "curl", PHP_CURL) && - CHECK_LIB("brotlidec.lib", "curl", PHP_CURL) && - CHECK_LIB("brotlicommon.lib", "curl", PHP_CURL) && - CHECK_LIB("libzstd.lib", "curl", PHP_CURL)) + (ver_num <= parseInt("0x073b00") || ver_num > parseInt("0x073b00") && + CHECK_LIB("normaliz.lib", "curl", PHP_CURL) && + CHECK_LIB("libssh2.lib", "curl", PHP_CURL) && + CHECK_LIB("nghttp2.lib", "curl", PHP_CURL)) ) { + if (!(CHECK_HEADER_ADD_INCLUDE("brotli/decode.h", "CFLAGS_CURL") && + CHECK_LIB("brotlidec.lib;brotlidec-static.lib", "curl", PHP_CURL) && + CHECK_LIB("brotlicommon.lib;brotlicommon-static.lib", "curl", PHP_CURL) + )) { + WARNING("brotli in curl not enabled; libraries or headers not found"); + } + if (!(CHECK_LIB("libzstd.lib;libzstd_a.lib", "curl", PHP_CURL) + )) { + WARNING("zstd in curl not enabled; library not found"); + } EXTENSION("curl", "interface.c multi.c share.c curl_file.c"); - AC_DEFINE('HAVE_CURL', 1, "Define to 1 if the PHP extension 'curl' is available."); + AC_DEFINE('HAVE_CURL', 1, 'Have cURL library'); ADD_FLAG("CFLAGS_CURL", "/D PHP_CURL_EXPORTS=1"); if (curl_location.match(/libcurl_a\.lib$/)) { ADD_FLAG("CFLAGS_CURL", "/D CURL_STATICLIB"); diff -Nru php8.4-8.4.21/ext/date/config0.m4 php8.4-8.4.23/ext/date/config0.m4 --- php8.4-8.4.21/ext/date/config0.m4 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/date/config0.m4 2026-07-01 04:28:00.000000000 +0000 @@ -9,6 +9,10 @@ [-Werror]) PHP_DATE_CFLAGS="$PHP_DATE_CFLAGS -I@ext_builddir@/lib -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DHAVE_TIMELIB_CONFIG_H=1" + +AX_CHECK_COMPILE_FLAG([-fwrapv], + [PHP_DATE_CFLAGS="$PHP_DATE_CFLAGS -fwrapv"]) + timelib_sources="lib/astro.c lib/dow.c lib/parse_date.c lib/parse_tz.c lib/parse_posix.c lib/timelib.c lib/tm2unixtime.c lib/unixtime2tm.c lib/parse_iso_intervals.c lib/interval.c" diff -Nru php8.4-8.4.21/ext/date/php_date.c php8.4-8.4.23/ext/date/php_date.c --- php8.4-8.4.21/ext/date/php_date.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/date/php_date.c 2026-07-01 04:28:00.000000000 +0000 @@ -31,13 +31,7 @@ #include "win32/time.h" #endif -#ifdef PHP_WIN32 -static __inline __int64 php_date_llabs( __int64 i ) { return i >= 0? i: -i; } -#elif defined(__GNUC__) && __GNUC__ < 3 -static __inline __int64_t php_date_llabs( __int64_t i ) { return i >= 0 ? i : -i; } -#else -static inline long long php_date_llabs( long long i ) { return i >= 0 ? i : -i; } -#endif +static inline uint64_t php_date_llabs(int64_t i) { return i >= 0 ? (uint64_t)i : -(uint64_t)i; } #ifdef PHP_WIN32 #define DATE_I64_BUF_LEN 65 @@ -742,9 +736,9 @@ /* year */ case 'L': length = slprintf(buffer, sizeof(buffer), "%d", timelib_is_leap((int) t->y)); break; case 'y': length = slprintf(buffer, sizeof(buffer), "%02d", (int) (t->y % 100)); break; - case 'Y': length = slprintf(buffer, sizeof(buffer), "%s%04lld", t->y < 0 ? "-" : "", php_date_llabs((timelib_sll) t->y)); break; - case 'x': length = slprintf(buffer, sizeof(buffer), "%s%04lld", t->y < 0 ? "-" : (t->y >= 10000 ? "+" : ""), php_date_llabs((timelib_sll) t->y)); break; - case 'X': length = slprintf(buffer, sizeof(buffer), "%s%04lld", t->y < 0 ? "-" : "+", php_date_llabs((timelib_sll) t->y)); break; + case 'Y': length = slprintf(buffer, sizeof(buffer), "%s%04" PRIu64, t->y < 0 ? "-" : "", php_date_llabs((timelib_sll) t->y)); break; + case 'x': length = slprintf(buffer, sizeof(buffer), "%s%04" PRIu64, t->y < 0 ? "-" : (t->y >= 10000 ? "+" : ""), php_date_llabs((timelib_sll) t->y)); break; + case 'X': length = slprintf(buffer, sizeof(buffer), "%s%04" PRIu64, t->y < 0 ? "-" : "+", php_date_llabs((timelib_sll) t->y)); break; /* time */ case 'a': length = slprintf(buffer, sizeof(buffer), "%s", t->h >= 12 ? "pm" : "am"); break; @@ -5131,7 +5125,7 @@ zend_string_release(func); return false; } - if (dpobj->end == NULL && recurrences == 0) { + if (dpobj->end == NULL && *recurrences == 0) { zend_string *func = get_active_function_or_method_name(); zend_throw_exception_ex(date_ce_date_malformed_period_string_exception, 0, "%s(): ISO interval must contain an end date or a recurrence count, \"%s\" given", ZSTR_VAL(func), isostr); zend_string_release(func); diff -Nru php8.4-8.4.21/ext/date/tests/date_period_bad_iso_format.phpt php8.4-8.4.23/ext/date/tests/date_period_bad_iso_format.phpt --- php8.4-8.4.21/ext/date/tests/date_period_bad_iso_format.phpt 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/date/tests/date_period_bad_iso_format.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -50,5 +50,5 @@ DateMalformedPeriodStringException: DatePeriod::createFromISO8601String(): ISO interval must contain an interval, "R4/2012-07-01T00:00:00Z" given Deprecated: Calling DatePeriod::__construct(string $isostr, int $options = 0) is deprecated, use DatePeriod::createFromISO8601String() instead in %s on line %d -DateMalformedPeriodStringException: DatePeriod::__construct(): Recurrence count must be greater or equal to 1 and lower than %d -DateMalformedPeriodStringException: DatePeriod::createFromISO8601String(): Recurrence count must be greater or equal to 1 and lower than %d +DateMalformedPeriodStringException: DatePeriod::__construct(): ISO interval must contain an end date or a recurrence count, "2012-07-01T00:00:00Z/P7D" given +DateMalformedPeriodStringException: DatePeriod::createFromISO8601String(): ISO interval must contain an end date or a recurrence count, "2012-07-01T00:00:00Z/P7D" given diff -Nru php8.4-8.4.21/ext/date/tests/gh18422.phpt php8.4-8.4.23/ext/date/tests/gh18422.phpt --- php8.4-8.4.21/ext/date/tests/gh18422.phpt 1970-01-01 00:00:00.000000000 +0000 +++ php8.4-8.4.23/ext/date/tests/gh18422.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -0,0 +1,21 @@ +--TEST-- +GH-18422 (int overflow in Date extension) +--FILE-- +format("Y"), "\n"; +echo $dto->format("x"), "\n"; +echo $dto->format("X"), "\n"; + +echo date_create("2024-06-15")->format("Y"), "\n"; +echo date_create("-0042-01-01")->format("Y"), "\n"; +?> +--EXPECTF-- +-%d +-%d +-%d +2024 +-0042 diff -Nru php8.4-8.4.21/ext/dba/libinifile/inifile.c php8.4-8.4.23/ext/dba/libinifile/inifile.c --- php8.4-8.4.21/ext/dba/libinifile/inifile.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/dba/libinifile/inifile.c 2026-07-01 04:28:00.000000000 +0000 @@ -14,7 +14,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: c5467396d4bfe62513fab439a836d384a4652b26 $ */ +/* $Id: 4dc687ea6681ffc42006a5fa64ac97f828c52ce1 $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -40,7 +40,7 @@ /* {{{ inifile_version */ const char *inifile_version(void) { - return "1.0, $Id: c5467396d4bfe62513fab439a836d384a4652b26 $"; + return "1.0, $Id: 4dc687ea6681ffc42006a5fa64ac97f828c52ce1 $"; } /* }}} */ @@ -111,7 +111,7 @@ key_type inifile_key_split(const char *group_name) { key_type key; - char *name; + const char *name; if (group_name[0] == '[' && (name = strchr(group_name, ']')) != NULL) { key.group = estrndup(group_name+1, name - (group_name + 1)); diff -Nru php8.4-8.4.21/ext/dom/CREDITS php8.4-8.4.23/ext/dom/CREDITS --- php8.4-8.4.21/ext/dom/CREDITS 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/dom/CREDITS 2026-07-01 04:28:00.000000000 +0000 @@ -1,2 +1,2 @@ DOM -Christian Stocker, Rob Richards, Marcus Boerger, Niels Dossche +Christian Stocker, Rob Richards, Marcus Boerger, Nora Dossche diff -Nru php8.4-8.4.21/ext/dom/document.c php8.4-8.4.23/ext/dom/document.c --- php8.4-8.4.21/ext/dom/document.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/dom/document.c 2026-07-01 04:28:00.000000000 +0000 @@ -1757,6 +1757,35 @@ return err; } +/* For modern DOM, namespace declarations are stored as attributes (node->nsDef + * is NULL), so libxml's native validators can't resolve prefixed QNames found in + * content (e.g. an xs:QName attribute value). Temporarily relink them, mirroring + * what C14N does in dom_canonicalization(). */ +typedef struct { + HashTable links; + bool active; +} dom_validate_ns_guard; + +static void dom_validate_ns_guard_begin(dom_validate_ns_guard *guard, xmlDocPtr docp) +{ + guard->active = php_dom_follow_spec_node((const xmlNode *) docp); + if (guard->active) { + zend_hash_init(&guard->links, 0, NULL, NULL, false); + xmlNodePtr root_element = xmlDocGetRootElement(docp); + if (root_element) { + dom_relink_ns_decls(&guard->links, root_element); + } + } +} + +static void dom_validate_ns_guard_end(dom_validate_ns_guard *guard) +{ + if (guard->active) { + dom_unlink_ns_decls(&guard->links); + zend_hash_destroy(&guard->links); + } +} + /* {{{ Substitutues xincludes in a DomDocument */ PHP_METHOD(DOMDocument, xinclude) { @@ -1832,8 +1861,11 @@ cvp->userData = NULL; cvp->error = (xmlValidityErrorFunc) php_libxml_error_handler; cvp->warning = (xmlValidityErrorFunc) php_libxml_error_handler; - - if (xmlValidateDocument(cvp, docp)) { + dom_validate_ns_guard guard; + dom_validate_ns_guard_begin(&guard, docp); + int dtd_valid = xmlValidateDocument(cvp, docp); + dom_validate_ns_guard_end(&guard); + if (dtd_valid) { RETVAL_TRUE; } else { RETVAL_FALSE; @@ -1930,7 +1962,10 @@ PHP_LIBXML_SANITIZE_GLOBALS(validate); xmlSchemaSetValidOptions(vptr, valid_opts); xmlSchemaSetValidErrors(vptr, php_libxml_error_handler, php_libxml_error_handler, vptr); + dom_validate_ns_guard guard; + dom_validate_ns_guard_begin(&guard, docp); is_valid = xmlSchemaValidateDoc(vptr, docp); + dom_validate_ns_guard_end(&guard); xmlSchemaFree(sptr); xmlSchemaFreeValidCtxt(vptr); PHP_LIBXML_RESTORE_GLOBALS(validate); @@ -2028,7 +2063,10 @@ } xmlRelaxNGSetValidErrors(vptr, php_libxml_error_handler, php_libxml_error_handler, vptr); + dom_validate_ns_guard guard; + dom_validate_ns_guard_begin(&guard, docp); is_valid = xmlRelaxNGValidateDoc(vptr, docp); + dom_validate_ns_guard_end(&guard); xmlRelaxNGFree(sptr); xmlRelaxNGFreeValidCtxt(vptr); diff -Nru php8.4-8.4.21/ext/dom/namespace_compat.c php8.4-8.4.23/ext/dom/namespace_compat.c --- php8.4-8.4.21/ext/dom/namespace_compat.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/dom/namespace_compat.c 2026-07-01 04:28:00.000000000 +0000 @@ -501,4 +501,142 @@ } } +static xmlNsPtr dom_alloc_ns_decl(HashTable *links, xmlNodePtr node) +{ + xmlNsPtr ns = xmlMalloc(sizeof(*ns)); + if (!ns) { + return NULL; + } + + zval *zv = zend_hash_index_lookup(links, (zend_ulong) node); + if (Z_ISNULL_P(zv)) { + ZVAL_LONG(zv, 1); + } else { + Z_LVAL_P(zv)++; + } + + memset(ns, 0, sizeof(*ns)); + ns->type = XML_LOCAL_NAMESPACE; + ns->next = node->nsDef; + node->nsDef = ns; + + return ns; +} + +/* Mint a temporary nsDef entry so C14N finds namespaces that live on node->ns + * but have no matching xmlns attribute (typical for createElementNS). */ +static void dom_add_synthetic_ns_decl(HashTable *links, xmlNodePtr node, xmlNsPtr src_ns) +{ + xmlNsPtr ns = dom_alloc_ns_decl(links, node); + if (!ns) { + return; + } + + ns->href = xmlStrdup(src_ns->href); + ns->prefix = src_ns->prefix ? xmlStrdup(src_ns->prefix) : NULL; +} + +/* Same, but for attribute namespaces, which may collide by prefix with the + * element's own ns or with a sibling attribute's ns. */ +static void dom_add_synthetic_ns_decl_for_attr(HashTable *links, xmlNodePtr node, xmlNsPtr src_ns) +{ + for (xmlNsPtr existing = node->nsDef; existing; existing = existing->next) { + if (xmlStrEqual(existing->prefix, src_ns->prefix)) { + return; + } + } + + dom_add_synthetic_ns_decl(links, node, src_ns); +} + +static void dom_relink_ns_decls_element(HashTable *links, xmlNodePtr node) +{ + if (node->type == XML_ELEMENT_NODE) { + for (xmlAttrPtr attr = node->properties; attr; attr = attr->next) { + if (php_dom_ns_is_fast((const xmlNode *) attr, php_dom_ns_is_xmlns_magic_token)) { + xmlNsPtr ns = dom_alloc_ns_decl(links, node); + if (!ns) { + return; + } + + bool should_free; + xmlChar *attr_value = php_libxml_attr_value(attr, &should_free); + + ns->href = should_free ? attr_value : xmlStrdup(attr_value); + ns->prefix = attr->ns->prefix ? xmlStrdup(attr->name) : NULL; + ns->_private = attr; + if (attr->prev) { + attr->prev->next = attr->next; + } else { + node->properties = attr->next; + } + if (attr->next) { + attr->next->prev = attr->prev; + } + } + } + + /* The default namespace is handled separately from the other namespaces in C14N. + * The default namespace is explicitly looked up while the other namespaces are + * deduplicated and compared to a list of visible namespaces. */ + if (node->ns && !node->ns->prefix) { + /* Workaround for the behaviour where the xmlSearchNs() call inside c14n.c + * can return the current namespace. */ + zend_hash_index_add_new_ptr(links, (zend_ulong) node | 1, node->ns); + node->ns = xmlSearchNs(node->doc, node, NULL); + } else if (node->ns) { + dom_add_synthetic_ns_decl(links, node, node->ns); + } + + for (xmlAttrPtr attr = node->properties; attr; attr = attr->next) { + if (attr->ns && !php_dom_ns_is_fast((const xmlNode *) attr, php_dom_ns_is_xmlns_magic_token)) { + dom_add_synthetic_ns_decl_for_attr(links, node, attr->ns); + } + } + } +} + +void dom_relink_ns_decls(HashTable *links, xmlNodePtr root) +{ + dom_relink_ns_decls_element(links, root); + + xmlNodePtr base = root; + xmlNodePtr node = base->children; + while (node != NULL) { + dom_relink_ns_decls_element(links, node); + node = php_dom_next_in_tree_order(node, base); + } +} + +void dom_unlink_ns_decls(HashTable *links) +{ + ZEND_HASH_MAP_FOREACH_NUM_KEY_VAL(links, zend_ulong h, zval *data) { + if (h & 1) { + xmlNodePtr node = (xmlNodePtr) (h ^ 1); + node->ns = Z_PTR_P(data); + } else { + xmlNodePtr node = (xmlNodePtr) h; + while (Z_LVAL_P(data)-- > 0) { + xmlNsPtr ns = node->nsDef; + node->nsDef = ns->next; + + xmlAttrPtr attr = ns->_private; + if (attr) { + if (attr->prev) { + attr->prev->next = attr; + } else { + node->properties = attr; + } + if (attr->next) { + attr->next->prev = attr; + } + } + + xmlFreeNs(ns); + } + } + } ZEND_HASH_FOREACH_END(); +} + + #endif /* HAVE_LIBXML && HAVE_DOM */ diff -Nru php8.4-8.4.21/ext/dom/node.c php8.4-8.4.23/ext/dom/node.c --- php8.4-8.4.21/ext/dom/node.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/dom/node.c 2026-07-01 04:28:00.000000000 +0000 @@ -2103,97 +2103,6 @@ } /* }}} end dom_node_lookup_namespace_uri */ -static void dom_relink_ns_decls_element(HashTable *links, xmlNodePtr node) -{ - if (node->type == XML_ELEMENT_NODE) { - for (xmlAttrPtr attr = node->properties; attr; attr = attr->next) { - if (php_dom_ns_is_fast((const xmlNode *) attr, php_dom_ns_is_xmlns_magic_token)) { - xmlNsPtr ns = xmlMalloc(sizeof(*ns)); - if (!ns) { - return; - } - - zval *zv = zend_hash_index_lookup(links, (zend_ulong) node); - if (Z_ISNULL_P(zv)) { - ZVAL_LONG(zv, 1); - } else { - Z_LVAL_P(zv)++; - } - - bool should_free; - xmlChar *attr_value = php_libxml_attr_value(attr, &should_free); - - memset(ns, 0, sizeof(*ns)); - ns->type = XML_LOCAL_NAMESPACE; - ns->href = should_free ? attr_value : xmlStrdup(attr_value); - ns->prefix = attr->ns->prefix ? xmlStrdup(attr->name) : NULL; - ns->next = node->nsDef; - node->nsDef = ns; - - ns->_private = attr; - if (attr->prev) { - attr->prev->next = attr->next; - } else { - node->properties = attr->next; - } - if (attr->next) { - attr->next->prev = attr->prev; - } - } - } - - /* The default namespace is handled separately from the other namespaces in C14N. - * The default namespace is explicitly looked up while the other namespaces are - * deduplicated and compared to a list of visible namespaces. */ - if (node->ns && !node->ns->prefix) { - /* Workaround for the behaviour where the xmlSearchNs() call inside c14n.c - * can return the current namespace. */ - zend_hash_index_add_new_ptr(links, (zend_ulong) node | 1, node->ns); - node->ns = xmlSearchNs(node->doc, node, NULL); - } - } -} - -static void dom_relink_ns_decls(HashTable *links, xmlNodePtr root) -{ - dom_relink_ns_decls_element(links, root); - - xmlNodePtr base = root; - xmlNodePtr node = base->children; - while (node != NULL) { - dom_relink_ns_decls_element(links, node); - node = php_dom_next_in_tree_order(node, base); - } -} - -static void dom_unlink_ns_decls(HashTable *links) -{ - ZEND_HASH_MAP_FOREACH_NUM_KEY_VAL(links, zend_ulong h, zval *data) { - if (h & 1) { - xmlNodePtr node = (xmlNodePtr) (h ^ 1); - node->ns = Z_PTR_P(data); - } else { - xmlNodePtr node = (xmlNodePtr) h; - while (Z_LVAL_P(data)-- > 0) { - xmlNsPtr ns = node->nsDef; - node->nsDef = ns->next; - - xmlAttrPtr attr = ns->_private; - if (attr->prev) { - attr->prev->next = attr; - } else { - node->properties = attr; - } - if (attr->next) { - attr->next->prev = attr; - } - - xmlFreeNs(ns); - } - } - } ZEND_HASH_FOREACH_END(); -} - static int dom_canonicalize_node_parent_lookup_cb(void *user_data, xmlNodePtr node, xmlNodePtr parent) { xmlNodePtr root = user_data; diff -Nru php8.4-8.4.21/ext/dom/php_dom.h php8.4-8.4.23/ext/dom/php_dom.h --- php8.4-8.4.21/ext/dom/php_dom.h 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/dom/php_dom.h 2026-07-01 04:28:00.000000000 +0000 @@ -187,6 +187,13 @@ xmlNodePtr dom_clone_node(php_dom_libxml_ns_mapper *ns_mapper, xmlNodePtr node, xmlDocPtr doc, bool recursive); void dom_set_document_ref_pointers(xmlNodePtr node, php_libxml_ref_obj *document); void dom_set_document_ref_pointers_attr(xmlAttrPtr attr, php_libxml_ref_obj *document); + +/* Temporarily materialize namespace declarations as nsDef entries on the tree so + * that libxml's native validators/canonicalizers can resolve prefixed QNames that + * appear in element/attribute *content*. Modern DOM keeps declarations off the + * tree (node->nsDef == NULL), which xmlSearchNs() cannot follow. Internal only. */ +void dom_relink_ns_decls(HashTable *links, xmlNodePtr root); +void dom_unlink_ns_decls(HashTable *links); zval *dom_element_class_list_zval(dom_object *obj); typedef enum { diff -Nru php8.4-8.4.21/ext/dom/tests/gh22219.phpt php8.4-8.4.23/ext/dom/tests/gh22219.phpt --- php8.4-8.4.21/ext/dom/tests/gh22219.phpt 1970-01-01 00:00:00.000000000 +0000 +++ php8.4-8.4.23/ext/dom/tests/gh22219.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -0,0 +1,54 @@ +--TEST-- +GH-22219 (Dom\XMLDocument::schemaValidate fails to resolve xs:QName value from an in-scope prefix) +--EXTENSIONS-- +dom +--SKIPIF-- + +--FILE-- + + + + +XML; + +// The 'ref' prefix is declared on but only used inside the xs:QName +// attribute value, never as an element or attribute namespace. +$xsd = << + + + + + + + + + + + + + +XSD; + +libxml_use_internal_errors(true); + +$modern = Dom\XMLDocument::createFromString($xml, LIBXML_NSCLEAN); +var_dump($modern->schemaValidateSource($xsd)); + +$legacy = new DOMDocument(); +$legacy->loadXML($xml, LIBXML_NSCLEAN); +var_dump($legacy->schemaValidateSource($xsd)); + +foreach (libxml_get_errors() as $error) { + echo trim($error->message), PHP_EOL; +} +?> +--EXPECT-- +bool(true) +bool(true) diff -Nru php8.4-8.4.21/ext/dom/tests/modern/xml/gh21544.phpt php8.4-8.4.23/ext/dom/tests/modern/xml/gh21544.phpt --- php8.4-8.4.21/ext/dom/tests/modern/xml/gh21544.phpt 1970-01-01 00:00:00.000000000 +0000 +++ php8.4-8.4.23/ext/dom/tests/modern/xml/gh21544.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -0,0 +1,28 @@ +--TEST-- +GH-21544 (Dom\XMLDocument::C14N() drops namespace declarations on DOM-built documents) +--CREDITS-- +Toon Verwerft (veewee) +--EXTENSIONS-- +dom +--FILE-- +createElementNS("urn:envelope", "env:Root"); +$doc->appendChild($root); +$child = $doc->createElementNS("urn:child", "x:Child"); +$root->appendChild($child); + +$parsed = Dom\XMLDocument::createFromString( + '' +); + +echo "DOM-built C14N: " . $doc->C14N() . PHP_EOL; +echo "Parsed C14N: " . $parsed->C14N() . PHP_EOL; +var_dump($doc->C14N() === $parsed->C14N()); + +?> +--EXPECT-- +DOM-built C14N: +Parsed C14N: +bool(true) diff -Nru php8.4-8.4.21/ext/exif/exif.c php8.4-8.4.23/ext/exif/exif.c --- php8.4-8.4.21/ext/exif/exif.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/exif/exif.c 2026-07-01 04:28:00.000000000 +0000 @@ -2306,13 +2306,13 @@ #ifdef EXIF_DEBUG php_error_docref(NULL, E_WARNING, "Found value of type single"); #endif - info_value->f = php_ifd_get_float(value); + info_value->f = php_ifd_get_float(vptr); break; case TAG_FMT_DOUBLE: #ifdef EXIF_DEBUG php_error_docref(NULL, E_WARNING, "Found value of type double"); #endif - info_value->d = php_ifd_get_double(value); + info_value->d = php_ifd_get_double(vptr); break; } } diff -Nru php8.4-8.4.21/ext/gd/libgd/gd.c php8.4-8.4.23/ext/gd/libgd/gd.c --- php8.4-8.4.21/ext/gd/libgd/gd.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/gd/libgd/gd.c 2026-07-01 04:28:00.000000000 +0000 @@ -1775,6 +1775,9 @@ a=w>>1; b=h>>1; + if (overflowMul3(a, b, b) || overflowMul3(b, a, a)) { + return; + } gdImageSetPixel(im,mx+a, my, c); gdImageSetPixel(im,mx-a, my, c); mx1 = mx-a;my1 = my; @@ -1816,7 +1819,9 @@ a=w>>1; b=h>>1; - + if (overflowMul3(a, b, b) || overflowMul3(b, a, a)) { + return; + } for (x = mx-a; x <= mx+a; x++) { gdImageSetPixel(im, x, my, c); } @@ -2854,12 +2859,12 @@ void gdImageSetStyle (gdImagePtr im, int *style, int noOfPixels) { - if (im->style) { - gdFree(im->style); - } if (overflow2(sizeof (int), noOfPixels)) { return; } + if (im->style) { + gdFree(im->style); + } im->style = (int *) gdMalloc(sizeof(int) * noOfPixels); memcpy(im->style, style, sizeof(int) * noOfPixels); im->styleLength = noOfPixels; diff -Nru php8.4-8.4.21/ext/gd/libgd/gd_filter.c php8.4-8.4.23/ext/gd/libgd/gd_filter.c --- php8.4-8.4.21/ext/gd/libgd/gd_filter.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/gd/libgd/gd_filter.c 2026-07-01 04:28:00.000000000 +0000 @@ -7,6 +7,7 @@ #else # include #endif +#include #include #include @@ -20,6 +21,20 @@ /* Begin filters function */ #define GET_PIXEL_FUNCTION(src)(src->trueColor?gdImageGetTrueColorPixel:gdImageGetPixel) +static int gdClampFloatToByte(float value) +{ + if (!isfinite(value)) { + return value > 0.0f ? 255 : 0; + } + if (value > 255.0f) { + return 255; + } + if (value < 0.0f) { + return 0; + } + return (int)value; +} + #ifdef _WIN32 # define GD_SCATTER_SEED() (unsigned int)(time(0) * GetCurrentProcessId()) #else @@ -361,6 +376,7 @@ for ( y=0; ysy; y++) { for(x=0; xsx; x++) { + int new_ri, new_gi, new_bi; new_r = new_g = new_b = 0; pxl = f(srcback, x, y); new_a = gdImageAlpha(srcback, pxl); @@ -379,13 +395,13 @@ new_g = (new_g/filter_div)+offset; new_b = (new_b/filter_div)+offset; - new_r = (new_r > 255.0f)? 255.0f : ((new_r < 0.0f)? 0.0f:new_r); - new_g = (new_g > 255.0f)? 255.0f : ((new_g < 0.0f)? 0.0f:new_g); - new_b = (new_b > 255.0f)? 255.0f : ((new_b < 0.0f)? 0.0f:new_b); + new_ri = gdClampFloatToByte(new_r); + new_gi = gdClampFloatToByte(new_g); + new_bi = gdClampFloatToByte(new_b); - new_pxl = gdImageColorAllocateAlpha(src, (int)new_r, (int)new_g, (int)new_b, new_a); + new_pxl = gdImageColorAllocateAlpha(src, new_ri, new_gi, new_bi, new_a); if (new_pxl == -1) { - new_pxl = gdImageColorClosestAlpha(src, (int)new_r, (int)new_g, (int)new_b, new_a); + new_pxl = gdImageColorClosestAlpha(src, new_ri, new_gi, new_bi, new_a); } gdImageSetPixel (src, x, y, new_pxl); } diff -Nru php8.4-8.4.21/ext/gd/libgd/gd_interpolation.c php8.4-8.4.23/ext/gd/libgd/gd_interpolation.c --- php8.4-8.4.21/ext/gd/libgd/gd_interpolation.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/gd/libgd/gd_interpolation.c 2026-07-01 04:28:00.000000000 +0000 @@ -57,6 +57,7 @@ #include #include #include +#include #include "gd.h" #include "gdhelpers.h" @@ -2245,7 +2246,10 @@ src_area = &area_full; } - gdTransformAffineBoundingBox(src_area, affine, &bbox); + if (gdTransformAffineBoundingBox(src_area, affine, &bbox) != GD_TRUE) { + *dst = NULL; + return GD_FALSE; + } *dst = gdImageCreateTrueColor(bbox.width, bbox.height); if (*dst == NULL) { @@ -2421,6 +2425,8 @@ int gdTransformAffineBoundingBox(gdRectPtr src, const double affine[6], gdRectPtr bbox) { gdPointF extent[4], min, max, point; + double width, height; + int bbox_x, bbox_y, bbox_width, bbox_height; int i; extent[0].x=0.0; @@ -2451,10 +2457,29 @@ if (max.y < extent[i].y) max.y=extent[i].y; } - bbox->x = (int) min.x; - bbox->y = (int) min.y; - bbox->width = (int) floor(max.x - min.x) - 1; - bbox->height = (int) floor(max.y - min.y); + width = floor(max.x - min.x); + height = floor(max.y - min.y); + if (!isfinite(min.x) || !isfinite(min.y) || !isfinite(width) || !isfinite(height) + || min.x <= INT_MIN || min.x > INT_MAX + || min.y <= INT_MIN || min.y > INT_MAX + || width < 1.0 || width > INT_MAX + || height < 0.0 || height > INT_MAX) { + return GD_FALSE; + } + bbox_x = (int) min.x; + bbox_y = (int) min.y; + bbox_width = (int) width - 1; + bbox_height = (int) height; + if ((bbox_x < 0 && bbox_width > INT_MAX + bbox_x) + || (bbox_x > 0 && bbox_width > INT_MAX - bbox_x) + || (bbox_y < 0 && bbox_height > INT_MAX + bbox_y) + || (bbox_y > 0 && bbox_height > INT_MAX - bbox_y)) { + return GD_FALSE; + } + bbox->x = bbox_x; + bbox->y = bbox_y; + bbox->width = bbox_width; + bbox->height = bbox_height; return GD_TRUE; } diff -Nru php8.4-8.4.21/ext/gd/libgd/gd_security.c php8.4-8.4.23/ext/gd/libgd/gd_security.c --- php8.4-8.4.21/ext/gd/libgd/gd_security.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/gd/libgd/gd_security.c 2026-07-01 04:28:00.000000000 +0000 @@ -14,6 +14,7 @@ #include #include +#include #include #include "gd.h" #include "gd_errors.h" @@ -29,4 +30,21 @@ return 1; } return 0; +} + +int overflowMul3(int a, int b, int c) +{ + if (a < 0 || b < 0 || c < 0) { + return 1; + } + if (a == 0 || b == 0 || c == 0) { + return 0; + } + if (a > INT_MAX / b) { + return 1; + } + if ((int64_t)a * b > INT64_MAX / c) { + return 1; + } + return 0; } diff -Nru php8.4-8.4.21/ext/gd/libgd/gdhelpers.h php8.4-8.4.23/ext/gd/libgd/gdhelpers.h --- php8.4-8.4.21/ext/gd/libgd/gdhelpers.h 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/gd/libgd/gdhelpers.h 2026-07-01 04:28:00.000000000 +0000 @@ -27,6 +27,7 @@ netpbm fixes by Alan Cox. */ int overflow2(int a, int b); +int overflowMul3(int a, int b, int c); #ifdef ZTS #define gdMutexDeclare(x) MUTEX_T x diff -Nru php8.4-8.4.21/ext/gd/tests/gh16559.phpt php8.4-8.4.23/ext/gd/tests/gh16559.phpt --- php8.4-8.4.21/ext/gd/tests/gh16559.phpt 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/gd/tests/gh16559.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -2,6 +2,13 @@ GH-16559 (UBSan abort in ext/gd/libgd/gd_interpolation.c:1007) --EXTENSIONS-- gd +--SKIPIF-- + --FILE-- --FILE-- +--EXPECT-- +bool(true) +array(4) { + ["red"]=> + int(0) + ["green"]=> + int(0) + ["blue"]=> + int(0) + ["alpha"]=> + int(0) +} diff -Nru php8.4-8.4.21/ext/gd/tests/gh19730.phpt php8.4-8.4.23/ext/gd/tests/gh19730.phpt --- php8.4-8.4.21/ext/gd/tests/gh19730.phpt 1970-01-01 00:00:00.000000000 +0000 +++ php8.4-8.4.23/ext/gd/tests/gh19730.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -0,0 +1,18 @@ +--TEST-- +GH-19730 (undefined behavior in gd_interpolation.c) +--EXTENSIONS-- +gd +--SKIPIF-- + +--FILE-- + +--EXPECT-- +bool(false) diff -Nru php8.4-8.4.21/ext/gd/tests/gh19739.phpt php8.4-8.4.23/ext/gd/tests/gh19739.phpt --- php8.4-8.4.21/ext/gd/tests/gh19739.phpt 1970-01-01 00:00:00.000000000 +0000 +++ php8.4-8.4.23/ext/gd/tests/gh19739.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -0,0 +1,18 @@ +--TEST-- +GH-19739 (integer overflow in imageellipse / imagefilledellipse) +--EXTENSIONS-- +gd +--FILE-- + +--EXPECT-- +bool(true) +bool(true) +done diff -Nru php8.4-8.4.21/ext/intl/calendar/calendar_methods.cpp php8.4-8.4.23/ext/intl/calendar/calendar_methods.cpp --- php8.4-8.4.21/ext/intl/calendar/calendar_methods.cpp 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/intl/calendar/calendar_methods.cpp 2026-07-01 04:28:00.000000000 +0000 @@ -345,7 +345,7 @@ when_co = Z_INTL_CALENDAR_P(when_object); if (when_co->ucal == NULL) { - zend_argument_error(NULL, 2, "is uninitialized"); + zend_argument_error(NULL, hasThis() ? 1 : 2, "is uninitialized"); RETURN_THROWS(); } @@ -391,8 +391,8 @@ } for (int i = 0; i < arg_num; i++) { - /* Arguments start at 1 */ - ZEND_VALUE_ERROR_OUT_OF_BOUND_VALUE(args[i], i + 1); + /* Count from intlcal_set($calendar, ...), so date/time arguments start at #2. */ + ZEND_VALUE_ERROR_OUT_OF_BOUND_VALUE(args[i], i + 2); } CALENDAR_METHOD_FETCH_OBJECT; @@ -427,9 +427,10 @@ RETURN_THROWS(); } - ZEND_VALUE_ERROR_OUT_OF_BOUND_VALUE(year, 1); - ZEND_VALUE_ERROR_OUT_OF_BOUND_VALUE(month, 2); - ZEND_VALUE_ERROR_OUT_OF_BOUND_VALUE(day, 3); + /* These method-only APIs parse the object first, so the API argument positions are offset by +1. */ + ZEND_VALUE_ERROR_OUT_OF_BOUND_VALUE(year, 2); + ZEND_VALUE_ERROR_OUT_OF_BOUND_VALUE(month, 3); + ZEND_VALUE_ERROR_OUT_OF_BOUND_VALUE(day, 4); CALENDAR_METHOD_FETCH_OBJECT; @@ -450,18 +451,19 @@ RETURN_THROWS(); } - ZEND_VALUE_ERROR_OUT_OF_BOUND_VALUE(year, 1); - ZEND_VALUE_ERROR_OUT_OF_BOUND_VALUE(month, 2); - ZEND_VALUE_ERROR_OUT_OF_BOUND_VALUE(day, 3); - ZEND_VALUE_ERROR_OUT_OF_BOUND_VALUE(hour, 4); - ZEND_VALUE_ERROR_OUT_OF_BOUND_VALUE(minute, 5); + /* These method-only APIs parse the object first, so the API argument positions are offset by +1. */ + ZEND_VALUE_ERROR_OUT_OF_BOUND_VALUE(year, 2); + ZEND_VALUE_ERROR_OUT_OF_BOUND_VALUE(month, 3); + ZEND_VALUE_ERROR_OUT_OF_BOUND_VALUE(day, 4); + ZEND_VALUE_ERROR_OUT_OF_BOUND_VALUE(hour, 5); + ZEND_VALUE_ERROR_OUT_OF_BOUND_VALUE(minute, 6); CALENDAR_METHOD_FETCH_OBJECT; if (second_is_null) { co->ucal->set((int32_t) year, (int32_t) month, (int32_t) day, (int32_t) hour, (int32_t) minute); } else { - ZEND_VALUE_ERROR_OUT_OF_BOUND_VALUE(second, 6); + ZEND_VALUE_ERROR_OUT_OF_BOUND_VALUE(second, 7); co->ucal->set((int32_t) year, (int32_t) month, (int32_t) day, (int32_t) hour, (int32_t) minute, (int32_t) second); } } @@ -772,7 +774,7 @@ other_co = Z_INTL_CALENDAR_P(other_object); if (other_co->ucal == NULL) { - zend_argument_error(NULL, 2, "is uninitialized"); + zend_argument_error(NULL, hasThis() ? 1 : 2, "is uninitialized"); RETURN_THROWS(); } @@ -910,7 +912,7 @@ CALENDAR_METHOD_FETCH_OBJECT; other_co = Z_INTL_CALENDAR_P(other_object); if (other_co->ucal == NULL) { - zend_argument_error(NULL, 2, "is uninitialized"); + zend_argument_error(NULL, hasThis() ? 1 : 2, "is uninitialized"); RETURN_THROWS(); } diff -Nru php8.4-8.4.21/ext/intl/calendar/gregoriancalendar_methods.cpp php8.4-8.4.23/ext/intl/calendar/gregoriancalendar_methods.cpp --- php8.4-8.4.21/ext/intl/calendar/gregoriancalendar_methods.cpp 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/intl/calendar/gregoriancalendar_methods.cpp 2026-07-01 04:28:00.000000000 +0000 @@ -178,7 +178,7 @@ } else { // From date/time (3, 5 or 6 arguments) for (int i = 0; i < variant; i++) { - ZEND_VALUE_ERROR_OUT_OF_BOUND_VALUE(largs[i], hasThis() ? (i-1) : i); + ZEND_VALUE_ERROR_OUT_OF_BOUND_VALUE(largs[i], i + 1); } if (variant == 3) { diff -Nru php8.4-8.4.21/ext/intl/dateformat/dateformat_create.cpp php8.4-8.4.23/ext/intl/dateformat/dateformat_create.cpp --- php8.4-8.4.21/ext/intl/dateformat/dateformat_create.cpp 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/intl/dateformat/dateformat_create.cpp 2026-07-01 04:28:00.000000000 +0000 @@ -103,7 +103,7 @@ return FAILURE; } if (date_type == UDAT_PATTERN && time_type != UDAT_PATTERN) { - intl_error_set(NULL, U_ILLEGAL_ARGUMENT_ERROR, "datefmt_create: time format must be UDAT_PATTERN if date format is UDAT_PATTERN", 0); + intl_error_set(NULL, U_ILLEGAL_ARGUMENT_ERROR, "datefmt_create: time format must be IntlDateFormatter::PATTERN if date format is IntlDateFormatter::PATTERN", 0); return FAILURE; } diff -Nru php8.4-8.4.21/ext/intl/spoofchecker/spoofchecker.stub.php php8.4-8.4.23/ext/intl/spoofchecker/spoofchecker.stub.php --- php8.4-8.4.21/ext/intl/spoofchecker/spoofchecker.stub.php 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/intl/spoofchecker/spoofchecker.stub.php 2026-07-01 04:28:00.000000000 +0000 @@ -19,7 +19,7 @@ public const int INVISIBLE = UNKNOWN; /** @cvalue USPOOF_CHAR_LIMIT */ public const int CHAR_LIMIT = UNKNOWN; -#if U_ICU_VERSION_MAJOR_NUM >= 58 +#if U_ICU_VERSION_MAJOR_NUM >= 53 /** @cvalue USPOOF_ASCII */ public const int ASCII = UNKNOWN; /** @cvalue USPOOF_HIGHLY_RESTRICTIVE */ @@ -71,7 +71,7 @@ /** @tentative-return-type */ public function setChecks(int $checks): void {} -#if U_ICU_VERSION_MAJOR_NUM >= 58 +#if U_ICU_VERSION_MAJOR_NUM >= 53 /** @tentative-return-type */ public function setRestrictionLevel(int $level): void {} #endif diff -Nru php8.4-8.4.21/ext/intl/spoofchecker/spoofchecker_arginfo.h php8.4-8.4.23/ext/intl/spoofchecker/spoofchecker_arginfo.h --- php8.4-8.4.21/ext/intl/spoofchecker/spoofchecker_arginfo.h 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/intl/spoofchecker/spoofchecker_arginfo.h 2026-07-01 04:28:00.000000000 +0000 @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 4834be57a3f0cb74dbc4422e609846139f09f6cb */ + * Stub hash: d01a6d58d52e8b38a7854626d9649d5915ec7e5c */ ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Spoofchecker___construct, 0, 0, 0) ZEND_END_ARG_INFO() @@ -23,7 +23,7 @@ ZEND_ARG_TYPE_INFO(0, checks, IS_LONG, 0) ZEND_END_ARG_INFO() -#if U_ICU_VERSION_MAJOR_NUM >= 58 +#if U_ICU_VERSION_MAJOR_NUM >= 53 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_Spoofchecker_setRestrictionLevel, 0, 1, IS_VOID, 0) ZEND_ARG_TYPE_INFO(0, level, IS_LONG, 0) ZEND_END_ARG_INFO() @@ -39,7 +39,7 @@ ZEND_METHOD(Spoofchecker, areConfusable); ZEND_METHOD(Spoofchecker, setAllowedLocales); ZEND_METHOD(Spoofchecker, setChecks); -#if U_ICU_VERSION_MAJOR_NUM >= 58 +#if U_ICU_VERSION_MAJOR_NUM >= 53 ZEND_METHOD(Spoofchecker, setRestrictionLevel); #endif ZEND_METHOD(Spoofchecker, setAllowedChars); @@ -50,7 +50,7 @@ ZEND_ME(Spoofchecker, areConfusable, arginfo_class_Spoofchecker_areConfusable, ZEND_ACC_PUBLIC) ZEND_ME(Spoofchecker, setAllowedLocales, arginfo_class_Spoofchecker_setAllowedLocales, ZEND_ACC_PUBLIC) ZEND_ME(Spoofchecker, setChecks, arginfo_class_Spoofchecker_setChecks, ZEND_ACC_PUBLIC) -#if U_ICU_VERSION_MAJOR_NUM >= 58 +#if U_ICU_VERSION_MAJOR_NUM >= 53 ZEND_ME(Spoofchecker, setRestrictionLevel, arginfo_class_Spoofchecker_setRestrictionLevel, ZEND_ACC_PUBLIC) #endif ZEND_ME(Spoofchecker, setAllowedChars, arginfo_class_Spoofchecker_setAllowedChars, ZEND_ACC_PUBLIC) @@ -105,7 +105,7 @@ zend_string *const_CHAR_LIMIT_name = zend_string_init_interned("CHAR_LIMIT", sizeof("CHAR_LIMIT") - 1, 1); zend_declare_typed_class_constant(class_entry, const_CHAR_LIMIT_name, &const_CHAR_LIMIT_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG)); zend_string_release(const_CHAR_LIMIT_name); -#if U_ICU_VERSION_MAJOR_NUM >= 58 +#if U_ICU_VERSION_MAJOR_NUM >= 53 zval const_ASCII_value; ZVAL_LONG(&const_ASCII_value, USPOOF_ASCII); @@ -113,7 +113,7 @@ zend_declare_typed_class_constant(class_entry, const_ASCII_name, &const_ASCII_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG)); zend_string_release(const_ASCII_name); #endif -#if U_ICU_VERSION_MAJOR_NUM >= 58 +#if U_ICU_VERSION_MAJOR_NUM >= 53 zval const_HIGHLY_RESTRICTIVE_value; ZVAL_LONG(&const_HIGHLY_RESTRICTIVE_value, USPOOF_HIGHLY_RESTRICTIVE); @@ -121,7 +121,7 @@ zend_declare_typed_class_constant(class_entry, const_HIGHLY_RESTRICTIVE_name, &const_HIGHLY_RESTRICTIVE_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG)); zend_string_release(const_HIGHLY_RESTRICTIVE_name); #endif -#if U_ICU_VERSION_MAJOR_NUM >= 58 +#if U_ICU_VERSION_MAJOR_NUM >= 53 zval const_MODERATELY_RESTRICTIVE_value; ZVAL_LONG(&const_MODERATELY_RESTRICTIVE_value, USPOOF_MODERATELY_RESTRICTIVE); @@ -129,7 +129,7 @@ zend_declare_typed_class_constant(class_entry, const_MODERATELY_RESTRICTIVE_name, &const_MODERATELY_RESTRICTIVE_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG)); zend_string_release(const_MODERATELY_RESTRICTIVE_name); #endif -#if U_ICU_VERSION_MAJOR_NUM >= 58 +#if U_ICU_VERSION_MAJOR_NUM >= 53 zval const_MINIMALLY_RESTRICTIVE_value; ZVAL_LONG(&const_MINIMALLY_RESTRICTIVE_value, USPOOF_MINIMALLY_RESTRICTIVE); @@ -137,7 +137,7 @@ zend_declare_typed_class_constant(class_entry, const_MINIMALLY_RESTRICTIVE_name, &const_MINIMALLY_RESTRICTIVE_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG)); zend_string_release(const_MINIMALLY_RESTRICTIVE_name); #endif -#if U_ICU_VERSION_MAJOR_NUM >= 58 +#if U_ICU_VERSION_MAJOR_NUM >= 53 zval const_UNRESTRICTIVE_value; ZVAL_LONG(&const_UNRESTRICTIVE_value, USPOOF_UNRESTRICTIVE); @@ -145,7 +145,7 @@ zend_declare_typed_class_constant(class_entry, const_UNRESTRICTIVE_name, &const_UNRESTRICTIVE_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG)); zend_string_release(const_UNRESTRICTIVE_name); #endif -#if U_ICU_VERSION_MAJOR_NUM >= 58 +#if U_ICU_VERSION_MAJOR_NUM >= 53 zval const_SINGLE_SCRIPT_RESTRICTIVE_value; ZVAL_LONG(&const_SINGLE_SCRIPT_RESTRICTIVE_value, USPOOF_SINGLE_SCRIPT_RESTRICTIVE); @@ -153,7 +153,7 @@ zend_declare_typed_class_constant(class_entry, const_SINGLE_SCRIPT_RESTRICTIVE_name, &const_SINGLE_SCRIPT_RESTRICTIVE_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG)); zend_string_release(const_SINGLE_SCRIPT_RESTRICTIVE_name); #endif -#if U_ICU_VERSION_MAJOR_NUM >= 58 +#if U_ICU_VERSION_MAJOR_NUM >= 53 zval const_MIXED_NUMBERS_value; ZVAL_LONG(&const_MIXED_NUMBERS_value, USPOOF_MIXED_NUMBERS); diff -Nru php8.4-8.4.21/ext/intl/spoofchecker/spoofchecker_main.c php8.4-8.4.23/ext/intl/spoofchecker/spoofchecker_main.c --- php8.4-8.4.21/ext/intl/spoofchecker/spoofchecker_main.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/intl/spoofchecker/spoofchecker_main.c 2026-07-01 04:28:00.000000000 +0000 @@ -135,7 +135,7 @@ } /* }}} */ -#if U_ICU_VERSION_MAJOR_NUM >= 58 +#if U_ICU_VERSION_MAJOR_NUM >= 53 /* TODO Document this method on PHP.net */ /* {{{ Set the loosest restriction level allowed for strings. */ PHP_METHOD(Spoofchecker, setRestrictionLevel) @@ -208,9 +208,9 @@ #endif pattern_option != (USET_IGNORE_SPACE|USET_CASE_INSENSITIVE) && pattern_option != (USET_IGNORE_SPACE|USET_ADD_CASE_MAPPINGS)) { - zend_argument_value_error(2, "must be a valid pattern option, 0 or (SpoofChecker::IGNORE_SPACE|( or SpoofChecker::USET_CASE_INSENSITIVE or SpoofChecker::USET_ADD_CASE_MAPPINGS" + zend_argument_value_error(2, "must be a valid pattern option, 0 or (SpoofChecker::IGNORE_SPACE|( or SpoofChecker::CASE_INSENSITIVE or SpoofChecker::ADD_CASE_MAPPINGS" #if U_ICU_VERSION_MAJOR_NUM >= 73 - " or SpoofChecker::USET_SIMPLE_CASE_INSENSITIVE" + " or SpoofChecker::SIMPLE_CASE_INSENSITIVE" #endif "))" ); diff -Nru php8.4-8.4.21/ext/intl/tests/calendar_set_date_out_of_bounds.phpt php8.4-8.4.23/ext/intl/tests/calendar_set_date_out_of_bounds.phpt --- php8.4-8.4.21/ext/intl/tests/calendar_set_date_out_of_bounds.phpt 1970-01-01 00:00:00.000000000 +0000 +++ php8.4-8.4.23/ext/intl/tests/calendar_set_date_out_of_bounds.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -0,0 +1,32 @@ +--TEST-- +IntlCalendar::setDate(): out-of-bounds arguments report correct positions +--EXTENSIONS-- +intl +--SKIPIF-- + +--FILE-- +setDate(99999999999, 1, 1); +} catch (Throwable $e) { + echo $e->getMessage(), "\n"; +} + +try { + $cal->setDate(1, 99999999999, 1); +} catch (Throwable $e) { + echo $e->getMessage(), "\n"; +} + +try { + $cal->setDate(1, 1, 99999999999); +} catch (Throwable $e) { + echo $e->getMessage(), "\n"; +} +?> +--EXPECT-- +IntlCalendar::setDate(): Argument #1 ($year) must be between -2147483648 and 2147483647 +IntlCalendar::setDate(): Argument #2 ($month) must be between -2147483648 and 2147483647 +IntlCalendar::setDate(): Argument #3 ($dayOfMonth) must be between -2147483648 and 2147483647 diff -Nru php8.4-8.4.21/ext/intl/tests/calendar_set_date_time_out_of_bounds.phpt php8.4-8.4.23/ext/intl/tests/calendar_set_date_time_out_of_bounds.phpt --- php8.4-8.4.21/ext/intl/tests/calendar_set_date_time_out_of_bounds.phpt 1970-01-01 00:00:00.000000000 +0000 +++ php8.4-8.4.23/ext/intl/tests/calendar_set_date_time_out_of_bounds.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -0,0 +1,53 @@ +--TEST-- +IntlCalendar::setDateTime(): out-of-bounds arguments report correct positions +--EXTENSIONS-- +intl +--SKIPIF-- + +--FILE-- +setDateTime(99999999999, 1, 1, 1, 1, 1); +} catch (Throwable $e) { + echo $e->getMessage(), "\n"; +} + +try { + $cal->setDateTime(1, 99999999999, 1, 1, 1, 1); +} catch (Throwable $e) { + echo $e->getMessage(), "\n"; +} + +try { + $cal->setDateTime(1, 1, 99999999999, 1, 1, 1); +} catch (Throwable $e) { + echo $e->getMessage(), "\n"; +} + +try { + $cal->setDateTime(1, 1, 1, 99999999999, 1, 1); +} catch (Throwable $e) { + echo $e->getMessage(), "\n"; +} + +try { + $cal->setDateTime(1, 1, 1, 1, 99999999999, 1); +} catch (Throwable $e) { + echo $e->getMessage(), "\n"; +} + +try { + $cal->setDateTime(1, 1, 1, 1, 1, 99999999999); +} catch (Throwable $e) { + echo $e->getMessage(), "\n"; +} +?> +--EXPECT-- +IntlCalendar::setDateTime(): Argument #1 ($year) must be between -2147483648 and 2147483647 +IntlCalendar::setDateTime(): Argument #2 ($month) must be between -2147483648 and 2147483647 +IntlCalendar::setDateTime(): Argument #3 ($dayOfMonth) must be between -2147483648 and 2147483647 +IntlCalendar::setDateTime(): Argument #4 ($hour) must be between -2147483648 and 2147483647 +IntlCalendar::setDateTime(): Argument #5 ($minute) must be between -2147483648 and 2147483647 +IntlCalendar::setDateTime(): Argument #6 ($second) must be between -2147483648 and 2147483647 diff -Nru php8.4-8.4.21/ext/intl/tests/calendar_set_out_of_bounds.phpt php8.4-8.4.23/ext/intl/tests/calendar_set_out_of_bounds.phpt --- php8.4-8.4.21/ext/intl/tests/calendar_set_out_of_bounds.phpt 1970-01-01 00:00:00.000000000 +0000 +++ php8.4-8.4.23/ext/intl/tests/calendar_set_out_of_bounds.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -0,0 +1,55 @@ +--TEST-- +IntlCalendar::set(): out-of-bounds date/time arguments report correct positions +--EXTENSIONS-- +intl +--SKIPIF-- + +--FILE-- +set(99999999999, 1, 1); +} catch (Throwable $e) { + echo $e->getMessage(), "\n"; +} + +try { + intlcal_set($cal, 1, 99999999999, 1); +} catch (Throwable $e) { + echo $e->getMessage(), "\n"; +} + +try { + $cal->set(1, 1, 1, 99999999999, 1); +} catch (Throwable $e) { + echo $e->getMessage(), "\n"; +} + +try { + $cal->set(1, 1, 1, 1, 99999999999, 1); +} catch (Throwable $e) { + echo $e->getMessage(), "\n"; +} + +try { + intlcal_set($cal, 1, 1, 1, 1, 1, 99999999999); +} catch (Throwable $e) { + echo $e->getMessage(), "\n"; +} +?> +--EXPECTF-- +Deprecated: Calling IntlCalendar::set() with more than 2 arguments is deprecated, use either IntlCalendar::setDate() or IntlCalendar::setDateTime() instead in %s on line %d +IntlCalendar::set(): Argument #1 ($year) must be between -2147483648 and 2147483647 + +Deprecated: Function intlcal_set() is deprecated since 8.4, use IntlCalendar::set(), IntlCalendar::setDate(), or IntlCalendar::setDateTime() instead in %s on line %d +intlcal_set(): Argument #3 ($month) must be between -2147483648 and 2147483647 + +Deprecated: Calling IntlCalendar::set() with more than 2 arguments is deprecated, use either IntlCalendar::setDate() or IntlCalendar::setDateTime() instead in %s on line %d +IntlCalendar::set(): Argument #4 ($hour) must be between -2147483648 and 2147483647 + +Deprecated: Calling IntlCalendar::set() with more than 2 arguments is deprecated, use either IntlCalendar::setDate() or IntlCalendar::setDateTime() instead in %s on line %d +IntlCalendar::set(): Argument #5 ($minute) must be between -2147483648 and 2147483647 + +Deprecated: Function intlcal_set() is deprecated since 8.4, use IntlCalendar::set(), IntlCalendar::setDate(), or IntlCalendar::setDateTime() instead in %s on line %d +intlcal_set(): Argument #7 ($second) must be between -2147483648 and 2147483647 diff -Nru php8.4-8.4.21/ext/intl/tests/calendar_uninitialized_argument_position.phpt php8.4-8.4.23/ext/intl/tests/calendar_uninitialized_argument_position.phpt --- php8.4-8.4.21/ext/intl/tests/calendar_uninitialized_argument_position.phpt 1970-01-01 00:00:00.000000000 +0000 +++ php8.4-8.4.23/ext/intl/tests/calendar_uninitialized_argument_position.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -0,0 +1,36 @@ +--TEST-- +IntlCalendar methods report the correct argument position for uninitialized calendar arguments +--EXTENSIONS-- +intl +--FILE-- +newInstanceWithoutConstructor(); + +foreach (['equals', 'before', 'after', 'isEquivalentTo'] as $method) { + try { + $calendar->$method($uninitialized); + } catch (Error $e) { + echo $method, ': ', $e->getMessage(), PHP_EOL; + } +} + +foreach (['intlcal_equals', 'intlcal_before', 'intlcal_after', 'intlcal_is_equivalent_to'] as $function) { + try { + $function($calendar, $uninitialized); + } catch (Error $e) { + echo $function, ': ', $e->getMessage(), PHP_EOL; + } +} + +?> +--EXPECT-- +equals: IntlCalendar::equals(): Argument #1 ($other) is uninitialized +before: IntlCalendar::before(): Argument #1 ($other) is uninitialized +after: IntlCalendar::after(): Argument #1 ($other) is uninitialized +isEquivalentTo: IntlCalendar::isEquivalentTo(): Argument #1 ($other) is uninitialized +intlcal_equals: intlcal_equals(): Argument #2 ($other) is uninitialized +intlcal_before: intlcal_before(): Argument #2 ($other) is uninitialized +intlcal_after: intlcal_after(): Argument #2 ($other) is uninitialized +intlcal_is_equivalent_to: intlcal_is_equivalent_to(): Argument #2 ($other) is uninitialized diff -Nru php8.4-8.4.21/ext/intl/tests/gh12243.phpt php8.4-8.4.23/ext/intl/tests/gh12243.phpt --- php8.4-8.4.21/ext/intl/tests/gh12243.phpt 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/intl/tests/gh12243.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -1,5 +1,5 @@ --TEST-- -GitHub #12043 segfault with IntlDateFormatter::dateType where it equals to UDAT_PATTERN (icu 50) but +GitHub #12043 segfault with IntlDateFormatter::dateType where it equals to IntlDateFormatter::PATTERN (icu 50) but IntldateFormatter::timeType needs to be set as such. --EXTENSIONS-- intl @@ -21,4 +21,4 @@ ?> --EXPECT-- -datefmt_create: time format must be UDAT_PATTERN if date format is UDAT_PATTERN: U_ILLEGAL_ARGUMENT_ERROR +datefmt_create: time format must be IntlDateFormatter::PATTERN if date format is IntlDateFormatter::PATTERN: U_ILLEGAL_ARGUMENT_ERROR diff -Nru php8.4-8.4.21/ext/intl/tests/gregoriancalendar___construct_out_of_bounds.phpt php8.4-8.4.23/ext/intl/tests/gregoriancalendar___construct_out_of_bounds.phpt --- php8.4-8.4.21/ext/intl/tests/gregoriancalendar___construct_out_of_bounds.phpt 1970-01-01 00:00:00.000000000 +0000 +++ php8.4-8.4.23/ext/intl/tests/gregoriancalendar___construct_out_of_bounds.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -0,0 +1,53 @@ +--TEST-- +IntlGregorianCalendar::__construct(): out-of-bounds date/time arguments report correct positions +--EXTENSIONS-- +intl +--SKIPIF-- + +--FILE-- +getMessage(), "\n"; +} + +try { + intlgregcal_create_instance(1, 99999999999, 1); +} catch (Throwable $e) { + echo $e->getMessage(), "\n"; +} + +try { + new IntlGregorianCalendar(1, 1, 1, 99999999999, 1); +} catch (Throwable $e) { + echo $e->getMessage(), "\n"; +} + +try { + new IntlGregorianCalendar(1, 1, 1, 1, 99999999999); +} catch (Throwable $e) { + echo $e->getMessage(), "\n"; +} + +try { + intlgregcal_create_instance(1, 1, 1, 1, 1, 99999999999); +} catch (Throwable $e) { + echo $e->getMessage(), "\n"; +} +?> +--EXPECTF-- +Deprecated: Calling IntlGregorianCalendar::__construct() with more than 2 arguments is deprecated, use either IntlGregorianCalendar::createFromDate() or IntlGregorianCalendar::createFromDateTime() instead in %s on line %d +IntlGregorianCalendar::__construct(): Argument #1 ($timezoneOrYear) must be between -2147483648 and 2147483647 + +Deprecated: Function intlgregcal_create_instance() is deprecated since 8.4, use IntlGregorianCalendar::__construct(), IntlGregorianCalendar::createFromDate(), or IntlGregorianCalendar::createFromDateTime() instead in %s on line %d +intlgregcal_create_instance(): Argument #2 ($localeOrMonth) must be between -2147483648 and 2147483647 + +Deprecated: Calling IntlGregorianCalendar::__construct() with more than 2 arguments is deprecated, use either IntlGregorianCalendar::createFromDate() or IntlGregorianCalendar::createFromDateTime() instead in %s on line %d +IntlGregorianCalendar::__construct(): Argument #4 ($hour) must be between -2147483648 and 2147483647 + +Deprecated: Calling IntlGregorianCalendar::__construct() with more than 2 arguments is deprecated, use either IntlGregorianCalendar::createFromDate() or IntlGregorianCalendar::createFromDateTime() instead in %s on line %d +IntlGregorianCalendar::__construct(): Argument #5 ($minute) must be between -2147483648 and 2147483647 + +Deprecated: Function intlgregcal_create_instance() is deprecated since 8.4, use IntlGregorianCalendar::__construct(), IntlGregorianCalendar::createFromDate(), or IntlGregorianCalendar::createFromDateTime() instead in %s on line %d +intlgregcal_create_instance(): Argument #6 ($second) must be between -2147483648 and 2147483647 diff -Nru php8.4-8.4.21/ext/intl/tests/spoofchecker_007.phpt php8.4-8.4.23/ext/intl/tests/spoofchecker_007.phpt --- php8.4-8.4.21/ext/intl/tests/spoofchecker_007.phpt 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/intl/tests/spoofchecker_007.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -7,7 +7,7 @@ getConstant("SINGLE_SCRIPT_RESTRICTIVE")) { - die("skip Incompatible ICU version"); + die("skip for ICU version < 53"); } ?> --FILE-- diff -Nru php8.4-8.4.21/ext/intl/tests/spoofchecker_008.phpt php8.4-8.4.23/ext/intl/tests/spoofchecker_008.phpt --- php8.4-8.4.21/ext/intl/tests/spoofchecker_008.phpt 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/intl/tests/spoofchecker_008.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -39,6 +39,6 @@ bool(true) bool(false) bool(false) -Spoofchecker::setAllowedChars(): Argument #2 ($patternOptions) must be a valid pattern option, 0 or (SpoofChecker::IGNORE_SPACE|( or SpoofChecker::USET_CASE_INSENSITIVE%s)) +Spoofchecker::setAllowedChars(): Argument #2 ($patternOptions) must be a valid pattern option, 0 or (SpoofChecker::IGNORE_SPACE|( or SpoofChecker::CASE_INSENSITIVE%s)) Spoofchecker::setAllowedChars(): Argument #1 ($pattern) must be a valid regular expression character set pattern Spoofchecker::setAllowedChars(): Argument #1 ($pattern) must be a valid regular expression character set pattern diff -Nru php8.4-8.4.21/ext/intl/tests/spoofchecker_supported_icu57_apis.phpt php8.4-8.4.23/ext/intl/tests/spoofchecker_supported_icu57_apis.phpt --- php8.4-8.4.21/ext/intl/tests/spoofchecker_supported_icu57_apis.phpt 1970-01-01 00:00:00.000000000 +0000 +++ php8.4-8.4.23/ext/intl/tests/spoofchecker_supported_icu57_apis.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -0,0 +1,42 @@ +--TEST-- +Spoofchecker exposes restriction-level APIs on all supported ICU versions +--EXTENSIONS-- +intl +--SKIPIF-- + +getConstant("SINGLE_SCRIPT_RESTRICTIVE")) { + die("skip for ICU version < 53"); + } +?> +--FILE-- +getConstant("ASCII"); +$singleScriptRestrictive = $r->getConstant("SINGLE_SCRIPT_RESTRICTIVE"); +$mixedNumbers = $r->getConstant("MIXED_NUMBERS"); + +var_dump($ascii !== false); +var_dump($singleScriptRestrictive !== false); +var_dump($mixedNumbers !== false); +var_dump(is_int($ascii)); +var_dump(is_int($singleScriptRestrictive)); +var_dump(is_int($mixedNumbers)); +var_dump($ascii !== $singleScriptRestrictive); +var_dump($ascii !== $mixedNumbers); +var_dump($singleScriptRestrictive !== $mixedNumbers); +var_dump($r->hasMethod("setRestrictionLevel")); +?> +--EXPECT-- +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) diff -Nru php8.4-8.4.21/ext/intl/tests/spoofchecker_unknown_restriction_level.phpt php8.4-8.4.23/ext/intl/tests/spoofchecker_unknown_restriction_level.phpt --- php8.4-8.4.21/ext/intl/tests/spoofchecker_unknown_restriction_level.phpt 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/intl/tests/spoofchecker_unknown_restriction_level.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -6,7 +6,7 @@ --FILE-- getDisplayName(false, -1)); +echo intl_get_error_message(), PHP_EOL; +var_dump($tz->getErrorCode()); +echo $tz->getErrorMessage(), PHP_EOL; var_dump(intltz_get_display_name(null, IntlTimeZone::DISPLAY_SHORT, false, 'pt_PT')); ?> --EXPECTF-- Warning: IntlTimeZone::getDisplayName(): wrong display type in %s on line %d bool(false) +wrong display type: U_ILLEGAL_ARGUMENT_ERROR +int(1) +wrong display type: U_ILLEGAL_ARGUMENT_ERROR Fatal error: Uncaught TypeError: intltz_get_display_name(): Argument #1 ($timezone) must be of type IntlTimeZone, null given in %s:%d Stack trace: diff -Nru php8.4-8.4.21/ext/intl/tests/transliterator_transliterate_error.phpt php8.4-8.4.23/ext/intl/tests/transliterator_transliterate_error.phpt --- php8.4-8.4.21/ext/intl/tests/transliterator_transliterate_error.phpt 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/intl/tests/transliterator_transliterate_error.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -9,14 +9,36 @@ $tr = Transliterator::create("latin"); +function dump_value_error(callable $callback): void { + try { + $callback(); + } catch (ValueError $exception) { + echo $exception->getMessage() . "\n"; + } +} + //Arguments var_dump(transliterator_transliterate($tr,"str",7)); -try { +dump_value_error(function() use ($tr) { transliterator_transliterate($tr,"str",7,6); -} catch (ValueError $exception) { - echo $exception->getMessage() . "\n"; -} +}); + +dump_value_error(function() use ($tr) { + transliterator_transliterate($tr,"str", 0, -2); +}); + +dump_value_error(function() use ($tr) { + transliterator_transliterate($tr,"str", -1); +}); + +dump_value_error(function() { + transliterator_transliterate("latin","str", -1); +}); + +dump_value_error(function() use ($tr) { + $tr->transliterate("str", 7, 6); +}); //bad UTF-8 transliterator_transliterate($tr, "\x80\x03"); @@ -26,7 +48,11 @@ --EXPECTF-- Warning: transliterator_transliterate(): transliterator_transliterate: Neither "start" nor the "end" arguments can exceed the number of UTF-16 code units (in this case, 3) in %s on line %d bool(false) -transliterator_transliterate(): Argument #2 ($string) must be less than or equal to argument #3 ($end) +transliterator_transliterate(): Argument #3 ($start) must be less than or equal to argument #4 ($end) +transliterator_transliterate(): Argument #4 ($end) must be greater than or equal to -1 +transliterator_transliterate(): Argument #3 ($start) must be greater than or equal to 0 +transliterator_transliterate(): Argument #3 ($start) must be greater than or equal to 0 +Transliterator::transliterate(): Argument #2 ($start) must be less than or equal to argument #3 ($end) Warning: transliterator_transliterate(): String conversion of string to UTF-16 failed in %s on line %d Done. diff -Nru php8.4-8.4.21/ext/intl/timezone/timezone_methods.cpp php8.4-8.4.23/ext/intl/timezone/timezone_methods.cpp --- php8.4-8.4.21/ext/intl/timezone/timezone_methods.cpp 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/intl/timezone/timezone_methods.cpp 2026-07-01 04:28:00.000000000 +0000 @@ -513,13 +513,15 @@ RETURN_THROWS(); } + TIMEZONE_METHOD_FETCH_OBJECT; + bool found = false; for (int i = 0; !found && i < sizeof(display_types)/sizeof(*display_types); i++) { if (display_types[i] == display_type) found = true; } if (!found) { - intl_error_set(NULL, U_ILLEGAL_ARGUMENT_ERROR, + intl_errors_set(TIMEZONE_ERROR_P(to), U_ILLEGAL_ARGUMENT_ERROR, "wrong display type", 0); RETURN_FALSE; } @@ -528,8 +530,6 @@ locale_str = intl_locale_get_default(); } - TIMEZONE_METHOD_FETCH_OBJECT; - UnicodeString result; to->utimezone->getDisplayName((UBool)daylight, (TimeZone::EDisplayType)display_type, Locale::createFromName(locale_str), result); diff -Nru php8.4-8.4.21/ext/intl/transliterator/transliterator_methods.c php8.4-8.4.23/ext/intl/transliterator/transliterator_methods.c --- php8.4-8.4.21/ext/intl/transliterator/transliterator_methods.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/intl/transliterator/transliterator_methods.c 2026-07-01 04:28:00.000000000 +0000 @@ -271,14 +271,16 @@ zend_long start = 0, limit = -1; int success = 0; + bool is_method; zval tmp_object; TRANSLITERATOR_METHOD_INIT_VARS; object = getThis(); + is_method = object != NULL; ZVAL_UNDEF(&tmp_object); - if (object == NULL) { + if (!is_method) { /* in non-OOP version, accept both a transliterator and a string */ zend_string *arg1_str; zend_object *arg1_obj; @@ -315,17 +317,17 @@ } if (limit < -1) { - zend_argument_value_error(object ? 3 : 4, "must be greater than or equal to -1"); + zend_argument_value_error(is_method ? 3 : 4, "must be greater than or equal to -1"); goto cleanup_object; } if (start < 0) { - zend_argument_value_error(object ? 2 : 3, "must be greater than or equal to 0"); + zend_argument_value_error(is_method ? 2 : 3, "must be greater than or equal to 0"); goto cleanup_object; } if (limit != -1 && start > limit) { - zend_argument_value_error(object ? 2 : 3, "must be less than or equal to argument #%d ($end)", object ? 3 : 4); + zend_argument_value_error(is_method ? 2 : 3, "must be less than or equal to argument #%d ($end)", is_method ? 3 : 4); goto cleanup_object; } diff -Nru php8.4-8.4.21/ext/intl/uchar/uchar.c php8.4-8.4.23/ext/intl/uchar/uchar.c --- php8.4-8.4.21/ext/intl/uchar/uchar.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/intl/uchar/uchar.c 2026-07-01 04:28:00.000000000 +0000 @@ -525,8 +525,8 @@ error = U_ZERO_ERROR; u8str = intl_convert_utf16_to_utf8(closure, closure_len, &error); - INTL_CHECK_STATUS(error, "Failed converting output to UTF8"); efree(closure); + INTL_CHECK_STATUS(error, "Failed converting output to UTF8"); RETVAL_NEW_STR(u8str); } /* }}} */ diff -Nru php8.4-8.4.21/ext/json/json_scanner.c php8.4-8.4.23/ext/json/json_scanner.c --- php8.4-8.4.21/ext/json/json_scanner.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/json/json_scanner.c 2026-07-01 04:28:00.000000000 +0000 @@ -1,4 +1,4 @@ -/* Generated by re2c 4.3 */ +/* Generated by re2c 4.5.1 */ /* +----------------------------------------------------------------------+ | Copyright (c) The PHP Group | diff -Nru php8.4-8.4.21/ext/json/php_json_scanner_defs.h php8.4-8.4.23/ext/json/php_json_scanner_defs.h --- php8.4-8.4.21/ext/json/php_json_scanner_defs.h 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/json/php_json_scanner_defs.h 2026-07-01 04:28:00.000000000 +0000 @@ -1,4 +1,4 @@ -/* Generated by re2c 4.3 */ +/* Generated by re2c 4.5.1 */ enum YYCONDTYPE { yycJS, diff -Nru php8.4-8.4.21/ext/libxml/tests/bug61367-read_2.phpt php8.4-8.4.23/ext/libxml/tests/bug61367-read_2.phpt --- php8.4-8.4.21/ext/libxml/tests/bug61367-read_2.phpt 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/libxml/tests/bug61367-read_2.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -5,6 +5,7 @@ --SKIPIF-- = 2.9.12 only'); +if (preg_match('/[^\x00-\x7F]/', __DIR__)) die('skip path contains non-ASCII characters that libxml URI parser rejects'); ?> --INI-- open_basedir=. @@ -58,6 +59,6 @@ int(4) bool(true) -%s: DOMDocument::loadXML(): %Sfailed to load %s +%s: DOMDocument::loadXML(): %s Warning: Attempt to read property "nodeValue" on null in %s on line %d diff -Nru php8.4-8.4.21/ext/libxml/tests/libxml_disable_entity_loader_2.phpt php8.4-8.4.23/ext/libxml/tests/libxml_disable_entity_loader_2.phpt --- php8.4-8.4.21/ext/libxml/tests/libxml_disable_entity_loader_2.phpt 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/libxml/tests/libxml_disable_entity_loader_2.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -6,6 +6,7 @@ --SKIPIF-- = 2.9.12 only'); +if (preg_match('/[^\x00-\x7F]/', __DIR__)) die('skip path contains non-ASCII characters that libxml URI parser rejects'); ?> --FILE-- --FILE-- 0) { fld_val = zend_string_init(token, token_pos, 0); } - if (fld_name != NULL && fld_val != NULL) { - zval val; - zend_str_tolower(ZSTR_VAL(fld_name), ZSTR_LEN(fld_name)); - ZVAL_STR(&val, fld_val); - zend_hash_update(ht, fld_name, &val); + if (fld_name != NULL) { + if (fld_val != NULL) { + zval val; + zend_str_tolower(ZSTR_VAL(fld_name), ZSTR_LEN(fld_name)); + ZVAL_STR(&val, fld_val); + zend_hash_update(ht, fld_name, &val); + } zend_string_release_ex(fld_name, 0); } diff -Nru php8.4-8.4.21/ext/mysqli/mysqli_api.c php8.4-8.4.23/ext/mysqli/mysqli_api.c --- php8.4-8.4.21/ext/mysqli/mysqli_api.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/mysqli/mysqli_api.c 2026-07-01 04:28:00.000000000 +0000 @@ -532,6 +532,10 @@ MYSQLND_PARAM_BIND *params; if (!zend_array_is_list(input_params)) { + if (stmt->query) { + efree(stmt->query); + stmt->query = NULL; + } mysqli_stmt_close(stmt->stmt, false); stmt->stmt = NULL; efree(stmt); @@ -542,6 +546,10 @@ hash_num_elements = zend_hash_num_elements(input_params); param_count = mysql_stmt_param_count(stmt->stmt); if (hash_num_elements != param_count) { + if (stmt->query) { + efree(stmt->query); + stmt->query = NULL; + } mysqli_stmt_close(stmt->stmt, false); stmt->stmt = NULL; efree(stmt); diff -Nru php8.4-8.4.21/ext/mysqli/tests/mysqli_execute_query_leak.phpt php8.4-8.4.23/ext/mysqli/tests/mysqli_execute_query_leak.phpt --- php8.4-8.4.21/ext/mysqli/tests/mysqli_execute_query_leak.phpt 1970-01-01 00:00:00.000000000 +0000 +++ php8.4-8.4.23/ext/mysqli/tests/mysqli_execute_query_leak.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -0,0 +1,37 @@ +--TEST-- +mysqli_execute_query() does not leak stmt->query on input_params validation errors with MYSQLI_REPORT_INDEX +--EXTENSIONS-- +mysqli +--SKIPIF-- + +--FILE-- +execute_query('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?', ['foo', 42]); +} catch (ValueError $e) { + echo '[001] '.$e->getMessage()."\n"; +} + +try { + $link->execute_query('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?', ['foo' => 42]); +} catch (ValueError $e) { + echo '[002] '.$e->getMessage()."\n"; +} + +print "done!"; +?> +--CLEAN-- + +--EXPECT-- +[001] mysqli::execute_query(): Argument #2 ($params) must consist of exactly 3 elements, 2 present +[002] mysqli::execute_query(): Argument #2 ($params) must be a list array +done! diff -Nru php8.4-8.4.21/ext/mysqli/tests/mysqli_real_connect_retry_attr.phpt php8.4-8.4.23/ext/mysqli/tests/mysqli_real_connect_retry_attr.phpt --- php8.4-8.4.21/ext/mysqli/tests/mysqli_real_connect_retry_attr.phpt 1970-01-01 00:00:00.000000000 +0000 +++ php8.4-8.4.23/ext/mysqli/tests/mysqli_real_connect_retry_attr.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -0,0 +1,26 @@ +--TEST-- +mysqli_real_connect() retry on same handle does not corrupt mysqlnd connect_attr +--EXTENSIONS-- +mysqli +--SKIPIF-- + +--FILE-- + +--EXPECT-- +done! diff -Nru php8.4-8.4.21/ext/mysqlnd/mysqlnd_alloc.c php8.4-8.4.23/ext/mysqlnd/mysqlnd_alloc.c --- php8.4-8.4.21/ext/mysqlnd/mysqlnd_alloc.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/mysqlnd/mysqlnd_alloc.c 2026-07-01 04:28:00.000000000 +0000 @@ -201,7 +201,7 @@ #if PHP_DEBUG { - char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); + const char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); TRACE_ALLOC_INF_FMT("file=%-15s line=%4d", fn? fn + 1:__zend_filename, __zend_lineno); } #endif @@ -232,7 +232,7 @@ #if PHP_DEBUG { - char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); + const char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); TRACE_ALLOC_INF_FMT("file=%-15s line=%4d", fn? fn + 1:__zend_filename, __zend_lineno); } #endif @@ -264,7 +264,7 @@ #if PHP_DEBUG { - char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); + const char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); TRACE_ALLOC_INF_FMT("file=%-15s line=%4d", fn? fn + 1:__zend_filename, __zend_lineno); } #endif @@ -295,7 +295,7 @@ #if PHP_DEBUG { - char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); + const char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); TRACE_ALLOC_INF_FMT("file=%-15s line=%4d", fn? fn + 1:__zend_filename, __zend_lineno); } #endif @@ -336,7 +336,7 @@ TRACE_ALLOC_ENTER(mysqlnd_pestrdup_name); #if PHP_DEBUG { - char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); + const char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); TRACE_ALLOC_INF_FMT("file=%-15s line=%4d", fn? fn + 1:__zend_filename, __zend_lineno); } #endif diff -Nru php8.4-8.4.21/ext/mysqlnd/mysqlnd_connection.c php8.4-8.4.23/ext/mysqlnd/mysqlnd_connection.c --- php8.4-8.4.21/ext/mysqlnd/mysqlnd_connection.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/mysqlnd/mysqlnd_connection.c 2026-07-01 04:28:00.000000000 +0000 @@ -557,7 +557,7 @@ /* IPv6 without square brackets so without port */ transport.l = mnd_sprintf(&transport.s, 0, "tcp://[%s]:%u", hostname.s, port); } else { - char *p; + const char *p; /* IPv6 addresses are in the format [address]:port */ if (hostname.s[0] == '[') { /* IPv6 */ @@ -1572,17 +1572,14 @@ zval attrz; zend_string *str; + str = zend_string_init(key, strlen(key), conn->persistent); + ZVAL_NEW_STR(&attrz, zend_string_init(value, strlen(value), conn->persistent)); if (conn->persistent) { - str = zend_string_init(key, strlen(key), 1); GC_MAKE_PERSISTENT_LOCAL(str); - ZVAL_NEW_STR(&attrz, zend_string_init(value, strlen(value), 1)); GC_MAKE_PERSISTENT_LOCAL(Z_COUNTED(attrz)); - } else { - str = zend_string_init(key, strlen(key), 0); - ZVAL_NEW_STR(&attrz, zend_string_init(value, strlen(value), 0)); } zend_hash_update(conn->options->connect_attr, str, &attrz); - zend_string_release_ex(str, 1); + zend_string_release_ex(str, conn->persistent); } break; default: diff -Nru php8.4-8.4.21/ext/mysqlnd/mysqlnd_result.c php8.4-8.4.23/ext/mysqlnd/mysqlnd_result.c --- php8.4-8.4.21/ext/mysqlnd/mysqlnd_result.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/mysqlnd/mysqlnd_result.c 2026-07-01 04:28:00.000000000 +0000 @@ -994,8 +994,7 @@ array_init_size(return_value, array_size); HashTable *row_ht = Z_ARRVAL_P(return_value); - MYSQLND_FIELD *field = meta->fields; - for (unsigned i = 0; i < meta->field_count; i++, field++) { + for (unsigned i = 0; i < meta->field_count; i++) { zval *data = &row_data[i]; if (flags & MYSQLND_FETCH_NUM) { @@ -1038,10 +1037,9 @@ mysqlnd_result_free_prev_data(result); if (result->m.fetch_row(result, &row_data, 0, &fetched_anything) == PASS && fetched_anything) { unsigned field_count = result->field_count; - MYSQLND_FIELD *field = result->meta->fields; ret = mnd_emalloc(field_count * sizeof(char *)); - for (unsigned i = 0; i < field_count; i++, field++) { + for (unsigned i = 0; i < field_count; i++) { zval *data = &row_data[i]; if (Z_TYPE_P(data) != IS_NULL) { convert_to_string(data); diff -Nru php8.4-8.4.21/ext/mysqlnd/mysqlnd_wireprotocol.c php8.4-8.4.23/ext/mysqlnd/mysqlnd_wireprotocol.c --- php8.4-8.4.21/ext/mysqlnd/mysqlnd_wireprotocol.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/mysqlnd/mysqlnd_wireprotocol.c 2026-07-01 04:28:00.000000000 +0000 @@ -461,7 +461,7 @@ packet->auth_protocol = estrdup(""); } else { /* Check if NUL present */ - char *null_terminator = memchr(p, '\0', remaining_size); + const char *null_terminator = memchr(p, '\0', remaining_size); size_t auth_protocol_len; if (null_terminator) { /* If present, do basically estrdup */ diff -Nru php8.4-8.4.21/ext/opcache/jit/ir/.gitignore php8.4-8.4.23/ext/opcache/jit/ir/.gitignore --- php8.4-8.4.21/ext/opcache/jit/ir/.gitignore 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/opcache/jit/ir/.gitignore 2026-07-01 04:28:00.000000000 +0000 @@ -20,3 +20,6 @@ win32/vcpkg win32/build_* + +fuzz/build/ +fuzz/corpus/ diff -Nru php8.4-8.4.21/ext/opcache/jit/ir/ir.c php8.4-8.4.23/ext/opcache/jit/ir/ir.c --- php8.4-8.4.21/ext/opcache/jit/ir/ir.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/opcache/jit/ir/ir.c 2026-07-01 04:28:00.000000000 +0000 @@ -161,6 +161,8 @@ case IR_CHAR: if (insn->val.c == '\\') { fprintf(f, "'\\\\'"); + } else if (insn->val.c == '\'') { + fprintf(f, "'\\\''"); } else if (insn->val.c >= ' ') { fprintf(f, "'%c'", insn->val.c); } else if (insn->val.c == '\t') { @@ -283,6 +285,7 @@ #define ir_op_kind_src IR_OPND_CONTROL #define ir_op_kind_reg IR_OPND_CONTROL_DEP #define ir_op_kind_ret IR_OPND_CONTROL_REF +#define ir_op_kind_grd IR_OPND_CONTROL_GUARD #define ir_op_kind_str IR_OPND_STR #define ir_op_kind_num IR_OPND_NUM #define ir_op_kind_fld IR_OPND_STR @@ -1843,7 +1846,7 @@ int ir_mem_flush(void *ptr, size_t size) { - return 1; + return FlushInstructionCache(GetCurrentProcess(), ptr, size) == TRUE ? 1 : 0; } #else @@ -2168,7 +2171,10 @@ if (!(proto->flags & (IR_CONST_FUNC|IR_PURE_FUNC))) { break; } - } else if (insn->op == IR_MERGE || insn->op == IR_LOOP_BEGIN || insn->op == IR_VSTORE) { + } else if (insn->op == IR_MERGE + || insn->op == IR_LOOP_BEGIN + || insn->op == IR_VSTORE + || (insn->op == IR_BEGIN && insn->op2)) { return IR_UNUSED; } ref = insn->op1; @@ -2233,7 +2239,10 @@ if (!(proto->flags & (IR_CONST_FUNC|IR_PURE_FUNC))) { break; } - } else if (insn->op == IR_MERGE || insn->op == IR_LOOP_BEGIN || insn->op == IR_STORE) { + } else if (insn->op == IR_MERGE + || insn->op == IR_LOOP_BEGIN + || insn->op == IR_STORE + || (insn->op == IR_BEGIN && insn->op2)) { break; } ref = insn->op1; @@ -2326,7 +2335,15 @@ } } else if (insn->op == IR_GUARD || insn->op == IR_GUARD_NOT) { guarded = 1; - } else if (insn->op >= IR_START || insn->op == IR_CALL) { + } else if (insn->op >= IR_START) { + if (insn->op == IR_BEGIN && insn->op1 && !insn->op2) { + /* skip END */ + ref = insn->op1; + insn = &ctx->ir_base[ref]; + } else { + break; + } + } else if (insn->op == IR_CALL) { break; } next = ref; @@ -2407,7 +2424,15 @@ } } else if (insn->op == IR_GUARD || insn->op == IR_GUARD_NOT) { guarded = 1; - } else if (insn->op >= IR_START || insn->op == IR_CALL || insn->op == IR_LOAD || insn->op == IR_STORE) { + } else if (insn->op >= IR_START) { + if (insn->op == IR_BEGIN && insn->op1 && !insn->op2) { + /* skip END */ + ref = insn->op1; + insn = &ctx->ir_base[ref]; + } else { + break; + } + } else if (insn->op == IR_CALL || insn->op == IR_LOAD || insn->op == IR_STORE) { break; } next = ref; @@ -2422,6 +2447,37 @@ } /* IR Construction API */ +static ir_ref ir_last_guard(ir_ctx *ctx) +{ + ir_ref ref; + ir_insn *insn; + + IR_ASSERT(ctx->control); + ref = ctx->control; + while (1) { + insn = &ctx->ir_base[ref]; + if (IR_IS_BB_START(insn->op) || insn->op == IR_GUARD || insn->op == IR_GUARD_NOT) { + if (insn->op == IR_START) ref = IR_UNUSED; + break; + } + ref = insn->op1; + } + return ref; +} + +ir_ref _ir_DIV(ir_ctx *ctx, ir_type type, ir_ref op1, ir_ref op2) +{ + ir_ref guard = (IR_IS_TYPE_FP(type) || (IR_IS_CONST_REF(op2) && ctx->ir_base[op2].val.u64 != 0)) ? + IR_UNUSED : ir_last_guard(ctx); + return ir_fold3(ctx, IR_OPT(IR_DIV, type), op1, op2, guard); +} + +ir_ref _ir_MOD(ir_ctx *ctx, ir_type type, ir_ref op1, ir_ref op2) +{ + ir_ref guard = (IR_IS_CONST_REF(op2) && ctx->ir_base[op2].val.u64 != 0) ? + IR_UNUSED : ir_last_guard(ctx); + return ir_fold3(ctx, IR_OPT(IR_MOD, type), op1, op2, guard); +} ir_ref _ir_PARAM(ir_ctx *ctx, ir_type type, const char* name, ir_ref num) { diff -Nru php8.4-8.4.21/ext/opcache/jit/ir/ir.h php8.4-8.4.23/ext/opcache/jit/ir/ir.h --- php8.4-8.4.21/ext/opcache/jit/ir/ir.h 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/opcache/jit/ir/ir.h 2026-07-01 04:28:00.000000000 +0000 @@ -210,6 +210,7 @@ * arg - argument reference CALL/TAILCALL/CARG->CARG * src - reference to a previous control region (IF, IF_TRUE, IF_FALSE, MERGE, LOOP_BEGIN, LOOP_END, RETURN) * reg - data-control dependency on region (PHI, VAR, PARAM) + * grd - optional data-control dependency guard (DIV, MOD) * ret - reference to a previous RETURN instruction (RETURN) * str - string: variable/argument name (VAR, PARAM, CALL, TAILCALL) * num - number: argument number (PARAM) @@ -265,8 +266,8 @@ _(ADD, d2C, def, def, ___) /* addition */ \ _(SUB, d2, def, def, ___) /* subtraction (must be ADD+1) */ \ _(MUL, d2C, def, def, ___) /* multiplication */ \ - _(DIV, d2, def, def, ___) /* division */ \ - _(MOD, d2, def, def, ___) /* modulo */ \ + _(DIV, d3, def, def, grd) /* division */ \ + _(MOD, d3, def, def, grd) /* modulo */ \ _(NEG, d1, def, ___, ___) /* change sign */ \ _(ABS, d1, def, ___, ___) /* absolute value */ \ /* (LDEXP, MIN, MAX, FPMATH) */ \ @@ -383,6 +384,14 @@ _(RETURN, T2X1, src, def, ret) /* function return */ \ _(UNREACHABLE, T1X2, src, ___, ret) /* unreachable (tailcall, etc) */ \ \ + /* inline assembler */ \ + _(ASM, xN, src, def, def) /* GCC inline assembler */ \ + /* op2 - asm template string */ \ + /* op3 - asm constraint string */ \ + /* opN - asm input argument */ \ + _(ASM_OUT, x1, src, ___, ___) /* ASM data output projection */ \ + _(ASM_GOTO, E1, src, ___, ___) /* ASM goto (bb end after ASM) */ \ + \ /* deoptimization helper */ \ _(EXITCALL, x2, src, def, ___) /* save CPU regs and call op2 */ \ diff -Nru php8.4-8.4.21/ext/opcache/jit/ir/ir_aarch64.dasc php8.4-8.4.23/ext/opcache/jit/ir/ir_aarch64.dasc --- php8.4-8.4.21/ext/opcache/jit/ir/ir_aarch64.dasc 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/opcache/jit/ir/ir_aarch64.dasc 2026-07-01 04:28:00.000000000 +0000 @@ -402,6 +402,7 @@ int flags = IR_USE_MUST_BE_IN_REG | IR_OP1_MUST_BE_IN_REG | IR_OP2_MUST_BE_IN_REG | IR_OP3_MUST_BE_IN_REG; const ir_proto_t *proto; const ir_call_conv_dsc *cc; + ir_ref next; constraints->def_reg = IR_REG_NONE; constraints->hints_count = 0; @@ -562,11 +563,13 @@ constraints->tmp_regs[0] = IR_TMP_REG(1, IR_ADDR, IR_LOAD_SUB_REF, IR_DEF_SUB_REF); n = 1; } - if (IR_IS_CONST_REF(insn->op2) && insn->op1 != insn->op2) { - insn = &ctx->ir_base[insn->op2]; - if (IR_IS_SYM_CONST(insn->op) || !aarch64_may_encode_imm12(insn->val.u64)) { - constraints->tmp_regs[n] = IR_TMP_REG(2, insn->type, IR_LOAD_SUB_REF, IR_DEF_SUB_REF); - n++; + if (IR_IS_CONST_REF(insn->op2)) { + if (insn->op1 != insn->op2) { + insn = &ctx->ir_base[insn->op2]; + if (IR_IS_SYM_CONST(insn->op) || !aarch64_may_encode_imm12(insn->val.u64)) { + constraints->tmp_regs[n] = IR_TMP_REG(2, insn->type, IR_LOAD_SUB_REF, IR_DEF_SUB_REF); + n++; + } } } else if (ir_rule(ctx, insn->op2) == IR_STATIC_ALLOCA) { constraints->tmp_regs[n] = IR_TMP_REG(2, IR_ADDR, IR_LOAD_SUB_REF, IR_DEF_SUB_REF); @@ -751,6 +754,10 @@ break; case IR_SNAPSHOT: flags = 0; + next = ir_next_control(ctx, ref); + if (ctx->ir_base[next].op == IR_GUARD || ctx->ir_base[next].op == IR_GUARD_NOT) { + flags = IR_EXTEND_INPUTS_TO_NEXT; + } break; case IR_VA_START: flags = IR_OP2_MUST_BE_IN_REG; @@ -1199,10 +1206,6 @@ if (!IR_IS_CONST_REF(insn->op2) && (ctx->use_lists[insn->op2].count == 1 || all_usages_are_fusable(ctx, insn->op2))) { op2_insn = &ctx->ir_base[insn->op2]; if (op2_insn->op >= IR_EQ && op2_insn->op <= IR_UNORDERED) { - // TODO: register allocator may clobber operands of CMP before they are used in the GUARD_CMP -//??? && (insn->op2 == ref - 1 || -//??? (insn->op2 == ctx->prev_ref[ref] - 1 -//??? && ctx->ir_base[ctx->prev_ref[ref]].op == IR_SNAPSHOT))) { if (IR_IS_TYPE_INT(ctx->ir_base[op2_insn->op1].type)) { ctx->rules[insn->op2] = IR_FUSED | IR_CMP_INT; return IR_GUARD_CMP_INT; @@ -1265,6 +1268,12 @@ return IR_FUSED | IR_ARGVAL; case IR_NOP: return IR_SKIPPED | IR_NOP; + case IR_ASM: + case IR_ASM_OUT: + case IR_ASM_GOTO: + fprintf(stderr, "ERROR: IR_ASM is not implemented yet\n"); + exit(1); + return IR_SKIPPED | IR_NOP; default: break; } @@ -4996,7 +5005,8 @@ void *addr = ir_jmp_addr(ctx, insn, &ctx->ir_base[insn->op2]); | .addr &addr - if (ctx->ir_base[bb->start].op != IR_CASE_DEFAULT) { + if (ctx->ir_base[bb->start].op1 == def + && ctx->ir_base[bb->start].op != IR_CASE_DEFAULT) { bb->flags |= IR_BB_EMPTY; } continue; diff -Nru php8.4-8.4.21/ext/opcache/jit/ir/ir_builder.h php8.4-8.4.23/ext/opcache/jit/ir/ir_builder.h --- php8.4-8.4.21/ext/opcache/jit/ir/ir_builder.h 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/opcache/jit/ir/ir_builder.h 2026-07-01 04:28:00.000000000 +0000 @@ -118,31 +118,31 @@ #define ir_MUL_D(_op1, _op2) ir_BINARY_OP_D(IR_MUL, (_op1), (_op2)) #define ir_MUL_F(_op1, _op2) ir_BINARY_OP_F(IR_MUL, (_op1), (_op2)) -#define ir_DIV(_type, _op1, _op2) ir_BINARY_OP(IR_DIV, (_type), (_op1), (_op2)) -#define ir_DIV_U8(_op1, _op2) ir_BINARY_OP_U8(IR_DIV, (_op1), (_op2)) -#define ir_DIV_U16(_op1, _op2) ir_BINARY_OP_U16(IR_DIV, (_op1), (_op2)) -#define ir_DIV_U32(_op1, _op2) ir_BINARY_OP_U32(IR_DIV, (_op1), (_op2)) -#define ir_DIV_U64(_op1, _op2) ir_BINARY_OP_U64(IR_DIV, (_op1), (_op2)) -#define ir_DIV_A(_op1, _op2) ir_BINARY_OP_A(IR_DIV, (_op1), (_op2)) -#define ir_DIV_C(_op1, _op2) ir_BINARY_OP_C(IR_DIV, (_op1), (_op2)) -#define ir_DIV_I8(_op1, _op2) ir_BINARY_OP_I8(IR_DIV, (_op1), (_op2)) -#define ir_DIV_I16(_op1, _op2) ir_BINARY_OP_I16(IR_DIV, (_op1), (_op2)) -#define ir_DIV_I32(_op1, _op2) ir_BINARY_OP_I32(IR_DIV, (_op1), (_op2)) -#define ir_DIV_I64(_op1, _op2) ir_BINARY_OP_I64(IR_DIV, (_op1), (_op2)) +#define ir_DIV(_type, _op1, _op2) _ir_DIV(_ir_CTX, (_type), (_op1), (_op2)) +#define ir_DIV_U8(_op1, _op2) ir_DIV(IR_U8, (_op1), (_op2)) +#define ir_DIV_U16(_op1, _op2) ir_DIV(IR_U16, (_op1), (_op2)) +#define ir_DIV_U32(_op1, _op2) ir_DIV(IR_U32, (_op1), (_op2)) +#define ir_DIV_U64(_op1, _op2) ir_DIV(IR_U64, (_op1), (_op2)) +#define ir_DIV_A(_op1, _op2) ir_DIV(IR_ADDR, (_op1), (_op2)) +#define ir_DIV_C(_op1, _op2) ir_DIV(IR_CHAR, (_op1), (_op2)) +#define ir_DIV_I8(_op1, _op2) ir_DIV(IR_I8, (_op1), (_op2)) +#define ir_DIV_I16(_op1, _op2) ir_DIV(IR_I16, (_op1), (_op2)) +#define ir_DIV_I32(_op1, _op2) ir_DIV(IR_I32, (_op1), (_op2)) +#define ir_DIV_I64(_op1, _op2) ir_DIV(IR_I64, (_op1), (_op2)) #define ir_DIV_D(_op1, _op2) ir_BINARY_OP_D(IR_DIV, (_op1), (_op2)) #define ir_DIV_F(_op1, _op2) ir_BINARY_OP_F(IR_DIV, (_op1), (_op2)) -#define ir_MOD(_type, _op1, _op2) ir_BINARY_OP(IR_MOD, (_type), (_op1), (_op2)) -#define ir_MOD_U8(_op1, _op2) ir_BINARY_OP_U8(IR_MOD, (_op1), (_op2)) -#define ir_MOD_U16(_op1, _op2) ir_BINARY_OP_U16(IR_MOD, (_op1), (_op2)) -#define ir_MOD_U32(_op1, _op2) ir_BINARY_OP_U32(IR_MOD, (_op1), (_op2)) -#define ir_MOD_U64(_op1, _op2) ir_BINARY_OP_U64(IR_MOD, (_op1), (_op2)) -#define ir_MOD_A(_op1, _op2) ir_BINARY_OP_A(IR_MOD, (_op1), (_op2)) -#define ir_MOD_C(_op1, _op2) ir_BINARY_OP_C(IR_MOD, (_op1), (_op2)) -#define ir_MOD_I8(_op1, _op2) ir_BINARY_OP_I8(IR_MOD, (_op1), (_op2)) -#define ir_MOD_I16(_op1, _op2) ir_BINARY_OP_I16(IR_MOD, (_op1), (_op2)) -#define ir_MOD_I32(_op1, _op2) ir_BINARY_OP_I32(IR_MOD, (_op1), (_op2)) -#define ir_MOD_I64(_op1, _op2) ir_BINARY_OP_I64(IR_MOD, (_op1), (_op2)) +#define ir_MOD(_type, _op1, _op2) _ir_MOD(_ir_CTX, (_type), (_op1), (_op2)) +#define ir_MOD_U8(_op1, _op2) ir_MOD(IR_U8, (_op1), (_op2)) +#define ir_MOD_U16(_op1, _op2) ir_MOD(IR_U16, (_op1), (_op2)) +#define ir_MOD_U32(_op1, _op2) ir_MOD(IR_U32, (_op1), (_op2)) +#define ir_MOD_U64(_op1, _op2) ir_MOD(IR_U64, (_op1), (_op2)) +#define ir_MOD_A(_op1, _op2) ir_MOD(IR_ADDR, (_op1), (_op2)) +#define ir_MOD_C(_op1, _op2) ir_MOD(IR_CHAR, (_op1), (_op2)) +#define ir_MOD_I8(_op1, _op2) ir_MOD(IR_I8, (_op1), (_op2)) +#define ir_MOD_I16(_op1, _op2) ir_MOD(IR_I16, (_op1), (_op2)) +#define ir_MOD_I32(_op1, _op2) ir_MOD(IR_I32, (_op1), (_op2)) +#define ir_MOD_I64(_op1, _op2) ir_MOD(IR_I64, (_op1), (_op2)) #define ir_NEG(_type, _op1) ir_UNARY_OP(IR_NEG, (_type), (_op1)) #define ir_NEG_C(_op1) ir_UNARY_OP_C(IR_NEG, (_op1)) @@ -633,6 +633,8 @@ #define ir_MERGE_WITH_EMPTY_TRUE(_if) do {ir_ref end = ir_END(); ir_IF_TRUE(_if); ir_MERGE_2(end, ir_END());} while (0) #define ir_MERGE_WITH_EMPTY_FALSE(_if) do {ir_ref end = ir_END(); ir_IF_FALSE(_if); ir_MERGE_2(end, ir_END());} while (0) +ir_ref _ir_DIV(ir_ctx *ctx, ir_type type, ir_ref op1, ir_ref op2); +ir_ref _ir_MOD(ir_ctx *ctx, ir_type type, ir_ref op1, ir_ref op2); ir_ref _ir_ADD_OFFSET(ir_ctx *ctx, ir_ref addr, uintptr_t offset); ir_ref _ir_PHI_2(ir_ctx *ctx, ir_type type, ir_ref src1, ir_ref src2); ir_ref _ir_PHI_N(ir_ctx *ctx, ir_type type, ir_ref n, ir_ref *inputs); diff -Nru php8.4-8.4.21/ext/opcache/jit/ir/ir_cfg.c php8.4-8.4.23/ext/opcache/jit/ir/ir_cfg.c --- php8.4-8.4.21/ext/opcache/jit/ir/ir_cfg.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/opcache/jit/ir/ir_cfg.c 2026-07-01 04:28:00.000000000 +0000 @@ -1502,6 +1502,23 @@ } #endif +static bool ir_should_align_loop(ir_ctx *ctx, ir_chain *chains, uint32_t b, ir_block *bb) +{ + uint32_t n = bb->predecessors_count; + uint32_t *p = ctx->cfg_edges + bb->predecessors; + + for (; n > 0; p++, n--) { + uint32_t pred = *p; + if (chains[pred].head) { + if (ir_chain_head(chains, pred) == b) return 1; + } else { + if (ir_should_align_loop(ctx, chains, b, &ctx->cfg_blocks[pred])) return 1; + } + } + + return 0; +} + static int ir_schedule_blocks_bottom_up(ir_ctx *ctx) { uint32_t max_edges_count = ctx->cfg_edges_count / 2; @@ -1862,7 +1879,7 @@ if (chains[b].head == b) { bb = &ctx->cfg_blocks[b]; if (bb->loop_depth) { - if ((bb->flags & IR_BB_LOOP_HEADER) || ir_chain_head(chains, bb->loop_header) == b) { + if (ir_should_align_loop(ctx, chains, b, bb)) { bb->flags |= IR_BB_ALIGN_LOOP; } } diff -Nru php8.4-8.4.21/ext/opcache/jit/ir/ir_check.c php8.4-8.4.23/ext/opcache/jit/ir/ir_check.c --- php8.4-8.4.21/ext/opcache/jit/ir/ir_check.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/opcache/jit/ir/ir_check.c 2026-07-01 04:28:00.000000000 +0000 @@ -148,6 +148,12 @@ bool ok = 1; ir_check_ctx check_ctx; + if (ctx->insns_count < 1 || ctx->ir_base[1].op != IR_START) { + fprintf(stderr, "ir_base[1].op invalid opcode (%d)\n", + (ctx->insns_count < 1) ? IR_NOP : ctx->ir_base[0].op); + ok = 0; + } + check_ctx.arena = NULL; check_ctx.use_set = NULL; check_ctx.input_set = NULL; @@ -297,6 +303,14 @@ ok = 0; } break; + case IR_OPND_CONTROL_GUARD: + if (!(ir_op_flags[use_insn->op] & IR_OP_FLAG_BB_START) + && use_insn->op != IR_GUARD + && use_insn->op != IR_GUARD_NOT) { + fprintf(stderr, "ir_base[%d].ops[%d] reference (%d) must be BB_START or GUARD\n", i, j, use); + ok = 0; + } + break; default: fprintf(stderr, "ir_base[%d].ops[%d] reference (%d) of unsupported kind\n", i, j, use); ok = 0; @@ -306,6 +320,8 @@ /* pass (function returns void) */ } else if (insn->op == IR_BEGIN && j == 1) { /* pass (start of unreachable basic block) */ + } else if (IR_OPND_KIND(flags, j) == IR_OPND_CONTROL_GUARD) { + /* reference to control guard is optional */ } else if (IR_OPND_KIND(flags, j) != IR_OPND_CONTROL_REF && (insn->op != IR_SNAPSHOT || j == 1)) { fprintf(stderr, "ir_base[%d].ops[%d] missing reference (%d)\n", i, j, use); @@ -413,6 +429,7 @@ } break; case IR_IGOTO: + case IR_ASM_GOTO: break; default: /* skip data references */ @@ -464,6 +481,10 @@ // if (!ok) { // ir_dump_codegen(ctx, stderr); // } + +#ifndef IR_CHECK_NO_ABORT IR_ASSERT(ok); +#endif + return ok; } diff -Nru php8.4-8.4.21/ext/opcache/jit/ir/ir_dump.c php8.4-8.4.23/ext/opcache/jit/ir/ir_dump.c --- php8.4-8.4.21/ext/opcache/jit/ir/ir_dump.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/opcache/jit/ir/ir_dump.c 2026-07-01 04:28:00.000000000 +0000 @@ -142,6 +142,7 @@ break; case IR_OPND_CONTROL_DEP: case IR_OPND_CONTROL_REF: + case IR_OPND_CONTROL_GUARD: fprintf(f, "\tn%d -> n%d [style=dashed,dir=back,weight=%d];\n", ref, i, REF_WEIGHT); break; case IR_OPND_LABEL_REF: @@ -650,6 +651,7 @@ case IR_OPND_CONTROL: case IR_OPND_CONTROL_DEP: case IR_OPND_CONTROL_REF: + case IR_OPND_CONTROL_GUARD: fprintf(f, "%sl_%d", first ? "(" : ", ", ref); first = 0; break; @@ -680,6 +682,8 @@ } else if (opnd_kind == IR_OPND_NUM) { fprintf(f, "%s%d", first ? "(" : ", ", ref); first = 0; + } else if (opnd_kind == IR_OPND_CONTROL_GUARD) { + /* skip */ } else if (j != n && (IR_IS_REF_OPND_KIND(opnd_kind) || (opnd_kind == IR_OPND_UNUSED && p[n-j]))) { fprintf(f, "%snull", first ? "(" : ", "); diff -Nru php8.4-8.4.21/ext/opcache/jit/ir/ir_fold.h php8.4-8.4.23/ext/opcache/jit/ir/ir_fold.h --- php8.4-8.4.21/ext/opcache/jit/ir/ir_fold.h 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/opcache/jit/ir/ir_fold.h 2026-07-01 04:28:00.000000000 +0000 @@ -1679,44 +1679,6 @@ IR_FOLD(EQ(SEXT, C_I32)) IR_FOLD(EQ(SEXT, C_I64)) IR_FOLD(EQ(SEXT, C_ADDR)) -{ - if (ctx->use_lists && ctx->use_lists[op1_insn->op1].count != 1) { - /* pass */ - } else if (op2_insn->val.u64 == 0 && ctx->ir_base[op1_insn->op1].type == IR_BOOL) { - opt = IR_OPT(IR_NOT, IR_BOOL); - op1 = op1_insn->op1; - op2 = IR_UNUSED; - IR_FOLD_RESTART; - } else { - ir_type type = ctx->ir_base[op1_insn->op1].type; - - if (op1_insn->op == IR_ZEXT - && (op2_insn->val.u64 >> (ir_type_size[type] * 8)) != 0) { - IR_FOLD_NEXT; - } - if (IR_IS_TYPE_SIGNED(type)) { - switch (ir_type_size[type]) { - case 1: val.i64 = op2_insn->val.i8; break; - case 2: val.i64 = op2_insn->val.i16; break; - case 4: val.i64 = op2_insn->val.i32; break; - default: val.u64 = op2_insn->val.u64; break; - } - } else { - switch (ir_type_size[type]) { - case 1: val.u64 = op2_insn->val.u8; break; - case 2: val.u64 = op2_insn->val.u16; break; - case 4: val.u64 = op2_insn->val.u32; break; - default: val.u64 = op2_insn->val.u64; break; - } - } - op1 = op1_insn->op1; - op2 = ir_const(ctx, val, type); - IR_FOLD_RESTART; - } - - IR_FOLD_NEXT; -} - IR_FOLD(NE(ZEXT, C_U16)) IR_FOLD(NE(ZEXT, C_U32)) IR_FOLD(NE(ZEXT, C_U64)) @@ -1731,16 +1693,93 @@ IR_FOLD(NE(SEXT, C_I32)) IR_FOLD(NE(SEXT, C_I64)) IR_FOLD(NE(SEXT, C_ADDR)) +IR_FOLD(ULT(ZEXT, C_U16)) +IR_FOLD(ULT(ZEXT, C_U32)) +IR_FOLD(ULT(ZEXT, C_U64)) +IR_FOLD(ULT(ZEXT, C_I16)) +IR_FOLD(ULT(ZEXT, C_I32)) +IR_FOLD(ULT(ZEXT, C_I64)) +IR_FOLD(ULT(ZEXT, C_ADDR)) +IR_FOLD(UGE(ZEXT, C_U16)) +IR_FOLD(UGE(ZEXT, C_U32)) +IR_FOLD(UGE(ZEXT, C_U64)) +IR_FOLD(UGE(ZEXT, C_I16)) +IR_FOLD(UGE(ZEXT, C_I32)) +IR_FOLD(UGE(ZEXT, C_I64)) +IR_FOLD(UGE(ZEXT, C_ADDR)) +IR_FOLD(ULE(ZEXT, C_U16)) +IR_FOLD(ULE(ZEXT, C_U32)) +IR_FOLD(ULE(ZEXT, C_U64)) +IR_FOLD(ULE(ZEXT, C_I16)) +IR_FOLD(ULE(ZEXT, C_I32)) +IR_FOLD(ULE(ZEXT, C_I64)) +IR_FOLD(ULE(ZEXT, C_ADDR)) +IR_FOLD(UGT(ZEXT, C_U16)) +IR_FOLD(UGT(ZEXT, C_U32)) +IR_FOLD(UGT(ZEXT, C_U64)) +IR_FOLD(UGT(ZEXT, C_I16)) +IR_FOLD(UGT(ZEXT, C_I32)) +IR_FOLD(UGT(ZEXT, C_I64)) +IR_FOLD(UGT(ZEXT, C_ADDR)) +IR_FOLD(LT(SEXT, C_U16)) +IR_FOLD(LT(SEXT, C_U32)) +IR_FOLD(LT(SEXT, C_U64)) +IR_FOLD(LT(SEXT, C_I16)) +IR_FOLD(LT(SEXT, C_I32)) +IR_FOLD(LT(SEXT, C_I64)) +IR_FOLD(LT(SEXT, C_ADDR)) +IR_FOLD(GE(SEXT, C_U16)) +IR_FOLD(GE(SEXT, C_U32)) +IR_FOLD(GE(SEXT, C_U64)) +IR_FOLD(GE(SEXT, C_I16)) +IR_FOLD(GE(SEXT, C_I32)) +IR_FOLD(GE(SEXT, C_I64)) +IR_FOLD(GE(SEXT, C_ADDR)) +IR_FOLD(LE(SEXT, C_U16)) +IR_FOLD(LE(SEXT, C_U32)) +IR_FOLD(LE(SEXT, C_U64)) +IR_FOLD(LE(SEXT, C_I16)) +IR_FOLD(LE(SEXT, C_I32)) +IR_FOLD(LE(SEXT, C_I64)) +IR_FOLD(LE(SEXT, C_ADDR)) +IR_FOLD(GT(SEXT, C_U16)) +IR_FOLD(GT(SEXT, C_U32)) +IR_FOLD(GT(SEXT, C_U64)) +IR_FOLD(GT(SEXT, C_I16)) +IR_FOLD(GT(SEXT, C_I32)) +IR_FOLD(GT(SEXT, C_I64)) +IR_FOLD(GT(SEXT, C_ADDR)) { - if (ctx->use_lists && ctx->use_lists[op1_insn->op1].count != 1) { + if (ctx->use_lists && ctx->use_lists[op1].count != 1) { /* pass */ - } else if (op2_insn->val.u64 == 0 && ctx->ir_base[op1_insn->op1].type == IR_BOOL) { - IR_FOLD_COPY(op1_insn->op1); } else { ir_type type = ctx->ir_base[op1_insn->op1].type; - if (op1_insn->op == IR_ZEXT - && (op2_insn->val.u64 >> (ir_type_size[type] * 8)) != 0) { + if (type == IR_BOOL && op2_insn->val.u64 == 0) { + if ((opt & IR_OPT_OP_MASK) == IR_EQ) { + opt = IR_OPT(IR_NOT, IR_BOOL); + op1 = op1_insn->op1; + op2 = IR_UNUSED; + IR_FOLD_RESTART; + } else if ((opt & IR_OPT_OP_MASK) == IR_NE) { + IR_FOLD_COPY(op1_insn->op1); + } + } + if ((op2_insn->val.u64 >> (ir_type_size[type] * 8)) != 0 + && (op1_insn->op != IR_SEXT || (op2_insn->val.i64 >> (ir_type_size[type] * 8)) != -1)) { + if ((opt & IR_OPT_OP_MASK) == IR_EQ + || (opt & IR_OPT_OP_MASK) == IR_UGT + || (opt & IR_OPT_OP_MASK) == IR_UGE) { + IR_FOLD_COPY(IR_FALSE); + } else if ((opt & IR_OPT_OP_MASK) == IR_NE + || (opt & IR_OPT_OP_MASK) == IR_ULT + || (opt & IR_OPT_OP_MASK) == IR_ULE) { + IR_FOLD_COPY(IR_TRUE); + } else if ((opt & IR_OPT_OP_MASK) == IR_GT || (opt & IR_OPT_OP_MASK) == IR_GE) { + IR_FOLD_COPY(op2_insn->val.i64 >= 0 ? IR_FALSE : IR_TRUE); + } else if ((opt & IR_OPT_OP_MASK) == IR_LT || (opt & IR_OPT_OP_MASK) == IR_LE) { + IR_FOLD_COPY(op2_insn->val.i64 >= 0 ? IR_TRUE : IR_FALSE); + } IR_FOLD_NEXT; } if (IR_IS_TYPE_SIGNED(type)) { @@ -1763,6 +1802,43 @@ IR_FOLD_RESTART; } IR_FOLD_NEXT; +} + +IR_FOLD(EQ(ZEXT, ZEXT)) +IR_FOLD(NE(ZEXT, ZEXT)) +IR_FOLD(ULT(ZEXT, ZEXT)) +IR_FOLD(UGE(ZEXT, ZEXT)) +IR_FOLD(ULE(ZEXT, ZEXT)) +IR_FOLD(UGT(ZEXT, ZEXT)) +IR_FOLD(EQ(SEXT, SEXT)) +IR_FOLD(NE(SEXT, SEXT)) +IR_FOLD(LT(SEXT, SEXT)) +IR_FOLD(GE(SEXT, SEXT)) +IR_FOLD(LE(SEXT, SEXT)) +IR_FOLD(GT(SEXT, SEXT)) +{ + if (ctx->ir_base[op1_insn->op1].type == ctx->ir_base[op2_insn->op1].type + && (!ctx->use_lists || (ctx->use_lists[op1].count == 1 && ctx->use_lists[op2].count == 1))) { + op1 = op1_insn->op1; + op2 = op2_insn->op1; + IR_FOLD_RESTART; + } + IR_FOLD_NEXT; +} + +IR_FOLD(LT(ZEXT, ZEXT)) +IR_FOLD(GE(ZEXT, ZEXT)) +IR_FOLD(LE(ZEXT, ZEXT)) +IR_FOLD(GT(ZEXT, ZEXT)) +{ + if (ctx->ir_base[op1_insn->op1].type == ctx->ir_base[op2_insn->op1].type + && (!ctx->use_lists || (ctx->use_lists[op1].count == 1 && ctx->use_lists[op2].count == 1))) { + op1 = op1_insn->op1; + op2 = op2_insn->op1; + opt += 4; /* LT -> ULT, ... */ + IR_FOLD_RESTART; + } + IR_FOLD_NEXT; } IR_FOLD(NOT(EQ)) diff -Nru php8.4-8.4.21/ext/opcache/jit/ir/ir_gcm.c php8.4-8.4.23/ext/opcache/jit/ir/ir_gcm.c --- php8.4-8.4.21/ext/opcache/jit/ir/ir_gcm.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/opcache/jit/ir/ir_gcm.c 2026-07-01 04:28:00.000000000 +0000 @@ -148,7 +148,7 @@ } #if IR_GCM_SPLIT -/* Partially Dead Code Elimination through splitting the node and sunking the clones +/* Partially Dead Code Elimination through splitting the node and sinking the clones * * This code is based on the Benedikt Meurer's idea first implemented in V8. * See: https://codereview.chromium.org/899433005 @@ -309,6 +309,7 @@ struct { ir_ref ref; uint32_t block; + uint32_t lca; uint32_t use_count; uint32_t use; } *clones = ir_mem_malloc(sizeof(*clones) * use_list->count); @@ -344,8 +345,11 @@ clone = clones_count++; ir_hashtab_add(&hash, j, clone); clones[clone].block = j; + clones[clone].lca = i; clones[clone].use_count = 0; clones[clone].use = (uint32_t)-1; + } else { + clones[clone].lca = ir_gcm_find_lca(ctx, clones[clone].lca, i); } uses[uses_count].ref = use; uses[uses_count].block = i; @@ -367,8 +371,11 @@ clone = clones_count++; ir_hashtab_add(&hash, j, clone); clones[clone].block = j; + clones[clone].lca = i; clones[clone].use_count = 0; clones[clone].use = -1; + } else { + clones[clone].lca = ir_gcm_find_lca(ctx, clones[clone].lca, i); } uses[uses_count].ref = use; uses[uses_count].block = i; @@ -378,6 +385,42 @@ } } + /* Select best blocks to insert clones */ + for (i = 0; i < clones_count; i++) { + uint32_t b0 = clones[i].block; + uint32_t lca = clones[i].lca; + + if (b0 != lca) { + ir_block *bb = &ctx->cfg_blocks[lca]; + uint32_t loop_depth = bb->loop_depth; + + if (loop_depth) { + uint32_t b; + uint32_t best; + + best = b = lca; + do { + b = bb->dom_parent; + bb = &ctx->cfg_blocks[b]; + if (bb->loop_depth < loop_depth) { + if (!bb->loop_depth) { + best = b; + break; + } + loop_depth = bb->loop_depth; + best = b; + } + } while (b != b0); + lca = best; + } + clones[i].block = lca; + } + } + + // TODO: instead of inserting clone into the block where the expressin is partially available, + // we should insert PHI and the actual clones into the block sources where it's not available + // (similar to SSAPRE) + #ifdef IR_DEBUG if (ctx->flags & IR_DEBUG_GCM_SPLIT) { for (i = 0; i < clones_count; i++) { @@ -1170,11 +1213,11 @@ ir_ref use = *p; ir_insn *use_insn = &ctx->ir_base[use]; if (!_xlat[use] && ctx->cfg_map[use]) { - IR_ASSERT(ctx->cfg_map[use] == b); if (use_insn->op == IR_PARAM || use_insn->op == IR_VAR || use_insn->op == IR_PI || use_insn->op == IR_PHI) { + IR_ASSERT(ctx->cfg_map[use] == b); if (_prev[use] != phis) { /* remove "use" */ _prev[_next[use]] = _prev[use]; diff -Nru php8.4-8.4.21/ext/opcache/jit/ir/ir_private.h php8.4-8.4.23/ext/opcache/jit/ir/ir_private.h --- php8.4-8.4.21/ext/opcache/jit/ir/ir_private.h 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/opcache/jit/ir/ir_private.h 2026-07-01 04:28:00.000000000 +0000 @@ -949,10 +949,11 @@ #define IR_OPND_LABEL_REF 0x3 #define IR_OPND_CONTROL_DEP 0x4 #define IR_OPND_CONTROL_REF 0x5 -#define IR_OPND_STR 0x6 -#define IR_OPND_NUM 0x7 -#define IR_OPND_PROB 0x8 -#define IR_OPND_PROTO 0x9 +#define IR_OPND_CONTROL_GUARD 0x6 +#define IR_OPND_STR 0x7 +#define IR_OPND_NUM 0x8 +#define IR_OPND_PROB 0x9 +#define IR_OPND_PROTO 0xa #define IR_OP_FLAGS(op_flags, op1_flags, op2_flags, op3_flags) \ ((op_flags) | ((op1_flags) << 20) | ((op2_flags) << 24) | ((op3_flags) << 28)) @@ -966,7 +967,7 @@ (((flags) >> (16 + (4 * (((i) > 3) ? 3 : (i))))) & 0xf) #define IR_IS_REF_OPND_KIND(kind) \ - ((kind) >= IR_OPND_DATA && (kind) <= IR_OPND_CONTROL_REF) + ((kind) >= IR_OPND_DATA && (kind) <= IR_OPND_CONTROL_GUARD) IR_ALWAYS_INLINE ir_ref ir_operands_count(const ir_ctx *ctx, const ir_insn *insn) { @@ -1223,6 +1224,7 @@ #define IR_USE_SHOULD_BE_IN_REG (1<<1) #define IR_DEF_REUSES_OP1_REG (1<<2) #define IR_DEF_CONFLICTS_WITH_INPUT_REGS (1<<3) +#define IR_EXTEND_INPUTS_TO_NEXT (1<<4) /* used for SNAPSHOT followed by GUARD */ #define IR_FUSED_USE (1<<6) #define IR_PHI_USE (1<<7) diff -Nru php8.4-8.4.21/ext/opcache/jit/ir/ir_ra.c php8.4-8.4.23/ext/opcache/jit/ir/ir_ra.c --- php8.4-8.4.21/ext/opcache/jit/ir/ir_ra.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/opcache/jit/ir/ir_ra.c 2026-07-01 04:28:00.000000000 +0000 @@ -799,6 +799,34 @@ ir_add_use(ctx, ival, 0, IR_DEF_LIVE_POS_FROM_REF(ref), IR_REG_NONE, IR_USE_SHOULD_BE_IN_REG, 0); continue; } + } else if (def_flags & IR_EXTEND_INPUTS_TO_NEXT) { + ir_ref next = ir_next_control(ctx, ref); + ir_live_pos use_pos; + + IR_ASSERT(insn->op == IR_SNAPSHOT); + j = 2; + p = insn->ops + 2; + for (; j <= insn->inputs_count; j++, p++) { + ir_ref input = *p; + uint32_t v; + + if (input > 0) { + v = ctx->vregs[input]; + IR_ASSERT(v); + use_pos = IR_USE_LIVE_POS_FROM_REF(next); + if (!ir_bitset_in(live, v)) { + /* live.add(opd) */ + ir_bitset_incl(live, v); + /* intervals[opd].addRange(b.from, op.id) */ + ival = ir_add_live_range(ctx, v, IR_START_LIVE_POS_FROM_REF(bb->start), use_pos); + } else { + ival = ctx->live_intervals[v]; + } + use_pos = IR_USE_LIVE_POS_FROM_REF(ref); + ir_add_use(ctx, ival, j, use_pos, IR_REG_NONE, 0, IR_UNUSED); + } + } + continue; } IR_ASSERT(insn->op != IR_PHI && (!ctx->rules || !(ctx->rules[ref] & (IR_FUSED|IR_SKIPPED)))); @@ -1418,6 +1446,34 @@ ir_add_use(ctx, ival, 0, IR_DEF_LIVE_POS_FROM_REF(ref), IR_REG_NONE, IR_USE_SHOULD_BE_IN_REG, 0); continue; } + } else if (def_flags & IR_EXTEND_INPUTS_TO_NEXT) { + ir_ref next = ir_next_control(ctx, ref); + ir_live_pos use_pos; + + IR_ASSERT(insn->op == IR_SNAPSHOT); + j = 2; + p = insn->ops + 2; + for (; j <= insn->inputs_count; j++, p++) { + ir_ref input = *p; + uint32_t v; + + if (input > 0) { + v = ctx->vregs[input]; + IR_ASSERT(v); + use_pos = IR_USE_LIVE_POS_FROM_REF(next); + if (!IS_LIVE_IN_BLOCK(v, b)) { + /* live.add(opd) */ + SET_LIVE_IN_BLOCK(v, b); + /* intervals[opd].addRange(b.from, op.id) */ + ival = ir_add_live_range(ctx, v, IR_START_LIVE_POS_FROM_REF(bb->start), use_pos); + } else { + ival = ctx->live_intervals[v]; + } + use_pos = IR_USE_LIVE_POS_FROM_REF(ref); + ir_add_use(ctx, ival, j, use_pos, IR_REG_NONE, 0, IR_UNUSED); + } + } + continue; } IR_ASSERT(insn->op != IR_PHI && (!ctx->rules || !(ctx->rules[ref] & (IR_FUSED|IR_SKIPPED)))); @@ -3004,6 +3060,7 @@ { ir_live_pos nextUsePos[IR_REG_NUM]; ir_live_pos blockPos[IR_REG_NUM]; + int score, best_score, scores[IR_REG_NUM]; int i, reg; ir_live_pos pos, next_use_pos; ir_live_interval *other, *prev; @@ -3032,6 +3089,7 @@ for (i = IR_REG_FP_FIRST; i <= IR_REG_FP_LAST; i++) { nextUsePos[i] = 0x7fffffff; blockPos[i] = 0x7fffffff; + scores[i] = 0; } } else { available = IR_REGSET_GP; @@ -3050,6 +3108,7 @@ for (i = IR_REG_GP_FIRST; i <= IR_REG_GP_LAST; i++) { nextUsePos[i] = 0x7fffffff; blockPos[i] = 0x7fffffff; + scores[i] = 0; } } @@ -3080,6 +3139,8 @@ IR_USE_MUST_BE_IN_REG | IR_USE_SHOULD_BE_IN_REG); if (pos < nextUsePos[reg]) { nextUsePos[reg] = pos; + /* Prefer splitting interval that was already splitted before */ + scores[reg] = (other->flags & IR_LIVE_INTERVAL_SPLIT_CHILD) ? 1 : 0; } } } @@ -3100,6 +3161,7 @@ IR_REGSET_FOREACH(regset, reg) { if (overlap < nextUsePos[reg]) { nextUsePos[reg] = overlap; + scores[reg] = 0; } if (overlap < blockPos[reg]) { blockPos[reg] = overlap; @@ -3113,6 +3175,7 @@ if (other->flags & (IR_LIVE_INTERVAL_FIXED|IR_LIVE_INTERVAL_TEMP)) { if (overlap < nextUsePos[reg]) { nextUsePos[reg] = overlap; + scores[reg] = 0; } if (overlap < blockPos[reg]) { blockPos[reg] = overlap; @@ -3122,6 +3185,8 @@ IR_USE_MUST_BE_IN_REG | IR_USE_SHOULD_BE_IN_REG); if (pos < nextUsePos[reg]) { nextUsePos[reg] = pos; + /* Prefer splitting interval that was already splitted before */ + scores[reg] = (other->flags & IR_LIVE_INTERVAL_SPLIT_CHILD) ? 1 : 0; } } } @@ -3141,12 +3206,17 @@ /* reg = register with highest nextUsePos */ pos = nextUsePos[reg]; + best_score = (scores[reg] << 28) + nextUsePos[reg]; tmp_regset = available; IR_REGSET_EXCL(tmp_regset, reg); IR_REGSET_FOREACH(tmp_regset, i) { if (nextUsePos[i] > pos) { pos = nextUsePos[i]; + } + score = (scores[i] << 28) + nextUsePos[i]; + if (score > best_score) { reg = i; + best_score = score; } } IR_REGSET_FOREACH_END(); diff -Nru php8.4-8.4.21/ext/opcache/jit/ir/ir_save.c php8.4-8.4.23/ext/opcache/jit/ir/ir_save.c --- php8.4-8.4.21/ext/opcache/jit/ir/ir_save.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/opcache/jit/ir/ir_save.c 2026-07-01 04:28:00.000000000 +0000 @@ -283,7 +283,7 @@ n = ir_operands_count(ctx, insn); if ((insn->op == IR_MERGE || insn->op == IR_LOOP_BEGIN) && n != 2) { fprintf(f, "/%d", n); - } else if ((insn->op == IR_CALL || insn->op == IR_TAILCALL) && n != 2) { + } else if ((insn->op == IR_CALL || insn->op == IR_TAILCALL || insn->op == IR_ASM) && n != 2) { fprintf(f, "/%d", n - 2); } else if (insn->op == IR_PHI && n != 3) { fprintf(f, "/%d", n - 1); @@ -321,6 +321,7 @@ case IR_OPND_CONTROL: case IR_OPND_CONTROL_DEP: case IR_OPND_CONTROL_REF: + case IR_OPND_CONTROL_GUARD: fprintf(f, "%sl_%d", first ? "(" : ", ", ref); first = 0; break; @@ -352,6 +353,8 @@ } else if (opnd_kind == IR_OPND_NUM) { fprintf(f, "%s%d", first ? "(" : ", ", ref); first = 0; + } else if (opnd_kind == IR_OPND_CONTROL_GUARD) { + /* skip */ } else if (j != n && (IR_IS_REF_OPND_KIND(opnd_kind) || (opnd_kind == IR_OPND_UNUSED && p[n-j]))) { fprintf(f, "%snull", first ? "(" : ", "); diff -Nru php8.4-8.4.21/ext/opcache/jit/ir/ir_sccp.c php8.4-8.4.23/ext/opcache/jit/ir/ir_sccp.c --- php8.4-8.4.21/ext/opcache/jit/ir/ir_sccp.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/opcache/jit/ir/ir_sccp.c 2026-07-01 04:28:00.000000000 +0000 @@ -609,6 +609,10 @@ IR_ASSERT(!IR_OP_HAS_VAR_INPUTS(flags)); n = IR_INPUT_EDGES_COUNT(flags); + if (insn->op == IR_DIV || insn->op == IR_MOD) { + /* skip data-control guard edge */ + n--; + } for (p = insn->ops + 1; n > 0; p++, n--) { ir_ref input = *p; if (input > 0) { @@ -1419,7 +1423,7 @@ if (!IR_IS_CONST_REF(op2) && (!use_list || use_list->count > ctx->use_lists[op2].count)) { use_list = &ctx->use_lists[op2]; } - if (!IR_IS_CONST_REF(op3) && (!use_list || use_list->count > ctx->use_lists[op3].count)) { + if (op3 > 0 && (!use_list || use_list->count > ctx->use_lists[op3].count)) { use_list = &ctx->use_lists[op3]; } if (use_list) { @@ -1907,6 +1911,46 @@ insn->op3 = ir_promote_i2i(ctx, type, insn->op3, ref, worklist); } insn->type = type; + if (IR_IS_TYPE_SIGNED(type)) { + ir_insn *cond = &ctx->ir_base[insn->op1]; + if (cond->op == IR_LT || cond->op == IR_LE || cond->op == IR_GT || cond->op == IR_GE) { + if (cond->op1 == insn->op2 && cond->op2 == insn->op3) { + insn->op = (cond->op == IR_LT || cond->op == IR_LE) ? IR_MIN : IR_MAX; + ir_use_list_remove_one(ctx, insn->op1, ref); + ir_bitqueue_add(worklist, insn->op1); + insn->op1 = insn->op2; + insn->op2 = insn->op3; + insn->op3 = IR_UNUSED; + } else if (cond->op1 == insn->op3 && cond->op2 == insn->op1) { + insn->op = (cond->op == IR_LT || cond->op == IR_LE) ? IR_MAX : IR_MIN; + ir_use_list_remove_one(ctx, insn->op1, ref); + ir_bitqueue_add(worklist, insn->op1); + insn->op1 = insn->op2; + insn->op2 = insn->op3; + insn->op3 = IR_UNUSED; + } + } + } else { + IR_ASSERT(IR_IS_TYPE_UNSIGNED(type)); + ir_insn *cond = &ctx->ir_base[insn->op1]; + if (cond->op == IR_ULT || cond->op == IR_ULE || cond->op == IR_UGT || cond->op == IR_UGE) { + if (cond->op1 == insn->op2 && cond->op2 == insn->op3) { + insn->op = (cond->op == IR_ULT || cond->op == IR_ULE) ? IR_MIN : IR_MAX; + ir_use_list_remove_one(ctx, insn->op1, ref); + ir_bitqueue_add(worklist, insn->op1); + insn->op1 = insn->op2; + insn->op2 = insn->op3; + insn->op3 = IR_UNUSED; + } else if (cond->op1 == insn->op3 && cond->op2 == insn->op1) { + insn->op = (cond->op == IR_ULT || cond->op == IR_ULE) ? IR_MAX : IR_MIN; + ir_use_list_remove_one(ctx, insn->op1, ref); + ir_bitqueue_add(worklist, insn->op1); + insn->op1 = insn->op2; + insn->op2 = insn->op3; + insn->op3 = IR_UNUSED; + } + } + } return ref; case IR_PHI: for (p = insn->ops + 2, n = insn->inputs_count - 1; n > 0; p++, n--) { @@ -1995,7 +2039,7 @@ const ir_ref *p; ir_ref n, input, result, ctrl; - if (IR_IS_CONST_REF(val)) { + if (val <= 0) { /* constant or IR_UNUSED */ return 1; /* IR_START */ } @@ -2129,14 +2173,14 @@ const ir_insn *use_insn = &ctx->ir_base[use]; if (use_insn->op >= IR_EQ && use_insn->op <= IR_UGT) { - if (use_insn->op1 == phi_ref) { + if (use_insn->op1 == op_ref) { if (IR_IS_TYPE_SIGNED(type) != IR_IS_TYPE_SIGNED(ctx->ir_base[use_insn->op2].type)) { return 0; } if (ir_is_cheaper_ext(ctx, use_insn->op2, ctx->ir_base[phi_ref].op1, ext_ref, op)) { continue; } - } else if (use_insn->op2 == phi_ref) { + } else if (use_insn->op2 == op_ref) { if (IR_IS_TYPE_SIGNED(type) != IR_IS_TYPE_SIGNED(ctx->ir_base[use_insn->op1].type)) { return 0; } @@ -2521,6 +2565,52 @@ && ctx->ir_base[ref].val.u32 == 0; } +static bool ir_fix_min_max_const(ir_ctx *ctx, ir_insn *cond, ir_ref ref) +{ + if (cond->op == IR_ULE) { + /* (x <= 3 ? 4 : x) => (x < 4 ? 4 : x) => max(x, 4) */ + /* (x <= 3 ? x : 4) => (x < 4 ? x : 4) => min(x, 4) */ + if (!IR_IS_SYM_CONST(ctx->ir_base[cond->op2].op) + && !IR_IS_SYM_CONST(ctx->ir_base[ref].op) + && ctx->ir_base[cond->op2].val.u64 == ctx->ir_base[ref].val.u64 - 1 + && ctx->ir_base[cond->op2].type == ctx->ir_base[ref].type) { + cond->op2 = ref; + return 1; + } + } else if (cond->op == IR_UGE) { + /* (x >= 3 ? 2 : x) => (x > 2 ? 2 : x) => min(x, 2) */ + /* (x >= 3 ? x : 2) => (x > 2 ? x : 2) => max(x, 2) */ + if (!IR_IS_SYM_CONST(ctx->ir_base[cond->op2].op) + && !IR_IS_SYM_CONST(ctx->ir_base[ref].op) + && ctx->ir_base[cond->op2].val.u64 == ctx->ir_base[ref].val.u64 + 1 + && ctx->ir_base[cond->op2].type == ctx->ir_base[ref].type) { + cond->op2 = ref; + return 1; + } + } else if (cond->op == IR_LE) { + /* (x <= 3 ? 4 : x) => (x < 4 ? 4 : x) => max(x, 4) */ + /* (x <= 3 ? x : 4) => (x < 4 ? x : 4) => min(x, 4) */ + if (!IR_IS_SYM_CONST(ctx->ir_base[cond->op2].op) + && !IR_IS_SYM_CONST(ctx->ir_base[ref].op) + && ctx->ir_base[cond->op2].val.u64 == ctx->ir_base[ref].val.u64 - 1 + && ctx->ir_base[cond->op2].type == ctx->ir_base[ref].type) { + cond->op2 = ref; + return 1; + } + } else if (cond->op == IR_GE) { + /* (x >= 3 ? 2 : x) => (x > 2 ? 2 : x) => min(x, 2) */ + /* (x >= 3 ? x : 2) => (x > 2 ? x : 2) => max(x, 2) */ + if (!IR_IS_SYM_CONST(ctx->ir_base[cond->op2].op) + && !IR_IS_SYM_CONST(ctx->ir_base[ref].op) + && ctx->ir_base[cond->op2].val.i64 == ctx->ir_base[ref].val.i64 + 1 + && ctx->ir_base[cond->op2].type == ctx->ir_base[ref].type) { + cond->op2 = ref; + return 1; + } + } + return 0; +} + static bool ir_optimize_phi(ir_ctx *ctx, ir_ref merge_ref, ir_insn *merge, ir_ref ref, ir_insn *insn, ir_bitqueue *worklist) { IR_ASSERT(insn->inputs_count == 3); @@ -2560,8 +2650,18 @@ } if (is_cmp - && ((insn->op2 == cond->op1 && insn->op3 == cond->op2) - || (insn->op2 == cond->op2 && insn->op3 == cond->op1))) { + && ((insn->op2 == cond->op1 + && (insn->op3 == cond->op2 + || (IR_IS_CONST_REF(cond->op2) + && (IR_IS_CONST_REF(insn->op3) + && IR_IS_TYPE_INT(insn->type) + && ir_fix_min_max_const(ctx, cond, insn->op3))))) + || (insn->op3 == cond->op1 + && (insn->op2 == cond->op2 + || (IR_IS_CONST_REF(cond->op2) + && (IR_IS_CONST_REF(insn->op2) + && IR_IS_TYPE_INT(insn->type) + && ir_fix_min_max_const(ctx, cond, insn->op2))))))) { /* MAX/MIN * * prev prev @@ -2612,14 +2712,14 @@ next->op1 = root->op1; ir_use_list_replace_one(ctx, root->op1, root_ref, next_ref); - if (!IR_IS_CONST_REF(insn->op1)) { - ir_use_list_remove_one(ctx, insn->op1, cond_ref); - } - if (!IR_IS_CONST_REF(insn->op2)) { - ir_use_list_remove_one(ctx, insn->op2, cond_ref); - } if (ctx->use_lists[cond_ref].count == 1) { + if (!IR_IS_CONST_REF(insn->op1)) { + ir_use_list_remove_one(ctx, insn->op1, cond_ref); + } + if (!IR_IS_CONST_REF(insn->op2)) { + ir_use_list_remove_one(ctx, insn->op2, cond_ref); + } MAKE_NOP(cond); CLEAR_USES(cond_ref); } else { ir_use_list_remove_one(ctx, cond_ref, root_ref); @@ -2705,11 +2805,11 @@ next->op1 = root->op1; ir_use_list_replace_one(ctx, root->op1, root_ref, next_ref); ir_use_list_remove_one(ctx, insn->op1, neg_ref); - if (!IR_IS_CONST_REF(insn->op1)) { - ir_use_list_remove_one(ctx, insn->op1, cond_ref); - } if (ctx->use_lists[cond_ref].count == 1) { + if (!IR_IS_CONST_REF(insn->op1)) { + ir_use_list_remove_one(ctx, insn->op1, cond_ref); + } MAKE_NOP(cond); CLEAR_USES(cond_ref); } else { ir_use_list_remove_one(ctx, cond_ref, root_ref); @@ -2727,7 +2827,7 @@ } return 1; - } else if (insn->op2 <= cond_ref && insn->op3 <= cond_ref + } else if (insn->op2 <= root_ref && insn->op3 <= root_ref && cond->op != IR_OVERFLOW // TODO: temporary disable IF-conversion for RLOAD. // We don't track anti-dependencies in GCM and Local Scheduling. @@ -3437,6 +3537,13 @@ } } + if (condition_insn->op == IR_SHL && IR_IS_CONST_REF(condition_insn->op1)) { + ir_insn *val_insn = &ctx->ir_base[condition_insn->op1]; + if (!IR_IS_SYM_CONST(val_insn->op) && val_insn->val.u64 == 1) { + return IR_TRUE; + } + } + while ((condition_insn->op == IR_BITCAST || condition_insn->op == IR_ZEXT || condition_insn->op == IR_SEXT) diff -Nru php8.4-8.4.21/ext/opcache/jit/ir/ir_x86.dasc php8.4-8.4.23/ext/opcache/jit/ir/ir_x86.dasc --- php8.4-8.4.21/ext/opcache/jit/ir/ir_x86.dasc 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/opcache/jit/ir/ir_x86.dasc 2026-07-01 04:28:00.000000000 +0000 @@ -1273,6 +1273,7 @@ int flags = IR_USE_MUST_BE_IN_REG | IR_OP1_MUST_BE_IN_REG | IR_OP2_MUST_BE_IN_REG | IR_OP3_MUST_BE_IN_REG; const ir_proto_t *proto; const ir_call_conv_dsc *cc; + ir_ref next; constraints->def_reg = IR_REG_NONE; constraints->hints_count = 0; @@ -1345,9 +1346,11 @@ flags = IR_DEF_REUSES_OP1_REG | IR_USE_MUST_BE_IN_REG | IR_OP1_SHOULD_BE_IN_REG | IR_OP2_MUST_BE_IN_REG; op2_const: insn = &ctx->ir_base[ref]; - if (IR_IS_CONST_REF(insn->op2) && insn->op1 != insn->op2) { - constraints->tmp_regs[n] = IR_TMP_REG(2, insn->type, IR_LOAD_SUB_REF, IR_DEF_SUB_REF); - n++; + if (IR_IS_CONST_REF(insn->op2)) { + if (insn->op1 != insn->op2) { + constraints->tmp_regs[n] = IR_TMP_REG(2, insn->type, IR_LOAD_SUB_REF, IR_DEF_SUB_REF); + n++; + } } else if (ir_rule(ctx, insn->op2) == IR_STATIC_ALLOCA) { constraints->tmp_regs[n] = IR_TMP_REG(2, IR_ADDR, IR_LOAD_SUB_REF, IR_DEF_SUB_REF); n = 1; @@ -1712,6 +1715,10 @@ break; case IR_SNAPSHOT: flags = 0; + next = ir_next_control(ctx, ref); + if (ctx->ir_base[next].op == IR_GUARD || ctx->ir_base[next].op == IR_GUARD_NOT) { + flags = IR_EXTEND_INPUTS_TO_NEXT; + } break; case IR_VA_START: flags = IR_OP2_MUST_BE_IN_REG; @@ -3078,10 +3085,6 @@ if (!IR_IS_CONST_REF(insn->op2) && (ctx->use_lists[insn->op2].count == 1 || all_usages_are_fusable(ctx, insn->op2))) { op2_insn = &ctx->ir_base[insn->op2]; if (op2_insn->op >= IR_EQ && op2_insn->op <= IR_UNORDERED) { - // TODO: register allocator may clobber operands of CMP before they are used in the GUARD_CMP -//??? && (insn->op2 == ref - 1 || -//??? (insn->op2 == ctx->prev_ref[ref] - 1 -//??? && ctx->ir_base[ctx->prev_ref[ref]].op == IR_SNAPSHOT))) { if (IR_IS_TYPE_INT(ctx->ir_base[op2_insn->op1].type)) { if (IR_IS_CONST_REF(op2_insn->op2) && !IR_IS_SYM_CONST(ctx->ir_base[op2_insn->op2].op) @@ -3262,6 +3265,12 @@ return IR_FUSED | IR_ARGVAL; case IR_NOP: return IR_SKIPPED | IR_NOP; + case IR_ASM: + case IR_ASM_OUT: + case IR_ASM_GOTO: + fprintf(stderr, "ERROR: IR_ASM is not implemented yet\n"); + exit(1); + return IR_SKIPPED | IR_NOP; default: break; } @@ -9429,7 +9438,8 @@ void *addr = ir_jmp_addr(ctx, insn, &ctx->ir_base[insn->op2]); | .aword &addr - if (ctx->ir_base[bb->start].op != IR_CASE_DEFAULT) { + if (ctx->ir_base[bb->start].op1 == def + && ctx->ir_base[bb->start].op != IR_CASE_DEFAULT) { bb->flags |= IR_BB_EMPTY; } continue; diff -Nru php8.4-8.4.21/ext/opcache/jit/zend_jit_ir.c php8.4-8.4.23/ext/opcache/jit/zend_jit_ir.c --- php8.4-8.4.21/ext/opcache/jit/zend_jit_ir.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/opcache/jit/zend_jit_ir.c 2026-07-01 04:28:00.000000000 +0000 @@ -8096,14 +8096,12 @@ zend_jit_op_array_trace_extension *jit_extension = (zend_jit_op_array_trace_extension*)ZEND_FUNC_INFO(op_array); size_t offset = jit_extension->offset; - ir_ref ref = ir_CONST_ADDR(ZEND_OP_TRACE_INFO((opline - 1), offset)->orig_handler); + ir_ref ref = ir_CONST_FC_FUNC(ZEND_OP_TRACE_INFO((opline - 1), offset)->orig_handler); if (GCC_GLOBAL_REGS) { ir_TAILCALL(IR_VOID, ref); } else { -#if defined(IR_TARGET_X86) - ref = ir_CAST_FC_FUNC(ref); -#endif - ir_TAILCALL_1(IR_I32, ref, jit_FP(jit)); + ir_CALL_1(IR_I32, ref, jit_FP(jit)); + ir_RETURN(ir_CONST_I32(1)); } ir_IF_TRUE(if_def); @@ -10337,28 +10335,19 @@ if (ZEND_OBSERVER_ENABLED && (!func || (func->common.fn_flags & (ZEND_ACC_CALL_VIA_TRAMPOLINE | ZEND_ACC_GENERATOR)) == 0)) { ir_ref observer_handler; ir_ref rx = jit_FP(jit); + const zend_op *observer_opline = NULL; struct jit_observer_fcall_is_unobserved_data unobserved_data = jit_observer_fcall_is_unobserved_start(jit, func, &observer_handler, rx, func_ref); if (trace && (trace->op != ZEND_JIT_TRACE_END || trace->stop != ZEND_JIT_TRACE_STOP_INTERPRETER)) { ZEND_ASSERT(trace[1].op == ZEND_JIT_TRACE_VM || trace[1].op == ZEND_JIT_TRACE_END); - jit_SET_EX_OPLINE(jit, trace[1].opline); + observer_opline = trace[1].opline; + jit_SET_EX_OPLINE(jit, observer_opline); } else if (GCC_GLOBAL_REGS) { // EX(opline) = opline ir_STORE(jit_EX(opline), jit_IP(jit)); } jit_observer_fcall_begin(jit, rx, observer_handler); - if (trace) { - int32_t exit_point = zend_jit_trace_get_exit_point(opline, ZEND_JIT_EXIT_TO_VM); - - exit_addr = zend_jit_trace_get_exit_addr(exit_point); - if (!exit_addr) { - return 0; - } - } else { - exit_addr = NULL; - } - - zend_jit_check_timeout(jit, NULL /* we're inside the called function */, exit_addr); + zend_jit_check_timeout(jit, observer_opline, NULL); jit_observer_fcall_is_unobserved_end(jit, &unobserved_data); } diff -Nru php8.4-8.4.21/ext/opcache/jit/zend_jit_trace.c php8.4-8.4.23/ext/opcache/jit/zend_jit_trace.c --- php8.4-8.4.21/ext/opcache/jit/zend_jit_trace.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/opcache/jit/zend_jit_trace.c 2026-07-01 04:28:00.000000000 +0000 @@ -2315,6 +2315,9 @@ if (ssa_ops[idx].op2_use >= 0 && ssa_ops[idx].op2_def >= 0) { ssa_var_info[ssa_ops[idx].op2_def] = ssa_var_info[ssa_ops[idx].op2_use]; } + if (ssa_ops[idx].result_use >= 0 && ssa_ops[idx].result_def >= 0) { + ssa_var_info[ssa_ops[idx].result_def] = ssa_var_info[ssa_ops[idx].result_use]; + } } else { if (zend_update_type_info(op_array, tssa, script, (zend_op*)opline, ssa_ops + idx, ssa_opcodes, optimization_level) == FAILURE) { // TODO: @@ -8479,7 +8482,7 @@ do { ex = ex->prev_execute_data; n++; - } while (ex && zend_jit_traces[root].op_array != &ex->func->op_array); + } while (ex && (!ex->func || zend_jit_traces[root].op_array != &ex->func->op_array)); if (ex && n <= ZEND_JIT_TRACE_MAX_RET_DEPTH) { ret_depth = n; } diff -Nru php8.4-8.4.21/ext/opcache/tests/gh20469.phpt php8.4-8.4.23/ext/opcache/tests/gh20469.phpt --- php8.4-8.4.21/ext/opcache/tests/gh20469.phpt 1970-01-01 00:00:00.000000000 +0000 +++ php8.4-8.4.23/ext/opcache/tests/gh20469.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -0,0 +1,134 @@ +--TEST-- +GH-20469: Inheritance cache with reentrant autoloading must not crash +--EXTENSIONS-- +opcache +--CONFLICTS-- +server +--FILE-- + ParentBeingLinked -> CovariantReturnWithTrait + * -> RequiresRootReturnTrait -> ChildOfParentBeingLinked. + */ +file_put_contents($dir . '/test1.php', <<<'PHP' + +--CLEAN-- +isDir()) { + rmdir($file->getPathname()); + } else { + unlink($file->getPathname()); + } + } + rmdir($dir); +} +?> +--EXPECT-- +3 +3 diff -Nru php8.4-8.4.21/ext/opcache/tests/gh20469_child_variance_resolves_parent.phpt php8.4-8.4.23/ext/opcache/tests/gh20469_child_variance_resolves_parent.phpt --- php8.4-8.4.21/ext/opcache/tests/gh20469_child_variance_resolves_parent.phpt 1970-01-01 00:00:00.000000000 +0000 +++ php8.4-8.4.23/ext/opcache/tests/gh20469_child_variance_resolves_parent.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -0,0 +1,181 @@ +--TEST-- +GH-20469: Child delayed variance can resolve parent before direct delayed resolution +--DESCRIPTION-- +This variant ensures the cacheability check after load_delayed_classes() is +needed. Loading the delayed child resolves the parent class's variance +obligations reentrantly, so the parent no longer has ZEND_ACC_UNRESOLVED_VARIANCE +when control returns from load_delayed_classes(). The parent was still used while +nearly linked, and must not be inserted into the inheritance cache. +--EXTENSIONS-- +opcache +--CONFLICTS-- +server +--FILE-- + CovariantReturnWithTrait -> RequiresRootReturnTrait + * -> ChildOfParentBeingLinked -> ParentBeingLinked. + * + * ChildOfParentBeingLinked also has delayed variance, so resolving the child's + * dependency on ParentBeingLinked can resolve ParentBeingLinked before it + * reaches its direct resolve_delayed_variance_obligations() call. + */ +file_put_contents($dir . '/test1.php', <<<'PHP' +test()); +PHP); + +file_put_contents($dir . '/test3.php', <<<'PHP' +test()); +PHP); + +file_put_contents($dir . '/classes/RootForTraitReturn.php', <<<'PHP' + +--CLEAN-- +isDir()) { + rmdir($file->getPathname()); + } else { + unlink($file->getPathname()); + } + } + rmdir($dir); +} +?> +--EXPECT-- +3 +3NULL +3NULL diff -Nru php8.4-8.4.21/ext/opcache/tests/gh20469_inheritance_cache_cleanup.phpt php8.4-8.4.23/ext/opcache/tests/gh20469_inheritance_cache_cleanup.phpt --- php8.4-8.4.21/ext/opcache/tests/gh20469_inheritance_cache_cleanup.phpt 1970-01-01 00:00:00.000000000 +0000 +++ php8.4-8.4.23/ext/opcache/tests/gh20469_inheritance_cache_cleanup.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -0,0 +1,22 @@ +--TEST-- +GH-20469: Skipped inheritance cache cleanup must ignore non-cacheable classes +--DESCRIPTION-- +Autoloading the parent makes the child use the runtime class-linking path, but +the child does not enter inheritance-cache construction. Under ASAN, the +uninitialized inheritance_cache field is filled with non-zero bytes. Skipped +cache insertion must not treat that value as a temporary dependency table. +--EXTENSIONS-- +opcache +--FILE-- + +--EXPECT-- +ok diff -Nru php8.4-8.4.21/ext/opcache/tests/gh20469_inherited_method.phpt php8.4-8.4.23/ext/opcache/tests/gh20469_inherited_method.phpt --- php8.4-8.4.21/ext/opcache/tests/gh20469_inherited_method.phpt 1970-01-01 00:00:00.000000000 +0000 +++ php8.4-8.4.23/ext/opcache/tests/gh20469_inherited_method.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -0,0 +1,138 @@ +--TEST-- +GH-20469: Inheritance cache with reentrant autoloading must preserve inherited methods +--EXTENSIONS-- +opcache +--CONFLICTS-- +server +--FILE-- + ParentBeingLinked -> CovariantReturnWithTrait + * -> RequiresRootReturnTrait -> ChildOfParentBeingLinked. + */ +file_put_contents($dir . '/test1.php', <<<'PHP' +test()); +PHP); + +file_put_contents($dir . '/classes/RootForTraitReturn.php', <<<'PHP' + +--CLEAN-- +isDir()) { + rmdir($file->getPathname()); + } else { + unlink($file->getPathname()); + } + } + rmdir($dir); +} +?> +--EXPECT-- +3 +3NULL diff -Nru php8.4-8.4.21/ext/opcache/tests/jit/gh21368_call_vm.phpt php8.4-8.4.23/ext/opcache/tests/jit/gh21368_call_vm.phpt --- php8.4-8.4.21/ext/opcache/tests/jit/gh21368_call_vm.phpt 1970-01-01 00:00:00.000000000 +0000 +++ php8.4-8.4.23/ext/opcache/tests/jit/gh21368_call_vm.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -0,0 +1,36 @@ +--TEST-- +GH-21368 (JIT escape_if_undef SEGV on CALL VM with aggressive trace counters) +--INI-- +opcache.enable=1 +opcache.enable_cli=1 +opcache.jit_buffer_size=64M +opcache.jit=tracing +opcache.protect_memory=1 +opcache.jit_hot_loop=1 +opcache.jit_hot_func=1 +opcache.jit_hot_return=1 +opcache.jit_hot_side_exit=1 +--FILE-- +x; } +} + +$o1 = new C; +$o2 = new C; +$o2->x = false; +$o3 = new C; +unset($o3->x); +$a = [$o1, $o2, $o3]; + +for ($i = 0; $i < 8; $i++) { + $m = $a[$i % 3]; + $m->getX(); + $m->getX(); +} +?> +OK +--EXPECT-- +OK diff -Nru php8.4-8.4.21/ext/opcache/tests/jit/gh22004.phpt php8.4-8.4.23/ext/opcache/tests/jit/gh22004.phpt --- php8.4-8.4.21/ext/opcache/tests/jit/gh22004.phpt 1970-01-01 00:00:00.000000000 +0000 +++ php8.4-8.4.23/ext/opcache/tests/jit/gh22004.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -0,0 +1,63 @@ +--TEST-- +GH-22004: ZEND_FE_FETCH_R with key operand +--CREDITS-- +YuanchengJiang +--FILE-- + $line) { + } + } +} +$iter = 20; +doRandom($iter); + +?> +==DONE== +--EXPECTF-- +Warning: Undefined variable $nLines in %s on line %d + +Warning: Undefined variable $nLines in %s on line %d + +Warning: Undefined variable $nLines in %s on line %d + +Warning: Undefined variable $nLines in %s on line %d + +Warning: Undefined variable $nLines in %s on line %d + +Warning: Undefined variable $nLines in %s on line %d + +Warning: Undefined variable $nLines in %s on line %d + +Warning: Undefined variable $nLines in %s on line %d + +Warning: Undefined variable $nLines in %s on line %d + +Warning: Undefined variable $nLines in %s on line %d + +Warning: Undefined variable $nLines in %s on line %d + +Warning: Undefined variable $nLines in %s on line %d + +Warning: Undefined variable $nLines in %s on line %d + +Warning: Undefined variable $nLines in %s on line %d + +Warning: Undefined variable $nLines in %s on line %d + +Warning: Undefined variable $nLines in %s on line %d + +Warning: Undefined variable $nLines in %s on line %d + +Warning: Undefined variable $nLines in %s on line %d + +Warning: Undefined variable $nLines in %s on line %d + +Warning: Undefined variable $nLines in %s on line %d +==DONE== diff -Nru php8.4-8.4.21/ext/opcache/tests/opt/gh21972.phpt php8.4-8.4.23/ext/opcache/tests/opt/gh21972.phpt --- php8.4-8.4.21/ext/opcache/tests/opt/gh21972.phpt 1970-01-01 00:00:00.000000000 +0000 +++ php8.4-8.4.23/ext/opcache/tests/opt/gh21972.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -0,0 +1,39 @@ +--TEST-- +GH-21972: Typed by-value return must not leak reference wrapper +--INI-- +opcache.enable=1 +opcache.enable_cli=1 +opcache.optimization_level=-1 +--EXTENSIONS-- +opcache +--FILE-- + +--EXPECT-- +string(6) "string" +string(5) "false" +string(5) "false" diff -Nru php8.4-8.4.21/ext/opcache/zend_persist.c php8.4-8.4.23/ext/opcache/zend_persist.c --- php8.4-8.4.21/ext/opcache/zend_persist.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/opcache/zend_persist.c 2026-07-01 04:28:00.000000000 +0000 @@ -525,9 +525,8 @@ zend_op *new_opcodes = zend_shared_memdup_put(op_array->opcodes, sizeof(zend_op) * op_array->last); zend_op *opline = new_opcodes; zend_op *end = new_opcodes + op_array->last; - int offset = 0; - for (; opline < end ; opline++, offset++) { + for (; opline < end ; opline++) { #if ZEND_USE_ABS_CONST_ADDR if (opline->op1_type == IS_CONST) { opline->op1.zv = (zval*)((char*)opline->op1.zv + ((char*)op_array->literals - (char*)orig_literals)); diff -Nru php8.4-8.4.21/ext/openssl/openssl.c php8.4-8.4.23/ext/openssl/openssl.c --- php8.4-8.4.21/ext/openssl/openssl.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/openssl/openssl.c 2026-07-01 04:28:00.000000000 +0000 @@ -492,9 +492,9 @@ errors = OPENSSL_G(errors); do { - errors->top = (errors->top + 1) % ERR_NUM_ERRORS; + errors->top = (errors->top + 1) % PHP_OPENSSL_ERR_BUFFER_SIZE; if (errors->top == errors->bottom) { - errors->bottom = (errors->bottom + 1) % ERR_NUM_ERRORS; + errors->bottom = (errors->bottom + 1) % PHP_OPENSSL_ERR_BUFFER_SIZE; } errors->buffer[errors->top] = error_code; } while ((error_code = ERR_get_error())); @@ -739,7 +739,7 @@ static void php_openssl_add_assoc_asn1_string(zval * val, char * key, ASN1_STRING * str) /* {{{ */ { - add_assoc_stringl(val, key, (char *)str->data, str->length); + add_assoc_stringl(val, key, (const char *)ASN1_STRING_get0_data(str), ASN1_STRING_length(str)); } /* }}} */ @@ -772,12 +772,12 @@ } if (timestr_len < 13) { - php_error_docref(NULL, E_WARNING, "Unable to parse time string %s correctly", timestr->data); + php_error_docref(NULL, E_WARNING, "Unable to parse time string %s correctly", ASN1_STRING_get0_data(timestr)); return (time_t)-1; } if (ASN1_STRING_type(timestr) == V_ASN1_GENERALIZEDTIME && timestr_len < 15) { - php_error_docref(NULL, E_WARNING, "Unable to parse time string %s correctly", timestr->data); + php_error_docref(NULL, E_WARNING, "Unable to parse time string %s correctly", ASN1_STRING_get0_data(timestr)); return (time_t)-1; } @@ -2040,8 +2040,8 @@ } extension_data = X509_EXTENSION_get_data(extension); - p = extension_data->data; - length = extension_data->length; + p = ASN1_STRING_get0_data(extension_data); + length = ASN1_STRING_length(extension_data); if (method->it) { names = (GENERAL_NAMES*) (ASN1_item_d2i(NULL, &p, length, ASN1_ITEM_ptr(method->it))); @@ -7226,7 +7226,7 @@ RETURN_FALSE; } - OPENSSL_G(errors)->bottom = (OPENSSL_G(errors)->bottom + 1) % ERR_NUM_ERRORS; + OPENSSL_G(errors)->bottom = (OPENSSL_G(errors)->bottom + 1) % PHP_OPENSSL_ERR_BUFFER_SIZE; val = OPENSSL_G(errors)->buffer[OPENSSL_G(errors)->bottom]; if (val) { @@ -7932,6 +7932,7 @@ const char *aad, size_t aad_len, int enc) /* {{{ */ { int i = 0; + size_t outlen = data_len + EVP_CIPHER_block_size(cipher_type); if (mode->is_single_run_aead && !EVP_CipherUpdate(cipher_ctx, NULL, &i, NULL, (int)data_len)) { php_openssl_store_errors(); @@ -7945,7 +7946,19 @@ return FAILURE; } - *poutbuf = zend_string_alloc((int)data_len + EVP_CIPHER_block_size(cipher_type), 0); +#ifdef EVP_CIPH_WRAP_MODE + if ((EVP_CIPHER_mode(cipher_type)) == EVP_CIPH_WRAP_MODE) { + /* + * RFC 5649 wrap-with-padding rounds the input up to the block size + * and prepends an integrity block, we reserve one extra block. + * See EVP_EncryptUpdate(3): wrap mode may write up to + * inl + cipher_block_size bytes. + */ + outlen += EVP_CIPHER_block_size(cipher_type); + } +#endif + + *poutbuf = zend_string_alloc(outlen, false); if (!EVP_CipherUpdate(cipher_ctx, (unsigned char*)ZSTR_VAL(*poutbuf), &i, (const unsigned char *)data, (int)data_len)) { @@ -7957,7 +7970,7 @@ } */ php_openssl_store_errors(); - zend_string_release_ex(*poutbuf, 0); + zend_string_release_ex(*poutbuf, false); return FAILURE; } diff -Nru php8.4-8.4.21/ext/openssl/php_openssl.h php8.4-8.4.23/ext/openssl/php_openssl.h --- php8.4-8.4.21/ext/openssl/php_openssl.h 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/openssl/php_openssl.h 2026-07-01 04:28:00.000000000 +0000 @@ -44,6 +44,8 @@ #endif #endif +#define PHP_OPENSSL_ERR_BUFFER_SIZE 16 + #define OPENSSL_RAW_DATA 1 #define OPENSSL_ZERO_PADDING 2 #define OPENSSL_DONT_ZERO_PAD_KEY 4 @@ -73,7 +75,7 @@ #endif struct php_openssl_errors { - int buffer[ERR_NUM_ERRORS]; + int buffer[PHP_OPENSSL_ERR_BUFFER_SIZE]; int top; int bottom; }; diff -Nru php8.4-8.4.21/ext/openssl/tests/gh22186.phpt php8.4-8.4.23/ext/openssl/tests/gh22186.phpt --- php8.4-8.4.21/ext/openssl/tests/gh22186.phpt 1970-01-01 00:00:00.000000000 +0000 +++ php8.4-8.4.23/ext/openssl/tests/gh22186.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -0,0 +1,32 @@ +--TEST-- +GH-22186 (Heap buffer overflow in openssl_encrypt with AES-WRAP-PAD) +--EXTENSIONS-- +openssl +--SKIPIF-- + +--FILE-- + +--EXPECT-- +done diff -Nru php8.4-8.4.21/ext/openssl/xp_ssl.c php8.4-8.4.23/ext/openssl/xp_ssl.c --- php8.4-8.4.21/ext/openssl/xp_ssl.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/openssl/xp_ssl.c 2026-07-01 04:28:00.000000000 +0000 @@ -496,12 +496,12 @@ } OPENSSL_free(cert_name); } else if (san->type == GEN_IPADD) { - if (san->d.iPAddress->length == 4) { + if (ASN1_STRING_length(san->d.iPAddress) == 4) { snprintf(ipbuffer, sizeof(ipbuffer), "%d.%d.%d.%d", - san->d.iPAddress->data[0], - san->d.iPAddress->data[1], - san->d.iPAddress->data[2], - san->d.iPAddress->data[3] + ASN1_STRING_get0_data(san->d.iPAddress)[0], + ASN1_STRING_get0_data(san->d.iPAddress)[1], + ASN1_STRING_get0_data(san->d.iPAddress)[2], + ASN1_STRING_get0_data(san->d.iPAddress)[3] ); if (strcasecmp(subject_name, (const char*)ipbuffer) == 0) { sk_GENERAL_NAME_pop_free(alt_names, GENERAL_NAME_free); @@ -510,9 +510,9 @@ } } #ifdef HAVE_IPV6_SAN - else if (san->d.ip->length == 16 && subject_name_is_ipv6) { + else if (ASN1_STRING_length(san->d.ip) == 16 && subject_name_is_ipv6) { ipbuffer[0] = 0; - EXPAND_IPV6_ADDRESS(ipbuffer, san->d.iPAddress->data); + EXPAND_IPV6_ADDRESS(ipbuffer, ASN1_STRING_get0_data(san->d.iPAddress)); if (strcasecmp((const char*)subject_name_ipv6_expanded, (const char*)ipbuffer) == 0) { sk_GENERAL_NAME_pop_free(alt_names, GENERAL_NAME_free); diff -Nru php8.4-8.4.21/ext/pdo/pdo_sql_parser.c php8.4-8.4.23/ext/pdo/pdo_sql_parser.c --- php8.4-8.4.21/ext/pdo/pdo_sql_parser.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/pdo/pdo_sql_parser.c 2026-07-01 04:28:00.000000000 +0000 @@ -1,4 +1,4 @@ -/* Generated by re2c 4.3 */ +/* Generated by re2c 4.5.1 */ /* +----------------------------------------------------------------------+ | Copyright (c) The PHP Group | diff -Nru php8.4-8.4.21/ext/pdo_mysql/mysql_sql_parser.c php8.4-8.4.23/ext/pdo_mysql/mysql_sql_parser.c --- php8.4-8.4.21/ext/pdo_mysql/mysql_sql_parser.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/pdo_mysql/mysql_sql_parser.c 2026-07-01 04:28:00.000000000 +0000 @@ -1,4 +1,4 @@ -/* Generated by re2c 4.3 */ +/* Generated by re2c 4.5.1 */ /* +----------------------------------------------------------------------+ | Copyright (c) The PHP Group | diff -Nru php8.4-8.4.21/ext/pdo_pgsql/pgsql_sql_parser.c php8.4-8.4.23/ext/pdo_pgsql/pgsql_sql_parser.c --- php8.4-8.4.21/ext/pdo_pgsql/pgsql_sql_parser.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/pdo_pgsql/pgsql_sql_parser.c 2026-07-01 04:28:00.000000000 +0000 @@ -1,4 +1,4 @@ -/* Generated by re2c 4.3 */ +/* Generated by re2c 4.5.1 */ /* +----------------------------------------------------------------------+ | Copyright (c) The PHP Group | diff -Nru php8.4-8.4.21/ext/pdo_sqlite/sqlite_sql_parser.c php8.4-8.4.23/ext/pdo_sqlite/sqlite_sql_parser.c --- php8.4-8.4.21/ext/pdo_sqlite/sqlite_sql_parser.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/pdo_sqlite/sqlite_sql_parser.c 2026-07-01 04:28:00.000000000 +0000 @@ -1,4 +1,4 @@ -/* Generated by re2c 4.3 */ +/* Generated by re2c 4.5.1 */ /* +----------------------------------------------------------------------+ | Copyright (c) The PHP Group | diff -Nru php8.4-8.4.21/ext/phar/phar_object.c php8.4-8.4.23/ext/phar/phar_object.c --- php8.4-8.4.21/ext/phar/phar_object.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/phar/phar_object.c 2026-07-01 04:28:00.000000000 +0000 @@ -3863,9 +3863,16 @@ PHAR_ARCHIVE_OBJECT(); - if (zend_string_starts_with_literal(dir_name, ".phar")) { - zend_throw_exception_ex(spl_ce_BadMethodCallException, 0, "Cannot create a directory in magic \".phar\" directory"); - RETURN_THROWS(); + if ( + zend_string_starts_with_literal(dir_name, ".phar") + || zend_string_starts_with_literal(dir_name, "/.phar") + ) { + size_t prefix_len = (ZSTR_VAL(dir_name)[0] == '/') + sizeof(".phar")-1; + char next_char = ZSTR_VAL(dir_name)[prefix_len]; + if (next_char == '/' || next_char == '\\' || next_char == '\0') { + zend_throw_exception_ex(spl_ce_BadMethodCallException, 0, "Cannot create a directory in magic \".phar\" directory"); + RETURN_THROWS(); + } } phar_mkdir(&phar_obj->archive, dir_name); diff -Nru php8.4-8.4.21/ext/phar/phar_path_check.c php8.4-8.4.23/ext/phar/phar_path_check.c --- php8.4-8.4.21/ext/phar/phar_path_check.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/phar/phar_path_check.c 2026-07-01 04:28:00.000000000 +0000 @@ -1,4 +1,4 @@ -/* Generated by re2c 4.3 */ +/* Generated by re2c 4.5.1 */ /* +----------------------------------------------------------------------+ | phar php single-file executable PHP extension | diff -Nru php8.4-8.4.21/ext/phar/tests/mkdir.phpt php8.4-8.4.23/ext/phar/tests/mkdir.phpt --- php8.4-8.4.21/ext/phar/tests/mkdir.phpt 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/phar/tests/mkdir.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -24,6 +24,13 @@ } catch (Exception $e) { echo $e->getMessage(),"\n"; } +try { +$a->addEmptyDir('/.phar'); +} catch (Exception $e) { +echo $e->getMessage(),"\n"; +} +$a->addEmptyDir('/.pharx'); +var_dump(is_dir($pname . '/.pharx')); ?> --CLEAN-- getContent()); +?> +--CLEAN-- + +--EXPECT-- +string(0) "" diff -Nru php8.4-8.4.21/ext/phar/util.c php8.4-8.4.23/ext/phar/util.c --- php8.4-8.4.21/ext/phar/util.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/phar/util.c 2026-07-01 04:28:00.000000000 +0000 @@ -64,24 +64,34 @@ { phar_entry_info *link_entry; char *link; + uint32_t depth = 0, max_depth; if (!entry->link) { return entry; } - link = phar_get_link_location(entry); - if (NULL != (link_entry = zend_hash_str_find_ptr(&(entry->phar->manifest), entry->link, strlen(entry->link))) || - NULL != (link_entry = zend_hash_str_find_ptr(&(entry->phar->manifest), link, strlen(link)))) { - if (link != entry->link) { - efree(link); + max_depth = zend_hash_num_elements(&(entry->phar->manifest)); + + while (entry->link) { + if (UNEXPECTED(++depth > max_depth)) { + return NULL; } - return phar_get_link_source(link_entry); - } else { - if (link != entry->link) { - efree(link); + link = phar_get_link_location(entry); + + if (NULL != (link_entry = zend_hash_str_find_ptr(&(entry->phar->manifest), entry->link, strlen(entry->link))) || + NULL != (link_entry = zend_hash_str_find_ptr(&(entry->phar->manifest), link, strlen(link)))) { + if (link != entry->link) { + efree(link); + } + entry = link_entry; + } else { + if (link != entry->link) { + efree(link); + } + return NULL; } - return NULL; } + return entry; } /* }}} */ diff -Nru php8.4-8.4.21/ext/readline/readline_cli.c php8.4-8.4.23/ext/readline/readline_cli.c --- php8.4-8.4.21/ext/readline/readline_cli.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/readline/readline_cli.c 2026-07-01 04:28:00.000000000 +0000 @@ -529,7 +529,8 @@ } else if (text[0] == '#' && text[1] != '[') { retval = cli_completion_generator_ini(text, textlen, &cli_completion_state); } else { - char *lc_text, *class_name_end; + char *lc_text; + const char *class_name_end; zend_string *class_name = NULL; zend_class_entry *ce = NULL; @@ -661,6 +662,7 @@ zend_string_release_ex(prompt, 0); /* TODO: This might be wrong! */ prompt = cli_get_prompt("php", '>'); + free(line); continue; } } diff -Nru php8.4-8.4.21/ext/readline/tests/readline_cli_ini_directive.phpt php8.4-8.4.23/ext/readline/tests/readline_cli_ini_directive.phpt --- php8.4-8.4.21/ext/readline/tests/readline_cli_ini_directive.phpt 1970-01-01 00:00:00.000000000 +0000 +++ php8.4-8.4.23/ext/readline/tests/readline_cli_ini_directive.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -0,0 +1,21 @@ +--TEST-- +Interactive shell: setting an INI directive via #name=value +--EXTENSIONS-- +readline +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +%AINI[5]%A diff -Nru php8.4-8.4.21/ext/reflection/php_reflection.c php8.4-8.4.23/ext/reflection/php_reflection.c --- php8.4-8.4.21/ext/reflection/php_reflection.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/reflection/php_reflection.c 2026-07-01 04:28:00.000000000 +0000 @@ -4734,9 +4734,7 @@ str_name = ZSTR_VAL(name); if ((tmp = strstr(ZSTR_VAL(name), "::")) != NULL) { classname_len = tmp - ZSTR_VAL(name); - classname = zend_string_alloc(classname_len, 0); - zend_str_tolower_copy(ZSTR_VAL(classname), ZSTR_VAL(name), classname_len); - ZSTR_VAL(classname)[classname_len] = '\0'; + classname = zend_string_init(ZSTR_VAL(name), classname_len, 0); str_name_len = ZSTR_LEN(name) - (classname_len + 2); str_name = tmp + 2; diff -Nru php8.4-8.4.21/ext/reflection/tests/ReflectionClass_getProperty_003.phpt php8.4-8.4.23/ext/reflection/tests/ReflectionClass_getProperty_003.phpt --- php8.4-8.4.21/ext/reflection/tests/ReflectionClass_getProperty_003.phpt 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/reflection/tests/ReflectionClass_getProperty_003.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -244,4 +244,4 @@ --- (Reflecting on X::doesNotExist) --- Fully qualified property name X::$doesNotExist does not specify a base class of C --- (Reflecting on doesNotexist::doesNotExist) --- -Class "doesnotexist" does not exist +Class "doesNotexist" does not exist diff -Nru php8.4-8.4.21/ext/reflection/tests/ReflectionClass_getProperty_004.phpt php8.4-8.4.23/ext/reflection/tests/ReflectionClass_getProperty_004.phpt --- php8.4-8.4.21/ext/reflection/tests/ReflectionClass_getProperty_004.phpt 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/reflection/tests/ReflectionClass_getProperty_004.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -248,4 +248,4 @@ --- (Reflecting on X::doesNotExist) --- Fully qualified property name X::$doesNotExist does not specify a base class of C --- (Reflecting on doesNotexist::doesNotExist) --- -Class "doesnotexist" does not exist +Class "doesNotexist" does not exist diff -Nru php8.4-8.4.21/ext/soap/php_encoding.c php8.4-8.4.23/ext/soap/php_encoding.c --- php8.4-8.4.21/ext/soap/php_encoding.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/soap/php_encoding.c 2026-07-01 04:28:00.000000000 +0000 @@ -16,6 +16,7 @@ +----------------------------------------------------------------------+ */ +#include #include #include "php_soap.h" @@ -2075,6 +2076,15 @@ return i; } +static void soap_array_position_add_digit(int *position, int digit) +{ + if (*position > (INT_MAX - digit) / 10) { + soap_error0(E_ERROR, "Encoding: array index out of range"); + } + + *position = (*position * 10) + digit; +} + static int* get_position_12(int dimension, const char* str) { int *pos; @@ -2095,7 +2105,7 @@ i++; flag = 1; } - pos[i] = (pos[i]*10)+(*str-'0'); + soap_array_position_add_digit(&pos[i], *str - '0'); } else if (*str == '*') { soap_error0(E_ERROR, "Encoding: '*' may only be first arraySize value in list"); } else { @@ -2125,7 +2135,7 @@ memset(*pos,0,sizeof(int)*dimension); while (*str != ']' && *str != '\0' && i < dimension) { if (*str >= '0' && *str <= '9') { - (*pos)[i] = ((*pos)[i]*10)+(*str-'0'); + soap_array_position_add_digit(&(*pos)[i], *str - '0'); } else if (*str == ',') { i++; } @@ -2698,16 +2708,20 @@ /* Increment position */ i = dimension; while (i > 0) { - i--; - pos[i]++; - if (pos[i] >= dims[i]) { - if (i > 0) { - pos[i] = 0; - } else { - /* TODO: Array index overflow */ - } - } else { - break; + i--; + if (pos[i] == INT_MAX) { + efree(dims); + efree(pos); + zval_ptr_dtor(ret); + ZVAL_UNDEF(ret); + soap_error0(E_ERROR, "Encoding: array index out of range"); + } + pos[i]++; + if (pos[i] < dims[i]) { + break; + } + if (i > 0) { + pos[i] = 0; } } } diff -Nru php8.4-8.4.21/ext/soap/php_packet_soap.c php8.4-8.4.23/ext/soap/php_packet_soap.c --- php8.4-8.4.21/ext/soap/php_packet_soap.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/soap/php_packet_soap.c 2026-07-01 04:28:00.000000000 +0000 @@ -18,6 +18,28 @@ #include "php_soap.h" +static void master_to_zval_with_doc_cleanup(zval *ret, encodePtr encode, xmlNodePtr data, xmlDocPtr doc) +{ + bool bailout = false; + + ZVAL_UNDEF(ret); + + /* SoapClient can turn decode errors into a bailout before parse_packet_soap() frees the response doc. */ + zend_try { + master_to_zval(ret, encode, data); + } zend_catch { + bailout = true; + } zend_end_try(); + + if (bailout) { + if (!Z_ISUNDEF_P(ret)) { + zval_ptr_dtor(ret); + } + xmlFreeDoc(doc); + zend_bailout(); + } +} + /* SOAP client calls this function to parse response from SOAP server */ bool parse_packet_soap(zval *this_ptr, char *buffer, int buffer_size, sdlFunctionPtr fn, char *fn_name, zval *return_value, zval *soap_headers) { @@ -191,7 +213,7 @@ tmp = get_node(fault->children, "faultstring"); if (tmp != NULL && tmp->children != NULL) { zval zv; - master_to_zval(&zv, get_conversion(IS_STRING), tmp); + master_to_zval_with_doc_cleanup(&zv, get_conversion(IS_STRING), tmp, response); convert_to_string(&zv) faultstring = Z_STR(zv); } @@ -199,14 +221,14 @@ tmp = get_node(fault->children, "faultactor"); if (tmp != NULL && tmp->children != NULL) { zval zv; - master_to_zval(&zv, get_conversion(IS_STRING), tmp); + master_to_zval_with_doc_cleanup(&zv, get_conversion(IS_STRING), tmp, response); convert_to_string(&zv) faultactor = Z_STR(zv); } tmp = get_node(fault->children, "detail"); if (tmp != NULL) { - master_to_zval(&details, NULL, tmp); + master_to_zval_with_doc_cleanup(&details, NULL, tmp, response); } } else { tmp = get_node(fault->children, "Code"); @@ -223,7 +245,7 @@ tmp = get_node(tmp->children,"Text"); if (tmp != NULL && tmp->children != NULL) { zval zv; - master_to_zval(&zv, get_conversion(IS_STRING), tmp); + master_to_zval_with_doc_cleanup(&zv, get_conversion(IS_STRING), tmp, response); convert_to_string(&zv) faultstring = Z_STR(zv); } @@ -231,7 +253,7 @@ tmp = get_node(fault->children,"Detail"); if (tmp != NULL) { - master_to_zval(&details, NULL, tmp); + master_to_zval_with_doc_cleanup(&details, NULL, tmp, response); } } add_soap_fault(this_ptr, faultcode, faultstring ? ZSTR_VAL(faultstring) : NULL, faultactor ? ZSTR_VAL(faultactor) : NULL, &details); @@ -324,9 +346,9 @@ } else { /* Decoding value of parameter */ if (param != NULL) { - master_to_zval(&tmp, param->encode, val); + master_to_zval_with_doc_cleanup(&tmp, param->encode, val, response); } else { - master_to_zval(&tmp, NULL, val); + master_to_zval_with_doc_cleanup(&tmp, NULL, val, response); } } add_assoc_zval(return_value, param->paramName, &tmp); @@ -347,7 +369,7 @@ zval tmp; zval *arr; - master_to_zval(&tmp, NULL, val); + master_to_zval_with_doc_cleanup(&tmp, NULL, val, response); if (val->name) { if ((arr = zend_hash_str_find(Z_ARRVAL_P(return_value), (char*)val->name, strlen((char*)val->name))) != NULL) { add_next_index_zval(arr, &tmp); @@ -412,7 +434,7 @@ } smart_str_free(&key); } - master_to_zval(&val, enc, trav); + master_to_zval_with_doc_cleanup(&val, enc, trav, response); add_assoc_zval(soap_headers, (char*)trav->name, &val); } trav = trav->next; diff -Nru php8.4-8.4.21/ext/soap/soap.c php8.4-8.4.23/ext/soap/soap.c --- php8.4-8.4.21/ext/soap/soap.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/soap/soap.c 2026-07-01 04:28:00.000000000 +0000 @@ -2408,9 +2408,19 @@ request = NULL; if (ret && Z_TYPE(response) == IS_STRING) { + bool parse_bailout = false; + encode_reset_ns(); - ret = parse_packet_soap(this_ptr, Z_STRVAL(response), Z_STRLEN(response), fn, NULL, return_value, output_headers); + zend_try { + ret = parse_packet_soap(this_ptr, Z_STRVAL(response), Z_STRLEN(response), fn, NULL, return_value, output_headers); + } zend_catch { + parse_bailout = true; + } zend_end_try(); encode_finish(); + if (parse_bailout) { + zval_ptr_dtor(&response); + zend_bailout(); + } } zval_ptr_dtor(&response); @@ -2452,9 +2462,19 @@ request = NULL; if (ret && Z_TYPE(response) == IS_STRING) { + bool parse_bailout = false; + encode_reset_ns(); - ret = parse_packet_soap(this_ptr, Z_STRVAL(response), Z_STRLEN(response), NULL, NULL, return_value, output_headers); + zend_try { + ret = parse_packet_soap(this_ptr, Z_STRVAL(response), Z_STRLEN(response), NULL, NULL, return_value, output_headers); + } zend_catch { + parse_bailout = true; + } zend_end_try(); encode_finish(); + if (parse_bailout) { + zval_ptr_dtor(&response); + zend_bailout(); + } } zval_ptr_dtor(&response); diff -Nru php8.4-8.4.21/ext/soap/tests/soap_array_index_overflow.phpt php8.4-8.4.23/ext/soap/tests/soap_array_index_overflow.phpt --- php8.4-8.4.21/ext/soap/tests/soap_array_index_overflow.phpt 1970-01-01 00:00:00.000000000 +0000 +++ php8.4-8.4.23/ext/soap/tests/soap_array_index_overflow.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -0,0 +1,89 @@ +--TEST-- +SOAP array index overflow is rejected +--EXTENSIONS-- +soap +--FILE-- +response; + } +} + +function soap_response(string $attributes, string $itemAttributes = ''): string { + return << + + + + + value + + + + +XML; +} + +function test_overflow(string $name, string $response): void { + $client = new TestSoapClient(NULL, [ + 'location' => 'test://', + 'uri' => 'http://example.org/', + 'exceptions' => true, + ]); + $client->response = $response; + + try { + $client->test(); + echo "$name: no fault\n"; + } catch (SoapFault $e) { + echo "$name: $e->faultstring\n"; + } +} + +function test_boundary_position(): void { + $client = new TestSoapClient(NULL, [ + 'location' => 'test://', + 'uri' => 'http://example.org/', + 'exceptions' => true, + ]); + $client->response = soap_response( + 'SOAP-ENC:arrayType="xsd:string[1]" xsi:type="SOAP-ENC:Array"', + 'SOAP-ENC:position="[2147483646]"' + ); + + var_dump($client->test()); +} + +test_overflow( + 'arrayType', + soap_response('SOAP-ENC:arrayType="xsd:string[2147483648]" xsi:type="SOAP-ENC:Array"') +); + +test_overflow( + 'offset', + soap_response('SOAP-ENC:arrayType="xsd:string[1]" SOAP-ENC:offset="[2147483648]" xsi:type="SOAP-ENC:Array"') +); + +test_overflow( + 'position', + soap_response('SOAP-ENC:arrayType="xsd:string[1]" xsi:type="SOAP-ENC:Array"', 'SOAP-ENC:position="[2147483647]"') +); + +test_boundary_position(); +?> +--EXPECT-- +arrayType: SOAP-ERROR: Encoding: array index out of range +offset: SOAP-ERROR: Encoding: array index out of range +position: SOAP-ERROR: Encoding: array index out of range +array(1) { + [2147483646]=> + string(5) "value" +} diff -Nru php8.4-8.4.21/ext/spl/spl_array.c php8.4-8.4.23/ext/spl/spl_array.c --- php8.4-8.4.21/ext/spl/spl_array.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/spl/spl_array.c 2026-07-01 04:28:00.000000000 +0000 @@ -927,6 +927,10 @@ static void spl_array_set_array(zval *object, spl_array_object *intern, zval *array, zend_long ar_flags, bool just_array) { /* Handled by ZPP prior to this, or for __unserialize() before passing to here */ ZEND_ASSERT(Z_TYPE_P(array) == IS_ARRAY || Z_TYPE_P(array) == IS_OBJECT); + if (intern->nApplyCount > 0) { + zend_throw_error(NULL, "Modification of ArrayObject during sorting is prohibited"); + return; + } zval garbage; ZVAL_UNDEF(&garbage); if (Z_TYPE_P(array) == IS_ARRAY) { diff -Nru php8.4-8.4.21/ext/spl/spl_fixedarray.c php8.4-8.4.23/ext/spl/spl_fixedarray.c --- php8.4-8.4.21/ext/spl/spl_fixedarray.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/spl/spl_fixedarray.c 2026-07-01 04:28:00.000000000 +0000 @@ -172,18 +172,18 @@ return; } - /* first initialization */ - if (array->size == 0) { - spl_fixedarray_init(array, size); - return; - } - if (UNEXPECTED(array->cached_resize >= 0)) { /* We're already resizing, so just remember the desired size. * The resize will happen later. */ array->cached_resize = size; return; } + /* first initialization */ + if (array->size == 0) { + spl_fixedarray_init(array, size); + return; + } + array->cached_resize = size; /* clearing the array */ diff -Nru php8.4-8.4.21/ext/spl/spl_observer.c php8.4-8.4.23/ext/spl/spl_observer.c --- php8.4-8.4.21/ext/spl/spl_observer.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/spl/spl_observer.c 2026-07-01 04:28:00.000000000 +0000 @@ -1232,7 +1232,9 @@ zend_hash_internal_pointer_reset_ex(&intern->storage, &intern->pos); while ((element = zend_hash_get_current_data_ptr_ex(&intern->storage, &intern->pos)) != NULL && !EG(exception)) { zend_object *it = element->obj; + GC_ADDREF(it); zend_call_known_instance_method_with_0_params(it->ce->iterator_funcs_ptr->zf_rewind, it, NULL); + OBJ_RELEASE(it); zend_hash_move_forward_ex(&intern->storage, &intern->pos); } } @@ -1253,7 +1255,9 @@ zend_hash_internal_pointer_reset_ex(&intern->storage, &intern->pos); while ((element = zend_hash_get_current_data_ptr_ex(&intern->storage, &intern->pos)) != NULL && !EG(exception)) { zend_object *it = element->obj; + GC_ADDREF(it); zend_call_known_instance_method_with_0_params(it->ce->iterator_funcs_ptr->zf_next, it, NULL); + OBJ_RELEASE(it); zend_hash_move_forward_ex(&intern->storage, &intern->pos); } } @@ -1282,7 +1286,9 @@ zend_hash_internal_pointer_reset_ex(&intern->storage, &intern->pos); while ((element = zend_hash_get_current_data_ptr_ex(&intern->storage, &intern->pos)) != NULL && !EG(exception)) { zend_object *it = element->obj; + GC_ADDREF(it); zend_call_known_instance_method_with_0_params(it->ce->iterator_funcs_ptr->zf_valid, it, &retval); + OBJ_RELEASE(it); if (!Z_ISUNDEF(retval)) { valid = (Z_TYPE(retval) == IS_TRUE); @@ -1320,6 +1326,9 @@ zend_hash_internal_pointer_reset_ex(&intern->storage, &intern->pos); while ((element = zend_hash_get_current_data_ptr_ex(&intern->storage, &intern->pos)) != NULL && !EG(exception)) { zend_object *it = element->obj; + zval inf; + GC_ADDREF(it); + ZVAL_COPY(&inf, &element->inf); zend_call_known_instance_method_with_0_params(it->ce->iterator_funcs_ptr->zf_valid, it, &retval); if (!Z_ISUNDEF(retval)) { @@ -1336,10 +1345,14 @@ zend_call_known_instance_method_with_0_params(it->ce->iterator_funcs_ptr->zf_key, it, &retval); } if (Z_ISUNDEF(retval)) { + OBJ_RELEASE(it); + zval_ptr_dtor(&inf); zend_throw_exception(spl_ce_RuntimeException, "Failed to call sub iterator method", 0); return; } } else if (intern->flags & MIT_NEED_ALL) { + OBJ_RELEASE(it); + zval_ptr_dtor(&inf); if (SPL_MULTIPLE_ITERATOR_GET_ALL_CURRENT == get_type) { zend_throw_exception(spl_ce_RuntimeException, "Called current() with non valid sub iterator", 0); } else { @@ -1351,15 +1364,17 @@ } if (intern->flags & MIT_KEYS_ASSOC) { - switch (Z_TYPE(element->inf)) { + switch (Z_TYPE(inf)) { case IS_LONG: - add_index_zval(return_value, Z_LVAL(element->inf), &retval); + add_index_zval(return_value, Z_LVAL(inf), &retval); break; case IS_STRING: - zend_symtable_update(Z_ARRVAL_P(return_value), Z_STR(element->inf), &retval); + zend_symtable_update(Z_ARRVAL_P(return_value), Z_STR(inf), &retval); break; default: zval_ptr_dtor(&retval); + OBJ_RELEASE(it); + zval_ptr_dtor(&inf); zend_throw_exception(spl_ce_InvalidArgumentException, "Sub-Iterator is associated with NULL", 0); return; } @@ -1367,6 +1382,8 @@ add_next_index_zval(return_value, &retval); } + OBJ_RELEASE(it); + zval_ptr_dtor(&inf); zend_hash_move_forward_ex(&intern->storage, &intern->pos); } } diff -Nru php8.4-8.4.21/ext/spl/tests/ArrayObject_construct_during_sorting.phpt php8.4-8.4.23/ext/spl/tests/ArrayObject_construct_during_sorting.phpt --- php8.4-8.4.21/ext/spl/tests/ArrayObject_construct_during_sorting.phpt 1970-01-01 00:00:00.000000000 +0000 +++ php8.4-8.4.23/ext/spl/tests/ArrayObject_construct_during_sorting.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -0,0 +1,34 @@ +--TEST-- +Can't use __construct() to replace the backing store while ArrayObject is being sorted +--FILE-- +uasort(function($a, $b) use ($ao, $other, &$i) { + if ($i++ == 0) { + try { + $ao->__construct($other); + } catch (Error $e) { + echo $e->getMessage(), "\n"; + } + } + return $a <=> $b; +}); +var_dump($ao); + +?> +--EXPECT-- +Modification of ArrayObject during sorting is prohibited +object(ArrayObject)#1 (1) { + ["storage":"ArrayObject":private]=> + array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } +} diff -Nru php8.4-8.4.21/ext/spl/tests/SplFixedArray_setSize_destruct_grow_during_clear.phpt php8.4-8.4.23/ext/spl/tests/SplFixedArray_setSize_destruct_grow_during_clear.phpt --- php8.4-8.4.21/ext/spl/tests/SplFixedArray_setSize_destruct_grow_during_clear.phpt 1970-01-01 00:00:00.000000000 +0000 +++ php8.4-8.4.23/ext/spl/tests/SplFixedArray_setSize_destruct_grow_during_clear.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -0,0 +1,28 @@ +--TEST-- +SplFixedArray::setSize: grow re-entrantly during clear (setSize(0)) +--FILE-- +arr !== null) { + $this->arr->setSize(5); + } + } +} + +$arr = new SplFixedArray(2); +$r = new Reentrant(); +$r->arr = $arr; +$arr[0] = $r; +unset($r); +$arr[1] = "tail"; + +$arr->setSize(0); +echo "size: ", $arr->getSize(), "\n"; +$arr[0] = "ok"; +var_dump($arr[0]); +?> +--EXPECT-- +size: 5 +string(2) "ok" diff -Nru php8.4-8.4.21/ext/spl/tests/gh21927.phpt php8.4-8.4.23/ext/spl/tests/gh21927.phpt --- php8.4-8.4.21/ext/spl/tests/gh21927.phpt 1970-01-01 00:00:00.000000000 +0000 +++ php8.4-8.4.23/ext/spl/tests/gh21927.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -0,0 +1,151 @@ +--TEST-- +GH-21927: Use-after-free of self-freeing MultipleIterator children +--FILE-- +parent->detachIterator($this); + echo "rewind: still alive\n"; + } + public function next(): void {} + public function current(): mixed { return 0; } + public function key(): mixed { return 0; } + public function valid(): bool { return false; } +} + +class DetachOnNext implements Iterator { + public function __construct(private MultipleIterator $parent) {} + public function rewind(): void {} + public function next(): void { + $this->parent->detachIterator($this); + echo "next: still alive\n"; + } + public function current(): mixed { return 0; } + public function key(): mixed { return 0; } + public function valid(): bool { return true; } +} + +class DetachOnValid implements Iterator { + public function __construct(private MultipleIterator $parent) {} + public function rewind(): void {} + public function next(): void {} + public function current(): mixed { return 0; } + public function key(): mixed { return 0; } + public function valid(): bool { + $this->parent->detachIterator($this); + echo "valid: still alive\n"; + return true; + } +} + +class DetachOnCurrent implements Iterator { + public function __construct(private MultipleIterator $parent) {} + public function rewind(): void {} + public function next(): void {} + public function current(): mixed { + $this->parent->detachIterator($this); + echo "current: still alive\n"; + return 'C'; + } + public function key(): mixed { return 'k'; } + public function valid(): bool { return true; } +} + +class DetachOnKey implements Iterator { + public function __construct(private MultipleIterator $parent) {} + public function rewind(): void {} + public function next(): void {} + public function current(): mixed { return 'C'; } + public function key(): mixed { + $this->parent->detachIterator($this); + echo "key: still alive\n"; + return 'K'; + } + public function valid(): bool { return true; } +} + +echo "-- detach inside rewind --\n"; +$mi = new MultipleIterator(); +$mi->attachIterator(new DetachOnRewind($mi)); +$mi->rewind(); +var_dump($mi->countIterators()); + +echo "-- detach inside next --\n"; +$mi = new MultipleIterator(); +$mi->attachIterator(new DetachOnNext($mi)); +$mi->rewind(); +$mi->next(); +var_dump($mi->countIterators()); + +echo "-- detach inside valid --\n"; +$mi = new MultipleIterator(); +$mi->attachIterator(new DetachOnValid($mi)); +var_dump($mi->valid()); +var_dump($mi->countIterators()); + +echo "-- detach inside current (numeric keys) --\n"; +$mi = new MultipleIterator(); +$mi->attachIterator(new DetachOnCurrent($mi)); +var_dump($mi->current()); +var_dump($mi->countIterators()); + +echo "-- detach inside key (numeric keys) --\n"; +$mi = new MultipleIterator(); +$mi->attachIterator(new DetachOnKey($mi)); +var_dump($mi->key()); +var_dump($mi->countIterators()); + +echo "-- detach inside current (assoc keys, refcounted inf) --\n"; +$mi = new MultipleIterator(MultipleIterator::MIT_NEED_ALL | MultipleIterator::MIT_KEYS_ASSOC); +$mi->attachIterator(new DetachOnCurrent($mi), 'cur_info_string'); +var_dump($mi->current()); +var_dump($mi->countIterators()); + +echo "-- detach inside key (assoc keys, refcounted inf) --\n"; +$mi = new MultipleIterator(MultipleIterator::MIT_NEED_ALL | MultipleIterator::MIT_KEYS_ASSOC); +$mi->attachIterator(new DetachOnKey($mi), 'key_info_string'); +var_dump($mi->key()); +var_dump($mi->countIterators()); + +?> +--EXPECT-- +-- detach inside rewind -- +rewind: still alive +int(0) +-- detach inside next -- +next: still alive +int(0) +-- detach inside valid -- +valid: still alive +bool(true) +int(0) +-- detach inside current (numeric keys) -- +current: still alive +array(1) { + [0]=> + string(1) "C" +} +int(0) +-- detach inside key (numeric keys) -- +key: still alive +array(1) { + [0]=> + string(1) "K" +} +int(0) +-- detach inside current (assoc keys, refcounted inf) -- +current: still alive +array(1) { + ["cur_info_string"]=> + string(1) "C" +} +int(0) +-- detach inside key (assoc keys, refcounted inf) -- +key: still alive +array(1) { + ["key_info_string"]=> + string(1) "K" +} +int(0) diff -Nru php8.4-8.4.21/ext/sqlite3/sqlite3.c php8.4-8.4.23/ext/sqlite3/sqlite3.c --- php8.4-8.4.21/ext/sqlite3/sqlite3.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/sqlite3/sqlite3.c 2026-07-01 04:28:00.000000000 +0000 @@ -627,7 +627,7 @@ } /* }}} */ -static void sqlite_value_to_zval(sqlite3_stmt *stmt, int column, zval *data) /* {{{ */ +static void sqlite_value_to_zval(php_sqlite3_db_object *db_obj, sqlite3_stmt *stmt, int column, zval *data) /* {{{ */ { sqlite3_int64 val; @@ -636,7 +636,13 @@ val = sqlite3_column_int64(stmt, column); #if LONG_MAX <= 2147483647 if (val > ZEND_LONG_MAX || val < ZEND_LONG_MIN) { - ZVAL_STRINGL(data, (char *)sqlite3_column_text(stmt, column), sqlite3_column_bytes(stmt, column)); + const char *text = (const char *) sqlite3_column_text(stmt, column); + if (UNEXPECTED(text == NULL)) { + php_sqlite3_error(db_obj, SQLITE_NOMEM, "Failed to retrieve column value due to out of memory"); + ZVAL_NULL(data); + } else { + ZVAL_STRINGL(data, text, sqlite3_column_bytes(stmt, column)); + } } else { #endif ZVAL_LONG(data, (zend_long) val); @@ -653,13 +659,33 @@ ZVAL_NULL(data); break; - case SQLITE3_TEXT: - ZVAL_STRING(data, (char*)sqlite3_column_text(stmt, column)); + case SQLITE3_TEXT: { + const char *text = (const char *) sqlite3_column_text(stmt, column); + if (UNEXPECTED(text == NULL)) { + php_sqlite3_error(db_obj, SQLITE_NOMEM, "Failed to retrieve column value due to out of memory"); + ZVAL_NULL(data); + } else { + ZVAL_STRING(data, text); + } break; + } case SQLITE_BLOB: - default: - ZVAL_STRINGL(data, (char*)sqlite3_column_blob(stmt, column), sqlite3_column_bytes(stmt, column)); + default: { + const char *blob = (const char *) sqlite3_column_blob(stmt, column); + if (UNEXPECTED(blob == NULL)) { + if (sqlite3_errcode(sqlite3_db_handle(stmt)) == SQLITE_NOMEM) { + php_sqlite3_error(db_obj, SQLITE_NOMEM, "Failed to retrieve column value due to out of memory"); + ZVAL_NULL(data); + } else { + /* Zero-length BLOB */ + ZVAL_EMPTY_STRING(data); + } + } else { + ZVAL_STRINGL(data, blob, sqlite3_column_bytes(stmt, column)); + } + break; + } } } /* }}} */ @@ -709,13 +735,13 @@ case SQLITE_ROW: /* Valid Row */ { if (!entire_row) { - sqlite_value_to_zval(stmt, 0, return_value); + sqlite_value_to_zval(db_obj, stmt, 0, return_value); } else { int i = 0; array_init(return_value); for (i = 0; i < sqlite3_data_count(stmt); i++) { zval data; - sqlite_value_to_zval(stmt, i, &data); + sqlite_value_to_zval(db_obj, stmt, i, &data); add_assoc_zval(return_value, (char*)sqlite3_column_name(stmt, i), &data); } } @@ -1973,7 +1999,7 @@ for (i = 0; i < n_cols; i++) { zval data; - sqlite_value_to_zval(result_obj->stmt_obj->stmt, i, &data); + sqlite_value_to_zval(result_obj->db_obj, result_obj->stmt_obj->stmt, i, &data); if (mode & PHP_SQLITE3_NUM) { add_index_zval(return_value, i, &data); diff -Nru php8.4-8.4.21/ext/standard/basic_functions.c php8.4-8.4.23/ext/standard/basic_functions.c --- php8.4-8.4.21/ext/standard/basic_functions.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/standard/basic_functions.c 2026-07-01 04:28:00.000000000 +0000 @@ -598,6 +598,20 @@ if (addr_len == 0 || inet_pton(AF_INET, addr, &ip) != 1) { RETURN_FALSE; } +#ifdef _AIX + /* + AIX accepts IP strings with extraneous 0 (192.168.042.42 will be treated as + 192.168.42.42), while Linux doesn't. + For consistency, we convert back the IP to a string and check if it is equal to + the original string. If not, the IP should be considered invalid. + */ + char str[INET_ADDRSTRLEN]; + const char* result = inet_ntop(AF_INET, &ip, str, sizeof(str)); + ZEND_ASSERT(result != NULL); + if (strcmp(addr, result) != 0) { + RETURN_FALSE; + } +#endif RETURN_LONG(ntohl(ip.s_addr)); } /* }}} */ diff -Nru php8.4-8.4.21/ext/standard/credits_ext.h php8.4-8.4.23/ext/standard/credits_ext.h --- php8.4-8.4.21/ext/standard/credits_ext.h 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/standard/credits_ext.h 2026-07-01 04:28:00.000000000 +0000 @@ -19,7 +19,7 @@ CREDIT_LINE("Date/Time Support", "Derick Rethans"); CREDIT_LINE("DB-LIB (MS SQL, Sybase)", "Wez Furlong, Frank M. Kromann, Adam Baratz"); CREDIT_LINE("DBA", "Sascha Schumann, Marcus Boerger"); -CREDIT_LINE("DOM", "Christian Stocker, Rob Richards, Marcus Boerger, Niels Dossche"); +CREDIT_LINE("DOM", "Christian Stocker, Rob Richards, Marcus Boerger, Nora Dossche"); CREDIT_LINE("enchant", "Pierre-Alain Joye, Ilia Alshanetsky"); CREDIT_LINE("EXIF", "Rasmus Lerdorf, Marcus Boerger"); CREDIT_LINE("FFI", "Dmitry Stogov"); diff -Nru php8.4-8.4.21/ext/standard/head.c php8.4-8.4.23/ext/standard/head.c --- php8.4-8.4.21/ext/standard/head.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/standard/head.c 2026-07-01 04:28:00.000000000 +0000 @@ -205,14 +205,23 @@ if (zend_string_equals_literal_ci(key, "expires")) { *expires = zval_get_long(value); } else if (zend_string_equals_literal_ci(key, "path")) { + if (*path) { + zend_string_release(*path); + } *path = zval_get_string(value); } else if (zend_string_equals_literal_ci(key, "domain")) { + if (*domain) { + zend_string_release(*domain); + } *domain = zval_get_string(value); } else if (zend_string_equals_literal_ci(key, "secure")) { *secure = zval_is_true(value); } else if (zend_string_equals_literal_ci(key, "httponly")) { *httponly = zval_is_true(value); } else if (zend_string_equals_literal_ci(key, "samesite")) { + if (*samesite) { + zend_string_release(*samesite); + } *samesite = zval_get_string(value); } else { zend_value_error("%s(): option \"%s\" is invalid", get_active_function_name(), ZSTR_VAL(key)); diff -Nru php8.4-8.4.21/ext/standard/tests/GHSA-96wq-48vp-hh57.phpt php8.4-8.4.23/ext/standard/tests/GHSA-96wq-48vp-hh57.phpt --- php8.4-8.4.21/ext/standard/tests/GHSA-96wq-48vp-hh57.phpt 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/standard/tests/GHSA-96wq-48vp-hh57.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -1,7 +1,7 @@ --TEST-- GHSA-96wq-48vp-hh57: signed integer overflow of char array offset --CREDITS-- -012git012 +Aleksey Solovev (Positive Technologies) --INI-- memory_limit=3G --SKIPIF-- diff -Nru php8.4-8.4.21/ext/standard/tests/network/setcookie_option_case_variant_leak.phpt php8.4-8.4.23/ext/standard/tests/network/setcookie_option_case_variant_leak.phpt --- php8.4-8.4.21/ext/standard/tests/network/setcookie_option_case_variant_leak.phpt 1970-01-01 00:00:00.000000000 +0000 +++ php8.4-8.4.23/ext/standard/tests/network/setcookie_option_case_variant_leak.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -0,0 +1,15 @@ +--TEST-- +setcookie() does not leak when an option array has case-variant duplicate keys +--FILE-- + '/aaaaaaaaaaaaaaaa' . $i, 'Path' => '/bbbbbbbbbbbbbbbb' . $i]); + header_remove(); +} +// Each duplicate-key call leaked the first path string before the fix, +// growing usage by tens of bytes per iteration (hundreds of KB here). +var_dump(memory_get_usage() - $base < 50000); +?> +--EXPECT-- +bool(true) diff -Nru php8.4-8.4.21/ext/standard/tests/versioning/version_compare.phpt php8.4-8.4.23/ext/standard/tests/versioning/version_compare.phpt --- php8.4-8.4.21/ext/standard/tests/versioning/version_compare.phpt 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/standard/tests/versioning/version_compare.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -22,6 +22,9 @@ test("1.0$f1", "1.0$f2"); } } +test("1.2.", "1.2."); +test("1.2..", "1.2.."); + print "TESTING OPERATORS\n"; foreach ($special_forms as $f1) { foreach ($special_forms as $f2) { @@ -106,6 +109,8 @@ 1.0pl1 > 1.0rc1 1.0pl1 > 1.0 1.0pl1 = 1.0pl1 +1.2. = 1.2. +1.2.. = 1.2.. TESTING OPERATORS 1.0-dev lt 1.0-dev : false 1.0-dev < 1.0-dev : false diff -Nru php8.4-8.4.21/ext/standard/url_scanner_ex.c php8.4-8.4.23/ext/standard/url_scanner_ex.c --- php8.4-8.4.21/ext/standard/url_scanner_ex.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/standard/url_scanner_ex.c 2026-07-01 04:28:00.000000000 +0000 @@ -1,4 +1,4 @@ -/* Generated by re2c 4.3 */ +/* Generated by re2c 4.5.1 */ /* +----------------------------------------------------------------------+ | Copyright (c) The PHP Group | diff -Nru php8.4-8.4.21/ext/standard/var_unserializer.c php8.4-8.4.23/ext/standard/var_unserializer.c --- php8.4-8.4.21/ext/standard/var_unserializer.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/standard/var_unserializer.c 2026-07-01 04:28:00.000000000 +0000 @@ -1,4 +1,4 @@ -/* Generated by re2c 4.3 */ +/* Generated by re2c 4.5.1 */ /* +----------------------------------------------------------------------+ | Copyright (c) The PHP Group | diff -Nru php8.4-8.4.21/ext/standard/versioning.c php8.4-8.4.23/ext/standard/versioning.c --- php8.4-8.4.21/ext/standard/versioning.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/standard/versioning.c 2026-07-01 04:28:00.000000000 +0000 @@ -68,7 +68,15 @@ } lp = *p++; } - *q++ = '\0'; + + /* Check if the last component is empty (i.e. the last character is a dot) + * and remove it if it is. */ + if (*(q - 1) == '.') { + *(q - 1) = '\0'; + } else { + *q = '\0'; + } + return buf; } diff -Nru php8.4-8.4.21/ext/xml/xml.c php8.4-8.4.23/ext/xml/xml.c --- php8.4-8.4.21/ext/xml/xml.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/xml/xml.c 2026-07-01 04:28:00.000000000 +0000 @@ -828,16 +828,15 @@ zval *myval; /* check if the current tag already has a value - if yes append to that! */ if ((myval = zend_hash_find(Z_ARRVAL_P(ctag), ZSTR_KNOWN(ZEND_STR_VALUE))) && Z_TYPE_P(myval) == IS_STRING) { - size_t newlen = Z_STRLEN_P(myval) + ZSTR_LEN(decoded_value); - Z_STR_P(myval) = zend_string_extend(Z_STR_P(myval), newlen, 0); + Z_STR_P(myval) = zend_string_safe_realloc(Z_STR_P(myval), 1, Z_STRLEN_P(myval), ZSTR_LEN(decoded_value), false); strncpy(Z_STRVAL_P(myval) + Z_STRLEN_P(myval) - ZSTR_LEN(decoded_value), ZSTR_VAL(decoded_value), ZSTR_LEN(decoded_value) + 1); - zend_string_release_ex(decoded_value, 0); + zend_string_release_ex(decoded_value, false); } else { if (doprint || (! parser->skipwhite)) { add_assoc_str(ctag, "value", decoded_value); } else { - zend_string_release_ex(decoded_value, 0); + zend_string_release_ex(decoded_value, false); } } } else { @@ -855,11 +854,10 @@ if (EXPECTED(Z_TYPE_P(mytype) == IS_STRING) && zend_string_equals_literal(Z_STR_P(mytype), "cdata")) { SEPARATE_ARRAY(curtag); if ((myval = zend_hash_find(Z_ARRVAL_P(curtag), ZSTR_KNOWN(ZEND_STR_VALUE)))) { - size_t newlen = Z_STRLEN_P(myval) + ZSTR_LEN(decoded_value); - Z_STR_P(myval) = zend_string_extend(Z_STR_P(myval), newlen, 0); + Z_STR_P(myval) = zend_string_safe_realloc(Z_STR_P(myval), 1, Z_STRLEN_P(myval), ZSTR_LEN(decoded_value), false); strncpy(Z_STRVAL_P(myval) + Z_STRLEN_P(myval) - ZSTR_LEN(decoded_value), ZSTR_VAL(decoded_value), ZSTR_LEN(decoded_value) + 1); - zend_string_release_ex(decoded_value, 0); + zend_string_release_ex(decoded_value, false); return; } } @@ -877,7 +875,7 @@ } else if (parser->level == (XML_MAXLEVEL + 1)) { php_error_docref(NULL, E_WARNING, "Maximum depth exceeded - Results truncated"); } else { - zend_string_release_ex(decoded_value, 0); + zend_string_release_ex(decoded_value, false); } } } diff -Nru php8.4-8.4.21/ext/xmlreader/tests/012.phpt php8.4-8.4.23/ext/xmlreader/tests/012.phpt --- php8.4-8.4.21/ext/xmlreader/tests/012.phpt 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/xmlreader/tests/012.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -2,6 +2,10 @@ XMLReader: accessing empty and non existing attributes --EXTENSIONS-- xmlreader +--SKIPIF-- + --FILE-- common.function_name) { @@ -361,6 +373,7 @@ STD_PHP_INI_BOOLEAN("zend_test.observer.show_init_backtrace", "0", PHP_INI_SYSTEM, OnUpdateBool, observer_show_init_backtrace, zend_zend_test_globals, zend_test_globals) STD_PHP_INI_BOOLEAN("zend_test.observer.show_opcode", "0", PHP_INI_SYSTEM, OnUpdateBool, observer_show_opcode, zend_zend_test_globals, zend_test_globals) STD_PHP_INI_ENTRY("zend_test.observer.show_opcode_in_user_handler", "", PHP_INI_SYSTEM, OnUpdateString, observer_show_opcode_in_user_handler, zend_zend_test_globals, zend_test_globals) + STD_PHP_INI_BOOLEAN("zend_test.observer.set_vm_interrupt_on_begin", "0", PHP_INI_SYSTEM, OnUpdateBool, observer_set_vm_interrupt_on_begin, zend_zend_test_globals, zend_test_globals) STD_PHP_INI_BOOLEAN("zend_test.observer.fiber_init", "0", PHP_INI_SYSTEM, OnUpdateBool, observer_fiber_init, zend_zend_test_globals, zend_test_globals) STD_PHP_INI_BOOLEAN("zend_test.observer.fiber_switch", "0", PHP_INI_SYSTEM, OnUpdateBool, observer_fiber_switch, zend_zend_test_globals, zend_test_globals) STD_PHP_INI_BOOLEAN("zend_test.observer.fiber_destroy", "0", PHP_INI_SYSTEM, OnUpdateBool, observer_fiber_destroy, zend_zend_test_globals, zend_test_globals) @@ -398,10 +411,20 @@ zend_test_prev_execute_internal = zend_execute_internal; zend_execute_internal = zend_test_execute_internal; } + + if (ZT_G(observer_set_vm_interrupt_on_begin)) { + zend_test_prev_interrupt_function = zend_interrupt_function; + zend_interrupt_function = zend_test_interrupt_function; + } } void zend_test_observer_shutdown(SHUTDOWN_FUNC_ARGS) { + if (zend_interrupt_function == zend_test_interrupt_function) { + zend_interrupt_function = zend_test_prev_interrupt_function; + zend_test_prev_interrupt_function = NULL; + } + if (type != MODULE_TEMPORARY) { UNREGISTER_INI_ENTRIES(); } diff -Nru php8.4-8.4.21/ext/zend_test/php_test.h php8.4-8.4.23/ext/zend_test/php_test.h --- php8.4-8.4.21/ext/zend_test/php_test.h 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/zend_test/php_test.h 2026-07-01 04:28:00.000000000 +0000 @@ -45,6 +45,7 @@ int observer_show_init_backtrace; int observer_show_opcode; char *observer_show_opcode_in_user_handler; + int observer_set_vm_interrupt_on_begin; int observer_nesting_depth; int observer_fiber_init; int observer_fiber_switch; diff -Nru php8.4-8.4.21/ext/zend_test/tests/observer_jit_vm_interrupt.inc php8.4-8.4.23/ext/zend_test/tests/observer_jit_vm_interrupt.inc --- php8.4-8.4.21/ext/zend_test/tests/observer_jit_vm_interrupt.inc 1970-01-01 00:00:00.000000000 +0000 +++ php8.4-8.4.23/ext/zend_test/tests/observer_jit_vm_interrupt.inc 2026-07-01 04:28:00.000000000 +0000 @@ -0,0 +1,8 @@ + +--FILE-- + +--EXPECT-- +total=2438400 diff -Nru php8.4-8.4.21/ext/zip/php_zip.c php8.4-8.4.23/ext/zip/php_zip.c --- php8.4-8.4.21/ext/zip/php_zip.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/zip/php_zip.c 2026-07-01 04:28:00.000000000 +0000 @@ -313,11 +313,15 @@ } flags ^= ZIP_FL_OPEN_FILE_NOW; zs = zip_source_filep(obj->za, fd, offset_start, offset_len); + if (!zs) { + fclose(fd); + return FAILURE; + } } else { zs = zip_source_file(obj->za, resolved_path, offset_start, offset_len); - } - if (!zs) { - return -1; + if (!zs) { + return FAILURE; + } } /* Replace */ if (replace >= 0) { @@ -786,7 +790,10 @@ if ((path_len + namelist_len + 1) >= MAXPATHLEN) { php_error_docref(NULL, E_WARNING, "add_path string too long (max: %u, %zu given)", MAXPATHLEN - 1, (path_len + namelist_len + 1)); - zend_string_release_ex(namelist[i], 0); + /* The loop isn't continued, so all remaining file names must get freed. */ + for (; i < files_cnt; i++) { + zend_string_release_ex(namelist[i], false); + } break; } @@ -2955,6 +2962,7 @@ buffer = zend_string_safe_alloc(1, len, 0, 0); zip_int64_t n = zip_fread(zf, ZSTR_VAL(buffer), ZSTR_LEN(buffer)); if (n < 1) { + zip_fclose(zf); zend_string_efree(buffer); RETURN_EMPTY_STRING(); } Binary files /srv/release.debian.org/tmp/YoCENqB6NH/php8.4-8.4.21/ext/zlib/tests/bug55544-win.phpt and /srv/release.debian.org/tmp/uFcy4rCe5K/php8.4-8.4.23/ext/zlib/tests/bug55544-win.phpt differ diff -Nru php8.4-8.4.21/ext/zlib/tests/func.inc php8.4-8.4.23/ext/zlib/tests/func.inc --- php8.4-8.4.21/ext/zlib/tests/func.inc 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/zlib/tests/func.inc 1970-01-01 00:00:00.000000000 +0000 @@ -1,18 +0,0 @@ - (\d+\.\d+\.\d+),s', $info, $match)) { - // $version = $match[1]; - if (preg_match(',zlib(?!.*libXML).*Compiled Version (=> | --FILE-- diff -Nru php8.4-8.4.21/ext/zlib/tests/gzgetc_basic.phpt php8.4-8.4.23/ext/zlib/tests/gzgetc_basic.phpt --- php8.4-8.4.21/ext/zlib/tests/gzgetc_basic.phpt 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/zlib/tests/gzgetc_basic.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -4,9 +4,7 @@ zlib --SKIPIF-- 0) { +if (version_compare(ZLIB_VERSION, '1.2.5') > 0) { die('skip - only for zlib <= 1.2.5'); } ?> diff -Nru php8.4-8.4.21/ext/zlib/tests/gzgetc_basic_1.phpt php8.4-8.4.23/ext/zlib/tests/gzgetc_basic_1.phpt --- php8.4-8.4.21/ext/zlib/tests/gzgetc_basic_1.phpt 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/zlib/tests/gzgetc_basic_1.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -4,9 +4,7 @@ zlib --SKIPIF-- = 1.2.7'); } ?> diff -Nru php8.4-8.4.21/ext/zlib/tests/inflate_add_no_dict.phpt php8.4-8.4.23/ext/zlib/tests/inflate_add_no_dict.phpt --- php8.4-8.4.21/ext/zlib/tests/inflate_add_no_dict.phpt 1970-01-01 00:00:00.000000000 +0000 +++ php8.4-8.4.23/ext/zlib/tests/inflate_add_no_dict.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -0,0 +1,22 @@ +--TEST-- +inflate_add(): Z_NEED_DICT returned when no dictionary provided to inflate_init() +--EXTENSIONS-- +zlib +--FILE-- + $dict]); +$compressed = deflate_add($dc, $data, ZLIB_FINISH); + +// Inflate without supplying the dictionary +$ic = inflate_init(ZLIB_ENCODING_DEFLATE); +$result = inflate_add($ic, $compressed, ZLIB_SYNC_FLUSH); +var_dump($result); + +?> +--EXPECTF-- +Warning: inflate_add(): Inflating this data requires a preset dictionary, please specify it in the options array of inflate_init() in %s on line %d +bool(false) diff -Nru php8.4-8.4.21/ext/zlib/zlib.c php8.4-8.4.23/ext/zlib/zlib.c --- php8.4-8.4.21/ext/zlib/zlib.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/ext/zlib/zlib.c 2026-07-01 04:28:00.000000000 +0000 @@ -908,6 +908,7 @@ } if (inflateInit2(&ctx->Z, encoding) != Z_OK) { + /* dict is stored in the ctx in the object and will thus be freed by zval_ptr_dtor(). */ zval_ptr_dtor(return_value); php_error_docref(NULL, E_WARNING, "Failed allocating zlib.inflate context"); RETURN_FALSE; @@ -1025,6 +1026,7 @@ } break; } else { + zend_string_release_ex(out, false); php_error_docref(NULL, E_WARNING, "Inflating this data requires a preset dictionary, please specify it in the options array of inflate_init()"); RETURN_FALSE; } @@ -1158,6 +1160,7 @@ } if (deflateInit2(&ctx->Z, level, Z_DEFLATED, encoding, memory, strategy) != Z_OK) { + efree(dict); zval_ptr_dtor(return_value); php_error_docref(NULL, E_WARNING, "Failed allocating zlib.deflate context"); RETURN_FALSE; diff -Nru php8.4-8.4.21/main/php_config.h.in php8.4-8.4.23/main/php_config.h.in --- php8.4-8.4.21/main/php_config.h.in 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/main/php_config.h.in 2026-07-01 04:28:00.000000000 +0000 @@ -2081,6 +2081,10 @@ #ifndef _ALL_SOURCE # undef _ALL_SOURCE #endif +/* Enable extensions on Cosmopolitan Libc. */ +#ifndef _COSMO_SOURCE +# undef _COSMO_SOURCE +#endif /* Enable general extensions on macOS. */ #ifndef _DARWIN_C_SOURCE # undef _DARWIN_C_SOURCE diff -Nru php8.4-8.4.21/main/php_version.h php8.4-8.4.23/main/php_version.h --- php8.4-8.4.21/main/php_version.h 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/main/php_version.h 2026-07-01 04:28:00.000000000 +0000 @@ -2,7 +2,7 @@ /* edit configure.ac to change version number */ #define PHP_MAJOR_VERSION 8 #define PHP_MINOR_VERSION 4 -#define PHP_RELEASE_VERSION 21 +#define PHP_RELEASE_VERSION 23 #define PHP_EXTRA_VERSION "" -#define PHP_VERSION "8.4.21" -#define PHP_VERSION_ID 80421 +#define PHP_VERSION "8.4.23" +#define PHP_VERSION_ID 80423 diff -Nru php8.4-8.4.21/sapi/phpdbg/phpdbg_lexer.c php8.4-8.4.23/sapi/phpdbg/phpdbg_lexer.c --- php8.4-8.4.21/sapi/phpdbg/phpdbg_lexer.c 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/sapi/phpdbg/phpdbg_lexer.c 2026-07-01 04:28:00.000000000 +0000 @@ -1,4 +1,4 @@ -/* Generated by re2c 4.3 */ +/* Generated by re2c 4.5.1 */ /* * phpdbg_lexer.l */ diff -Nru php8.4-8.4.21/tests/classes/autoload_016.phpt php8.4-8.4.23/tests/classes/autoload_016.phpt --- php8.4-8.4.21/tests/classes/autoload_016.phpt 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/tests/classes/autoload_016.phpt 2026-07-01 04:28:00.000000000 +0000 @@ -16,5 +16,5 @@ } ?> --EXPECT-- -In autoload: string(6) "undefc" -Class "undefc" does not exist +In autoload: string(6) "UndefC" +Class "UndefC" does not exist diff -Nru php8.4-8.4.21/win32/build/confutils.js php8.4-8.4.23/win32/build/confutils.js --- php8.4-8.4.21/win32/build/confutils.js 2026-05-05 16:34:12.000000000 +0000 +++ php8.4-8.4.23/win32/build/confutils.js 2026-07-01 04:28:00.000000000 +0000 @@ -3107,7 +3107,7 @@ version = probe_binary(PHP_CL).substr(0, 5).replace('.', ''); if (version >= 1950) { - // skip + name = short ? "VS18" : "Visual C++ 2026"; } else if (version >= 1930) { name = short ? "VS17" : "Visual C++ 2022"; } else if (version >= 1920) {