diff options
| author | beatrice <beatrice@dangofactory.net> | 2026-11-22 19:22:49 +0900 |
|---|---|---|
| committer | beatrice <beatrice@dangofactory.net> | 2026-11-22 19:22:49 +0900 |
| commit | 6d881b40e0f6f6d3b8b77c859cae72b9feffacf2 (patch) | |
| tree | 3d1e6c722dab71b50e7c3cf6477d85f4d2d17deb | |
| parent | f0cd7067d950921427c91ade4ecf060e944f88eb (diff) | |
| download | unbound-master.tar.gz unbound-master.zip | |
Release tarball unbound-1.26.2.tar.gz (dist-generated files / local differences from tag)HEADlocal/unboundmaster
| -rw-r--r-- | .gitattributes | 1 | ||||
| -rw-r--r-- | .github/FUNDING.yml | 2 | ||||
| -rw-r--r-- | .github/ISSUE_TEMPLATE/bug_report.md | 41 | ||||
| -rw-r--r-- | .github/ISSUE_TEMPLATE/feature_request.md | 31 | ||||
| -rw-r--r-- | .github/workflows/analysis_ports.yml | 394 | ||||
| -rw-r--r-- | .github/workflows/ci.yml | 23 | ||||
| -rw-r--r-- | .gitignore | 65 | ||||
| -rw-r--r-- | .travis.yml | 380 | ||||
| -rw-r--r-- | aclocal.m4 | 857 | ||||
| -rwxr-xr-x | config.guess | 33 | ||||
| -rwxr-xr-x | config.sub | 750 | ||||
| -rwxr-xr-x | configure | 1470 | ||||
| -rw-r--r-- | doc/README | 2 | ||||
| -rw-r--r-- | doc/example.conf.in | 2 | ||||
| -rw-r--r-- | doc/libunbound.3.in | 4 | ||||
| -rw-r--r-- | doc/unbound-anchor.8.in | 4 | ||||
| -rw-r--r-- | doc/unbound-checkconf.8.in | 4 | ||||
| -rw-r--r-- | doc/unbound-control.8.in | 4 | ||||
| -rw-r--r-- | doc/unbound-host.1.in | 4 | ||||
| -rw-r--r-- | doc/unbound.8.in | 4 | ||||
| -rw-r--r-- | doc/unbound.conf.5.in | 4 | ||||
| -rwxr-xr-x | install-sh | 176 | ||||
| -rw-r--r-- | ltmain.sh | 1566 | ||||
| -rwxr-xr-x | makedist.sh | 709 | ||||
| -rw-r--r-- | util/configlexer.c | 8186 | ||||
| -rw-r--r-- | util/configparser.c | 8391 | ||||
| -rw-r--r-- | util/configparser.h | 853 |
27 files changed, 20740 insertions, 3220 deletions
diff --git a/.gitattributes b/.gitattributes deleted file mode 100644 index 6414a0ab..00000000 --- a/.gitattributes +++ /dev/null @@ -1 +0,0 @@ -testdata/*.[0-9] linguist-documentation diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index 2a357c0c..00000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1,2 +0,0 @@ -github: [NLnetLabs] -custom: ['https://nlnetlabs.nl/funding/'] diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 35d7ee94..00000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve Unbound -title: '' -labels: '' -assignees: '' - ---- - -<!-- -Thanks for taking the time to report an issue! - -Before continuing please make sure that you checked the existing (opened and closed) issues and pull requests to avoid opening a duplicate issue. We would rather prefer to add the information to the existing one. If you are able, feel free to reopen the closed issue afterwards. If not, please create a new issue linking to the old one. - -If you rather have a support question and you need guidance on running/configuring Unbound, please refrain from opening an issue and use the community support mailing list instead (https://www.nlnetlabs.nl/support/mailing-lists/). -We would like to keep GitHub issues for possible bugs and feature requests only. - -If you are unsure whether an issue is a bug or not, feel free to reach out to mailing list users or open an issue here. - -If you are opening an issue, please complete as much of the following sections as possible to give us a better understanding of your situation. ---> - -**Describe the bug** -A clear and concise description of what the bug is. - -**To reproduce** -Steps to reproduce the behavior: -1. -2. -3. - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**System:** - - Unbound version: - - OS: - - `unbound -V` output: - -**Additional information** -Add any other information that you may have gathered about the issue here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index e9ca08b7..00000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for Unbound -title: "[FR]" -labels: '' -assignees: '' - ---- - -<!-- -Thanks for taking the time to report an issue! - -Before continuing please make sure that you checked the existing (opened and closed) issues and pull requests to avoid opening a duplicate issue. We would rather prefer to add the information to the existing one. If you are able, feel free to reopen the closed issue afterwards. If not, please create a new issue linking to the old one. - -If you rather have a support question and you need guidance on running/configuring Unbound, please refrain from opening an issue and use the community support mailing list instead (https://www.nlnetlabs.nl/support/mailing-lists/). -We would like to keep GitHub issues for possible bugs and feature requests only. - -If you are unsure whether an issue is a bug or not, feel free to reach out to mailing list users or open an issue here. - -If you are opening an issue, please complete as much of the following sections as possible to give us a better understanding of your situation. ---> - -**Current behavior** -Is there a current behavior that the feature relates to? -If yes, would you wish the current behavior to change? - -**Describe the desired feature** -A clear and concise description of what the feature should be. - -**Potential use-case** -Describe how you see this feature being useful to other Unbound users. diff --git a/.github/workflows/analysis_ports.yml b/.github/workflows/analysis_ports.yml deleted file mode 100644 index 8494187b..00000000 --- a/.github/workflows/analysis_ports.yml +++ /dev/null @@ -1,394 +0,0 @@ -name: Analysis and Ports - -on: - workflow_dispatch: - inputs: - start: - description: 'Start analysis and port workflow' - default: 'yes' - required: true - -jobs: - build: - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - include: - - name: GCC on Linux - os: ubuntu-latest - config: "--enable-debug --disable-flto" - make_test: "yes" - - name: Clang-analyzer - os: ubuntu-latest - config: "CC=clang --enable-debug --disable-flto --disable-static" - make_test: "yes" - clang_analysis: "yes" - - name: libevent - os: ubuntu-latest - install_libevent: "yes" - config: "CC=clang --enable-debug --disable-flto --with-libevent --disable-static" - make_test: "yes" - clang_analysis: "yes" - - name: OS X - os: macos-latest - install_expat: "yes" - config: "--enable-debug --disable-flto --with-ssl=/opt/homebrew/opt/openssl --with-libexpat=/opt/homebrew/opt/expat" - make_test: "yes" - - name: Clang on OS X - os: macos-latest - install_expat: "yes" - config: "CC=clang --enable-debug --disable-flto --with-ssl=/opt/homebrew/opt/openssl --with-libexpat=/opt/homebrew/opt/expat --disable-static" - make_test: "yes" - clang_analysis: "yes" - - name: ubsan (gcc undefined behaviour sanitizer) - os: ubuntu-latest - config: 'CFLAGS="-DNDEBUG -g2 -O3 -fsanitize=undefined -fno-sanitize-recover=all" --disable-flto --disable-static' - make_test: "yes" - - name: asan (gcc address sanitizer) - os: ubuntu-latest - config: 'CFLAGS="-DNDEBUG -g2 -O3 -fsanitize=address" --disable-flto --disable-static' - make_test: "yes" - - name: Apple iPhone on iOS, arm64 - os: macos-latest - AUTOTOOLS_HOST: aarch64-apple-ios - OPENSSL_HOST: ios64-cross - IOS_SDK: iPhoneOS - IOS_CPU: arm64 - test_ios: "yes" - config: "no" - make: "no" - - name: Apple TV on iOS, arm64 - os: macos-latest - AUTOTOOLS_HOST: aarch64-apple-ios - OPENSSL_HOST: ios64-cross - IOS_SDK: AppleTVOS - IOS_CPU: arm64 - test_ios: "yes" - config: "no" - make: "no" - - name: Apple Watch on iOS, armv7 - os: macos-latest - AUTOTOOLS_HOST: armv7-apple-ios - OPENSSL_HOST: ios-cross - IOS_SDK: WatchOS - IOS_CPU: armv7k - test_ios: "yes" - config: "no" - make: "no" - - name: iPhoneSimulator on OS X, x86_64 - os: macos-latest - AUTOTOOLS_HOST: x86_64-apple-ios - OPENSSL_HOST: iphoneos-cross - IOS_SDK: iPhoneSimulator - IOS_CPU: x86_64 - test_ios: "yes" - config: "no" - make: "no" - - name: AppleTVSimulator on OS X, x86_64 - os: macos-latest - AUTOTOOLS_HOST: x86_64-apple-ios - OPENSSL_HOST: iphoneos-cross - IOS_SDK: AppleTVSimulator - IOS_CPU: x86_64 - test_ios: "yes" - config: "no" - make: "no" - - name: WatchSimulator on OS X, i386 - os: macos-latest - AUTOTOOLS_HOST: i386-apple-ios - OPENSSL_HOST: iphoneos-cross - IOS_SDK: WatchSimulator - IOS_CPU: i386 - test_ios: "yes" - config: "no" - make: "no" - - name: Android armv7a - os: ubuntu-latest - AUTOTOOLS_HOST: armv7a-linux-androidabi - OPENSSL_HOST: android-arm - ANDROID_CPU: armv7a - ANDROID_API: 23 - test_android: "yes" - config: "no" - make: "no" - - name: Android aarch64 - os: ubuntu-latest - AUTOTOOLS_HOST: aarch64-linux-android - OPENSSL_HOST: android-arm64 - ANDROID_CPU: aarch64 - ANDROID_API: 23 - test_android: "yes" - config: "no" - make: "no" - - name: Android x86 - os: ubuntu-latest - AUTOTOOLS_HOST: i686-linux-android - OPENSSL_HOST: android-x86 - ANDROID_CPU: x86 - ANDROID_API: 23 - test_android: "yes" - config: "no" - make: "no" - - name: Android x86_64 - os: ubuntu-latest - AUTOTOOLS_HOST: x86_64-linux-android - OPENSSL_HOST: android-x86_64 - ANDROID_CPU: x86_64 - ANDROID_API: 23 - test_android: "yes" - config: "no" - make: "no" - - name: Windows - os: windows-latest - test_windows: "yes" - config: "no" - make: "no" - - name: FreeBSD - os: ubuntu-latest - config: "no" - make: "no" - with_cross_platform_action: "yes" - cross_platform_os: "freebsd" - cross_platform_arch: "x86-64" - cross_platform_version: "14.1" - cross_platform_config: "--enable-debug --disable-flto --with-libevent --disable-static" - - name: OpenBSD - os: ubuntu-latest - config: "no" - make: "no" - with_cross_platform_action: "yes" - cross_platform_os: "openbsd" - cross_platform_arch: "x86-64" - cross_platform_version: "7.5" - cross_platform_config: "--enable-debug --disable-flto --with-libevent --disable-static" - - name: NetBSD - os: ubuntu-latest - config: "no" - make: "no" - with_cross_platform_action: "yes" - cross_platform_os: "netbsd" - cross_platform_arch: "x86-64" - cross_platform_version: "10.0" - cross_platform_config: "--enable-debug --disable-flto --with-libevent --disable-static" - - steps: - - uses: actions/checkout@v7 - with: - submodules: false - persist-credentials: false - - name: test_windows - if: ${{ matrix.test_windows == 'yes' }} - env: - LIBEXPAT_FNAME: expat-2.7.0 - LIBEXPAT_VERSION_DIR: R_2_7_0 - shell: bash - run: | - export unboundpath=`pwd` - echo unboundpath=${unboundpath} - cd .. - export prepath=`pwd` - echo prepath=${prepath} - # parralel build option - export MINJ="-j4" - echo "choco install winflexbison3" - choco install winflexbison3 - echo 'LEX="win_flex"' - export LEX="win_flex" - echo 'YACC="win_bison -y"' - export YACC="win_bison -y" - mkdir openssl - echo "curl openssl" - curl -L -k -s -S -o openssl-3.2.0.tar.gz https://www.openssl.org/source/openssl-3.2.0.tar.gz - tar xzf openssl-3.2.0.tar.gz - cd openssl-3.2.0 - # remove pod::Usage because we do not need -help or -man output - # from the Configure script, this fixes it for openssl 1.1.1 - #echo "Fixup ./Configure by removing use Pod::Usage require" - #sed -e 's/use Pod::Usage//' < Configure > Configure.fix - # ./Configure.fix no-shared no-asm -DOPENSSL_NO_CAPIENG mingw64 --prefix="$prepath/openssl" - # pacman is used to install for msys2, with - # C:/msys64/usr/bin/pacman -S perl - echo "C:/msys64/usr/bin/perl ./Configure no-shared no-asm -DOPENSSL_NO_CAPIENG mingw64 --prefix=\""$prepath/openssl"\" PERL=\"C:/msys64/usr/bin/perl\"" - C:/msys64/usr/bin/perl ./Configure no-shared no-asm -DOPENSSL_NO_CAPIENG mingw64 --prefix="$prepath/openssl" PERL="C:/msys64/usr/bin/perl" - # make the libs only, build faster - echo "make build_libs" - #make $MINJ - make $MINJ build_libs - mv Makefile Makefile.orig - # fixup \\ in the installtop to /. - echo "fixup INSTALLTOP" - sed -e 's?^INSTALLTOP=.*$?INSTALLTOP='"$prepath"'/openssl?' < Makefile.orig > Makefile - # install the includes and libs only, build faster - echo "make install_dev" - #make install_sw - make install_dev - cd .. - mkdir expat - echo "curl expat" - curl -L -k -s -S -o $LIBEXPAT_FNAME.tar.gz https://github.com/libexpat/libexpat/releases/download/$LIBEXPAT_VERSION_DIR/$LIBEXPAT_FNAME.tar.gz - tar xzf $LIBEXPAT_FNAME.tar.gz - cd $LIBEXPAT_FNAME - echo "./configure SHELL=/usr/bin/bash CONFIG_SHELL=/usr/bin/bash --prefix=\"$prepath/expat\" --exec-prefix=\"$prepath/expat\" --bindir=\"$prepath/expat/bin\" --includedir=\"$prepath/expat/include\" --mandir=\"$prepath/expat/man\" --libdir=\"$prepath/expat/lib\"" - ./configure SHELL=/usr/bin/bash CONFIG_SHELL=/usr/bin/bash --prefix="$prepath/expat" --exec-prefix="$prepath/expat" --bindir="$prepath/expat/bin" --includedir="$prepath/expat/include" --mandir="$prepath/expat/man" --libdir="$prepath/expat/lib" - # fixup SHELL is treated specially, but SHELZZ is not by make. - echo "Fixup Makefiles by renaming SHELL to SHELLZZ" - mv Makefile Makefile.orig - sed -e 's/SHELL/SHELLZZ/g' < Makefile.orig > Makefile - mv lib/Makefile lib/Makefile.orig - sed -e 's/SHELL/SHELLZZ/g' < lib/Makefile.orig > lib/Makefile - mv doc/Makefile doc/Makefile.orig - sed -e 's/SHELL/SHELLZZ/g' < doc/Makefile.orig > doc/Makefile - mv examples/Makefile examples/Makefile.orig - sed -e 's/SHELL/SHELLZZ/g' < examples/Makefile.orig > examples/Makefile - mv tests/Makefile tests/Makefile.orig - sed -e 's/SHELL/SHELLZZ/g' < tests/Makefile.orig > tests/Makefile - mv xmlwf/Makefile xmlwf/Makefile.orig - sed -e 's/SHELL/SHELLZZ/g' < xmlwf/Makefile.orig > xmlwf/Makefile - echo "make" - make $MINJ - echo "make install" - make install - cd .. - echo "unbound" - cd unbound - echo "./configure --enable-debug --enable-static-exe --disable-flto \"--with-ssl=$prepath/openssl\" --with-libexpat=\"$prepath/expat\" --disable-shared" - ./configure --enable-debug --enable-static-exe --disable-flto "--with-ssl=$prepath/openssl" --with-libexpat="$prepath/expat" --disable-shared - make $MINJ - # specific test output - #make testbound.exe; ./testbound.exe -s - #make testbound; ./testbound.exe -p testdata/acl.rpl -o -vvvv - make test - - name: test_android - if: ${{ matrix.test_android == 'yes' }} - env: - AUTOTOOLS_HOST: ${{ matrix.AUTOTOOLS_HOST }} - OPENSSL_HOST: ${{ matrix.OPENSSL_HOST }} - ANDROID_API: ${{ matrix.ANDROID_API }} - ANDROID_CPU: ${{ matrix.ANDROID_CPU }} - run: | - #(already installed) ./contrib/android/install_tools.sh - export ANDROID_PREFIX="$HOME/android$ANDROID_API-$ANDROID_CPU" - echo ANDROID_PREFIX=${ANDROID_PREFIX} - export ANDROID_SDK_ROOT="$HOME/android-sdk" - echo ANDROID_SDK_ROOT=${ANDROID_SDK_ROOT} - export ANDROID_NDK_ROOT="$HOME/android-ndk" - echo ANDROID_NDK_ROOT=${ANDROID_NDK_ROOT} - export AUTOTOOLS_BUILD="$(./config.guess)" - echo AUTOTOOLS_BUILD=${AUTOTOOLS_BUILD} - export PKG_CONFIG_PATH="$ANDROID_PREFIX/lib/pkgconfig" - echo PKG_CONFIG_PATH=${PKG_CONFIG_PATH} - export CONFIG_OPTS="--build=$AUTOTOOLS_BUILD --host=$AUTOTOOLS_HOST --prefix=$ANDROID_PREFIX --with-ssl=$ANDROID_PREFIX --disable-gost --with-libexpat=$ANDROID_PREFIX" - echo CONFIG_OPTS=${CONFIG_OPTS} - echo "::group::install_ndk" - echo "./contrib/android/install_ndk.sh" - ./contrib/android/install_ndk.sh - echo "::endgroup::" - echo "::group::setenv_android.sh" - echo "./contrib/android/setenv_android.sh" - source ./contrib/android/setenv_android.sh - echo "::endgroup::" - echo "::group::install_openssl" - echo "./contrib/android/install_openssl.sh" - ./contrib/android/install_openssl.sh - echo "::endgroup::" - echo "::group::install_expat" - echo "./contrib/android/install_expat.sh" - ./contrib/android/install_expat.sh - echo "::endgroup::" - echo "::group::configure" - echo "./configure ${CONFIG_OPTS}" - ./configure ${CONFIG_OPTS} - echo "::endgroup::" - echo "::group::make" - # make is here to preserve environment variables - make - echo "::endgroup::" - echo "::group::make install" - make install - echo "::endgroup::" - - name: test ios - if: ${{ matrix.test_ios == 'yes' }} - env: - AUTOTOOLS_HOST: ${{ matrix.AUTOTOOLS_HOST }} - OPENSSL_HOST: ${{ matrix.OPENSSL_HOST }} - IOS_SDK: ${{ matrix.IOS_SDK }} - IOS_CPU: ${{ matrix.IOS_CPU }} - run: | - #(already installed) ./contrib/ios/install_tools.sh - export AUTOTOOLS_BUILD="$(./config.guess)" - echo AUTOTOOLS_BUILD=${AUTOTOOLS_BUILD} - export IOS_PREFIX="$HOME/$IOS_SDK-$IOS_CPU" - echo IOS_PREFIX=${IOS_PREFIX} - export PKG_CONFIG_PATH="$IOS_PREFIX/lib/pkgconfig" - echo PKG_CONFIG_PATH=${PKG_CONFIG_PATH} - export CONFIG_OPTS="--build=$AUTOTOOLS_BUILD --host=$AUTOTOOLS_HOST --prefix=$IOS_PREFIX --with-ssl=$IOS_PREFIX --disable-gost --with-libexpat=$IOS_PREFIX" - echo CONFIG_OPTS=${CONFIG_OPTS} - echo "::group::setenv_ios.sh" - echo "./contrib/ios/setenv_ios.sh" - source ./contrib/ios/setenv_ios.sh - echo "::endgroup::" - echo "::group::install_openssl" - echo "./contrib/ios/install_openssl.sh" - ./contrib/ios/install_openssl.sh - echo "::endgroup::" - echo "::group::install_expat" - echo "./contrib/ios/install_expat.sh" - ./contrib/ios/install_expat.sh - echo "::endgroup::" - echo "::group::configure" - echo "./configure ${CONFIG_OPTS}" - ./configure ${CONFIG_OPTS} - echo "::endgroup::" - echo "::group::make" - # make is here to preserve environment variables - make - echo "::endgroup::" - echo "::group::make install" - make install - echo "::endgroup::" - - name: cross-platform-action on ${{ matrix.cross_platform_os }} ${{ matrix.cross_platform_version }} - if: ${{ matrix.with_cross_platform_action == 'yes' }} - uses: cross-platform-actions/action@v1.0.0 - env: - CROSS_PLATFORM_OS: ${{ matrix.cross_platform_os }} - with: - environment_variables: CROSS_PLATFORM_OS - operating_system: ${{ matrix.cross_platform_os }} - architecture: ${{ matrix.cross_platform_arch }} - version: ${{ matrix.cross_platform_version }} - shell: bash - memory: 4G - cpu_count: 2 - run: | - set -e -x - if test "$CROSS_PLATFORM_OS" = "freebsd"; then sudo pkg install -y openssl libevent expat; fi - if test "$CROSS_PLATFORM_OS" = "openbsd"; then sudo pkg_add libevent; fi - if test "$CROSS_PLATFORM_OS" = "netbsd"; then sudo pkgin -y install libevent; fi - echo "::group::configure" - ./configure ${{ matrix.cross_platform_config }} - echo "::endgroup::" - echo "::group::make" - make - echo "::endgroup::" - echo "::group::make test" - make test - echo "::endgroup::" - - name: install libevent - if: ${{ matrix.install_libevent == 'yes' }} - run: sudo apt-get install libevent-dev - - name: install expat - if: ${{ matrix.install_expat == 'yes' }} - run: brew install expat - - name: configure - if: ${{ matrix.config != 'no' }} - run: ./configure ${{ matrix.config }} - - name: make - if: ${{ matrix.make != 'no' }} - run: make - - name: make test - if: ${{ matrix.make_test == 'yes' }} - run: make test - - name: clang-analysis - if: ${{ matrix.clang_analysis == 'yes' }} - run: (cd testdata/clang-analysis.tdir; bash clang-analysis.test) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index 61f3473e..00000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: ci - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v7 - with: - persist-credentials: false - - name: configure - run: ./configure --enable-debug - - name: make - run: make - - name: make test - run: make test diff --git a/.gitignore b/.gitignore deleted file mode 100644 index b8f38989..00000000 --- a/.gitignore +++ /dev/null @@ -1,65 +0,0 @@ -*.lo -*.o -/.libs/ -/.source -/Makefile -/autom4te.cache/ -/config.h -/config.h.in~ -/config.log -/config.status -/dnstap/dnstap_config.h -/dnscrypt/dnscrypt_config.h -/util/configlexer.c -/util/configparser.c -/util/configparser.h -/clubsyms.def -/doc/example.conf -/doc/libunbound.3 -/doc/unbound-anchor.8 -/doc/unbound-checkconf.8 -/doc/unbound-control.8 -/doc/unbound-host.1 -/doc/unbound.8 -/doc/unbound.conf.5 -/libtool -/libunbound.la -/_unbound.la -/smallapp/unbound-control-setup.sh -/unbound -/unbound-anchor -/unbound-checkconf -/unbound-control -/unbound-control-setup -/unbound-host -/unbound.h -/asynclook -/delayer -/dohclient -/doqclient -/lock-verify -/memstats -/perf -/petal -/pktview -/readzone -/streamtcp -/unbound-dnstap-socket -/testbound -/unittest -/contrib/libunbound.pc -/contrib/unbound.service -/contrib/unbound.socket -/contrib/unbound_portable.service -/dnstap/dnstap.pb-c.c -/dnstap/dnstap.pb-c.h -/libunbound/python/libunbound_wrap.c -/libunbound/python/unbound.py -/pythonmod/interface.h -/pythonmod/unboundmodule.py -/testdata/result.* -/testdata/.done-* -/testdata/.skip-* -/testdata/.perfstats.txt -/doc/html -/doc/xml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 1f514b5d..00000000 --- a/.travis.yml +++ /dev/null @@ -1,380 +0,0 @@ -language: c - -git: - depth: 5 - -addons: - apt: - packages: - - libssl-dev - - libevent-dev - - libexpat-dev - - clang - homebrew: - packages: - - openssl - - libevent - - expat - # homebrew update takes 20min or hangs, so disable update - #update: true - -jobs: - include: - - os: linux - name: GCC on Linux, Amd64 - compiler: gcc - arch: amd64 - env: - - CONFIG_OPTS="--enable-debug --disable-flto" - - os: linux - name: Clang on Linux, Amd64, clang-analysis - compiler: clang - arch: amd64 - env: - - CONFIG_OPTS="--enable-debug --disable-flto" - - TEST_ANALYZER=yes - - os: osx - osx_image: xcode12.2 - name: Clang on OS X, Amd64, clang-analysis - compiler: clang - arch: amd64 - env: - - TEST_OSX=yes - - CONFIG_OPTS="--enable-debug --disable-flto --with-ssl=/usr/local/opt/openssl --with-libexpat=/usr/local/opt/expat" - - TEST_ANALYZER=yes - - HOMEBREW_NO_AUTO_UPDATE=1 - - os: linux - name: Libevent, GCC on Linux, Amd64 - compiler: gcc - arch: amd64 - env: - - TEST_LIBEVENT=yes - - CONFIG_OPTS="--with-libevent" - - os: linux - name: Libevent, Clang on Linux, Amd64 - compiler: clang - arch: amd64 - env: - - TEST_LIBEVENT=yes - - CONFIG_OPTS="--with-libevent" - - os: osx - osx_image: xcode12.2 - name: Libevent, Clang on OS X, Amd64 - compiler: clang - arch: amd64 - env: - - TEST_OSX=yes - - TEST_LIBEVENT=yes - - CONFIG_OPTS="--disable-flto --with-ssl=/usr/local/opt/openssl --with-libevent=/usr/local/opt/libevent --with-libexpat=/usr/local/opt/expat" - - HOMEBREW_NO_AUTO_UPDATE=1 - - os: linux - name: UBsan, GCC on Linux, Amd64 - compiler: gcc - arch: amd64 - dist: bionic - env: - - TEST_UBSAN=yes - - os: linux - name: UBsan, Clang on Linux, Amd64 - compiler: clang - arch: amd64 - dist: bionic - env: - - TEST_UBSAN=yes - - os: linux - name: Asan, GCC on Linux, Amd64 - compiler: gcc - arch: amd64 - dist: bionic - env: - - TEST_ASAN=yes - - os: linux - name: Asan, Clang on Linux, Amd64 - compiler: clang - arch: amd64 - dist: bionic - env: - - TEST_ASAN=yes - - os: linux - name: GCC on Linux, Aarch64 - compiler: gcc - arch: arm64 - dist: bionic - env: - - CONFIG_OPTS="--enable-debug --disable-flto" - - os: linux - name: Clang on Linux, Aarch64 - compiler: clang - arch: arm64 - dist: bionic - env: - - CONFIG_OPTS="--enable-debug --disable-flto" - - os: linux - name: GCC on Linux, PowerPC64 - compiler: gcc - arch: ppc64le - dist: bionic - env: - - CONFIG_OPTS="--enable-debug --disable-flto" - - os: linux - name: Clang on Linux, PowerPC64 - compiler: clang - arch: ppc64le - dist: bionic - env: - - CONFIG_OPTS="--enable-debug --disable-flto" - - os: linux - name: GCC on Linux, s390x - compiler: gcc - arch: s390x - dist: bionic - env: - - CONFIG_OPTS="--enable-debug --disable-flto" - - os: linux - name: Clang on Linux, s390x - compiler: clang - arch: s390x - dist: bionic - env: - - CONFIG_OPTS="--enable-debug --disable-flto" - - os: osx - osx_image: xcode12.2 - name: Apple iPhone on iOS, armv7 - compiler: clang - env: - - TEST_IOS=yes - - AUTOTOOLS_HOST=armv7-apple-ios - - OPENSSL_HOST=ios-cross - - IOS_SDK=iPhoneOS - - IOS_CPU=armv7s - - IOS_PREFIX="$HOME/$IOS_SDK-$IOS_CPU" - - HOMEBREW_NO_AUTO_UPDATE=1 - - os: osx - osx_image: xcode12.2 - name: Apple iPhone on iOS, arm64 - compiler: clang - env: - - TEST_IOS=yes - - AUTOTOOLS_HOST=aarch64-apple-ios - - OPENSSL_HOST=ios64-cross - - IOS_SDK=iPhoneOS - - IOS_CPU=arm64 - - IOS_PREFIX="$HOME/$IOS_SDK-$IOS_CPU" - - HOMEBREW_NO_AUTO_UPDATE=1 - - os: osx - osx_image: xcode12.2 - name: Apple TV on iOS, arm64 - compiler: clang - env: - - TEST_IOS=yes - - AUTOTOOLS_HOST=aarch64-apple-ios - - OPENSSL_HOST=ios64-cross - - IOS_SDK=AppleTVOS - - IOS_CPU=arm64 - - IOS_PREFIX="$HOME/$IOS_SDK-$IOS_CPU" - - HOMEBREW_NO_AUTO_UPDATE=1 - - os: osx - osx_image: xcode12.2 - name: Apple Watch on iOS, armv7 - compiler: clang - env: - - TEST_IOS=yes - - AUTOTOOLS_HOST=armv7-apple-ios - - OPENSSL_HOST=ios-cross - - IOS_SDK=WatchOS - - IOS_CPU=armv7k - - IOS_PREFIX="$HOME/$IOS_SDK-$IOS_CPU" - - HOMEBREW_NO_AUTO_UPDATE=1 - - os: osx - osx_image: xcode12.2 - name: iPhoneSimulator on OS X, i386 - env: - - TEST_IOS=yes - - AUTOTOOLS_HOST=i386-apple-ios - - OPENSSL_HOST=iphoneos-cross - - IOS_CPU=i386 - - IOS_SDK=iPhoneSimulator - - IOS_PREFIX="$HOME/$IOS_SDK-$IOS_CPU" - - HOMEBREW_NO_AUTO_UPDATE=1 - - os: osx - osx_image: xcode12.2 - name: iPhoneSimulator on OS X, x86_64 - env: - - TEST_IOS=yes - - AUTOTOOLS_HOST=x86_64-apple-ios - - OPENSSL_HOST=iphoneos-cross - - IOS_CPU=x86_64 - - IOS_SDK=iPhoneSimulator - - IOS_PREFIX="$HOME/$IOS_SDK-$IOS_CPU" - - HOMEBREW_NO_AUTO_UPDATE=1 - - os: osx - osx_image: xcode12.2 - name: AppleTVSimulator on OS X, x86_64 - env: - - TEST_IOS=yes - - AUTOTOOLS_HOST=x86_64-apple-ios - - OPENSSL_HOST=iphoneos-cross - - IOS_CPU=x86_64 - - IOS_SDK=AppleTVSimulator - - IOS_PREFIX="$HOME/$IOS_SDK-$IOS_CPU" - - HOMEBREW_NO_AUTO_UPDATE=1 - - os: osx - osx_image: xcode12.2 - name: WatchSimulator on OS X, i386 - env: - - TEST_IOS=yes - - AUTOTOOLS_HOST=i386-apple-ios - - OPENSSL_HOST=iphoneos-cross - - IOS_CPU=i386 - - IOS_SDK=WatchSimulator - - IOS_PREFIX="$HOME/$IOS_SDK-$IOS_CPU" - - HOMEBREW_NO_AUTO_UPDATE=1 - - os: linux - name: Android armv7a, Linux, Amd64 - compiler: clang - arch: amd64 - dist: bionic - env: - - TEST_ANDROID=yes - - AUTOTOOLS_HOST=armv7a-linux-androideabi - - OPENSSL_HOST=android-arm - - ANDROID_CPU=armv7a - - ANDROID_API=23 - - ANDROID_PREFIX="$HOME/android$ANDROID_API-$ANDROID_CPU" - - ANDROID_SDK_ROOT="$HOME/android-sdk" - - ANDROID_NDK_ROOT="$HOME/android-ndk" - - os: linux - name: Android aarch64, Linux, Amd64 - compiler: clang - arch: amd64 - dist: bionic - env: - - TEST_ANDROID=yes - - AUTOTOOLS_HOST=aarch64-linux-android - - OPENSSL_HOST=android-arm64 - - ANDROID_CPU=aarch64 - - ANDROID_API=23 - - ANDROID_PREFIX="$HOME/android$ANDROID_API-$ANDROID_CPU" - - ANDROID_SDK_ROOT="$HOME/android-sdk" - - ANDROID_NDK_ROOT="$HOME/android-ndk" - - os: linux - name: Android x86, Linux, Amd64 - compiler: clang - arch: amd64 - dist: bionic - env: - - TEST_ANDROID=yes - - AUTOTOOLS_HOST=i686-linux-android - - OPENSSL_HOST=android-x86 - - ANDROID_CPU=x86 - - ANDROID_API=23 - - ANDROID_PREFIX="$HOME/android$ANDROID_API-$ANDROID_CPU" - - ANDROID_SDK_ROOT="$HOME/android-sdk" - - ANDROID_NDK_ROOT="$HOME/android-ndk" - - os: linux - name: Android x86_64, Linux, Amd64 - compiler: clang - arch: amd64 - dist: bionic - env: - - TEST_ANDROID=yes - - AUTOTOOLS_HOST=x86_64-linux-android - - OPENSSL_HOST=android-x86_64 - - ANDROID_CPU=x86_64 - - ANDROID_API=23 - - ANDROID_PREFIX="$HOME/android$ANDROID_API-$ANDROID_CPU" - - ANDROID_SDK_ROOT="$HOME/android-sdk" - - ANDROID_NDK_ROOT="$HOME/android-ndk" - - allow_failures: - - os: osx - name: Apple iPhone on iOS, armv7 - - os: osx - name: Apple iPhone on iOS, arm64 - - os: osx - name: Apple TV on iOS, arm64 - - os: osx - name: Apple Watch on iOS, armv7 - - os: osx - name: iPhoneSimulator on OS X, i386 - - os: osx - name: iPhoneSimulator on OS X, x86_64 - - os: osx - name: AppleTVSimulator on OS X, x86_64 - - os: osx - name: WatchSimulator on OS X, i386 - - os: linux - name: Android armv7a, Linux, Amd64 - - os: linux - name: Android aarch64, Linux, Amd64 - - os: linux - name: Android x86, Linux, Amd64 - - os: linux - name: Android x86_64, Linux, Amd64 - -before_script: - - | - if [ "$TEST_ANDROID" = "yes" ]; then - ./contrib/android/install_tools.sh - elif [ "$TEST_IOS" = "yes" ]; then - ./contrib/ios/install_tools.sh - fi - -# The Travis docs say to avoid calling exit in the script. It leads to -# some code duplication to avoid failures in cross-compiles. Also see -# https://docs.travis-ci.com/user/job-lifecycle/ in the Travis docs. -script: - - | - export MAKE_TEST="yes" - if [ "$TEST_UBSAN" = "yes" ]; then - export CFLAGS="-DNDEBUG -g2 -O3 -fsanitize=undefined -fno-sanitize-recover=all" - elif [ "$TEST_ASAN" = "yes" ]; then - export CFLAGS="-DNDEBUG -g2 -O3 -fsanitize=address" - fi - - | - if [ "$TEST_IOS" = "yes" ]; then - export AUTOTOOLS_BUILD="$(./config.guess)" - export PKG_CONFIG_PATH="$IOS_PREFIX/lib/pkgconfig" - source ./contrib/ios/setenv_ios.sh - ./contrib/ios/install_openssl.sh - ./contrib/ios/install_expat.sh - export CONFIG_OPTS="\ - --build=$AUTOTOOLS_BUILD --host=$AUTOTOOLS_HOST \ - --prefix=$IOS_PREFIX \ - --with-ssl=$IOS_PREFIX --disable-gost \ - --with-libexpat=$IOS_PREFIX " - echo CONFIG_OPTS ${CONFIG_OPTS} - export MAKE_TEST=no - export TEST_INSTALL=yes - fi - - | - if [ "$TEST_ANDROID" = "yes" ]; then - export AUTOTOOLS_BUILD="$(./config.guess)" - export PKG_CONFIG_PATH="$ANDROID_PREFIX/lib/pkgconfig" - ./contrib/android/install_ndk.sh - source ./contrib/android/setenv_android.sh - ./contrib/android/install_openssl.sh - ./contrib/android/install_expat.sh - export CONFIG_OPTS="\ - --build=$AUTOTOOLS_BUILD --host=$AUTOTOOLS_HOST \ - --prefix=$ANDROID_PREFIX \ - --with-ssl=$ANDROID_PREFIX --disable-gost \ - --with-libexpat=$ANDROID_PREFIX " - echo CONFIG_OPTS ${CONFIG_OPTS} - export MAKE_TEST=no - export TEST_INSTALL=yes - fi - - ./configure ${CONFIG_OPTS} - - make -j 2 - - | - if [ "$MAKE_TEST" = "yes" ]; then - make test - fi - - | - if [ "$TEST_INSTALL" = "yes" ]; then - make install - fi - - | - if [ "$TEST_ANALYZER" = "yes" ]; then - (cd testdata/clang-analysis.tdir; bash clang-analysis.test) - fi @@ -1,6 +1,6 @@ -# generated automatically by aclocal 1.16.2 -*- Autoconf -*- +# generated automatically by aclocal 1.18.1 -*- Autoconf -*- -# Copyright (C) 1996-2020 Free Software Foundation, Inc. +# Copyright (C) 1996-2025 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -14,7 +14,8 @@ m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- # -# Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc. +# Copyright (C) 1996-2001, 2003-2019, 2021-2024 Free Software +# Foundation, Inc. # Written by Gordon Matzigkeit, 1996 # # This file is free software; the Free Software Foundation gives @@ -22,13 +23,13 @@ m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun # modifications, as long as this notice is preserved. m4_define([_LT_COPYING], [dnl -# Copyright (C) 2014 Free Software Foundation, Inc. +# Copyright (C) 2024 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # GNU Libtool is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of of the License, or +# the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # As a special exception to the GNU General Public License, if you @@ -45,7 +46,7 @@ m4_define([_LT_COPYING], [dnl # along with this program. If not, see <http://www.gnu.org/licenses/>. ]) -# serial 58 LT_INIT +# serial 63 LT_INIT # LT_PREREQ(VERSION) @@ -73,7 +74,7 @@ esac # LT_INIT([OPTIONS]) # ------------------ AC_DEFUN([LT_INIT], -[AC_PREREQ([2.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK +[AC_PREREQ([2.64])dnl We use AC_PATH_PROGS_FEATURE_CHECK AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl AC_BEFORE([$0], [LT_LANG])dnl AC_BEFORE([$0], [LT_OUTPUT])dnl @@ -195,6 +196,7 @@ m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_CHECK_SHELL_FEATURES])dnl m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl m4_require([_LT_CMD_RELOAD])dnl +m4_require([_LT_DECL_FILECMD])dnl m4_require([_LT_CHECK_MAGIC_METHOD])dnl m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl m4_require([_LT_CMD_OLD_ARCHIVE])dnl @@ -233,8 +235,8 @@ esac ofile=libtool can_build_shared=yes -# All known linkers require a '.a' archive for static linking (except MSVC, -# which needs '.lib'). +# All known linkers require a '.a' archive for static linking (except MSVC and +# ICC, which need '.lib'). libext=a with_gnu_ld=$lt_cv_prog_gnu_ld @@ -622,7 +624,7 @@ m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT # LT_OUTPUT # --------- # This macro allows early generation of the libtool script (before -# AC_OUTPUT is called), incase it is used in configure for compilation +# AC_OUTPUT is called), in case it is used in configure for compilation # tests. AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt} @@ -657,9 +659,9 @@ m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) configured by $[0], generated by m4_PACKAGE_STRING. -Copyright (C) 2011 Free Software Foundation, Inc. +Copyright (C) 2024 Free Software Foundation, Inc. This config.lt script is free software; the Free Software Foundation -gives unlimited permision to copy, distribute and modify it." +gives unlimited permission to copy, distribute and modify it." while test 0 != $[#] do @@ -736,7 +738,6 @@ _LT_CONFIG_SAVE_COMMANDS([ cat <<_LT_EOF >> "$cfgfile" #! $SHELL # Generated automatically by $as_me ($PACKAGE) $VERSION -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # NOTE: Changes made to this file will be lost: look at ltmain.sh. # Provide generalized library-building support services. @@ -786,7 +787,7 @@ _LT_EOF # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? - sed '$q' "$ltmain" >> "$cfgfile" \ + $SED '$q' "$ltmain" >> "$cfgfile" \ || (rm -f "$cfgfile"; exit 1) mv -f "$cfgfile" "$ofile" || @@ -979,6 +980,7 @@ _lt_linker_boilerplate=`cat conftest.err` $RM -r conftest* ])# _LT_LINKER_BOILERPLATE + # _LT_REQUIRED_DARWIN_CHECKS # ------------------------- m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[ @@ -1029,6 +1031,21 @@ m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[ rm -f conftest.* fi]) + # Feature test to disable chained fixups since it is not + # compatible with '-undefined dynamic_lookup' + AC_CACHE_CHECK([for -no_fixup_chains linker flag], + [lt_cv_support_no_fixup_chains], + [ save_LDFLAGS=$LDFLAGS + LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains" + AC_LINK_IFELSE( + [AC_LANG_PROGRAM([],[])], + lt_cv_support_no_fixup_chains=yes, + lt_cv_support_no_fixup_chains=no + ) + LDFLAGS=$save_LDFLAGS + ] + ) + AC_CACHE_CHECK([for -exported_symbols_list linker flag], [lt_cv_ld_exported_symbols_list], [lt_cv_ld_exported_symbols_list=no @@ -1048,12 +1065,12 @@ int forced_loaded() { return 2;} _LT_EOF echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD - echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD - $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD + echo "$AR $AR_FLAGS libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD + $AR $AR_FLAGS libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD cat > conftest.c << _LT_EOF -int main() { return 0;} +int main(void) { return 0;} _LT_EOF echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err @@ -1073,23 +1090,37 @@ _LT_EOF _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; darwin1.*) _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; - darwin*) # darwin 5.x on - # if running on 10.5 or later, the deployment target defaults - # to the OS version, if on x86, and 10.4, the deployment - # target defaults to 10.4. Don't you love it? - case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in - 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) - _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; - 10.[[012]][[,.]]*) - _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; - 10.*) - _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; + darwin*) + case $MACOSX_DEPLOYMENT_TARGET,$host in + 10.[[012]],*|,*powerpc*-darwin[[5-8]]*) + _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; + *) + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' + if test yes = "$lt_cv_support_no_fixup_chains"; then + AS_VAR_APPEND([_lt_dar_allow_undefined], [' $wl-no_fixup_chains']) + fi + ;; esac ;; esac if test yes = "$lt_cv_apple_cc_single_mod"; then _lt_dar_single_mod='$single_module' fi + _lt_dar_needs_single_mod=no + case $host_os in + rhapsody* | darwin1.*) + _lt_dar_needs_single_mod=yes ;; + darwin*) + # When targeting Mac OS X 10.4 (darwin 8) or later, + # -single_module is the default and -multi_module is unsupported. + # The toolchain on macOS 10.14 (darwin 18) and later cannot + # target any OS version that needs -single_module. + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in + 10.0,*-darwin[[567]].*|10.[[0-3]],*-darwin[[5-9]].*|10.[[0-3]],*-darwin1[[0-7]].*) + _lt_dar_needs_single_mod=yes ;; + esac + ;; + esac if test yes = "$lt_cv_ld_exported_symbols_list"; then _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' else @@ -1132,12 +1163,12 @@ m4_defun([_LT_DARWIN_LINKER_FEATURES], output_verbose_link_cmd=func_echo_all _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" - _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil" - _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil" + _LT_TAGVAR(archive_expsym_cmds, $1)="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil" + _LT_TAGVAR(module_expsym_cmds, $1)="$SED -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil" m4_if([$1], [CXX], -[ if test yes != "$lt_cv_apple_cc_single_mod"; then +[ if test yes = "$_lt_dar_needs_single_mod" -a yes != "$lt_cv_apple_cc_single_mod"; then _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil" - _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil" + _LT_TAGVAR(archive_expsym_cmds, $1)="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil" fi ],[]) else @@ -1251,7 +1282,8 @@ _LT_DECL([], [ECHO], [1], [An echo program that protects backslashes]) # _LT_WITH_SYSROOT # ---------------- AC_DEFUN([_LT_WITH_SYSROOT], -[AC_MSG_CHECKING([for sysroot]) +[m4_require([_LT_DECL_SED])dnl +AC_MSG_CHECKING([for sysroot]) AC_ARG_WITH([sysroot], [AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@], [Search for dependent libraries within DIR (or the compiler's sysroot @@ -1264,11 +1296,13 @@ lt_sysroot= case $with_sysroot in #( yes) if test yes = "$GCC"; then - lt_sysroot=`$CC --print-sysroot 2>/dev/null` + # Trim trailing / since we'll always append absolute paths and we want + # to avoid //, if only for less confusing output for the user. + lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'` fi ;; #( /*) - lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` + lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"` ;; #( no|'') ;; #( @@ -1298,7 +1332,7 @@ ia64-*-hpux*) # options accordingly. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.$ac_objext` in + case `$FILECMD conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE=32 ;; @@ -1315,7 +1349,7 @@ ia64-*-hpux*) echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then if test yes = "$lt_cv_prog_gnu_ld"; then - case `/usr/bin/file conftest.$ac_objext` in + case `$FILECMD conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -melf32bsmip" ;; @@ -1327,7 +1361,7 @@ ia64-*-hpux*) ;; esac else - case `/usr/bin/file conftest.$ac_objext` in + case `$FILECMD conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; @@ -1349,7 +1383,7 @@ mips64*-*linux*) echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then emul=elf - case `/usr/bin/file conftest.$ac_objext` in + case `$FILECMD conftest.$ac_objext` in *32-bit*) emul="${emul}32" ;; @@ -1357,7 +1391,7 @@ mips64*-*linux*) emul="${emul}64" ;; esac - case `/usr/bin/file conftest.$ac_objext` in + case `$FILECMD conftest.$ac_objext` in *MSB*) emul="${emul}btsmip" ;; @@ -1365,7 +1399,7 @@ mips64*-*linux*) emul="${emul}ltsmip" ;; esac - case `/usr/bin/file conftest.$ac_objext` in + case `$FILECMD conftest.$ac_objext` in *N32*) emul="${emul}n32" ;; @@ -1376,7 +1410,7 @@ mips64*-*linux*) ;; x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ -s390*-*linux*|s390*-*tpf*|sparc*-*linux*) +s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. Note that the listed cases only cover the # situations where additional linker options are needed (such as when @@ -1385,14 +1419,14 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) # not appear in the list. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.o` in + case `$FILECMD conftest.o` in *32-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_i386_fbsd" ;; - x86_64-*linux*) - case `/usr/bin/file conftest.o` in + x86_64-*linux*|x86_64-gnu*) + case `$FILECMD conftest.o` in *x86-64*) LD="${LD-ld} -m elf32_x86_64" ;; @@ -1420,7 +1454,7 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_x86_64_fbsd" ;; - x86_64-*linux*) + x86_64-*linux*|x86_64-gnu*) LD="${LD-ld} -m elf_x86_64" ;; powerpcle-*linux*) @@ -1460,7 +1494,7 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) # options accordingly. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.o` in + case `$FILECMD conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in yes*) @@ -1499,9 +1533,22 @@ need_locks=$enable_libtool_lock m4_defun([_LT_PROG_AR], [AC_CHECK_TOOLS(AR, [ar], false) : ${AR=ar} -: ${AR_FLAGS=cru} _LT_DECL([], [AR], [1], [The archiver]) -_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive]) + +# Use ARFLAGS variable as AR's operation code to sync the variable naming with +# Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have +# higher priority because that's what people were doing historically (setting +# ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS +# variable obsoleted/removed. + +test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr} +lt_ar_flags=$AR_FLAGS +_LT_DECL([], [lt_ar_flags], [0], [Flags to create an archive (by configure)]) + +# Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override +# by AR_FLAGS because that was never working and AR_FLAGS is about to die. +_LT_DECL([], [AR_FLAGS], [\@S|@{ARFLAGS-"\@S|@lt_ar_flags"}], + [Flags to create an archive]) AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file], [lt_cv_ar_at_file=no @@ -1540,7 +1587,7 @@ AC_CHECK_TOOL(STRIP, strip, :) test -z "$STRIP" && STRIP=: _LT_DECL([], [STRIP], [1], [A symbol stripping program]) -AC_CHECK_TOOL(RANLIB, ranlib, :) +AC_REQUIRE([AC_PROG_RANLIB]) test -z "$RANLIB" && RANLIB=: _LT_DECL([], [RANLIB], [1], [Commands used to install an old-style archive]) @@ -1551,15 +1598,8 @@ old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then - case $host_os in - bitrig* | openbsd*) - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" - ;; - *) - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" - ;; - esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" fi case $host_os in @@ -1691,14 +1731,14 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; - gnu*) - # Under GNU Hurd, this test is not required because there is - # no limit to the length of command line arguments. + gnu* | ironclad*) + # Under GNU Hurd and Ironclad, this test is not required because there + # is no limit to the length of command line arguments. # Libtool will interpret -1 as no limit whatsoever lt_cv_sys_max_cmd_len=-1; ;; - cygwin* | mingw* | cegcc*) + cygwin* | mingw* | windows* | cegcc*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, @@ -1720,7 +1760,7 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl lt_cv_sys_max_cmd_len=8192; ;; - bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) + darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*) # This has been around since 386BSD, at least. Likely further. if test -x /sbin/sysctl; then lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` @@ -1763,7 +1803,7 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl sysv5* | sco5v6* | sysv4.2uw2*) kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` if test -n "$kargmax"; then - lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` + lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[[ ]]//'` else lt_cv_sys_max_cmd_len=32768 fi @@ -1880,11 +1920,11 @@ else /* When -fvisibility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) -int fnord () __attribute__((visibility("default"))); +int fnord (void) __attribute__((visibility("default"))); #endif -int fnord () { return 42; } -int main () +int fnord (void) { return 42; } +int main (void) { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; @@ -1941,7 +1981,7 @@ else lt_cv_dlopen_self=yes ;; - mingw* | pw32* | cegcc*) + mingw* | windows* | pw32* | cegcc*) lt_cv_dlopen=LoadLibrary lt_cv_dlopen_libs= ;; @@ -2213,26 +2253,35 @@ m4_defun([_LT_CMD_STRIPLIB], striplib= old_striplib= AC_MSG_CHECKING([whether stripping libraries is possible]) -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" - AC_MSG_RESULT([yes]) +if test -z "$STRIP"; then + AC_MSG_RESULT([no]) else -# FIXME - insert some real tests, host_os isn't really good enough - case $host_os in - darwin*) - if test -n "$STRIP"; then + if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then + old_striplib="$STRIP --strip-debug" + striplib="$STRIP --strip-unneeded" + AC_MSG_RESULT([yes]) + else + case $host_os in + darwin*) + # FIXME - insert some real tests, host_os isn't really good enough striplib="$STRIP -x" old_striplib="$STRIP -S" AC_MSG_RESULT([yes]) - else + ;; + freebsd*) + if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then + old_striplib="$STRIP --strip-debug" + striplib="$STRIP --strip-unneeded" + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + fi + ;; + *) AC_MSG_RESULT([no]) - fi - ;; - *) - AC_MSG_RESULT([no]) - ;; - esac + ;; + esac + fi fi _LT_DECL([], [old_striplib], [1], [Commands to strip libraries]) _LT_DECL([], [striplib], [1]) @@ -2300,7 +2349,7 @@ if test yes = "$GCC"; then *) lt_awk_arg='/^libraries:/' ;; esac case $host_os in - mingw* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;; + mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;; *) lt_sed_strip_eq='s|=/|/|g' ;; esac lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` @@ -2358,7 +2407,7 @@ BEGIN {RS = " "; FS = "/|\n";} { # AWK program above erroneously prepends '/' to C:/dos/paths # for these hosts. case $host_os in - mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ + mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ $SED 's|/\([[A-Za-z]]:\)|\1|g'` ;; esac sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` @@ -2433,7 +2482,7 @@ aix[[4-9]]*) # Unfortunately, runtime linking may impact performance, so we do # not want this to be the default eventually. Also, we use the # versioned .so libs for executables only if there is the -brtl - # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. + # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only. # To allow for filename-based versioning support, we need to create # libNAME.so.V as an archive file, containing: # *) an Import File, referring to the versioned filename of the @@ -2527,7 +2576,7 @@ bsdi[[45]]*) # libtool to hard-code these into programs ;; -cygwin* | mingw* | pw32* | cegcc*) +cygwin* | mingw* | windows* | pw32* | cegcc*) version_type=windows shrext_cmds=.dll need_version=no @@ -2538,15 +2587,29 @@ cygwin* | mingw* | pw32* | cegcc*) # gcc library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds - postinstall_cmds='base_file=`basename \$file`~ - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog $dir/$dlname \$dldir/$dlname~ - chmod a+x \$dldir/$dlname~ - if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then - eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; - fi' + # If user builds GCC with multilib enabled, + # it should just install on $(libdir) + # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones. + if test xyes = x"$multilib"; then + postinstall_cmds='base_file=`basename \$file`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + $install_prog $dir/$dlname $destdir/$dlname~ + chmod a+x $destdir/$dlname~ + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then + eval '\''$striplib $destdir/$dlname'\'' || exit \$?; + fi' + else + postinstall_cmds='base_file=`basename \$file`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname~ + chmod a+x \$dldir/$dlname~ + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; + fi' + fi postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' @@ -2555,30 +2618,30 @@ cygwin* | mingw* | pw32* | cegcc*) case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' - soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' + soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' m4_if([$1], [],[ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"]) ;; - mingw* | cegcc*) + mingw* | windows* | cegcc*) # MinGW DLLs use traditional 'lib' prefix soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' - library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' + library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' ;; esac dynamic_linker='Win32 ld.exe' ;; - *,cl*) - # Native MSVC + *,cl* | *,icl*) + # Native MSVC or ICC libname_spec='$name' soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' library_names_spec='$libname.dll.lib' case $build_os in - mingw*) + mingw* | windows*) sys_lib_search_path_spec= lt_save_ifs=$IFS IFS=';' @@ -2591,7 +2654,7 @@ m4_if([$1], [],[ done IFS=$lt_save_ifs # Convert to MSYS style. - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'` + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'` ;; cygwin*) # Convert to unix form, then to dos form, then back to unix form @@ -2628,7 +2691,7 @@ m4_if([$1], [],[ ;; *) - # Assume MSVC wrapper + # Assume MSVC and ICC wrapper library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.lib' dynamic_linker='Win32 ld.exe' ;; @@ -2661,7 +2724,7 @@ dgux*) shlibpath_var=LD_LIBRARY_PATH ;; -freebsd* | dragonfly*) +freebsd* | dragonfly* | midnightbsd*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then @@ -2685,7 +2748,21 @@ freebsd* | dragonfly*) need_version=yes ;; esac - shlibpath_var=LD_LIBRARY_PATH + case $host_cpu in + powerpc64) + # On FreeBSD bi-arch platforms, a different variable is used for 32-bit + # binaries. See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>. + AC_COMPILE_IFELSE( + [AC_LANG_SOURCE( + [[int test_pointer_size[sizeof (void *) - 5]; + ]])], + [shlibpath_var=LD_LIBRARY_PATH], + [shlibpath_var=LD_32_LIBRARY_PATH]) + ;; + *) + shlibpath_var=LD_LIBRARY_PATH + ;; + esac case $host_os in freebsd2.*) shlibpath_overrides_runpath=yes @@ -2715,8 +2792,9 @@ haiku*) soname_spec='$libname$release$shared_ext$major' shlibpath_var=LIBRARY_PATH shlibpath_overrides_runpath=no - sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' - hardcode_into_libs=yes + sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib' + sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib' + hardcode_into_libs=no ;; hpux9* | hpux10* | hpux11*) @@ -2826,7 +2904,7 @@ linux*android*) version_type=none # Android doesn't support versioned libraries. need_lib_prefix=no need_version=no - library_names_spec='$libname$release$shared_ext' + library_names_spec='$libname$release$shared_ext $libname$shared_ext' soname_spec='$libname$release$shared_ext' finish_cmds= shlibpath_var=LD_LIBRARY_PATH @@ -2838,8 +2916,9 @@ linux*android*) hardcode_into_libs=yes dynamic_linker='Android linker' - # Don't embed -rpath directories since the linker doesn't support them. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + # -rpath works at least for libraries that are not overridden by + # libraries installed in system locations. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' ;; # This must be glibc/ELF. @@ -2876,7 +2955,7 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) # Add ABI-specific directories to the system library path. sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" - # Ideally, we could use ldconfig to report *all* directores which are + # Ideally, we could use ldconfig to report *all* directories which are # searched for libraries, however this is still not possible. Aside from not # being certain /sbin/ldconfig is available, command # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, @@ -2896,6 +2975,18 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) dynamic_linker='GNU/Linux ld.so' ;; +netbsdelf*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='NetBSD ld.elf_so' + ;; + netbsd*) version_type=sunos need_lib_prefix=no @@ -2914,6 +3005,18 @@ netbsd*) hardcode_into_libs=yes ;; +*-mlibc) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + dynamic_linker='mlibc ld.so' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + newsos6) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' @@ -2933,7 +3036,7 @@ newsos6) dynamic_linker='ldqnx.so' ;; -openbsd* | bitrig*) +openbsd*) version_type=sunos sys_lib_dlsearch_path_spec=/usr/lib need_lib_prefix=no @@ -2993,6 +3096,17 @@ rdos*) dynamic_linker=no ;; +serenity*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + dynamic_linker='SerenityOS LibELF' + ;; + solaris*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no @@ -3090,6 +3204,21 @@ uts4*) shlibpath_var=LD_LIBRARY_PATH ;; +emscripten*) + version_type=none + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$shared_ext' + soname_spec='$libname$release$shared_ext' + finish_cmds= + dynamic_linker="Emscripten linker" + _LT_COMPILER_PIC($1)='-fPIC' + _LT_TAGVAR(archive_cmds, $1)='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib -s EXPORTED_FUNCTIONS=@$output_objdir/$soname.expsym' + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(no_undefined_flag, $1)= + ;; + *) dynamic_linker=no ;; @@ -3265,7 +3394,7 @@ if test yes = "$GCC"; then # Check if gcc -print-prog-name=ld gives a path. AC_MSG_CHECKING([for ld used by $CC]) case $host in - *-*-mingw*) + *-*-mingw* | *-*-windows*) # gcc leaves a trailing carriage return, which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) @@ -3374,7 +3503,7 @@ case $reload_flag in esac reload_cmds='$LD$reload_flag -o $output$reload_objs' case $host_os in - cygwin* | mingw* | pw32* | cegcc*) + cygwin* | mingw* | windows* | pw32* | cegcc*) if test yes != "$GCC"; then reload_cmds=false fi @@ -3446,7 +3575,6 @@ lt_cv_deplibs_check_method='unknown' # 'none' -- dependencies not supported. # 'unknown' -- same as none, but documents that we really don't know. # 'pass_all' -- all dependencies passed with no checks. -# 'test_compile' -- check by making test program. # 'file_magic [[regex]]' -- check by looking for files in library path # that responds to the $file_magic_cmd with a given extended regex. # If you have 'file' or equivalent on your system and you're not sure @@ -3463,7 +3591,7 @@ beos*) bsdi[[45]]*) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' - lt_cv_file_magic_cmd='/usr/bin/file -L' + lt_cv_file_magic_cmd='$FILECMD -L' lt_cv_file_magic_test_file=/shlib/libc.so ;; @@ -3473,7 +3601,7 @@ cygwin*) lt_cv_file_magic_cmd='func_win32_libid' ;; -mingw* | pw32*) +mingw* | windows* | pw32*) # Base MSYS/MinGW do not provide the 'file' command needed by # func_win32_libid shell function, so use a weaker test based on 'objdump', # unless we find 'file', for example because we are cross-compiling. @@ -3482,7 +3610,7 @@ mingw* | pw32*) lt_cv_file_magic_cmd='func_win32_libid' else # Keep this pattern in sync with the one in func_win32_libid. - lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' + lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)' lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; @@ -3497,14 +3625,14 @@ darwin* | rhapsody*) lt_cv_deplibs_check_method=pass_all ;; -freebsd* | dragonfly*) +freebsd* | dragonfly* | midnightbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' - lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_cmd=$FILECMD lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; esac @@ -3518,7 +3646,7 @@ haiku*) ;; hpux10.20* | hpux11*) - lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_cmd=$FILECMD case $host_cpu in ia64*) lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' @@ -3555,7 +3683,11 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) lt_cv_deplibs_check_method=pass_all ;; -netbsd*) +*-mlibc) + lt_cv_deplibs_check_method=pass_all + ;; + +netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' else @@ -3565,7 +3697,7 @@ netbsd*) newos6*) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' - lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_cmd=$FILECMD lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; @@ -3573,7 +3705,7 @@ newos6*) lt_cv_deplibs_check_method=pass_all ;; -openbsd* | bitrig*) +openbsd*) if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' else @@ -3589,6 +3721,10 @@ rdos*) lt_cv_deplibs_check_method=pass_all ;; +serenity*) + lt_cv_deplibs_check_method=pass_all + ;; + solaris*) lt_cv_deplibs_check_method=pass_all ;; @@ -3637,7 +3773,7 @@ file_magic_glob= want_nocaseglob=no if test "$build" = "$host"; then case $host_os in - mingw* | pw32*) + mingw* | windows* | pw32*) if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then want_nocaseglob=yes else @@ -3689,16 +3825,16 @@ else # Tru64's nm complains that /dev/null is an invalid object file # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty case $build_os in - mingw*) lt_bad_file=conftest.nm/nofile ;; + mingw* | windows*) lt_bad_file=conftest.nm/nofile ;; *) lt_bad_file=/dev/null ;; esac - case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in + case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in *$lt_bad_file* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break 2 ;; *) - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break 2 @@ -3724,7 +3860,7 @@ else # Let the user override the test. else AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :) - case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in + case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in *COFF*) DUMPBIN="$DUMPBIN -symbols -headers" ;; @@ -3780,7 +3916,7 @@ lt_cv_sharedlib_from_linklib_cmd, [lt_cv_sharedlib_from_linklib_cmd='unknown' case $host_os in -cygwin* | mingw* | pw32* | cegcc*) +cygwin* | mingw* | windows* | pw32* | cegcc*) # two different shell functions defined in ltmain.sh; # decide which one to use based on capabilities of $DLLTOOL case `$DLLTOOL --help 2>&1` in @@ -3812,16 +3948,16 @@ _LT_DECL([], [sharedlib_from_linklib_cmd], [1], m4_defun([_LT_PATH_MANIFEST_TOOL], [AC_CHECK_TOOL(MANIFEST_TOOL, mt, :) test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt -AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool], - [lt_cv_path_mainfest_tool=no +AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_manifest_tool], + [lt_cv_path_manifest_tool=no echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out cat conftest.err >&AS_MESSAGE_LOG_FD if $GREP 'Manifest Tool' conftest.out > /dev/null; then - lt_cv_path_mainfest_tool=yes + lt_cv_path_manifest_tool=yes fi rm -f conftest*]) -if test yes != "$lt_cv_path_mainfest_tool"; then +if test yes != "$lt_cv_path_manifest_tool"; then MANIFEST_TOOL=: fi _LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl @@ -3850,7 +3986,7 @@ AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl LIBM= case $host in -*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) +*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-mingw* | *-*-pw32* | *-*-darwin*) # These system don't have libm, or don't need it ;; *-ncr-sysv4.3*) @@ -3925,7 +4061,7 @@ case $host_os in aix*) symcode='[[BCDT]]' ;; -cygwin* | mingw* | pw32* | cegcc*) +cygwin* | mingw* | windows* | pw32* | cegcc*) symcode='[[ABCDGISTW]]' ;; hpux*) @@ -3940,7 +4076,7 @@ osf*) symcode='[[BCDEGQRST]]' ;; solaris*) - symcode='[[BDRT]]' + symcode='[[BCDRT]]' ;; sco3.2v5*) symcode='[[DT]]' @@ -3964,7 +4100,7 @@ esac if test "$lt_cv_nm_interface" = "MS dumpbin"; then # Gets list of data symbols to import. - lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" + lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'" # Adjust the below global symbol transforms to fixup imported variables. lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" @@ -3982,20 +4118,20 @@ fi # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n"\ +lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address -lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ +lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\ $lt_c_name_hook\ " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" # Transform an extracted symbol line into symbol name with lib prefix and # symbol address. -lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\ $lt_c_name_lib_hook\ " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ @@ -4004,7 +4140,7 @@ $lt_c_name_lib_hook\ # Handle CRLF in mingw tool chain opt_cr= case $build_os in -mingw*) +mingw* | windows*) opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac @@ -4019,7 +4155,7 @@ for ac_symprfx in "" "_"; do if test "$lt_cv_nm_interface" = "MS dumpbin"; then # Fake it for dumpbin and say T for any non-static function, # D for any global variable and I for any imported variable. - # Also find C++ and __fastcall symbols from MSVC++, + # Also find C++ and __fastcall symbols from MSVC++ or ICC, # which start with @ or ?. lt_cv_sys_global_symbol_pipe="$AWK ['"\ " {last_section=section; section=\$ 3};"\ @@ -4037,9 +4173,9 @@ for ac_symprfx in "" "_"; do " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ " ' prfx=^$ac_symprfx]" else - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" + lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" fi - lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" + lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'" # Check to see that the pipe works correctly. pipe_works=no @@ -4055,13 +4191,14 @@ void nm_test_func(void){} #ifdef __cplusplus } #endif -int main(){nm_test_var='a';nm_test_func();return(0);} +int main(void){nm_test_var='a';nm_test_func();return(0);} _LT_EOF if AC_TRY_EVAL(ac_compile); then # Now try to grab the symbols. nlist=conftest.nm - if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then + $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&AS_MESSAGE_LOG_FD + if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&AS_MESSAGE_LOG_FD && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" @@ -4231,7 +4368,7 @@ m4_if([$1], [CXX], [ beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; - mingw* | cygwin* | os2* | pw32* | cegcc*) + mingw* | windows* | cygwin* | os2* | pw32* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style @@ -4307,7 +4444,7 @@ m4_if([$1], [CXX], [ ;; esac ;; - mingw* | cygwin* | os2* | pw32* | cegcc*) + mingw* | windows* | cygwin* | os2* | pw32* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). m4_if([$1], [GCJ], [], @@ -4326,7 +4463,7 @@ m4_if([$1], [CXX], [ ;; esac ;; - freebsd* | dragonfly*) + freebsd* | dragonfly* | midnightbsd*) # FreeBSD uses GNU C++ ;; hpux9* | hpux10* | hpux11*) @@ -4409,7 +4546,7 @@ m4_if([$1], [CXX], [ _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' ;; *) - case `$CC -V 2>&1 | sed 5q` in + case `$CC -V 2>&1 | $SED 5q` in *Sun\ C*) # Sun C++ 5.9 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' @@ -4433,7 +4570,9 @@ m4_if([$1], [CXX], [ ;; esac ;; - netbsd*) + netbsd* | netbsdelf*-gnu) + ;; + *-mlibc) ;; *qnx* | *nto*) # QNX uses GNU C++, but need to define -shared option too, otherwise @@ -4463,6 +4602,8 @@ m4_if([$1], [CXX], [ ;; psos*) ;; + serenity*) + ;; solaris*) case $cc_basename in CC* | sunCC*) @@ -4555,7 +4696,7 @@ m4_if([$1], [CXX], [ # PIC is the default for these OSes. ;; - mingw* | cygwin* | pw32* | os2* | cegcc*) + mingw* | windows* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style @@ -4659,7 +4800,7 @@ m4_if([$1], [CXX], [ esac ;; - mingw* | cygwin* | pw32* | os2* | cegcc*) + mingw* | windows* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). m4_if([$1], [GCJ], [], @@ -4701,6 +4842,12 @@ m4_if([$1], [CXX], [ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; + *flang* | ftn | f18* | f95*) + # Flang compiler. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; # icc used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. icc* | ifort*) @@ -4745,7 +4892,7 @@ m4_if([$1], [CXX], [ _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' ;; *) - case `$CC -V 2>&1 | sed 5q` in + case `$CC -V 2>&1 | $SED 5q` in *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*) # Sun Fortran 8.3 passes all unrecognized flags to the linker _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' @@ -4783,6 +4930,12 @@ m4_if([$1], [CXX], [ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; + *-mlibc) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. @@ -4799,6 +4952,9 @@ m4_if([$1], [CXX], [ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; + serenity*) + ;; + solaris*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' @@ -4928,15 +5084,15 @@ m4_if([$1], [CXX], [ if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' else - _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' + _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' fi ;; pw32*) _LT_TAGVAR(export_symbols_cmds, $1)=$ltdll_cmds ;; - cygwin* | mingw* | cegcc*) + cygwin* | mingw* | windows* | cegcc*) case $cc_basename in - cl*) + cl* | icl*) _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' ;; *) @@ -4992,21 +5148,18 @@ dnl Note also adjust exclude_expsyms for C++ above. extract_expsyms_cmds= case $host_os in - cygwin* | mingw* | pw32* | cegcc*) - # FIXME: the MSVC++ port hasn't been tested in a loooong time + cygwin* | mingw* | windows* | pw32* | cegcc*) + # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. + # Microsoft Visual C++ or Intel C++ Compiler. if test yes != "$GCC"; then with_gnu_ld=no fi ;; interix*) - # we just hope/assume this is gcc and not c89 (= MSVC++) + # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC) with_gnu_ld=yes ;; - openbsd* | bitrig*) - with_gnu_ld=no - ;; esac _LT_TAGVAR(ld_shlibs, $1)=yes @@ -5053,7 +5206,7 @@ dnl Note also adjust exclude_expsyms for C++ above. _LT_TAGVAR(whole_archive_flag_spec, $1)= fi supports_anon_versioning=no - case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in + case `$LD -v | $SED -e 's/([[^)]]\+)\s\+//' 2>&1` in *GNU\ gold*) supports_anon_versioning=yes ;; *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... @@ -5107,7 +5260,7 @@ _LT_EOF fi ;; - cygwin* | mingw* | pw32* | cegcc*) + cygwin* | mingw* | windows* | pw32* | cegcc*) # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' @@ -5117,6 +5270,7 @@ _LT_EOF _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] + _LT_TAGVAR(file_list_spec, $1)='@' if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' @@ -5136,7 +5290,7 @@ _LT_EOF haiku*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' - _LT_TAGVAR(link_all_deplibs, $1)=yes + _LT_TAGVAR(link_all_deplibs, $1)=no ;; os2*) @@ -5163,8 +5317,9 @@ _LT_EOF cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' - _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' + _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + _LT_TAGVAR(file_list_spec, $1)='@' ;; interix[[3-9]]*) @@ -5179,7 +5334,7 @@ _LT_EOF # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) @@ -5222,7 +5377,7 @@ _LT_EOF _LT_TAGVAR(compiler_needs_object, $1)=yes ;; esac - case `$CC -V 2>&1 | sed 5q` in + case `$CC -V 2>&1 | $SED 5q` in *Sun\ C*) # Sun C 5.9 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' _LT_TAGVAR(compiler_needs_object, $1)=yes @@ -5234,13 +5389,14 @@ _LT_EOF if test yes = "$supports_anon_versioning"; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' fi case $cc_basename in tcc*) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic' ;; xlf* | bgf* | bgxlf* | mpixlf*) @@ -5250,7 +5406,7 @@ _LT_EOF _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' if test yes = "$supports_anon_versioning"; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' fi @@ -5261,7 +5417,12 @@ _LT_EOF fi ;; - netbsd*) + *-mlibc) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' + ;; + + netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= @@ -5382,7 +5543,7 @@ _LT_EOF if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' else - _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' + _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no @@ -5563,14 +5724,14 @@ _LT_EOF _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic ;; - cygwin* | mingw* | pw32* | cegcc*) + cygwin* | mingw* | windows* | pw32* | cegcc*) # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. + # Microsoft Visual C++ or Intel C++ Compiler. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. case $cc_basename in - cl*) - # Native MSVC + cl* | icl*) + # Native MSVC or ICC _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=yes @@ -5580,14 +5741,14 @@ _LT_EOF # Tell ltmain to make .dll files, not .so files. shrext_cmds=.dll # FIXME: Setting linknames here is a bad hack. - _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' + _LT_TAGVAR(archive_cmds, $1)='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then cp "$export_symbols" "$output_objdir/$soname.def"; echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; else $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; fi~ - $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ + $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ linknames=' # The linker will not automatically build a static lib if we build a DLL. # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' @@ -5611,7 +5772,7 @@ _LT_EOF fi' ;; *) - # Assume MSVC wrapper + # Assume MSVC and ICC wrapper _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported # Tell ltmain to make .lib files, not .a files. @@ -5659,7 +5820,7 @@ _LT_EOF ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd* | dragonfly*) + freebsd* | dragonfly* | midnightbsd*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes @@ -5799,11 +5960,15 @@ _LT_EOF # Fabrice Bellard et al's Tiny C Compiler _LT_TAGVAR(ld_shlibs, $1)=yes _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' ;; esac ;; - netbsd*) + *-mlibc) + ;; + + netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else @@ -5825,7 +5990,7 @@ _LT_EOF *nto* | *qnx*) ;; - openbsd* | bitrig*) + openbsd*) if test -f /usr/libexec/ld.so; then _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no @@ -5868,8 +6033,9 @@ _LT_EOF cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' - _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' + _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + _LT_TAGVAR(file_list_spec, $1)='@' ;; osf3*) @@ -5903,6 +6069,9 @@ _LT_EOF _LT_TAGVAR(hardcode_libdir_separator, $1)=: ;; + serenity*) + ;; + solaris*) _LT_TAGVAR(no_undefined_flag, $1)=' -z defs' if test yes = "$GCC"; then @@ -6161,7 +6330,7 @@ _LT_TAGDECL([], [hardcode_direct], [0], _LT_TAGDECL([], [hardcode_direct_absolute], [0], [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes DIR into the resulting binary and the resulting library dependency is - "absolute", i.e impossible to change by setting $shlibpath_var if the + "absolute", i.e. impossible to change by setting $shlibpath_var if the library is relocated]) _LT_TAGDECL([], [hardcode_minus_L], [0], [Set to "yes" if using the -LDIR flag during linking hardcodes DIR @@ -6219,7 +6388,7 @@ _LT_TAGVAR(objext, $1)=$objext lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests -lt_simple_link_test_code='int main(){return(0);}' +lt_simple_link_test_code='int main(void){return(0);}' _LT_TAG_COMPILER # Save the default compiler, since it gets overwritten when the other @@ -6404,8 +6573,7 @@ if test yes != "$_lt_caught_CXX_error"; then wlarc='$wl' # ancient GNU ld didn't support --whole-archive et. al. - if eval "`$CC -print-prog-name=ld` --help 2>&1" | - $GREP 'no-whole-archive' > /dev/null; then + if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' else _LT_TAGVAR(whole_archive_flag_spec, $1)= @@ -6425,7 +6593,7 @@ if test yes != "$_lt_caught_CXX_error"; then # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [[-]]L"' else GXX=no @@ -6634,10 +6802,10 @@ if test yes != "$_lt_caught_CXX_error"; then esac ;; - cygwin* | mingw* | pw32* | cegcc*) + cygwin* | mingw* | windows* | pw32* | cegcc*) case $GXX,$cc_basename in - ,cl* | no,cl*) - # Native MSVC + ,cl* | no,cl* | ,icl* | no,icl*) + # Native MSVC or ICC # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' @@ -6687,6 +6855,7 @@ if test yes != "$_lt_caught_CXX_error"; then _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + _LT_TAGVAR(file_list_spec, $1)='@' if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' @@ -6733,8 +6902,9 @@ if test yes != "$_lt_caught_CXX_error"; then cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' - _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' + _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + _LT_TAGVAR(file_list_spec, $1)='@' ;; dgux*) @@ -6765,7 +6935,7 @@ if test yes != "$_lt_caught_CXX_error"; then _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; - freebsd* | dragonfly*) + freebsd* | dragonfly* | midnightbsd*) # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF # conventions _LT_TAGVAR(ld_shlibs, $1)=yes @@ -6773,7 +6943,7 @@ if test yes != "$_lt_caught_CXX_error"; then haiku*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' - _LT_TAGVAR(link_all_deplibs, $1)=yes + _LT_TAGVAR(link_all_deplibs, $1)=no ;; hpux9*) @@ -6800,7 +6970,7 @@ if test yes != "$_lt_caught_CXX_error"; then # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "[[-]]L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test yes = "$GXX"; then @@ -6865,7 +7035,7 @@ if test yes != "$_lt_caught_CXX_error"; then # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP " [[-]]L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test yes = "$GXX"; then @@ -6902,7 +7072,7 @@ if test yes != "$_lt_caught_CXX_error"; then # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; irix5* | irix6*) case $cc_basename in @@ -7042,13 +7212,13 @@ if test yes != "$_lt_caught_CXX_error"; then _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' if test yes = "$supports_anon_versioning"; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' fi ;; *) - case `$CC -V 2>&1 | sed 5q` in + case `$CC -V 2>&1 | $SED 5q` in *Sun\ C*) # Sun C++ 5.9 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' @@ -7097,6 +7267,10 @@ if test yes != "$_lt_caught_CXX_error"; then esac ;; + *-mlibc) + _LT_TAGVAR(ld_shlibs, $1)=yes + ;; + netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' @@ -7113,7 +7287,7 @@ if test yes != "$_lt_caught_CXX_error"; then _LT_TAGVAR(ld_shlibs, $1)=yes ;; - openbsd* | bitrig*) + openbsd*) if test -f /usr/libexec/ld.so; then _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no @@ -7204,7 +7378,7 @@ if test yes != "$_lt_caught_CXX_error"; then # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [[-]]L"' else # FIXME: insert proper C++ library support @@ -7219,6 +7393,9 @@ if test yes != "$_lt_caught_CXX_error"; then _LT_TAGVAR(ld_shlibs, $1)=no ;; + serenity*) + ;; + sunos4*) case $cc_basename in CC*) @@ -7288,7 +7465,7 @@ if test yes != "$_lt_caught_CXX_error"; then # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [[-]]L"' else # g++ 2.7 appears to require '-G' NOT '-shared' on this # platform. @@ -7299,7 +7476,7 @@ if test yes != "$_lt_caught_CXX_error"; then # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. - output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [[-]]L"' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir' @@ -7537,10 +7714,11 @@ if AC_TRY_EVAL(ac_compile); then case $prev$p in -L* | -R* | -l*) - # Some compilers place space between "-{L,R}" and the path. + # Some compilers place space between "-{L,R,l}" and the path. # Remove the space. - if test x-L = "$p" || - test x-R = "$p"; then + if test x-L = x"$p" || + test x-R = x"$p" || + test x-l = x"$p"; then prev=$p continue fi @@ -8186,6 +8364,14 @@ _LT_DECL([], [DLLTOOL], [1], [DLL creation program]) AC_SUBST([DLLTOOL]) ]) +# _LT_DECL_FILECMD +# ---------------- +# Check for a file(cmd) program that can be used to detect file type and magic +m4_defun([_LT_DECL_FILECMD], +[AC_CHECK_PROG([FILECMD], [file], [file], [:]) +_LT_DECL([], [FILECMD], [1], [A file(cmd) program that detects file types]) +])# _LD_DECL_FILECMD + # _LT_DECL_SED # ------------ # Check for a fully-functional sed program, that truncates @@ -8198,71 +8384,6 @@ _LT_DECL([], [SED], [1], [A sed program that does not truncate output]) _LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"], [Sed that helps us avoid accidentally triggering echo(1) options like -n]) ])# _LT_DECL_SED - -m4_ifndef([AC_PROG_SED], [ -# NOTE: This macro has been submitted for inclusion into # -# GNU Autoconf as AC_PROG_SED. When it is available in # -# a released version of Autoconf we should remove this # -# macro and use it instead. # - -m4_defun([AC_PROG_SED], -[AC_MSG_CHECKING([for a sed that does not truncate output]) -AC_CACHE_VAL(lt_cv_path_SED, -[# Loop through the user's path and test for sed and gsed. -# Then use that list of sed's as ones to test for truncation. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for lt_ac_prog in sed gsed; do - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then - lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" - fi - done - done -done -IFS=$as_save_IFS -lt_ac_max=0 -lt_ac_count=0 -# Add /usr/xpg4/bin/sed as it is typically found on Solaris -# along with /bin/sed that truncates output. -for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do - test ! -f "$lt_ac_sed" && continue - cat /dev/null > conftest.in - lt_ac_count=0 - echo $ECHO_N "0123456789$ECHO_C" >conftest.in - # Check for GNU sed and select it if it is found. - if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then - lt_cv_path_SED=$lt_ac_sed - break - fi - while true; do - cat conftest.in conftest.in >conftest.tmp - mv conftest.tmp conftest.in - cp conftest.in conftest.nl - echo >>conftest.nl - $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break - cmp -s conftest.out conftest.nl || break - # 10000 chars as input seems more than enough - test 10 -lt "$lt_ac_count" && break - lt_ac_count=`expr $lt_ac_count + 1` - if test "$lt_ac_count" -gt "$lt_ac_max"; then - lt_ac_max=$lt_ac_count - lt_cv_path_SED=$lt_ac_sed - fi - done -done -]) -SED=$lt_cv_path_SED -AC_SUBST([SED]) -AC_MSG_RESULT([$SED]) -])#AC_PROG_SED -])#m4_ifndef - -# Old name: -AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([LT_AC_PROG_SED], []) @@ -8309,7 +8430,7 @@ AC_CACHE_VAL(lt_cv_to_host_file_cmd, [case $host in *-*-mingw* ) case $build in - *-*-mingw* ) # actually msys + *-*-mingw* | *-*-windows* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 ;; *-*-cygwin* ) @@ -8322,7 +8443,7 @@ AC_CACHE_VAL(lt_cv_to_host_file_cmd, ;; *-*-cygwin* ) case $build in - *-*-mingw* ) # actually msys + *-*-mingw* | *-*-windows* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin ;; *-*-cygwin* ) @@ -8348,9 +8469,9 @@ AC_CACHE_VAL(lt_cv_to_tool_file_cmd, [#assume ordinary cross tools, or native build. lt_cv_to_tool_file_cmd=func_convert_file_noop case $host in - *-*-mingw* ) + *-*-mingw* | *-*-windows* ) case $build in - *-*-mingw* ) # actually msys + *-*-mingw* | *-*-windows* ) # actually msys lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 ;; esac @@ -8365,15 +8486,15 @@ _LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd], # Helper functions for option handling. -*- Autoconf -*- # -# Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software -# Foundation, Inc. +# Copyright (C) 2004-2005, 2007-2009, 2011-2019, 2021-2024 Free +# Software Foundation, Inc. # Written by Gary V. Vaughan, 2004 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. -# serial 8 ltoptions.m4 +# serial 10 ltoptions.m4 # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) @@ -8490,7 +8611,7 @@ LT_OPTION_DEFINE([LT_INIT], [win32-dll], [enable_win32_dll=yes case $host in -*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) +*-*-cygwin* | *-*-mingw* | *-*-windows* | *-*-pw32* | *-*-cegcc*) AC_CHECK_TOOL(AS, as, false) AC_CHECK_TOOL(DLLTOOL, dlltool, false) AC_CHECK_TOOL(OBJDUMP, objdump, false) @@ -8685,29 +8806,39 @@ dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], []) # _LT_WITH_AIX_SONAME([DEFAULT]) # ---------------------------------- -# implement the --with-aix-soname flag, and support the `aix-soname=aix' -# and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT -# is either `aix', `both' or `svr4'. If omitted, it defaults to `aix'. +# implement the --enable-aix-soname configure option, and support the +# `aix-soname=aix' and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. +# DEFAULT is either `aix', `both', or `svr4'. If omitted, it defaults to `aix'. m4_define([_LT_WITH_AIX_SONAME], [m4_define([_LT_WITH_AIX_SONAME_DEFAULT], [m4_if($1, svr4, svr4, m4_if($1, both, both, aix))])dnl shared_archive_member_spec= case $host,$enable_shared in power*-*-aix[[5-9]]*,yes) AC_MSG_CHECKING([which variant of shared library versioning to provide]) - AC_ARG_WITH([aix-soname], - [AS_HELP_STRING([--with-aix-soname=aix|svr4|both], + AC_ARG_ENABLE([aix-soname], + [AS_HELP_STRING([--enable-aix-soname=aix|svr4|both], [shared library versioning (aka "SONAME") variant to provide on AIX, @<:@default=]_LT_WITH_AIX_SONAME_DEFAULT[@:>@.])], - [case $withval in - aix|svr4|both) - ;; - *) - AC_MSG_ERROR([Unknown argument to --with-aix-soname]) - ;; - esac - lt_cv_with_aix_soname=$with_aix_soname], - [AC_CACHE_VAL([lt_cv_with_aix_soname], - [lt_cv_with_aix_soname=]_LT_WITH_AIX_SONAME_DEFAULT) - with_aix_soname=$lt_cv_with_aix_soname]) + [case $enableval in + aix|svr4|both) + ;; + *) + AC_MSG_ERROR([Unknown argument to --enable-aix-soname]) + ;; + esac + lt_cv_with_aix_soname=$enable_aix_soname], + [_AC_ENABLE_IF([with], [aix-soname], + [case $withval in + aix|svr4|both) + ;; + *) + AC_MSG_ERROR([Unknown argument to --with-aix-soname]) + ;; + esac + lt_cv_with_aix_soname=$with_aix_soname], + [AC_CACHE_VAL([lt_cv_with_aix_soname], + [lt_cv_with_aix_soname=]_LT_WITH_AIX_SONAME_DEFAULT)]) + enable_aix_soname=$lt_cv_with_aix_soname]) + with_aix_soname=$enable_aix_soname AC_MSG_RESULT([$with_aix_soname]) if test aix != "$with_aix_soname"; then # For the AIX way of multilib, we name the shared archive member @@ -8738,30 +8869,50 @@ LT_OPTION_DEFINE([LT_INIT], [aix-soname=svr4], [_LT_WITH_AIX_SONAME([svr4])]) # _LT_WITH_PIC([MODE]) # -------------------- -# implement the --with-pic flag, and support the 'pic-only' and 'no-pic' +# implement the --enable-pic flag, and support the 'pic-only' and 'no-pic' # LT_INIT options. # MODE is either 'yes' or 'no'. If omitted, it defaults to 'both'. m4_define([_LT_WITH_PIC], -[AC_ARG_WITH([pic], - [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@], +[AC_ARG_ENABLE([pic], + [AS_HELP_STRING([--enable-pic@<:@=PKGS@:>@], [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], [lt_p=${PACKAGE-default} - case $withval in - yes|no) pic_mode=$withval ;; - *) - pic_mode=default - # Look at the argument we got. We use all the common list separators. - lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, - for lt_pkg in $withval; do - IFS=$lt_save_ifs - if test "X$lt_pkg" = "X$lt_p"; then - pic_mode=yes - fi - done - IFS=$lt_save_ifs - ;; - esac], - [pic_mode=m4_default([$1], [default])]) + case $enableval in + yes|no) pic_mode=$enableval ;; + *) + pic_mode=default + # Look at the argument we got. We use all the common list separators. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, + for lt_pkg in $enableval; do + IFS=$lt_save_ifs + if test "X$lt_pkg" = "X$lt_p"; then + pic_mode=yes + fi + done + IFS=$lt_save_ifs + ;; + esac], + [dnl Continue to support --with-pic and --without-pic, for backward + dnl compatibility. + _AC_ENABLE_IF([with], [pic], + [lt_p=${PACKAGE-default} + case $withval in + yes|no) pic_mode=$withval ;; + *) + pic_mode=default + # Look at the argument we got. We use all the common list separators. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, + for lt_pkg in $withval; do + IFS=$lt_save_ifs + if test "X$lt_pkg" = "X$lt_p"; then + pic_mode=yes + fi + done + IFS=$lt_save_ifs + ;; + esac], + [pic_mode=m4_default([$1], [default])])] + ) _LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl ])# _LT_WITH_PIC @@ -8797,7 +8948,7 @@ LT_OPTION_DEFINE([LTDL_INIT], [convenience], # ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- # -# Copyright (C) 2004-2005, 2007-2008, 2011-2015 Free Software +# Copyright (C) 2004-2005, 2007-2008, 2011-2019, 2021-2024 Free Software # Foundation, Inc. # Written by Gary V. Vaughan, 2004 # @@ -8922,7 +9073,8 @@ m4_define([lt_dict_filter], # ltversion.m4 -- version numbers -*- Autoconf -*- # -# Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc. +# Copyright (C) 2004, 2011-2019, 2021-2024 Free Software Foundation, +# Inc. # Written by Scott James Remnant, 2004 # # This file is free software; the Free Software Foundation gives @@ -8931,23 +9083,23 @@ m4_define([lt_dict_filter], # @configure_input@ -# serial 4179 ltversion.m4 +# serial 4441 ltversion.m4 # This file is part of GNU Libtool -m4_define([LT_PACKAGE_VERSION], [2.4.6]) -m4_define([LT_PACKAGE_REVISION], [2.4.6]) +m4_define([LT_PACKAGE_VERSION], [2.5.4]) +m4_define([LT_PACKAGE_REVISION], [2.5.4]) AC_DEFUN([LTVERSION_VERSION], -[macro_version='2.4.6' -macro_revision='2.4.6' +[macro_version='2.5.4' +macro_revision='2.5.4' _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) _LT_DECL(, macro_revision, 0) ]) # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- # -# Copyright (C) 2004-2005, 2007, 2009, 2011-2015 Free Software -# Foundation, Inc. +# Copyright (C) 2004-2005, 2007, 2009, 2011-2019, 2021-2024 Free +# Software Foundation, Inc. # Written by Scott James Remnant, 2004. # # This file is free software; the Free Software Foundation gives @@ -9044,8 +9196,8 @@ m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])]) m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])]) m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])]) -# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- -# serial 11 (pkg-config-0.29.1) +# pkg.m4 - Macros to locate and use pkg-config. -*- Autoconf -*- +# serial 12 (pkg-config-0.29.2) dnl Copyright © 2004 Scott James Remnant <scott@netsplit.com>. dnl Copyright © 2012-2015 Dan Nicholson <dbn.lists@gmail.com> @@ -9087,13 +9239,13 @@ dnl dnl See the "Since" comment for each macro you use to see what version dnl of the macros you require. m4_defun([PKG_PREREQ], -[m4_define([PKG_MACROS_VERSION], [0.29.1]) +[m4_define([PKG_MACROS_VERSION], [0.29.2]) m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1, [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])]) ])dnl PKG_PREREQ -dnl PKG_PROG_PKG_CONFIG([MIN-VERSION]) -dnl ---------------------------------- +dnl PKG_PROG_PKG_CONFIG([MIN-VERSION], [ACTION-IF-NOT-FOUND]) +dnl --------------------------------------------------------- dnl Since: 0.16 dnl dnl Search for the pkg-config tool and set the PKG_CONFIG variable to @@ -9101,6 +9253,12 @@ dnl first found in the path. Checks that the version of pkg-config found dnl is at least MIN-VERSION. If MIN-VERSION is not specified, 0.9.0 is dnl used since that's the first version where most current features of dnl pkg-config existed. +dnl +dnl If pkg-config is not found or older than specified, it will result +dnl in an empty PKG_CONFIG variable. To avoid widespread issues with +dnl scripts not checking it, ACTION-IF-NOT-FOUND defaults to aborting. +dnl You can specify [PKG_CONFIG=false] as an action instead, which would +dnl result in pkg-config tests failing, but no bogus error messages. AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) @@ -9121,6 +9279,9 @@ if test -n "$PKG_CONFIG"; then AC_MSG_RESULT([no]) PKG_CONFIG="" fi +fi +if test -z "$PKG_CONFIG"; then + m4_default([$2], [AC_MSG_ERROR([pkg-config not found])]) fi[]dnl ])dnl PKG_PROG_PKG_CONFIG @@ -9132,7 +9293,7 @@ dnl Check to see whether a particular set of modules exists. Similar to dnl PKG_CHECK_MODULES(), but does not set variables or print errors. dnl dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) -dnl only at the first occurence in configure.ac, so if the first place +dnl only at the first occurrence in configure.ac, so if the first place dnl it's called might be skipped (such as if it is within an "if", you dnl have to call PKG_CHECK_EXISTS manually AC_DEFUN([PKG_CHECK_EXISTS], @@ -9188,7 +9349,7 @@ AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl pkg_failed=no -AC_MSG_CHECKING([for $1]) +AC_MSG_CHECKING([for $2]) _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) _PKG_CONFIG([$1][_LIBS], [libs], [$2]) @@ -9198,17 +9359,17 @@ and $1[]_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.]) if test $pkg_failed = yes; then - AC_MSG_RESULT([no]) + AC_MSG_RESULT([no]) _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then - $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` - else - $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` + $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` + else + $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` fi - # Put the nasty error message in config.log where it belongs - echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD + # Put the nasty error message in config.log where it belongs + echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD - m4_default([$4], [AC_MSG_ERROR( + m4_default([$4], [AC_MSG_ERROR( [Package requirements ($2) were not met: $$1_PKG_ERRORS @@ -9219,8 +9380,8 @@ installed software in a non-standard prefix. _PKG_TEXT])[]dnl ]) elif test $pkg_failed = untried; then - AC_MSG_RESULT([no]) - m4_default([$4], [AC_MSG_FAILURE( + AC_MSG_RESULT([no]) + m4_default([$4], [AC_MSG_FAILURE( [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. @@ -9230,10 +9391,10 @@ _PKG_TEXT To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl ]) else - $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS - $1[]_LIBS=$pkg_cv_[]$1[]_LIBS + $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS + $1[]_LIBS=$pkg_cv_[]$1[]_LIBS AC_MSG_RESULT([yes]) - $3 + $3 fi[]dnl ])dnl PKG_CHECK_MODULES @@ -9390,7 +9551,7 @@ AS_IF([test "$AS_TR_SH([with_]m4_tolower([$1]))" = "yes"], # AM_CONDITIONAL -*- Autoconf -*- -# Copyright (C) 1997-2020 Free Software Foundation, Inc. +# Copyright (C) 1997-2025 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -9421,7 +9582,7 @@ AC_CONFIG_COMMANDS_PRE( Usually this means the macro was only invoked conditionally.]]) fi])]) -# Copyright (C) 2006-2020 Free Software Foundation, Inc. +# Copyright (C) 2006-2025 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, diff --git a/config.guess b/config.guess index f6d217a4..c7f4c329 100755 --- a/config.guess +++ b/config.guess @@ -1,10 +1,10 @@ #! /bin/sh # Attempt to guess a canonical system name. -# Copyright 1992-2024 Free Software Foundation, Inc. +# Copyright 1992-2026 Free Software Foundation, Inc. # shellcheck disable=SC2006,SC2268 # see below for rationale -timestamp='2024-01-01' +timestamp='2026-05-17' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -60,7 +60,7 @@ version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. -Copyright 1992-2024 Free Software Foundation, Inc. +Copyright 1992-2026 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -123,7 +123,7 @@ set_cc_for_build() { dummy=$tmp/dummy case ${CC_FOR_BUILD-},${HOST_CC-},${CC-} in ,,) echo "int x;" > "$dummy.c" - for driver in cc gcc c89 c99 ; do + for driver in cc gcc c17 c99 c89 ; do if ($driver -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then CC_FOR_BUILD=$driver break @@ -150,7 +150,7 @@ UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown case $UNAME_SYSTEM in -Linux|GNU|GNU/*) +Ironclad|Linux|GNU|GNU/*) LIBC=unknown set_cc_for_build @@ -167,6 +167,8 @@ Linux|GNU|GNU/*) LIBC=gnu #elif defined(__LLVM_LIBC__) LIBC=llvm + #elif defined(__mlibc__) + LIBC=mlibc #else #include <stdarg.h> /* First heuristic to detect musl libc. */ @@ -634,7 +636,8 @@ EOF sed 's/^ //' << EOF > "$dummy.c" #include <sys/systemcfg.h> - main() + int + main () { if (!__power_pc()) exit(1); @@ -718,7 +721,8 @@ EOF #include <stdlib.h> #include <unistd.h> - int main () + int + main () { #if defined(_SC_KERNEL_BITS) long bits = sysconf(_SC_KERNEL_BITS); @@ -1184,6 +1188,9 @@ EOF sparc:Linux:*:* | sparc64:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; + sw_64:Linux:*:*) + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; tile*:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; @@ -1595,8 +1602,11 @@ EOF *:Unleashed:*:*) GUESS=$UNAME_MACHINE-unknown-unleashed$UNAME_RELEASE ;; - *:Ironclad:*:*) - GUESS=$UNAME_MACHINE-unknown-ironclad + x86_64:[Ii]ronclad:*:*|i?86:[Ii]ronclad:*:*) + GUESS=$UNAME_MACHINE-pc-ironclad-$LIBC + ;; + *:[Ii]ronclad:*:*) + GUESS=$UNAME_MACHINE-unknown-ironclad-$LIBC ;; esac @@ -1621,6 +1631,7 @@ cat > "$dummy.c" <<EOF #endif #endif #endif +int main () { #if defined (sony) @@ -1805,8 +1816,8 @@ fi exit 1 # Local variables: -# eval: (add-hook 'before-save-hook 'time-stamp) +# eval: (add-hook 'before-save-hook 'time-stamp nil t) # time-stamp-start: "timestamp='" -# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-format: "%Y-%02m-%02d" # time-stamp-end: "'" # End: @@ -1,10 +1,10 @@ #! /bin/sh # Configuration validation subroutine script. -# Copyright 1992-2024 Free Software Foundation, Inc. +# Copyright 1992-2026 Free Software Foundation, Inc. -# shellcheck disable=SC2006,SC2268 # see below for rationale +# shellcheck disable=SC2006,SC2268,SC2162 # see below for rationale -timestamp='2024-01-01' +timestamp='2026-05-17' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -76,7 +76,7 @@ Report bugs and patches to <config-patches@gnu.org>." version="\ GNU config.sub ($timestamp) -Copyright 1992-2024 Free Software Foundation, Inc. +Copyright 1992-2026 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -120,7 +120,6 @@ case $# in esac # Split fields of configuration type -# shellcheck disable=SC2162 saved_IFS=$IFS IFS="-" read field1 field2 field3 field4 <<EOF $1 @@ -142,10 +141,21 @@ case $1 in # parts maybe_os=$field2-$field3 case $maybe_os in - nto-qnx* | linux-* | uclinux-uclibc* \ - | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* \ - | netbsd*-eabi* | kopensolaris*-gnu* | cloudabi*-eabi* \ - | storm-chaos* | os2-emx* | rtmk-nova* | managarm-* \ + cloudabi*-eabi* \ + | kfreebsd*-gnu* \ + | knetbsd*-gnu* \ + | kopensolaris*-gnu* \ + | ironclad-* \ + | linux-* \ + | managarm-* \ + | netbsd*-eabi* \ + | netbsd*-gnu* \ + | nto-qnx* \ + | os2-emx* \ + | rtmk-nova* \ + | storm-chaos* \ + | uclinux-gnu* \ + | uclinux-uclibc* \ | windows-* ) basic_machine=$field1 basic_os=$maybe_os @@ -161,8 +171,12 @@ case $1 in esac ;; *-*) - # A lone config we happen to match not fitting any pattern case $field1-$field2 in + # Shorthands that happen to contain a single dash + convex-c[12] | convex-c3[248]) + basic_machine=$field2-convex + basic_os= + ;; decstation-3100) basic_machine=mips-dec basic_os= @@ -170,28 +184,87 @@ case $1 in *-*) # Second component is usually, but not always the OS case $field2 in - # Prevent following clause from handling this valid os + # Do not treat sunos as a manufacturer sun*os*) basic_machine=$field1 basic_os=$field2 ;; - zephyr*) - basic_machine=$field1-unknown - basic_os=$field2 - ;; # Manufacturers - dec* | mips* | sequent* | encore* | pc533* | sgi* | sony* \ - | att* | 7300* | 3300* | delta* | motorola* | sun[234]* \ - | unicom* | ibm* | next | hp | isi* | apollo | altos* \ - | convergent* | ncr* | news | 32* | 3600* | 3100* \ - | hitachi* | c[123]* | convex* | sun | crds | omron* | dg \ - | ultra | tti* | harris | dolphin | highlevel | gould \ - | cbm | ns | masscomp | apple | axis | knuth | cray \ - | microblaze* | sim | cisco \ - | oki | wec | wrs | winbond) + 3100* \ + | 32* \ + | 3300* \ + | 3600* \ + | 7300* \ + | acorn \ + | altos* \ + | apollo \ + | apple \ + | atari \ + | att* \ + | axis \ + | be \ + | bull \ + | cbm \ + | ccur \ + | cisco \ + | commodore \ + | convergent* \ + | convex* \ + | cray \ + | crds \ + | dec* \ + | delta* \ + | dg \ + | digital \ + | dolphin \ + | encore* \ + | gould \ + | harris \ + | highlevel \ + | hitachi* \ + | hp \ + | ibm* \ + | intergraph \ + | isi* \ + | knuth \ + | masscomp \ + | microblaze* \ + | mips* \ + | motorola* \ + | ncr* \ + | news \ + | next \ + | ns \ + | oki \ + | omron* \ + | pc533* \ + | rebel \ + | rom68k \ + | rombug \ + | semi \ + | sequent* \ + | sgi* \ + | siemens \ + | sim \ + | sni \ + | sony* \ + | stratus \ + | sun \ + | sun[234]* \ + | tektronix \ + | tti* \ + | ultra \ + | unicom* \ + | wec \ + | winbond \ + | wrs) basic_machine=$field1-$field2 basic_os= ;; + tock* | zephyr*) + basic_machine=$field1-unknown + basic_os=$field2 + ;; *) basic_machine=$field1 basic_os=$field2 @@ -272,26 +345,6 @@ case $1 in basic_machine=arm-unknown basic_os=cegcc ;; - convex-c1) - basic_machine=c1-convex - basic_os=bsd - ;; - convex-c2) - basic_machine=c2-convex - basic_os=bsd - ;; - convex-c32) - basic_machine=c32-convex - basic_os=bsd - ;; - convex-c34) - basic_machine=c34-convex - basic_os=bsd - ;; - convex-c38) - basic_machine=c38-convex - basic_os=bsd - ;; cray) basic_machine=j90-cray basic_os=unicos @@ -714,15 +767,26 @@ case $basic_machine in vendor=dec basic_os=tops20 ;; - delta | 3300 | motorola-3300 | motorola-delta \ - | 3300-motorola | delta-motorola) + delta | 3300 | delta-motorola | 3300-motorola | motorola-delta | motorola-3300) cpu=m68k vendor=motorola ;; - dpx2*) + # This used to be dpx2*, but that gets the RS6000-based + # DPX/20 and the x86-based DPX/2-100 wrong. See + # https://oldskool.silicium.org/stations/bull_dpx20.htm + # https://www.feb-patrimoine.com/english/bull_dpx2.htm + # https://www.feb-patrimoine.com/english/unix_and_bull.htm + dpx2 | dpx2[23]00 | dpx2[23]xx) cpu=m68k vendor=bull - basic_os=sysv3 + ;; + dpx2100 | dpx21xx) + cpu=i386 + vendor=bull + ;; + dpx20) + cpu=rs6000 + vendor=bull ;; encore | umax | mmax) cpu=ns32k @@ -837,18 +901,6 @@ case $basic_machine in next | m*-next) cpu=m68k vendor=next - case $basic_os in - openstep*) - ;; - nextstep*) - ;; - ns2*) - basic_os=nextstep2 - ;; - *) - basic_os=nextstep3 - ;; - esac ;; np1) cpu=np1 @@ -937,7 +989,6 @@ case $basic_machine in ;; *-*) - # shellcheck disable=SC2162 saved_IFS=$IFS IFS="-" read cpu vendor <<EOF $basic_machine @@ -972,15 +1023,19 @@ unset -v basic_machine # Decode basic machines in the full and proper CPU-Company form. case $cpu-$vendor in - # Here we handle the default manufacturer of certain CPU types in canonical form. It is in - # some cases the only manufacturer, in others, it is the most popular. + # Here we handle the default manufacturer of certain CPU types in canonical form. + # It is in some cases the only manufacturer, in others, it is the most popular. + c[12]-convex | c[12]-unknown | c3[248]-convex | c3[248]-unknown) + vendor=convex + basic_os=${basic_os:-bsd} + ;; craynv-unknown) vendor=cray basic_os=${basic_os:-unicosmp} ;; c90-unknown | c90-cray) vendor=cray - basic_os=${Basic_os:-unicos} + basic_os=${basic_os:-unicos} ;; fx80-unknown) vendor=alliant @@ -1026,11 +1081,29 @@ case $cpu-$vendor in vendor=alt basic_os=${basic_os:-linux-gnueabihf} ;; - dpx20-unknown | dpx20-bull) - cpu=rs6000 - vendor=bull + + # Normalized CPU+vendor pairs that imply an OS, if not otherwise specified + m68k-isi) + basic_os=${basic_os:-sysv} + ;; + m68k-sony) + basic_os=${basic_os:-newsos} + ;; + m68k-tektronix) + basic_os=${basic_os:-bsd} + ;; + m88k-harris) + basic_os=${basic_os:-sysv3} + ;; + i386-bull | m68k-bull) + basic_os=${basic_os:-sysv3} + ;; + rs6000-bull) basic_os=${basic_os:-bosx} ;; + mips-sni) + basic_os=${basic_os:-sysv4} + ;; # Here we normalize CPU types irrespective of the vendor amd64-*) @@ -1038,7 +1111,7 @@ case $cpu-$vendor in ;; blackfin-*) cpu=bfin - basic_os=linux + basic_os=${basic_os:-linux} ;; c54x-*) cpu=tic54x @@ -1061,7 +1134,7 @@ case $cpu-$vendor in ;; m68knommu-*) cpu=m68k - basic_os=linux + basic_os=${basic_os:-linux} ;; m9s12z-* | m68hcs12z-* | hcs12z-* | s12z-*) cpu=s12z @@ -1071,7 +1144,7 @@ case $cpu-$vendor in ;; parisc-*) cpu=hppa - basic_os=linux + basic_os=${basic_os:-linux} ;; pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) cpu=i586 @@ -1085,9 +1158,6 @@ case $cpu-$vendor in pentium4-*) cpu=i786 ;; - pc98-*) - cpu=i386 - ;; ppc-* | ppcbe-*) cpu=powerpc ;; @@ -1121,13 +1191,10 @@ case $cpu-$vendor in tx39el-*) cpu=mipstx39el ;; - x64-*) - cpu=x86_64 - ;; xscale-* | xscalee[bl]-*) cpu=`echo "$cpu" | sed 's/^xscale/arm/'` ;; - arm64-* | aarch64le-*) + arm64-* | aarch64le-* | arm64_32-*) cpu=aarch64 ;; @@ -1179,90 +1246,229 @@ case $cpu-$vendor in # Recognize the canonical CPU types that are allowed with any # company name. case $cpu in - 1750a | 580 \ + 1750a \ + | 580 \ + | [cjt]90 \ | a29k \ - | aarch64 | aarch64_be | aarch64c | arm64ec \ + | aarch64 \ + | aarch64_be \ + | aarch64c \ | abacus \ - | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] \ - | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] \ - | alphapca5[67] | alpha64pca5[67] \ + | alpha \ + | alpha64 \ + | alpha64ev56 \ + | alpha64ev6[78] \ + | alpha64ev[4-8] \ + | alpha64pca5[67] \ + | alphaev56 \ + | alphaev6[78] \ + | alphaev[4-8] \ + | alphapca5[67] \ | am33_2.0 \ | amdgcn \ - | arc | arceb | arc32 | arc64 \ - | arm | arm[lb]e | arme[lb] | armv* \ - | avr | avr32 \ + | arc \ + | arc32 \ + | arc64 \ + | arceb \ + | arm \ + | arm64e \ + | arm64ec \ + | arm[lb]e \ + | arme[lb] \ + | armv* \ | asmjs \ + | avr \ + | avr32 \ | ba \ - | be32 | be64 \ - | bfin | bpf | bs2000 \ - | c[123]* | c30 | [cjt]90 | c4x \ - | c8051 | clipper | craynv | csky | cydra \ - | d10v | d30v | dlx | dsp16xx \ - | e2k | elxsi | epiphany \ - | f30[01] | f700 | fido | fr30 | frv | ft32 | fx80 \ - | javascript \ - | h8300 | h8500 \ - | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ + | be32 \ + | be64 \ + | bfin \ + | bpf \ + | bs2000 \ + | c30 \ + | c4x \ + | c8051 \ + | c[123]* \ + | clipper \ + | craynv \ + | csky \ + | cydra \ + | d10v \ + | d30v \ + | dlx \ + | dsp16xx \ + | e2k \ + | elxsi \ + | epiphany \ + | f30[01] \ + | f700 \ + | fido \ + | fr30 \ + | frv \ + | ft32 \ + | fx80 \ + | h8300 \ + | h8500 \ | hexagon \ - | i370 | i*86 | i860 | i960 | ia16 | ia64 \ - | ip2k | iq2000 \ + | hppa \ + | hppa1.[01] \ + | hppa2.0 \ + | hppa2.0[nw] \ + | hppa64 \ + | i*86 \ + | i370 \ + | i860 \ + | i960 \ + | ia16 \ + | ia64 \ + | intelgt \ + | ip2k \ + | iq2000 \ + | javascript \ | k1om \ | kvx \ - | le32 | le64 \ + | le32 \ + | le64 \ | lm32 \ - | loongarch32 | loongarch64 \ - | m32c | m32r | m32rle \ - | m5200 | m68000 | m680[012346]0 | m68360 | m683?2 | m68k \ - | m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x \ - | m88110 | m88k | maxq | mb | mcore | mep | metag \ - | microblaze | microblazeel \ + | loongarch32 \ + | loongarch64 \ + | m32c \ + | m32r \ + | m32rle \ + | m5200 \ + | m68000 \ + | m680[012346]0 \ + | m6811 \ + | m6812 \ + | m68360 \ + | m683?2 \ + | m68hc11 \ + | m68hc12 \ + | m68hcs12x \ + | m68k \ + | m88110 \ + | m88k \ + | maxq \ + | mb \ + | mcore \ + | mep \ + | metag \ + | microblaze \ + | microblazeel \ | mips* \ | mmix \ - | mn10200 | mn10300 \ + | mn10200 \ + | mn10300 \ | moxie \ - | mt \ | msp430 \ + | mt \ | nanomips* \ - | nds32 | nds32le | nds32be \ + | nds32 \ + | nds32be \ + | nds32le \ | nfp \ - | nios | nios2 | nios2eb | nios2el \ - | none | np1 | ns16k | ns32k | nvptx \ + | nios \ + | nios2 \ + | nios2eb \ + | nios2el \ + | none \ + | np1 \ + | ns16k \ + | ns32k \ + | nvptx \ | open8 \ | or1k* \ | or32 \ | orion \ + | pdp10 \ + | pdp11 \ | picochip \ - | pdp10 | pdp11 | pj | pjl | pn | power \ - | powerpc | powerpc64 | powerpc64le | powerpcle | powerpcspe \ + | pj \ + | pjl \ + | pn \ + | power \ + | powerpc \ + | powerpc64 \ + | powerpc64le \ + | powerpcle \ + | powerpcspe \ | pru \ | pyramid \ - | riscv | riscv32 | riscv32be | riscv64 | riscv64be \ - | rl78 | romp | rs6000 | rx \ - | s390 | s390x \ + | riscv \ + | riscv32 \ + | riscv32be \ + | riscv64 \ + | riscv64be \ + | rl78 \ + | romp \ + | rs6000 \ + | rx \ + | s390 \ + | s390x \ | score \ - | sh | shl \ - | sh[1234] | sh[24]a | sh[24]ae[lb] | sh[23]e | she[lb] | sh[lb]e \ - | sh[1234]e[lb] | sh[12345][lb]e | sh[23]ele | sh64 | sh64le \ - | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet \ + | sh \ + | sh64 \ + | sh64le \ + | sh[12345][lb]e \ + | sh[1234] \ + | sh[1234]e[lb] \ + | sh[23]e \ + | sh[23]ele \ + | sh[24]a \ + | sh[24]ae[lb] \ + | sh[lb]e \ + | she[lb] \ + | shl \ + | sparc \ + | sparc64 \ + | sparc64b \ + | sparc64v \ + | sparc86x \ + | sparclet \ | sparclite \ - | sparcv8 | sparcv9 | sparcv9b | sparcv9v | sv1 | sx* \ + | sparcv8 \ + | sparcv9 \ + | sparcv9b \ + | sparcv9v \ | spu \ + | sv1 \ + | sw_64 \ + | sx* \ | tahoe \ | thumbv7* \ - | tic30 | tic4x | tic54x | tic55x | tic6x | tic80 \ + | tic30 \ + | tic4x \ + | tic54x \ + | tic55x \ + | tic6x \ + | tic80 \ | tron \ | ubicom32 \ - | v70 | v850 | v850e | v850e1 | v850es | v850e2 | v850e2v3 \ + | v70 \ + | v810 \ + | v850 \ + | v850e \ + | v850e1 \ + | v850e2 \ + | v850e2v3 \ + | v850es \ | vax \ | vc4 \ | visium \ | w65 \ - | wasm32 | wasm64 \ + | wasm32 \ + | wasm64 \ | we32k \ - | x86 | x86_64 | xc16x | xgate | xps100 \ - | xstormy16 | xtensa* \ + | x86 \ + | x86_64 \ + | xc16x \ + | xgate \ + | xps100 \ + | xstormy16 \ + | xtensa* \ | ymp \ - | z8k | z80) + | z80 \ + | z8k) ;; *) @@ -1307,7 +1513,6 @@ case $basic_os in os=`echo "$basic_os" | sed -e 's|nto-qnx|qnx|'` ;; *-*) - # shellcheck disable=SC2162 saved_IFS=$IFS IFS="-" read kernel os <<EOF $basic_os @@ -1319,6 +1524,10 @@ EOF kernel=nto os=`echo "$basic_os" | sed -e 's|nto|qnx|'` ;; + ironclad*) + kernel=ironclad + os=`echo "$basic_os" | sed -e 's|ironclad|gnu|'` + ;; linux*) kernel=linux os=`echo "$basic_os" | sed -e 's|linux|gnu|'` @@ -1354,6 +1563,23 @@ case $os in unixware*) os=sysv4.2uw ;; + # The marketing names for NeXT's operating systems were + # NeXTSTEP, NeXTSTEP 2, OpenSTEP 3, OpenSTEP 4. 'openstep' is + # mapped to 'openstep3', but 'openstep1' and 'openstep2' are + # mapped to 'nextstep' and 'nextstep2', consistent with the + # treatment of SunOS/Solaris. + ns | ns1 | nextstep | nextstep1 | openstep1) + os=nextstep + ;; + ns2 | nextstep2 | openstep2) + os=nextstep2 + ;; + ns3 | nextstep3 | openstep | openstep3) + os=openstep3 + ;; + ns4 | nextstep4 | openstep4) + os=openstep4 + ;; # es1800 is here to avoid being matched by es* (a different OS) es1800*) os=ose @@ -1424,6 +1650,7 @@ case $os in ;; utek*) os=bsd + vendor=`echo "$vendor" | sed -e 's|^unknown$|tektronix|'` ;; dynix*) os=bsd @@ -1440,21 +1667,25 @@ case $os in 386bsd) os=bsd ;; - ctix* | uts*) + ctix*) os=sysv + vendor=`echo "$vendor" | sed -e 's|^unknown$|convergent|'` ;; - nova*) - os=rtmk-nova + uts*) + os=sysv ;; - ns2) - os=nextstep2 + nova*) + kernel=rtmk + os=nova ;; # Preserve the version number of sinix5. sinix5.*) os=`echo "$os" | sed -e 's|sinix|sysv|'` + vendor=`echo "$vendor" | sed -e 's|^unknown$|sni|'` ;; sinix*) os=sysv4 + vendor=`echo "$vendor" | sed -e 's|^unknown$|sni|'` ;; tpf*) os=tpf @@ -1595,6 +1826,14 @@ case $cpu-$vendor in os= obj=elf ;; + # The -sgi and -siemens entries must be before the mips- entry + # or we get the wrong os. + *-sgi) + os=irix + ;; + *-siemens) + os=sysv4 + ;; mips*-cisco) os= obj=elf @@ -1607,7 +1846,8 @@ case $cpu-$vendor in os= obj=coff ;; - *-tti) # must be before sparc entry or we get the wrong os. + # This must be before the sparc-* entry or we get the wrong os. + *-tti) os=sysv3 ;; sparc-* | *-sun) @@ -1639,7 +1879,7 @@ case $cpu-$vendor in os=hpux ;; *-hitachi) - os=hiux + os=hiuxwe2 ;; i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) os=sysv @@ -1683,12 +1923,6 @@ case $cpu-$vendor in *-encore) os=bsd ;; - *-sgi) - os=irix - ;; - *-siemens) - os=sysv4 - ;; *-masscomp) os=rtu ;; @@ -1735,40 +1969,194 @@ case $os in ghcjs) ;; # Now accept the basic system types. - # The portable systems comes first. # Each alternative MUST end in a * to match a version number. - gnu* | android* | bsd* | mach* | minix* | genix* | ultrix* | irix* \ - | *vms* | esix* | aix* | cnk* | sunos | sunos[34]* \ - | hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \ - | sym* | plan9* | psp* | sim* | xray* | os68k* | v88r* \ - | hiux* | abug | nacl* | netware* | windows* \ - | os9* | macos* | osx* | ios* | tvos* | watchos* \ - | mpw* | magic* | mmixware* | mon960* | lnews* \ - | amigaos* | amigados* | msdos* | newsos* | unicos* | aof* \ - | aos* | aros* | cloudabi* | sortix* | twizzler* \ - | nindy* | vxsim* | vxworks* | ebmon* | hms* | mvs* \ - | clix* | riscos* | uniplus* | iris* | isc* | rtu* | xenix* \ - | mirbsd* | netbsd* | dicos* | openedition* | ose* \ - | bitrig* | openbsd* | secbsd* | solidbsd* | libertybsd* | os108* \ - | ekkobsd* | freebsd* | riscix* | lynxos* | os400* \ - | bosx* | nextstep* | cxux* | oabi* \ - | ptx* | ecoff* | winnt* | domain* | vsta* \ - | udi* | lites* | ieee* | go32* | aux* | hcos* \ - | chorusrdb* | cegcc* | glidix* | serenity* \ - | cygwin* | msys* | moss* | proelf* | rtems* \ - | midipix* | mingw32* | mingw64* | mint* \ - | uxpv* | beos* | mpeix* | udk* | moxiebox* \ - | interix* | uwin* | mks* | rhapsody* | darwin* \ - | openstep* | oskit* | conix* | pw32* | nonstopux* \ - | storm-chaos* | tops10* | tenex* | tops20* | its* \ - | os2* | vos* | palmos* | uclinux* | nucleus* | morphos* \ - | scout* | superux* | sysv* | rtmk* | tpf* | windiss* \ - | powermax* | dnix* | nx6 | nx7 | sei* | dragonfly* \ - | skyos* | haiku* | rdos* | toppers* | drops* | es* \ - | onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \ - | midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \ - | nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \ - | fiwix* | mlibc* | cos* | mbr* | ironclad* ) + abug \ + | aix* \ + | amdhsa* \ + | amigados* \ + | amigaos* \ + | android* \ + | aof* \ + | aos* \ + | aros* \ + | atheos* \ + | auroraux* \ + | aux* \ + | banan_os* \ + | beos* \ + | bitrig* \ + | bme* \ + | bosx* \ + | bsd* \ + | cegcc* \ + | chorusos* \ + | chorusrdb* \ + | clix* \ + | cloudabi* \ + | cnk* \ + | conix* \ + | cos* \ + | cxux* \ + | cygwin* \ + | darwin* \ + | dgux* \ + | dicos* \ + | dnix* \ + | domain* \ + | dragonfly* \ + | drops* \ + | ebmon* \ + | ecoff* \ + | ekkobsd* \ + | emscripten* \ + | emx* \ + | es* \ + | fiwix* \ + | freebsd* \ + | fuchsia* \ + | genix* \ + | genode* \ + | glidix* \ + | gnu* \ + | go32* \ + | haiku* \ + | hcos* \ + | hiux* \ + | hms* \ + | hpux* \ + | ieee* \ + | interix* \ + | ios* \ + | iris* \ + | irix* \ + | isc* \ + | its* \ + | l4re* \ + | libertybsd* \ + | lites* \ + | lnews* \ + | luna* \ + | lynxos* \ + | mach* \ + | macos* \ + | magic* \ + | mbr* \ + | midipix* \ + | midnightbsd* \ + | mingw32* \ + | mingw64* \ + | minix* \ + | mint* \ + | mirbsd* \ + | mks* \ + | mlibc* \ + | mmixware* \ + | mon960* \ + | morphos* \ + | moss* \ + | moxiebox* \ + | mpeix* \ + | mpw* \ + | msdos* \ + | msys* \ + | mvs* \ + | nacl* \ + | netbsd* \ + | netware* \ + | newsos* \ + | nextstep* \ + | nindy* \ + | nonstopux* \ + | nova* \ + | nsk* \ + | nucleus* \ + | nx6 \ + | nx7 \ + | oabi* \ + | ohos* \ + | onefs* \ + | openbsd* \ + | openedition* \ + | openstep* \ + | os108* \ + | os2* \ + | os400* \ + | os68k* \ + | os9* \ + | ose* \ + | osf* \ + | oskit* \ + | osx* \ + | palmos* \ + | phoenix* \ + | plan9* \ + | powermax* \ + | powerunix* \ + | proelf* \ + | psos* \ + | psp* \ + | ptx* \ + | pw32* \ + | qnx* \ + | rdos* \ + | redox* \ + | rhapsody* \ + | riscix* \ + | riscos* \ + | rtems* \ + | rtmk* \ + | rtu* \ + | scout* \ + | secbsd* \ + | sei* \ + | serenity* \ + | sim* \ + | skyos* \ + | solaris* \ + | solidbsd* \ + | sortix* \ + | storm-chaos* \ + | sunos \ + | sunos[34]* \ + | superux* \ + | syllable* \ + | sym* \ + | sysv* \ + | tenex* \ + | tirtos* \ + | tock* \ + | toppers* \ + | tops10* \ + | tops20* \ + | tpf* \ + | tvos* \ + | twizzler* \ + | uclinux* \ + | udi* \ + | udk* \ + | ultrix* \ + | unicos* \ + | uniplus* \ + | unleashed* \ + | unos* \ + | uwin* \ + | uxpv* \ + | v88r* \ + |*vms* \ + | vos* \ + | vsta* \ + | vxsim* \ + | vxworks* \ + | wasi* \ + | watchos* \ + | wince* \ + | windiss* \ + | windows* \ + | winnt* \ + | xenix* \ + | xray* \ + | zephyr* \ + | zvmoe* ) ;; # This one is extra strict with allowed versions sco3.2v2 | sco3.2v[4-9]* | sco5v6*) @@ -1829,9 +2217,11 @@ esac case $kernel-$os-$obj in linux-gnu*- | linux-android*- | linux-dietlibc*- | linux-llvm*- \ | linux-mlibc*- | linux-musl*- | linux-newlib*- \ - | linux-relibc*- | linux-uclibc*- ) + | linux-relibc*- | linux-uclibc*- | linux-ohos*- ) + ;; + uclinux-uclibc*- | uclinux-gnu*- ) ;; - uclinux-uclibc*- ) + ironclad-gnu*- | ironclad-mlibc*- ) ;; managarm-mlibc*- | managarm-kernel*- ) ;; @@ -1856,7 +2246,7 @@ case $kernel-$os-$obj in echo "Invalid configuration '$1': '$os' needs 'windows'." 1>&2 exit 1 ;; - kfreebsd*-gnu*- | kopensolaris*-gnu*-) + kfreebsd*-gnu*- | knetbsd*-gnu*- | netbsd*-gnu*- | kopensolaris*-gnu*-) ;; vxworks-simlinux- | vxworks-simwindows- | vxworks-spe-) ;; @@ -1864,8 +2254,12 @@ case $kernel-$os-$obj in ;; os2-emx-) ;; + rtmk-nova-) + ;; *-eabi*- | *-gnueabi*-) ;; + ios*-simulator- | tvos*-simulator- | watchos*-simulator- ) + ;; none--*) # None (no kernel, i.e. freestanding / bare metal), # can be paired with an machine code file format @@ -1890,7 +2284,7 @@ case $vendor in *-riscix*) vendor=acorn ;; - *-sunos*) + *-sunos* | *-solaris*) vendor=sun ;; *-cnk* | *-aix*) @@ -1964,8 +2358,8 @@ echo "$cpu-$vendor${kernel:+-$kernel}${os:+-$os}${obj:+-$obj}" exit # Local variables: -# eval: (add-hook 'before-save-hook 'time-stamp) +# eval: (add-hook 'before-save-hook 'time-stamp nil t) # time-stamp-start: "timestamp='" -# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-format: "%Y-%02m-%02d" # time-stamp-end: "'" # End: @@ -774,6 +774,7 @@ RANLIB ac_ct_AR DLLTOOL OBJDUMP +FILECMD LN_S NM ac_ct_DUMPBIN @@ -885,8 +886,10 @@ enable_pie enable_relro_now enable_shared enable_static +enable_pic with_pic enable_fast_install +enable_aix_soname with_aix_soname with_gnu_ld with_sysroot @@ -1596,8 +1599,13 @@ Optional Features: NOW, to protect GOT and .dtor areas) --enable-shared[=PKGS] build shared libraries [default=yes] --enable-static[=PKGS] build static libraries [default=yes] + --enable-pic[=PKGS] try to use only PIC/non-PIC objects [default=use + both] --enable-fast-install[=PKGS] optimize for fast installation [default=yes] + --enable-aix-soname=aix|svr4|both + shared library versioning (aka "SONAME") variant to + provide on AIX, [default=aix]. --disable-libtool-lock avoid locking (might break parallel builds) --disable-rpath disable hardcoded rpath (default=enabled) --disable-largefile omit support for large files @@ -1677,11 +1685,6 @@ Optional Packages: not exist if you are content with the builtin. --with-username=user set default user that unbound changes to (default user is unbound) - --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use - both] - --with-aix-soname=aix|svr4|both - shared library versioning (aka "SONAME") variant to - provide on AIX, [default=aix]. --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-sysroot[=DIR] Search for dependent libraries within DIR (or the compiler's sysroot if not specified). @@ -7861,8 +7864,8 @@ esac -macro_version='2.4.6' -macro_revision='2.4.6' +macro_version='2.5.4' +macro_revision='2.5.4' @@ -8216,7 +8219,7 @@ if test yes = "$GCC"; then { 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*) + *-*-mingw* | *-*-windows*) # gcc leaves a trailing carriage return, which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) @@ -8343,16 +8346,16 @@ else # Tru64's nm complains that /dev/null is an invalid object file # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty case $build_os in - mingw*) lt_bad_file=conftest.nm/nofile ;; + mingw* | windows*) lt_bad_file=conftest.nm/nofile ;; *) lt_bad_file=/dev/null ;; esac - case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in + case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in *$lt_bad_file* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break 2 ;; *) - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break 2 @@ -8490,7 +8493,7 @@ esac fi fi - case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in + case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in *COFF*) DUMPBIN="$DUMPBIN -symbols -headers" ;; @@ -8565,14 +8568,14 @@ else $as_nop lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; - gnu*) - # Under GNU Hurd, this test is not required because there is - # no limit to the length of command line arguments. + gnu* | ironclad*) + # Under GNU Hurd and Ironclad, this test is not required because there + # is no limit to the length of command line arguments. # Libtool will interpret -1 as no limit whatsoever lt_cv_sys_max_cmd_len=-1; ;; - cygwin* | mingw* | cegcc*) + cygwin* | mingw* | windows* | cegcc*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, @@ -8594,7 +8597,7 @@ else $as_nop lt_cv_sys_max_cmd_len=8192; ;; - bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) + darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*) # This has been around since 386BSD, at least. Likely further. if test -x /sbin/sysctl; then lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` @@ -8637,7 +8640,7 @@ else $as_nop sysv5* | sco5v6* | sysv4.2uw2*) kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` if test -n "$kargmax"; then - lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` + lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[ ]//'` else lt_cv_sys_max_cmd_len=32768 fi @@ -8736,7 +8739,7 @@ else $as_nop case $host in *-*-mingw* ) case $build in - *-*-mingw* ) # actually msys + *-*-mingw* | *-*-windows* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 ;; *-*-cygwin* ) @@ -8749,7 +8752,7 @@ else $as_nop ;; *-*-cygwin* ) case $build in - *-*-mingw* ) # actually msys + *-*-mingw* | *-*-windows* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin ;; *-*-cygwin* ) @@ -8784,9 +8787,9 @@ else $as_nop #assume ordinary cross tools, or native build. lt_cv_to_tool_file_cmd=func_convert_file_noop case $host in - *-*-mingw* ) + *-*-mingw* | *-*-windows* ) case $build in - *-*-mingw* ) # actually msys + *-*-mingw* | *-*-windows* ) # actually msys lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 ;; esac @@ -8820,7 +8823,7 @@ case $reload_flag in esac reload_cmds='$LD$reload_flag -o $output$reload_objs' case $host_os in - cygwin* | mingw* | pw32* | cegcc*) + cygwin* | mingw* | windows* | pw32* | cegcc*) if test yes != "$GCC"; then reload_cmds=false fi @@ -8842,6 +8845,55 @@ esac +# Extract the first word of "file", so it can be a program name with args. +set dummy file; ac_word=$2 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_FILECMD+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test -n "$FILECMD"; then + ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_prog_FILECMD="file" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":" +fi +fi +FILECMD=$ac_cv_prog_FILECMD +if test -n "$FILECMD"; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5 +printf "%s\n" "$FILECMD" >&6; } +else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } +fi + + + + + + + + if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. set dummy ${ac_tool_prefix}objdump; ac_word=$2 @@ -8968,7 +9020,6 @@ lt_cv_deplibs_check_method='unknown' # 'none' -- dependencies not supported. # 'unknown' -- same as none, but documents that we really don't know. # 'pass_all' -- all dependencies passed with no checks. -# 'test_compile' -- check by making test program. # 'file_magic [[regex]]' -- check by looking for files in library path # that responds to the $file_magic_cmd with a given extended regex. # If you have 'file' or equivalent on your system and you're not sure @@ -8985,7 +9036,7 @@ beos*) bsdi[45]*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' - lt_cv_file_magic_cmd='/usr/bin/file -L' + lt_cv_file_magic_cmd='$FILECMD -L' lt_cv_file_magic_test_file=/shlib/libc.so ;; @@ -8995,7 +9046,7 @@ cygwin*) lt_cv_file_magic_cmd='func_win32_libid' ;; -mingw* | pw32*) +mingw* | windows* | pw32*) # Base MSYS/MinGW do not provide the 'file' command needed by # func_win32_libid shell function, so use a weaker test based on 'objdump', # unless we find 'file', for example because we are cross-compiling. @@ -9004,7 +9055,7 @@ mingw* | pw32*) lt_cv_file_magic_cmd='func_win32_libid' else # Keep this pattern in sync with the one in func_win32_libid. - lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' + lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)' lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; @@ -9019,14 +9070,14 @@ darwin* | rhapsody*) lt_cv_deplibs_check_method=pass_all ;; -freebsd* | dragonfly*) +freebsd* | dragonfly* | midnightbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' - lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_cmd=$FILECMD lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; esac @@ -9040,7 +9091,7 @@ haiku*) ;; hpux10.20* | hpux11*) - lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_cmd=$FILECMD case $host_cpu in ia64*) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' @@ -9077,7 +9128,11 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) lt_cv_deplibs_check_method=pass_all ;; -netbsd*) +*-mlibc) + lt_cv_deplibs_check_method=pass_all + ;; + +netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' else @@ -9087,7 +9142,7 @@ netbsd*) newos6*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' - lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_cmd=$FILECMD lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; @@ -9095,7 +9150,7 @@ newos6*) lt_cv_deplibs_check_method=pass_all ;; -openbsd* | bitrig*) +openbsd*) if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' else @@ -9111,6 +9166,10 @@ rdos*) lt_cv_deplibs_check_method=pass_all ;; +serenity*) + lt_cv_deplibs_check_method=pass_all + ;; + solaris*) lt_cv_deplibs_check_method=pass_all ;; @@ -9162,7 +9221,7 @@ file_magic_glob= want_nocaseglob=no if test "$build" = "$host"; then case $host_os in - mingw* | pw32*) + mingw* | windows* | pw32*) if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then want_nocaseglob=yes else @@ -9319,7 +9378,7 @@ else $as_nop lt_cv_sharedlib_from_linklib_cmd='unknown' case $host_os in -cygwin* | mingw* | pw32* | cegcc*) +cygwin* | mingw* | windows* | pw32* | cegcc*) # two different shell functions defined in ltmain.sh; # decide which one to use based on capabilities of $DLLTOOL case `$DLLTOOL --help 2>&1` in @@ -9350,6 +9409,108 @@ test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 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 "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_RANLIB+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test -n "$RANLIB"; then + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +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; } +else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_RANLIB"; then + 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 "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_RANLIB+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test -n "$ac_ct_RANLIB"; then + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_RANLIB="ranlib" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_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; } +else + { 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 + RANLIB=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + RANLIB=$ac_ct_RANLIB + fi +else + RANLIB="$ac_cv_prog_RANLIB" +fi + +if test -n "$ac_tool_prefix"; then for ac_prog in ar do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. @@ -9460,13 +9621,29 @@ esac fi : ${AR=ar} -: ${AR_FLAGS=cru} +# Use ARFLAGS variable as AR's operation code to sync the variable naming with +# Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have +# higher priority because that's what people were doing historically (setting +# ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS +# variable obsoleted/removed. + +test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr} +lt_ar_flags=$AR_FLAGS + + + + + + +# Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override +# by AR_FLAGS because that was never working and AR_FLAGS is about to die. + @@ -9641,107 +9818,6 @@ test -z "$STRIP" && STRIP=: -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 "checking for $ac_word... " >&6; } -if test ${ac_cv_prog_RANLIB+y} -then : - printf %s "(cached) " >&6 -else $as_nop - if test -n "$RANLIB"; then - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then - ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -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; } -else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_RANLIB"; then - 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 "checking for $ac_word... " >&6; } -if test ${ac_cv_prog_ac_ct_RANLIB+y} -then : - printf %s "(cached) " >&6 -else $as_nop - if test -n "$ac_ct_RANLIB"; then - ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_RANLIB="ranlib" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_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; } -else - { 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 - RANLIB=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - RANLIB=$ac_ct_RANLIB - fi -else - RANLIB="$ac_cv_prog_RANLIB" -fi test -z "$RANLIB" && RANLIB=: @@ -9756,15 +9832,8 @@ old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then - case $host_os in - bitrig* | openbsd*) - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" - ;; - *) - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" - ;; - esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" fi case $host_os in @@ -9891,7 +9960,7 @@ case $host_os in aix*) symcode='[BCDT]' ;; -cygwin* | mingw* | pw32* | cegcc*) +cygwin* | mingw* | windows* | pw32* | cegcc*) symcode='[ABCDGISTW]' ;; hpux*) @@ -9906,7 +9975,7 @@ osf*) symcode='[BCDEGQRST]' ;; solaris*) - symcode='[BDRT]' + symcode='[BCDRT]' ;; sco3.2v5*) symcode='[DT]' @@ -9930,7 +9999,7 @@ esac if test "$lt_cv_nm_interface" = "MS dumpbin"; then # Gets list of data symbols to import. - lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" + lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'" # Adjust the below global symbol transforms to fixup imported variables. lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" @@ -9948,20 +10017,20 @@ fi # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n"\ +lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address -lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ +lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\ $lt_c_name_hook\ " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" # Transform an extracted symbol line into symbol name with lib prefix and # symbol address. -lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\ $lt_c_name_lib_hook\ " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ @@ -9970,7 +10039,7 @@ $lt_c_name_lib_hook\ # Handle CRLF in mingw tool chain opt_cr= case $build_os in -mingw*) +mingw* | windows*) opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac @@ -9985,7 +10054,7 @@ for ac_symprfx in "" "_"; do if test "$lt_cv_nm_interface" = "MS dumpbin"; then # Fake it for dumpbin and say T for any non-static function, # D for any global variable and I for any imported variable. - # Also find C++ and __fastcall symbols from MSVC++, + # Also find C++ and __fastcall symbols from MSVC++ or ICC, # which start with @ or ?. lt_cv_sys_global_symbol_pipe="$AWK '"\ " {last_section=section; section=\$ 3};"\ @@ -10003,9 +10072,9 @@ for ac_symprfx in "" "_"; do " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ " ' prfx=^$ac_symprfx" else - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" + lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" fi - lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" + lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'" # Check to see that the pipe works correctly. pipe_works=no @@ -10021,7 +10090,7 @@ void nm_test_func(void){} #ifdef __cplusplus } #endif -int main(){nm_test_var='a';nm_test_func();return(0);} +int main(void){nm_test_var='a';nm_test_func();return(0);} _LT_EOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 @@ -10031,11 +10100,8 @@ _LT_EOF 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 - test $ac_status = 0; } && test -s "$nlist"; then + $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5 + if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" @@ -10204,11 +10270,13 @@ lt_sysroot= case $with_sysroot in #( yes) if test yes = "$GCC"; then - lt_sysroot=`$CC --print-sysroot 2>/dev/null` + # Trim trailing / since we'll always append absolute paths and we want + # to avoid //, if only for less confusing output for the user. + lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'` fi ;; #( /*) - lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` + lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"` ;; #( no|'') ;; #( @@ -10333,7 +10401,7 @@ ia64-*-hpux*) ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - case `/usr/bin/file conftest.$ac_objext` in + case `$FILECMD conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE=32 ;; @@ -10354,7 +10422,7 @@ ia64-*-hpux*) printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then if test yes = "$lt_cv_prog_gnu_ld"; then - case `/usr/bin/file conftest.$ac_objext` in + case `$FILECMD conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -melf32bsmip" ;; @@ -10366,7 +10434,7 @@ ia64-*-hpux*) ;; esac else - case `/usr/bin/file conftest.$ac_objext` in + case `$FILECMD conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; @@ -10392,7 +10460,7 @@ mips64*-*linux*) printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then emul=elf - case `/usr/bin/file conftest.$ac_objext` in + case `$FILECMD conftest.$ac_objext` in *32-bit*) emul="${emul}32" ;; @@ -10400,7 +10468,7 @@ mips64*-*linux*) emul="${emul}64" ;; esac - case `/usr/bin/file conftest.$ac_objext` in + case `$FILECMD conftest.$ac_objext` in *MSB*) emul="${emul}btsmip" ;; @@ -10408,7 +10476,7 @@ mips64*-*linux*) emul="${emul}ltsmip" ;; esac - case `/usr/bin/file conftest.$ac_objext` in + case `$FILECMD conftest.$ac_objext` in *N32*) emul="${emul}n32" ;; @@ -10419,7 +10487,7 @@ mips64*-*linux*) ;; x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ -s390*-*linux*|s390*-*tpf*|sparc*-*linux*) +s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. Note that the listed cases only cover the # situations where additional linker options are needed (such as when @@ -10432,14 +10500,14 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - case `/usr/bin/file conftest.o` in + case `$FILECMD conftest.o` in *32-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_i386_fbsd" ;; - x86_64-*linux*) - case `/usr/bin/file conftest.o` in + x86_64-*linux*|x86_64-gnu*) + case `$FILECMD conftest.o` in *x86-64*) LD="${LD-ld} -m elf32_x86_64" ;; @@ -10467,7 +10535,7 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_x86_64_fbsd" ;; - x86_64-*linux*) + x86_64-*linux*|x86_64-gnu*) LD="${LD-ld} -m elf_x86_64" ;; powerpcle-*linux*) @@ -10547,7 +10615,7 @@ printf "%s\n" "$lt_cv_cc_needs_belf" >&6; } ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - case `/usr/bin/file conftest.o` in + case `$FILECMD conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in yes*) @@ -10684,22 +10752,22 @@ fi test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } -if test ${lt_cv_path_mainfest_tool+y} +if test ${lt_cv_path_manifest_tool+y} then : printf %s "(cached) " >&6 else $as_nop - lt_cv_path_mainfest_tool=no + lt_cv_path_manifest_tool=no echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out cat conftest.err >&5 if $GREP 'Manifest Tool' conftest.out > /dev/null; then - lt_cv_path_mainfest_tool=yes + lt_cv_path_manifest_tool=yes fi rm -f conftest* fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 -printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; } -if test yes != "$lt_cv_path_mainfest_tool"; then +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5 +printf "%s\n" "$lt_cv_path_manifest_tool" >&6; } +if test yes != "$lt_cv_path_manifest_tool"; then MANIFEST_TOOL=: fi @@ -11283,6 +11351,43 @@ 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; } + # Feature test to disable chained fixups since it is not + # compatible with '-undefined dynamic_lookup' + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5 +printf %s "checking for -no_fixup_chains linker flag... " >&6; } +if test ${lt_cv_support_no_fixup_chains+y} +then : + printf %s "(cached) " >&6 +else $as_nop + save_LDFLAGS=$LDFLAGS + LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO" +then : + lt_cv_support_no_fixup_chains=yes +else $as_nop + lt_cv_support_no_fixup_chains=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS=$save_LDFLAGS + + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5 +printf "%s\n" "$lt_cv_support_no_fixup_chains" >&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} @@ -11330,12 +11435,12 @@ int forced_loaded() { return 2;} _LT_EOF echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 - echo "$AR cru libconftest.a conftest.o" >&5 - $AR cru libconftest.a conftest.o 2>&5 + echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5 + $AR $AR_FLAGS libconftest.a conftest.o 2>&5 echo "$RANLIB libconftest.a" >&5 $RANLIB libconftest.a 2>&5 cat > conftest.c << _LT_EOF -int main() { return 0;} +int main(void) { return 0;} _LT_EOF echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err @@ -11358,23 +11463,37 @@ printf "%s\n" "$lt_cv_ld_force_load" >&6; } _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; darwin1.*) _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; - darwin*) # darwin 5.x on - # if running on 10.5 or later, the deployment target defaults - # to the OS version, if on x86, and 10.4, the deployment - # target defaults to 10.4. Don't you love it? - case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in - 10.0,*86*-darwin8*|10.0,*-darwin[91]*) - _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; - 10.[012][,.]*) - _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; - 10.*) - _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; + darwin*) + case $MACOSX_DEPLOYMENT_TARGET,$host in + 10.[012],*|,*powerpc*-darwin[5-8]*) + _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; + *) + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' + if test yes = "$lt_cv_support_no_fixup_chains"; then + as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains' + fi + ;; esac ;; esac if test yes = "$lt_cv_apple_cc_single_mod"; then _lt_dar_single_mod='$single_module' fi + _lt_dar_needs_single_mod=no + case $host_os in + rhapsody* | darwin1.*) + _lt_dar_needs_single_mod=yes ;; + darwin*) + # When targeting Mac OS X 10.4 (darwin 8) or later, + # -single_module is the default and -multi_module is unsupported. + # The toolchain on macOS 10.14 (darwin 18) and later cannot + # target any OS version that needs -single_module. + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in + 10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*) + _lt_dar_needs_single_mod=yes ;; + esac + ;; + esac if test yes = "$lt_cv_ld_exported_symbols_list"; then _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' else @@ -11511,31 +11630,53 @@ fi - -# Check whether --with-pic was given. + # Check whether --enable-pic was given. +if test ${enable_pic+y} +then : + enableval=$enable_pic; lt_p=${PACKAGE-default} + case $enableval in + yes|no) pic_mode=$enableval ;; + *) + pic_mode=default + # Look at the argument we got. We use all the common list separators. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, + for lt_pkg in $enableval; do + IFS=$lt_save_ifs + if test "X$lt_pkg" = "X$lt_p"; then + pic_mode=yes + fi + done + IFS=$lt_save_ifs + ;; + esac +else $as_nop + # Check whether --with-pic was given. if test ${with_pic+y} then : withval=$with_pic; lt_p=${PACKAGE-default} - case $withval in - yes|no) pic_mode=$withval ;; - *) - pic_mode=default - # Look at the argument we got. We use all the common list separators. - lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, - for lt_pkg in $withval; do - IFS=$lt_save_ifs - if test "X$lt_pkg" = "X$lt_p"; then - pic_mode=yes - fi - done - IFS=$lt_save_ifs - ;; - esac + case $withval in + yes|no) pic_mode=$withval ;; + *) + pic_mode=default + # Look at the argument we got. We use all the common list separators. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, + for lt_pkg in $withval; do + IFS=$lt_save_ifs + if test "X$lt_pkg" = "X$lt_p"; then + pic_mode=yes + fi + done + IFS=$lt_save_ifs + ;; + esac else $as_nop pic_mode=default fi +fi + + @@ -11578,18 +11719,29 @@ case $host,$enable_shared in power*-*-aix[5-9]*,yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 printf %s "checking which variant of shared library versioning to provide... " >&6; } - -# Check whether --with-aix-soname was given. + # Check whether --enable-aix-soname was given. +if test ${enable_aix_soname+y} +then : + enableval=$enable_aix_soname; case $enableval in + aix|svr4|both) + ;; + *) + as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5 + ;; + esac + lt_cv_with_aix_soname=$enable_aix_soname +else $as_nop + # Check whether --with-aix-soname was given. if test ${with_aix_soname+y} then : withval=$with_aix_soname; case $withval in - aix|svr4|both) - ;; - *) - as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 - ;; - esac - lt_cv_with_aix_soname=$with_aix_soname + aix|svr4|both) + ;; + *) + as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 + ;; + esac + lt_cv_with_aix_soname=$with_aix_soname else $as_nop if test ${lt_cv_with_aix_soname+y} then : @@ -11598,9 +11750,12 @@ else $as_nop lt_cv_with_aix_soname=aix fi - with_aix_soname=$lt_cv_with_aix_soname fi + enable_aix_soname=$lt_cv_with_aix_soname +fi + + with_aix_soname=$enable_aix_soname { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 printf "%s\n" "$with_aix_soname" >&6; } if test aix != "$with_aix_soname"; then @@ -11729,8 +11884,8 @@ esac ofile=libtool can_build_shared=yes -# All known linkers require a '.a' archive for static linking (except MSVC, -# which needs '.lib'). +# All known linkers require a '.a' archive for static linking (except MSVC and +# ICC, which need '.lib'). libext=a with_gnu_ld=$lt_cv_prog_gnu_ld @@ -11913,7 +12068,7 @@ objext=$objext lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests -lt_simple_link_test_code='int main(){return(0);}' +lt_simple_link_test_code='int main(void){return(0);}' @@ -12050,7 +12205,7 @@ lt_prog_compiler_static= # PIC is the default for these OSes. ;; - mingw* | cygwin* | pw32* | os2* | cegcc*) + mingw* | windows* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style @@ -12153,7 +12308,7 @@ lt_prog_compiler_static= esac ;; - mingw* | cygwin* | pw32* | os2* | cegcc*) + mingw* | windows* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic='-DDLL_EXPORT' @@ -12194,6 +12349,12 @@ lt_prog_compiler_static= lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-static' ;; + *flang* | ftn | f18* | f95*) + # Flang compiler. + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fPIC' + lt_prog_compiler_static='-static' + ;; # icc used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. icc* | ifort*) @@ -12238,7 +12399,7 @@ lt_prog_compiler_static= lt_prog_compiler_static='-qstaticlink' ;; *) - case `$CC -V 2>&1 | sed 5q` in + case `$CC -V 2>&1 | $SED 5q` in *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) # Sun Fortran 8.3 passes all unrecognized flags to the linker lt_prog_compiler_pic='-KPIC' @@ -12276,6 +12437,12 @@ lt_prog_compiler_static= lt_prog_compiler_static='-Bstatic' ;; + *-mlibc) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fPIC' + lt_prog_compiler_static='-static' + ;; + *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. @@ -12292,6 +12459,9 @@ lt_prog_compiler_static= lt_prog_compiler_static='-non_shared' ;; + serenity*) + ;; + solaris*) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' @@ -12660,21 +12830,18 @@ printf %s "checking whether the $compiler linker ($LD) supports shared libraries extract_expsyms_cmds= case $host_os in - cygwin* | mingw* | pw32* | cegcc*) - # FIXME: the MSVC++ port hasn't been tested in a loooong time + cygwin* | mingw* | windows* | pw32* | cegcc*) + # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. + # Microsoft Visual C++ or Intel C++ Compiler. if test yes != "$GCC"; then with_gnu_ld=no fi ;; interix*) - # we just hope/assume this is gcc and not c89 (= MSVC++) + # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC) with_gnu_ld=yes ;; - openbsd* | bitrig*) - with_gnu_ld=no - ;; esac ld_shlibs=yes @@ -12721,7 +12888,7 @@ printf %s "checking whether the $compiler linker ($LD) supports shared libraries whole_archive_flag_spec= fi supports_anon_versioning=no - case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in + case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in *GNU\ gold*) supports_anon_versioning=yes ;; *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... @@ -12775,7 +12942,7 @@ _LT_EOF fi ;; - cygwin* | mingw* | pw32* | cegcc*) + cygwin* | mingw* | windows* | pw32* | cegcc*) # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec='-L$libdir' @@ -12785,6 +12952,7 @@ _LT_EOF enable_shared_with_static_runtimes=yes export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' + file_list_spec='@' if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' @@ -12804,7 +12972,7 @@ _LT_EOF haiku*) archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' - link_all_deplibs=yes + link_all_deplibs=no ;; os2*) @@ -12831,8 +12999,9 @@ _LT_EOF cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' - old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' + old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' enable_shared_with_static_runtimes=yes + file_list_spec='@' ;; interix[3-9]*) @@ -12847,7 +13016,7 @@ _LT_EOF # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + archive_expsym_cmds='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) @@ -12890,7 +13059,7 @@ _LT_EOF compiler_needs_object=yes ;; esac - case `$CC -V 2>&1 | sed 5q` in + case `$CC -V 2>&1 | $SED 5q` in *Sun\ C*) # Sun C 5.9 whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' compiler_needs_object=yes @@ -12902,13 +13071,14 @@ _LT_EOF if test yes = "$supports_anon_versioning"; then archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' fi case $cc_basename in tcc*) + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' export_dynamic_flag_spec='-rdynamic' ;; xlf* | bgf* | bgxlf* | mpixlf*) @@ -12918,7 +13088,7 @@ _LT_EOF archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' if test yes = "$supports_anon_versioning"; then archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' fi @@ -12929,7 +13099,12 @@ _LT_EOF fi ;; - netbsd*) + *-mlibc) + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' + ;; + + netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= @@ -13050,7 +13225,7 @@ _LT_EOF if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' else - export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' + export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no @@ -13319,14 +13494,14 @@ fi export_dynamic_flag_spec=-rdynamic ;; - cygwin* | mingw* | pw32* | cegcc*) + cygwin* | mingw* | windows* | pw32* | cegcc*) # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. + # Microsoft Visual C++ or Intel C++ Compiler. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. case $cc_basename in - cl*) - # Native MSVC + cl* | icl*) + # Native MSVC or ICC hardcode_libdir_flag_spec=' ' allow_undefined_flag=unsupported always_export_symbols=yes @@ -13336,14 +13511,14 @@ fi # Tell ltmain to make .dll files, not .so files. shrext_cmds=.dll # FIXME: Setting linknames here is a bad hack. - archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' + archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then cp "$export_symbols" "$output_objdir/$soname.def"; echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; else $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; fi~ - $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ + $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ linknames=' # The linker will not automatically build a static lib if we build a DLL. # _LT_TAGVAR(old_archive_from_new_cmds, )='true' @@ -13367,7 +13542,7 @@ fi fi' ;; *) - # Assume MSVC wrapper + # Assume MSVC and ICC wrapper hardcode_libdir_flag_spec=' ' allow_undefined_flag=unsupported # Tell ltmain to make .lib files, not .a files. @@ -13408,8 +13583,8 @@ fi output_verbose_link_cmd=func_echo_all archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" - archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil" - module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil" + archive_expsym_cmds="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil" + module_expsym_cmds="$SED -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil" else ld_shlibs=no @@ -13443,7 +13618,7 @@ fi ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd* | dragonfly*) + freebsd* | dragonfly* | midnightbsd*) archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes @@ -13623,11 +13798,15 @@ printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; } # Fabrice Bellard et al's Tiny C Compiler ld_shlibs=yes archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' ;; esac ;; - netbsd*) + *-mlibc) + ;; + + netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else @@ -13649,7 +13828,7 @@ printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; } *nto* | *qnx*) ;; - openbsd* | bitrig*) + openbsd*) if test -f /usr/libexec/ld.so; then hardcode_direct=yes hardcode_shlibpath_var=no @@ -13692,8 +13871,9 @@ printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; } cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' - old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' + old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' enable_shared_with_static_runtimes=yes + file_list_spec='@' ;; osf3*) @@ -13727,6 +13907,9 @@ printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; } hardcode_libdir_separator=: ;; + serenity*) + ;; + solaris*) no_undefined_flag=' -z defs' if test yes = "$GCC"; then @@ -14132,7 +14315,7 @@ if test yes = "$GCC"; then *) lt_awk_arg='/^libraries:/' ;; esac case $host_os in - mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; + mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; *) lt_sed_strip_eq='s|=/|/|g' ;; esac lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` @@ -14190,7 +14373,7 @@ BEGIN {RS = " "; FS = "/|\n";} { # AWK program above erroneously prepends '/' to C:/dos/paths # for these hosts. case $host_os in - mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ + mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ $SED 's|/\([A-Za-z]:\)|\1|g'` ;; esac sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` @@ -14264,7 +14447,7 @@ aix[4-9]*) # Unfortunately, runtime linking may impact performance, so we do # not want this to be the default eventually. Also, we use the # versioned .so libs for executables only if there is the -brtl - # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. + # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only. # To allow for filename-based versioning support, we need to create # libNAME.so.V as an archive file, containing: # *) an Import File, referring to the versioned filename of the @@ -14358,7 +14541,7 @@ bsdi[45]*) # libtool to hard-code these into programs ;; -cygwin* | mingw* | pw32* | cegcc*) +cygwin* | mingw* | windows* | pw32* | cegcc*) version_type=windows shrext_cmds=.dll need_version=no @@ -14369,15 +14552,29 @@ cygwin* | mingw* | pw32* | cegcc*) # gcc library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds - postinstall_cmds='base_file=`basename \$file`~ - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog $dir/$dlname \$dldir/$dlname~ - chmod a+x \$dldir/$dlname~ - if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then - eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; - fi' + # If user builds GCC with multilib enabled, + # it should just install on $(libdir) + # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones. + if test xyes = x"$multilib"; then + postinstall_cmds='base_file=`basename \$file`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + $install_prog $dir/$dlname $destdir/$dlname~ + chmod a+x $destdir/$dlname~ + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then + eval '\''$striplib $destdir/$dlname'\'' || exit \$?; + fi' + else + postinstall_cmds='base_file=`basename \$file`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname~ + chmod a+x \$dldir/$dlname~ + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; + fi' + fi postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' @@ -14386,30 +14583,30 @@ cygwin* | mingw* | pw32* | cegcc*) case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' - soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' + soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" ;; - mingw* | cegcc*) + mingw* | windows* | cegcc*) # MinGW DLLs use traditional 'lib' prefix soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' - library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' + library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' ;; esac dynamic_linker='Win32 ld.exe' ;; - *,cl*) - # Native MSVC + *,cl* | *,icl*) + # Native MSVC or ICC libname_spec='$name' soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' library_names_spec='$libname.dll.lib' case $build_os in - mingw*) + mingw* | windows*) sys_lib_search_path_spec= lt_save_ifs=$IFS IFS=';' @@ -14422,7 +14619,7 @@ cygwin* | mingw* | pw32* | cegcc*) done IFS=$lt_save_ifs # Convert to MSYS style. - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` ;; cygwin*) # Convert to unix form, then to dos form, then back to unix form @@ -14459,7 +14656,7 @@ cygwin* | mingw* | pw32* | cegcc*) ;; *) - # Assume MSVC wrapper + # Assume MSVC and ICC wrapper library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' dynamic_linker='Win32 ld.exe' ;; @@ -14492,7 +14689,7 @@ dgux*) shlibpath_var=LD_LIBRARY_PATH ;; -freebsd* | dragonfly*) +freebsd* | dragonfly* | midnightbsd*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then @@ -14516,7 +14713,27 @@ freebsd* | dragonfly*) need_version=yes ;; esac + case $host_cpu in + powerpc64) + # On FreeBSD bi-arch platforms, a different variable is used for 32-bit + # binaries. See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +int test_pointer_size[sizeof (void *) - 5]; + +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : shlibpath_var=LD_LIBRARY_PATH +else $as_nop + shlibpath_var=LD_32_LIBRARY_PATH +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + ;; + *) + shlibpath_var=LD_LIBRARY_PATH + ;; + esac case $host_os in freebsd2.*) shlibpath_overrides_runpath=yes @@ -14546,8 +14763,9 @@ haiku*) soname_spec='$libname$release$shared_ext$major' shlibpath_var=LIBRARY_PATH shlibpath_overrides_runpath=no - sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' - hardcode_into_libs=yes + sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib' + sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib' + hardcode_into_libs=no ;; hpux9* | hpux10* | hpux11*) @@ -14657,7 +14875,7 @@ linux*android*) version_type=none # Android doesn't support versioned libraries. need_lib_prefix=no need_version=no - library_names_spec='$libname$release$shared_ext' + library_names_spec='$libname$release$shared_ext $libname$shared_ext' soname_spec='$libname$release$shared_ext' finish_cmds= shlibpath_var=LD_LIBRARY_PATH @@ -14669,8 +14887,9 @@ linux*android*) hardcode_into_libs=yes dynamic_linker='Android linker' - # Don't embed -rpath directories since the linker doesn't support them. - hardcode_libdir_flag_spec='-L$libdir' + # -rpath works at least for libraries that are not overridden by + # libraries installed in system locations. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' ;; # This must be glibc/ELF. @@ -14729,7 +14948,7 @@ fi # Add ABI-specific directories to the system library path. sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" - # Ideally, we could use ldconfig to report *all* directores which are + # Ideally, we could use ldconfig to report *all* directories which are # searched for libraries, however this is still not possible. Aside from not # being certain /sbin/ldconfig is available, command # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, @@ -14749,6 +14968,18 @@ fi dynamic_linker='GNU/Linux ld.so' ;; +netbsdelf*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='NetBSD ld.elf_so' + ;; + netbsd*) version_type=sunos need_lib_prefix=no @@ -14767,6 +14998,18 @@ netbsd*) hardcode_into_libs=yes ;; +*-mlibc) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + dynamic_linker='mlibc ld.so' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + newsos6) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' @@ -14786,7 +15029,7 @@ newsos6) dynamic_linker='ldqnx.so' ;; -openbsd* | bitrig*) +openbsd*) version_type=sunos sys_lib_dlsearch_path_spec=/usr/lib need_lib_prefix=no @@ -14846,6 +15089,17 @@ rdos*) dynamic_linker=no ;; +serenity*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + dynamic_linker='SerenityOS LibELF' + ;; + solaris*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no @@ -14943,6 +15197,493 @@ uts4*) shlibpath_var=LD_LIBRARY_PATH ;; +emscripten*) + version_type=none + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$shared_ext' + soname_spec='$libname$release$shared_ext' + finish_cmds= + dynamic_linker="Emscripten linker" + lt_prog_compiler_wl= +lt_prog_compiler_pic= +lt_prog_compiler_static= + + + if test yes = "$GCC"; then + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_static='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test ia64 = "$host_cpu"; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + fi + lt_prog_compiler_pic='-fPIC' + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + lt_prog_compiler_pic='-fPIC' + ;; + m68k) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the '-m68020' flag to GCC prevents building anything better, + # like '-m68040'. + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' + ;; + esac + ;; + + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | windows* | cygwin* | pw32* | os2* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries + lt_prog_compiler_pic='-DDLL_EXPORT' + case $host_os in + os2*) + lt_prog_compiler_static='$wl-static' + ;; + esac + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic='-fno-common' + ;; + + haiku*) + # PIC is the default for Haiku. + # The "-static" flag exists, but is broken. + lt_prog_compiler_static= + ;; + + hpux*) + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag + # sets the default TLS model and affects inlining. + case $host_cpu in + hppa*64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + ;; + + interix[3-9]*) + # Interix 3.x gcc -fpic/-fPIC options generate broken code. + # Instead, we relocate shared libraries at runtime. + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared=no + enable_shared=no + ;; + + *nto* | *qnx*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + lt_prog_compiler_pic='-fPIC -shared' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic=-Kconform_pic + fi + ;; + + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + + case $cc_basename in + nvcc*) # Cuda Compiler Driver 2.2 + lt_prog_compiler_wl='-Xlinker ' + if test -n "$lt_prog_compiler_pic"; then + lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" + fi + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + lt_prog_compiler_wl='-Wl,' + if test ia64 = "$host_cpu"; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + else + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic='-fno-common' + case $cc_basename in + nagfor*) + # NAG Fortran compiler + lt_prog_compiler_wl='-Wl,-Wl,,' + lt_prog_compiler_pic='-PIC' + lt_prog_compiler_static='-Bstatic' + ;; + esac + ;; + + mingw* | windows* | cygwin* | pw32* | os2* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic='-DDLL_EXPORT' + case $host_os in + os2*) + lt_prog_compiler_static='$wl-static' + ;; + esac + ;; + + hpux9* | hpux10* | hpux11*) + lt_prog_compiler_wl='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static='$wl-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + lt_prog_compiler_wl='-Wl,' + # PIC (with -KPIC) is the default. + lt_prog_compiler_static='-non_shared' + ;; + + linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) + case $cc_basename in + # old Intel for x86_64, which still supported -KPIC. + ecc*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-static' + ;; + *flang* | ftn | f18* | f95*) + # Flang compiler. + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fPIC' + lt_prog_compiler_static='-static' + ;; + # icc used to be incompatible with GCC. + # ICC 10 doesn't accept -KPIC any more. + icc* | ifort*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fPIC' + lt_prog_compiler_static='-static' + ;; + # Lahey Fortran 8.1. + lf95*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='--shared' + lt_prog_compiler_static='--static' + ;; + nagfor*) + # NAG Fortran compiler + lt_prog_compiler_wl='-Wl,-Wl,,' + lt_prog_compiler_pic='-PIC' + lt_prog_compiler_static='-Bstatic' + ;; + tcc*) + # Fabrice Bellard et al's Tiny C Compiler + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fPIC' + lt_prog_compiler_static='-static' + ;; + pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) + # Portland Group compilers (*not* the Pentium gcc compiler, + # which looks to be a dead project) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fpic' + lt_prog_compiler_static='-Bstatic' + ;; + ccc*) + lt_prog_compiler_wl='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + xl* | bgxl* | bgf* | mpixl*) + # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-qpic' + lt_prog_compiler_static='-qstaticlink' + ;; + *) + case `$CC -V 2>&1 | $SED 5q` in + *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) + # Sun Fortran 8.3 passes all unrecognized flags to the linker + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + lt_prog_compiler_wl='' + ;; + *Sun\ F* | *Sun*Fortran*) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + lt_prog_compiler_wl='-Qoption ld ' + ;; + *Sun\ C*) + # Sun C 5.9 + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + lt_prog_compiler_wl='-Wl,' + ;; + *Intel*\ [CF]*Compiler*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fPIC' + lt_prog_compiler_static='-static' + ;; + *Portland\ Group*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fpic' + lt_prog_compiler_static='-Bstatic' + ;; + esac + ;; + esac + ;; + + newsos6) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + *-mlibc) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fPIC' + lt_prog_compiler_static='-static' + ;; + + *nto* | *qnx*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + lt_prog_compiler_pic='-fPIC -shared' + ;; + + osf3* | osf4* | osf5*) + lt_prog_compiler_wl='-Wl,' + # All OSF/1 code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + + rdos*) + lt_prog_compiler_static='-non_shared' + ;; + + serenity*) + ;; + + solaris*) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + case $cc_basename in + f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) + lt_prog_compiler_wl='-Qoption ld ';; + *) + lt_prog_compiler_wl='-Wl,';; + esac + ;; + + sunos4*) + lt_prog_compiler_wl='-Qoption ld ' + lt_prog_compiler_pic='-PIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic='-Kconform_pic' + lt_prog_compiler_static='-Bstatic' + fi + ;; + + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + unicos*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_can_build_shared=no + ;; + + uts4*) + lt_prog_compiler_pic='-pic' + lt_prog_compiler_static='-Bstatic' + ;; + + *) + lt_prog_compiler_can_build_shared=no + ;; + esac + fi + +case $host_os in + # For platforms that do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic= + ;; + *) + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" + ;; +esac + +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 +printf %s "checking for $compiler option to produce PIC... " >&6; } +if test ${lt_cv_prog_compiler_pic+y} +then : + printf %s "(cached) " >&6 +else $as_nop + lt_cv_prog_compiler_pic=$lt_prog_compiler_pic +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 +printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; } +lt_prog_compiler_pic=$lt_cv_prog_compiler_pic + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic"; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 +printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } +if test ${lt_cv_prog_compiler_pic_works+y} +then : + printf %s "(cached) " >&6 +else $as_nop + lt_cv_prog_compiler_pic_works=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $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. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_pic_works=yes + fi + fi + $RM conftest* + +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; } + +if test yes = "$lt_cv_prog_compiler_pic_works"; then + case $lt_prog_compiler_pic in + "" | " "*) ;; + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; + esac +else + lt_prog_compiler_pic= + lt_prog_compiler_can_build_shared=no +fi + +fi + + + + + +# +# 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 "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } +if test ${lt_cv_prog_compiler_static_works+y} +then : + printf %s "(cached) " >&6 +else $as_nop + lt_cv_prog_compiler_static_works=no + save_LDFLAGS=$LDFLAGS + LDFLAGS="$LDFLAGS $lt_tmp_static_flag" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&5 + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_static_works=yes + fi + else + lt_cv_prog_compiler_static_works=yes + fi + fi + $RM -r conftest* + LDFLAGS=$save_LDFLAGS + +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; } + +if test yes = "$lt_cv_prog_compiler_static_works"; then + : +else + lt_prog_compiler_static= +fi + + + +='-fPIC' + archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib' + archive_expsym_cmds='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib -s EXPORTED_FUNCTIONS=@$output_objdir/$soname.expsym' + archive_cmds_need_lc=no + no_undefined_flag= + ;; + *) dynamic_linker=no ;; @@ -15127,7 +15868,7 @@ else lt_cv_dlopen_self=yes ;; - mingw* | pw32* | cegcc*) + mingw* | windows* | pw32* | cegcc*) lt_cv_dlopen=LoadLibrary lt_cv_dlopen_libs= ;; @@ -15454,11 +16195,11 @@ else /* When -fvisibility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) -int fnord () __attribute__((visibility("default"))); +int fnord (void) __attribute__((visibility("default"))); #endif -int fnord () { return 42; } -int main () +int fnord (void) { return 42; } +int main (void) { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; @@ -15561,11 +16302,11 @@ else /* When -fvisibility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) -int fnord () __attribute__((visibility("default"))); +int fnord (void) __attribute__((visibility("default"))); #endif -int fnord () { return 42; } -int main () +int fnord (void) { return 42; } +int main (void) { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; @@ -15648,30 +16389,41 @@ striplib= old_striplib= { 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; } +if test -z "$STRIP"; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } else -# FIXME - insert some real tests, host_os isn't really good enough - case $host_os in - darwin*) - if test -n "$STRIP"; then + if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then + old_striplib="$STRIP --strip-debug" + striplib="$STRIP --strip-unneeded" + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } + else + case $host_os in + darwin*) + # FIXME - insert some real tests, host_os isn't really good enough striplib="$STRIP -x" old_striplib="$STRIP -S" { 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 + ;; + freebsd*) + if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then + old_striplib="$STRIP --strip-debug" + striplib="$STRIP --strip-unneeded" + { 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; } - fi - ;; - *) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 + fi + ;; + *) + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } - ;; - esac + ;; + esac + fi fi @@ -15894,6 +16646,9 @@ printf "%s\n" "no" >&6; } PKG_CONFIG="" fi fi +if test -z "$PKG_CONFIG"; then + as_fn_error $? "pkg-config not found" "$LINENO" 5 +fi fi # Checks for header files. @@ -17802,8 +18557,8 @@ then : have_systemd=no pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5 -printf %s "checking for SYSTEMD... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libsystemd" >&5 +printf %s "checking for libsystemd... " >&6; } if test -n "$SYSTEMD_CFLAGS"; then pkg_cv_SYSTEMD_CFLAGS="$SYSTEMD_CFLAGS" @@ -17843,7 +18598,7 @@ fi if test $pkg_failed = yes; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { 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 @@ -17852,14 +18607,14 @@ else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd" 2>&1` + SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd" 2>&1` else - SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd" 2>&1` + SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd" 2>&1` fi - # Put the nasty error message in config.log where it belongs - echo "$SYSTEMD_PKG_ERRORS" >&5 + # Put the nasty error message in config.log where it belongs + echo "$SYSTEMD_PKG_ERRORS" >&5 - as_fn_error $? "Package requirements (libsystemd) were not met: + as_fn_error $? "Package requirements (libsystemd) were not met: $SYSTEMD_PKG_ERRORS @@ -17870,9 +18625,9 @@ Alternatively, you may set the environment variables SYSTEMD_CFLAGS 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" "$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:${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 @@ -17885,11 +18640,11 @@ See the pkg-config man page for more details. To get pkg-config, see <http://pkg-config.freedesktop.org/>. See \`config.log' for more details" "$LINENO" 5; } else - SYSTEMD_CFLAGS=$pkg_cv_SYSTEMD_CFLAGS - SYSTEMD_LIBS=$pkg_cv_SYSTEMD_LIBS + 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; } - have_systemd=yes + have_systemd=yes fi if test "x$have_systemd" != "xyes" then : @@ -17897,8 +18652,8 @@ then : have_systemd_daemon=no pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD_DAEMON" >&5 -printf %s "checking for SYSTEMD_DAEMON... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libsystemd-daemon" >&5 +printf %s "checking for libsystemd-daemon... " >&6; } if test -n "$SYSTEMD_DAEMON_CFLAGS"; then pkg_cv_SYSTEMD_DAEMON_CFLAGS="$SYSTEMD_DAEMON_CFLAGS" @@ -17938,7 +18693,7 @@ fi if test $pkg_failed = yes; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { 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 @@ -17947,14 +18702,14 @@ else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - SYSTEMD_DAEMON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-daemon" 2>&1` + SYSTEMD_DAEMON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-daemon" 2>&1` else - SYSTEMD_DAEMON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-daemon" 2>&1` + SYSTEMD_DAEMON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-daemon" 2>&1` fi - # Put the nasty error message in config.log where it belongs - echo "$SYSTEMD_DAEMON_PKG_ERRORS" >&5 + # Put the nasty error message in config.log where it belongs + echo "$SYSTEMD_DAEMON_PKG_ERRORS" >&5 - as_fn_error $? "Package requirements (libsystemd-daemon) were not met: + as_fn_error $? "Package requirements (libsystemd-daemon) were not met: $SYSTEMD_DAEMON_PKG_ERRORS @@ -17965,9 +18720,9 @@ Alternatively, you may set the environment variables SYSTEMD_DAEMON_CFLAGS and SYSTEMD_DAEMON_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" "$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:${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 @@ -17980,11 +18735,11 @@ See the pkg-config man page for more details. To get pkg-config, see <http://pkg-config.freedesktop.org/>. See \`config.log' for more details" "$LINENO" 5; } else - SYSTEMD_DAEMON_CFLAGS=$pkg_cv_SYSTEMD_DAEMON_CFLAGS - SYSTEMD_DAEMON_LIBS=$pkg_cv_SYSTEMD_DAEMON_LIBS + SYSTEMD_DAEMON_CFLAGS=$pkg_cv_SYSTEMD_DAEMON_CFLAGS + SYSTEMD_DAEMON_LIBS=$pkg_cv_SYSTEMD_DAEMON_LIBS { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 printf "%s\n" "yes" >&6; } - have_systemd_daemon=yes + have_systemd_daemon=yes fi if test "x$have_systemd_daemon" = "xyes" then : @@ -24954,8 +25709,8 @@ else $as_nop if test -n "$PKG_CONFIG"; then pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PROTOBUFC" >&5 -printf %s "checking for PROTOBUFC... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libprotobuf-c" >&5 +printf %s "checking for libprotobuf-c... " >&6; } if test -n "$PROTOBUFC_CFLAGS"; then pkg_cv_PROTOBUFC_CFLAGS="$PROTOBUFC_CFLAGS" @@ -24995,7 +25750,7 @@ fi if test $pkg_failed = yes; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { 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 @@ -25004,12 +25759,12 @@ else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - PROTOBUFC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libprotobuf-c" 2>&1` + PROTOBUFC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libprotobuf-c" 2>&1` else - PROTOBUFC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libprotobuf-c" 2>&1` + PROTOBUFC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libprotobuf-c" 2>&1` fi - # Put the nasty error message in config.log where it belongs - echo "$PROTOBUFC_PKG_ERRORS" >&5 + # Put the nasty error message in config.log where it belongs + echo "$PROTOBUFC_PKG_ERRORS" >&5 # pkg-config failed; try falling back to known values @@ -25027,7 +25782,7 @@ fi elif test $pkg_failed = untried; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } # pkg-config failed; try falling back to known values @@ -25045,8 +25800,8 @@ printf "%s\n" "no" >&6; } else - PROTOBUFC_CFLAGS=$pkg_cv_PROTOBUFC_CFLAGS - PROTOBUFC_LIBS=$pkg_cv_PROTOBUFC_LIBS + PROTOBUFC_CFLAGS=$pkg_cv_PROTOBUFC_CFLAGS + PROTOBUFC_LIBS=$pkg_cv_PROTOBUFC_LIBS { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 printf "%s\n" "yes" >&6; } @@ -26471,6 +27226,7 @@ lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_q lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' +FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`' OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' @@ -26479,6 +27235,7 @@ want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' +lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`' AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' @@ -26599,6 +27356,7 @@ LN_S \ lt_SP2NL \ lt_NL2SP \ reload_flag \ +FILECMD \ OBJDUMP \ deplibs_check_method \ file_magic_cmd \ @@ -26607,7 +27365,6 @@ want_nocaseglob \ DLLTOOL \ sharedlib_from_linklib_cmd \ AR \ -AR_FLAGS \ archiver_list_spec \ STRIP \ RANLIB \ @@ -27304,19 +28061,18 @@ printf "%s\n" "$as_me: executing $ac_file commands" >&6;} cat <<_LT_EOF >> "$cfgfile" #! $SHELL # Generated automatically by $as_me ($PACKAGE) $VERSION -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # NOTE: Changes made to this file will be lost: look at ltmain.sh. # Provide generalized library-building support services. # Written by Gordon Matzigkeit, 1996 -# Copyright (C) 2014 Free Software Foundation, Inc. +# Copyright (C) 2024 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # GNU Libtool is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of of the License, or +# the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # As a special exception to the GNU General Public License, if you @@ -27424,6 +28180,9 @@ to_host_file_cmd=$lt_cv_to_host_file_cmd # convert \$build files to toolchain format. to_tool_file_cmd=$lt_cv_to_tool_file_cmd +# A file(cmd) program that detects file types. +FILECMD=$lt_FILECMD + # An object symbol dumper. OBJDUMP=$lt_OBJDUMP @@ -27448,8 +28207,11 @@ sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd # The archiver. AR=$lt_AR +# Flags to create an archive (by configure). +lt_ar_flags=$lt_ar_flags + # Flags to create an archive. -AR_FLAGS=$lt_AR_FLAGS +AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"} # How to feed a file listing to the archiver. archiver_list_spec=$lt_archiver_list_spec @@ -27691,7 +28453,7 @@ hardcode_direct=$hardcode_direct # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes # DIR into the resulting binary and the resulting library dependency is -# "absolute",i.e impossible to change by setting \$shlibpath_var if the +# "absolute",i.e. impossible to change by setting \$shlibpath_var if the # library is relocated. hardcode_direct_absolute=$hardcode_direct_absolute @@ -27825,7 +28587,7 @@ ltmain=$ac_aux_dir/ltmain.sh # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? - sed '$q' "$ltmain" >> "$cfgfile" \ + $SED '$q' "$ltmain" >> "$cfgfile" \ || (rm -f "$cfgfile"; exit 1) mv -f "$cfgfile" "$ofile" || @@ -1,4 +1,4 @@ -README for Unbound @version@ +README for Unbound 1.26.2 Copyright 2007 NLnet Labs http://unbound.net diff --git a/doc/example.conf.in b/doc/example.conf.in index 4687dc64..967d819e 100644 --- a/doc/example.conf.in +++ b/doc/example.conf.in @@ -1,7 +1,7 @@ # # Example configuration file. # -# See unbound.conf(5) man page, version @version@. +# See unbound.conf(5) man page, version 1.26.2. # # this is a comment. diff --git a/doc/libunbound.3.in b/doc/libunbound.3.in index a4fa56d3..110d1a3b 100644 --- a/doc/libunbound.3.in +++ b/doc/libunbound.3.in @@ -27,9 +27,9 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "LIBUNBOUND" "3" "@date@" "@version@" "Unbound" +.TH "LIBUNBOUND" "3" "Oct 21, 2026" "1.26.2" "Unbound" .SH NAME -libunbound \- Unbound DNS validating resolver @version@ functions. +libunbound \- Unbound DNS validating resolver 1.26.2 functions. .SH SYNOPSIS .sp \fB#include <unbound.h>\fP diff --git a/doc/unbound-anchor.8.in b/doc/unbound-anchor.8.in index 9da4fd85..4918bd2f 100644 --- a/doc/unbound-anchor.8.in +++ b/doc/unbound-anchor.8.in @@ -27,9 +27,9 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "UNBOUND-ANCHOR" "8" "@date@" "@version@" "Unbound" +.TH "UNBOUND-ANCHOR" "8" "Oct 21, 2026" "1.26.2" "Unbound" .SH NAME -unbound-anchor \- Unbound @version@ anchor utility. +unbound-anchor \- Unbound 1.26.2 anchor utility. .SH SYNOPSIS .sp \fBunbound\-anchor\fP [\fBopts\fP] diff --git a/doc/unbound-checkconf.8.in b/doc/unbound-checkconf.8.in index 113901ca..39813c79 100644 --- a/doc/unbound-checkconf.8.in +++ b/doc/unbound-checkconf.8.in @@ -27,9 +27,9 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "UNBOUND-CHECKCONF" "8" "@date@" "@version@" "Unbound" +.TH "UNBOUND-CHECKCONF" "8" "Oct 21, 2026" "1.26.2" "Unbound" .SH NAME -unbound-checkconf \- Check Unbound @version@ configuration file for errors. +unbound-checkconf \- Check Unbound 1.26.2 configuration file for errors. .SH SYNOPSIS .sp \fBunbound\-checkconf\fP [\fB\-hf\fP] [\fB\-o option\fP] [cfgfile] diff --git a/doc/unbound-control.8.in b/doc/unbound-control.8.in index 5743d09b..b13b590c 100644 --- a/doc/unbound-control.8.in +++ b/doc/unbound-control.8.in @@ -27,9 +27,9 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "UNBOUND-CONTROL" "8" "@date@" "@version@" "Unbound" +.TH "UNBOUND-CONTROL" "8" "Oct 21, 2026" "1.26.2" "Unbound" .SH NAME -unbound-control \- Unbound @version@ remote server control utility. +unbound-control \- Unbound 1.26.2 remote server control utility. .SH SYNOPSIS .sp \fBunbound\-control\fP [\fB\-hq\fP] [\fB\-c cfgfile\fP] [\fB\-s server\fP] command diff --git a/doc/unbound-host.1.in b/doc/unbound-host.1.in index cccf6311..ddd500d2 100644 --- a/doc/unbound-host.1.in +++ b/doc/unbound-host.1.in @@ -27,9 +27,9 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "UNBOUND-HOST" "1" "@date@" "@version@" "Unbound" +.TH "UNBOUND-HOST" "1" "Oct 21, 2026" "1.26.2" "Unbound" .SH NAME -unbound-host \- Unbound @version@ DNS lookup utility. +unbound-host \- Unbound 1.26.2 DNS lookup utility. .SH SYNOPSIS .sp \fBunbound\-host\fP [\fB\-C configfile\fP] [\fB\-vdhr46D\fP] [\fB\-c class\fP] diff --git a/doc/unbound.8.in b/doc/unbound.8.in index ea5a50d6..9df46e07 100644 --- a/doc/unbound.8.in +++ b/doc/unbound.8.in @@ -27,9 +27,9 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "UNBOUND" "8" "@date@" "@version@" "Unbound" +.TH "UNBOUND" "8" "Oct 21, 2026" "1.26.2" "Unbound" .SH NAME -unbound \- Unbound DNS validating resolver @version@. +unbound \- Unbound DNS validating resolver 1.26.2. .SH SYNOPSIS .sp \fBunbound\fP [\fB\-hdpVv\fP] [\fB\-c <cfgfile>\fP] diff --git a/doc/unbound.conf.5.in b/doc/unbound.conf.5.in index 54116af2..5b185a5b 100644 --- a/doc/unbound.conf.5.in +++ b/doc/unbound.conf.5.in @@ -27,9 +27,9 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "UNBOUND.CONF" "5" "@date@" "@version@" "Unbound" +.TH "UNBOUND.CONF" "5" "Oct 21, 2026" "1.26.2" "Unbound" .SH NAME -unbound.conf \- Unbound @version@ configuration file. +unbound.conf \- Unbound 1.26.2 configuration file. .SH SYNOPSIS .sp \fBunbound.conf\fP @@ -1,7 +1,7 @@ #!/usr/bin/sh # install - install a program, script, or datafile -scriptversion=2013-12-25.23; # UTC +scriptversion=2024-06-19.01; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the @@ -69,6 +69,11 @@ posix_mkdir= # Desired mode of installed file. mode=0755 +# Create dirs (including intermediate dirs) using mode 755. +# This is like GNU 'install' as of coreutils 8.32 (2020). +mkdir_umask=22 + +backupsuffix= chgrpcmd= chmodcmd=$chmodprog chowncmd= @@ -99,19 +104,29 @@ Options: --version display version info and exit. -c (ignored) - -C install only if different (preserve the last data modification time) + -C install only if different (preserve data modification time) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. + -p pass -p to $cpprog. -s $stripprog installed files. + -S SUFFIX attempt to back up existing files, with suffix SUFFIX. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG -" + +By default, rm is invoked with -f; when overridden with RMPROG, +it's up to you to specify -f if you want it. + +If -S is not specified, no backups are attempted. + +Report bugs to <bug-automake@gnu.org>. +GNU Automake home page: <https://www.gnu.org/software/automake/>. +General help using GNU software: <https://www.gnu.org/gethelp/>." while test $# -ne 0; do case $1 in @@ -137,8 +152,13 @@ while test $# -ne 0; do -o) chowncmd="$chownprog $2" shift;; + -p) cpprog="$cpprog -p";; + -s) stripcmd=$stripprog;; + -S) backupsuffix="$2" + shift;; + -t) is_target_a_directory=always dst_arg=$2 @@ -150,7 +170,7 @@ while test $# -ne 0; do -T) is_target_a_directory=never;; - --version) echo "$0 $scriptversion"; exit $?;; + --version) echo "$0 (GNU Automake) $scriptversion"; exit $?;; --) shift break;; @@ -255,6 +275,10 @@ do dstdir=$dst test -d "$dstdir" dstdir_status=$? + # Don't chown directories that already exist. + if test $dstdir_status = 0; then + chowncmd="" + fi else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command @@ -271,15 +295,18 @@ do fi dst=$dst_arg - # If destination is a directory, append the input filename; won't work - # if double slashes aren't ignored. + # If destination is a directory, append the input filename. if test -d "$dst"; then if test "$is_target_a_directory" = never; then echo "$0: $dst_arg: Is a directory" >&2 exit 1 fi dstdir=$dst - dst=$dstdir/`basename "$src"` + dstbase=`basename "$src"` + case $dst in + */) dst=$dst$dstbase;; + *) dst=$dst/$dstbase;; + esac dstdir_status=0 else dstdir=`dirname "$dst"` @@ -288,27 +315,16 @@ do fi fi + case $dstdir in + */) dstdirslash=$dstdir;; + *) dstdirslash=$dstdir/;; + esac + obsolete_mkdir_used=false if test $dstdir_status != 0; then case $posix_mkdir in '') - # Create intermediate dirs using mode 755 as modified by the umask. - # This is like FreeBSD 'install' as of 1997-10-28. - umask=`umask` - case $stripcmd.$umask in - # Optimize common cases. - *[2367][2367]) mkdir_umask=$umask;; - .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; - - *[0-7]) - mkdir_umask=`expr $umask + 22 \ - - $umask % 100 % 40 + $umask % 20 \ - - $umask % 10 % 4 + $umask % 2 - `;; - *) mkdir_umask=$umask,go-w;; - esac - # With -d, create the new directory with the user-specified mode. # Otherwise, rely on $mkdir_umask. if test -n "$dir_arg"; then @@ -318,43 +334,49 @@ do fi posix_mkdir=false - case $umask in - *[123567][0-7][0-7]) - # POSIX mkdir -p sets u+wx bits regardless of umask, which - # is incompatible with FreeBSD 'install' when (umask & 300) != 0. - ;; - *) - tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ - trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 + # The $RANDOM variable is not portable (e.g., dash). Use it + # here however when possible just to lower collision chance. + tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ + + trap ' + ret=$? + rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null + exit $ret + ' 0 - if (umask $mkdir_umask && - exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 - then - if test -z "$dir_arg" || { - # Check for POSIX incompatibilities with -m. - # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or - # other-writable bit of parent directory when it shouldn't. - # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. - ls_ld_tmpdir=`ls -ld "$tmpdir"` - case $ls_ld_tmpdir in - d????-?r-*) different_mode=700;; - d????-?--*) different_mode=755;; - *) false;; - esac && - $mkdirprog -m$different_mode -p -- "$tmpdir" && { - ls_ld_tmpdir_1=`ls -ld "$tmpdir"` - test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" - } - } - then posix_mkdir=: - fi - rmdir "$tmpdir/d" "$tmpdir" - else - # Remove any dirs left behind by ancient mkdir implementations. - rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null - fi - trap '' 0;; - esac;; + # Because "mkdir -p" follows existing symlinks and we likely work + # directly in world-writable /tmp, make sure that the '$tmpdir' + # directory is successfully created first before we actually test + # 'mkdir -p'. + if (umask $mkdir_umask && + $mkdirprog $mkdir_mode "$tmpdir" && + exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 + then + if test -z "$dir_arg" || { + # Check for POSIX incompatibility with -m. + # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or + # other-writable bit of parent directory when it shouldn't. + # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. + test_tmpdir="$tmpdir/a" + ls_ld_tmpdir=`ls -ld "$test_tmpdir"` + case $ls_ld_tmpdir in + d????-?r-*) different_mode=700;; + d????-?--*) different_mode=755;; + *) false;; + esac && + $mkdirprog -m$different_mode -p -- "$test_tmpdir" && { + ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"` + test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" + } + } + then posix_mkdir=: + fi + rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" + else + # Remove any dirs left behind by ancient mkdir implementations. + rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null + fi + trap '' 0;; esac if @@ -365,7 +387,7 @@ do then : else - # The umask is ridiculous, or mkdir does not conform to POSIX, + # mkdir does not conform to POSIX, # or it failed possibly due to a race condition. Create the # directory the slow way, step by step, checking for races as we go. @@ -394,7 +416,7 @@ do prefixes= else if $posix_mkdir; then - (umask=$mkdir_umask && + (umask $mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break # Don't fail if two instances are running concurrently. test -d "$prefix" || exit 1 @@ -427,14 +449,25 @@ do else # Make a couple of temp file names in the proper directory. - dsttmp=$dstdir/_inst.$$_ - rmtmp=$dstdir/_rm.$$_ + dsttmp=${dstdirslash}_inst.$$_ + rmtmp=${dstdirslash}_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 # Copy the file name to the temp name. - (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && + (umask $cp_umask && + { test -z "$stripcmd" || { + # Create $dsttmp read-write so that cp doesn't create it read-only, + # which would cause strip to fail. + if test -z "$doit"; then + : >"$dsttmp" # No need to fork-exec 'touch'. + else + $doit touch "$dsttmp" + fi + } + } && + $doit_exec $cpprog "$src" "$dsttmp") && # and set any options; do chmod last to preserve setuid bits. # @@ -460,6 +493,13 @@ do then rm -f "$dsttmp" else + # If $backupsuffix is set, and the file being installed + # already exists, attempt a backup. Don't worry if it fails, + # e.g., if mv doesn't support -f. + if test -n "$backupsuffix" && test -f "$dst"; then + $doit $mvcmd -f "$dst" "$dst$backupsuffix" 2>/dev/null + fi + # Rename the file to the real destination. $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || @@ -474,9 +514,9 @@ do # file should still install successfully. { test ! -f "$dst" || - $doit $rmcmd -f "$dst" 2>/dev/null || + $doit $rmcmd "$dst" 2>/dev/null || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && - { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } + { $doit $rmcmd "$rmtmp" 2>/dev/null; :; } } || { echo "$0: cannot unlink or rename $dst" >&2 (exit 1); exit 1 @@ -493,9 +533,9 @@ do done # Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) +# eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" +# time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: @@ -1,12 +1,12 @@ -#! /bin/sh +#! /usr/bin/env sh ## DO NOT EDIT - This file generated from ./build-aux/ltmain.in -## by inline-source v2014-01-03.01 +## by inline-source v2019-02-19.15 -# libtool (GNU libtool) 2.4.6 +# libtool (GNU libtool) 2.5.4 # Provide generalized library-building support services. # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 -# Copyright (C) 1996-2015 Free Software Foundation, Inc. +# Copyright (C) 1996-2019, 2021-2024 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. @@ -31,8 +31,8 @@ PROGRAM=libtool PACKAGE=libtool -VERSION=2.4.6 -package_revision=2.4.6 +VERSION=2.5.4 +package_revision=2.5.4 ## ------ ## @@ -64,34 +64,25 @@ package_revision=2.4.6 # libraries, which are installed to $pkgauxdir. # Set a version string for this script. -scriptversion=2015-01-20.17; # UTC +scriptversion=2019-02-19.15; # UTC # General shell script boiler plate, and helper functions. # Written by Gary V. Vaughan, 2004 -# Copyright (C) 2004-2015 Free Software Foundation, Inc. -# This is free software; see the source for copying conditions. There is NO -# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3 of the License, or -# (at your option) any later version. - -# As a special exception to the GNU General Public License, if you distribute -# this file as part of a program or library that is built using GNU Libtool, -# you may include this file under the same distribution terms that you use -# for the rest of that program. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNES FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# This is free software. There is NO warranty; not even for +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +# +# Copyright (C) 2004-2019, 2021, 2023-2024 Bootstrap Authors +# +# This file is dual licensed under the terms of the MIT license +# <https://opensource.org/licenses/MIT>, and GPL version 2 or later +# <https://www.gnu.org/licenses/gpl-2.0.html>. You must apply one of +# these licenses when using or redistributing this software or any of +# the files within it. See the URLs above, or the file `LICENSE` +# included in the Bootstrap distribution for the full license texts. -# Please report bugs or propose patches to gary@gnu.org. +# Please report bugs or propose patches to: +# <https://github.com/gnulib-modules/bootstrap/issues> ## ------ ## @@ -139,9 +130,12 @@ do _G_safe_locale=\"$_G_var=C; \$_G_safe_locale\" fi" done - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH +# These NLS vars are set unconditionally (bootstrap issue #24). Unset those +# in case the environment reset is needed later and the $save_* variant is not +# defined (see the code above). +LC_ALL=C +LANGUAGE=C +export LANGUAGE LC_ALL # Make sure IFS has a sensible default sp=' ' @@ -149,7 +143,7 @@ nl=' ' IFS="$sp $nl" -# There are apparently some retarded systems that use ';' as a PATH separator! +# There are apparently some systems that use ';' as a PATH separator! if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { @@ -159,6 +153,26 @@ if test "${PATH_SEPARATOR+set}" != set; then fi +# func_unset VAR +# -------------- +# Portably unset VAR. +# In some shells, an 'unset VAR' statement leaves a non-zero return +# status if VAR is already unset, which might be problematic if the +# statement is used at the end of a function (thus poisoning its return +# value) or when 'set -e' is active (causing even a spurious abort of +# the script in this case). +func_unset () +{ + { eval $1=; (eval unset $1) >/dev/null 2>&1 && eval unset $1 || : ; } +} + + +# Make sure CDPATH doesn't cause `cd` commands to output the target dir. +func_unset CDPATH + +# Make sure ${,E,F}GREP behave sanely. +func_unset GREP_OPTIONS + ## ------------------------- ## ## Locate command utilities. ## @@ -259,7 +273,7 @@ test -z "$SED" && { rm -f conftest.in conftest.tmp conftest.nl conftest.out } - func_path_progs "sed gsed" func_check_prog_sed $PATH:/usr/xpg4/bin + func_path_progs "sed gsed" func_check_prog_sed "$PATH:/usr/xpg4/bin" rm -f conftest.sed SED=$func_path_progs_result } @@ -295,7 +309,7 @@ test -z "$GREP" && { rm -f conftest.in conftest.tmp conftest.nl conftest.out } - func_path_progs "grep ggrep" func_check_prog_grep $PATH:/usr/xpg4/bin + func_path_progs "grep ggrep" func_check_prog_grep "$PATH:/usr/xpg4/bin" GREP=$func_path_progs_result } @@ -360,6 +374,35 @@ sed_double_backslash="\ s/\\([^$_G_bs]\\)$_G_bs2$_G_dollar/\\1$_G_bs2$_G_bs$_G_dollar/g s/\n//g" +# require_check_ifs_backslash +# --------------------------- +# Check if we can use backslash as IFS='\' separator, and set +# $check_ifs_backshlash_broken to ':' or 'false'. +require_check_ifs_backslash=func_require_check_ifs_backslash +func_require_check_ifs_backslash () +{ + _G_save_IFS=$IFS + IFS='\' + _G_check_ifs_backshlash='a\\b' + for _G_i in $_G_check_ifs_backshlash + do + case $_G_i in + a) + check_ifs_backshlash_broken=false + ;; + '') + break + ;; + *) + check_ifs_backshlash_broken=: + break + ;; + esac + done + IFS=$_G_save_IFS + require_check_ifs_backslash=: +} + ## ----------------- ## ## Global variables. ## @@ -546,7 +589,7 @@ func_require_term_colors () # _G_HAVE_PLUSEQ_OP # Can be empty, in which case the shell is probed, "yes" if += is - # useable or anything else if it does not work. + # usable or anything else if it does not work. test -z "$_G_HAVE_PLUSEQ_OP" \ && (eval 'x=a; x+=" b"; test "a b" = "$x"') 2>/dev/null \ && _G_HAVE_PLUSEQ_OP=yes @@ -580,16 +623,16 @@ if test yes = "$_G_HAVE_PLUSEQ_OP"; then { $debug_cmd - func_quote_for_eval "$2" - eval "$1+=\\ \$func_quote_for_eval_result" + func_quote_arg pretty "$2" + eval "$1+=\\ \$func_quote_arg_result" }' else func_append_quoted () { $debug_cmd - func_quote_for_eval "$2" - eval "$1=\$$1\\ \$func_quote_for_eval_result" + func_quote_arg pretty "$2" + eval "$1=\$$1\\ \$func_quote_arg_result" } fi @@ -696,7 +739,7 @@ eval 'func_dirname () # to NONDIR_REPLACEMENT. # value returned in "$func_dirname_result" # basename: Compute filename of FILE. -# value retuned in "$func_basename_result" +# value returned in "$func_basename_result" # For efficiency, we do not delegate to the functions above but instead # duplicate the functionality here. eval 'func_dirname_and_basename () @@ -854,7 +897,7 @@ func_mkdir_p () # While some portion of DIR does not yet exist... while test ! -d "$_G_directory_path"; do # ...make a list in topmost first order. Use a colon delimited - # list incase some portion of path contains whitespace. + # list in case some portion of path contains whitespace. _G_dir_list=$_G_directory_path:$_G_dir_list # If the last portion added has no slash in it, the list is done @@ -1091,85 +1134,203 @@ func_relative_path () } -# func_quote_for_eval ARG... -# -------------------------- -# Aesthetically quote ARGs to be evaled later. -# This function returns two values: -# i) func_quote_for_eval_result -# double-quoted, suitable for a subsequent eval -# ii) func_quote_for_eval_unquoted_result -# has all characters that are still active within double -# quotes backslashified. -func_quote_for_eval () +# func_quote_portable EVAL ARG +# ---------------------------- +# Internal function to portably implement func_quote_arg. Note that we still +# keep attention to performance here so we as much as possible try to avoid +# calling sed binary (so far O(N) complexity as long as func_append is O(1)). +func_quote_portable () { $debug_cmd - func_quote_for_eval_unquoted_result= - func_quote_for_eval_result= - while test 0 -lt $#; do - case $1 in - *[\\\`\"\$]*) - _G_unquoted_arg=`printf '%s\n' "$1" |$SED "$sed_quote_subst"` ;; - *) - _G_unquoted_arg=$1 ;; - esac - if test -n "$func_quote_for_eval_unquoted_result"; then - func_append func_quote_for_eval_unquoted_result " $_G_unquoted_arg" - else - func_append func_quote_for_eval_unquoted_result "$_G_unquoted_arg" + $require_check_ifs_backslash + + func_quote_portable_result=$2 + + # one-time-loop (easy break) + while true + do + if $1; then + func_quote_portable_result=`$ECHO "$2" | $SED \ + -e "$sed_double_quote_subst" -e "$sed_double_backslash"` + break fi - case $_G_unquoted_arg in - # Double-quote args containing shell metacharacters to delay - # word splitting, command substitution and variable expansion - # for a subsequent eval. - # Many Bourne shells cannot handle close brackets correctly - # in scan sets, so we specify it separately. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") - _G_quoted_arg=\"$_G_unquoted_arg\" + # Quote for eval. + case $func_quote_portable_result in + *[\\\`\"\$]*) + # Fallback to sed for $func_check_bs_ifs_broken=:, or when the string + # contains the shell wildcard characters. + case $check_ifs_backshlash_broken$func_quote_portable_result in + :*|*[\[\*\?]*) + func_quote_portable_result=`$ECHO "$func_quote_portable_result" \ + | $SED "$sed_quote_subst"` + break + ;; + esac + + func_quote_portable_old_IFS=$IFS + for _G_char in '\' '`' '"' '$' + do + # STATE($1) PREV($2) SEPARATOR($3) + set start "" "" + func_quote_portable_result=dummy"$_G_char$func_quote_portable_result$_G_char"dummy + IFS=$_G_char + for _G_part in $func_quote_portable_result + do + case $1 in + quote) + func_append func_quote_portable_result "$3$2" + set quote "$_G_part" "\\$_G_char" + ;; + start) + set first "" "" + func_quote_portable_result= + ;; + first) + set quote "$_G_part" "" + ;; + esac + done + done + IFS=$func_quote_portable_old_IFS ;; - *) - _G_quoted_arg=$_G_unquoted_arg - ;; + *) ;; esac - - if test -n "$func_quote_for_eval_result"; then - func_append func_quote_for_eval_result " $_G_quoted_arg" - else - func_append func_quote_for_eval_result "$_G_quoted_arg" - fi - shift + break done + + func_quote_portable_unquoted_result=$func_quote_portable_result + case $func_quote_portable_result in + # double-quote args containing shell metacharacters to delay + # word splitting, command substitution and variable expansion + # for a subsequent eval. + # many bourne shells cannot handle close brackets correctly + # in scan sets, so we specify it separately. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + func_quote_portable_result=\"$func_quote_portable_result\" + ;; + esac } -# func_quote_for_expand ARG -# ------------------------- -# Aesthetically quote ARG to be evaled later; same as above, -# but do not quote variable references. -func_quote_for_expand () -{ - $debug_cmd +# func_quotefast_eval ARG +# ----------------------- +# Quote one ARG (internal). This is equivalent to 'func_quote_arg eval ARG', +# but optimized for speed. Result is stored in $func_quotefast_eval. +if test xyes = `(x=; printf -v x %q yes; echo x"$x") 2>/dev/null`; then + printf -v _GL_test_printf_tilde %q '~' + if test '\~' = "$_GL_test_printf_tilde"; then + func_quotefast_eval () + { + printf -v func_quotefast_eval_result %q "$1" + } + else + # Broken older Bash implementations. Make those faster too if possible. + func_quotefast_eval () + { + case $1 in + '~'*) + func_quote_portable false "$1" + func_quotefast_eval_result=$func_quote_portable_result + ;; + *) + printf -v func_quotefast_eval_result %q "$1" + ;; + esac + } + fi +else + func_quotefast_eval () + { + func_quote_portable false "$1" + func_quotefast_eval_result=$func_quote_portable_result + } +fi - case $1 in - *[\\\`\"]*) - _G_arg=`$ECHO "$1" | $SED \ - -e "$sed_double_quote_subst" -e "$sed_double_backslash"` ;; - *) - _G_arg=$1 ;; + +# func_quote_arg MODEs ARG +# ------------------------ +# Quote one ARG to be evaled later. MODEs argument may contain zero or more +# specifiers listed below separated by ',' character. This function returns two +# values: +# i) func_quote_arg_result +# double-quoted (when needed), suitable for a subsequent eval +# ii) func_quote_arg_unquoted_result +# has all characters that are still active within double +# quotes backslashified. Available only if 'unquoted' is specified. +# +# Available modes: +# ---------------- +# 'eval' (default) +# - escape shell special characters +# 'expand' +# - the same as 'eval'; but do not quote variable references +# 'pretty' +# - request aesthetic output, i.e. '"a b"' instead of 'a\ b'. This might +# be used later in func_quote to get output like: 'echo "a b"' instead +# of 'echo a\ b'. This is slower than default on some shells. +# 'unquoted' +# - produce also $func_quote_arg_unquoted_result which does not contain +# wrapping double-quotes. +# +# Examples for 'func_quote_arg pretty,unquoted string': +# +# string | *_result | *_unquoted_result +# ------------+-----------------------+------------------- +# " | \" | \" +# a b | "a b" | a b +# "a b" | "\"a b\"" | \"a b\" +# * | "*" | * +# z="${x-$y}" | "z=\"\${x-\$y}\"" | z=\"\${x-\$y}\" +# +# Examples for 'func_quote_arg pretty,unquoted,expand string': +# +# string | *_result | *_unquoted_result +# --------------+---------------------+-------------------- +# z="${x-$y}" | "z=\"${x-$y}\"" | z=\"${x-$y}\" +func_quote_arg () +{ + _G_quote_expand=false + case ,$1, in + *,expand,*) + _G_quote_expand=: + ;; esac - case $_G_arg in - # Double-quote args containing shell metacharacters to delay - # word splitting and command substitution for a subsequent eval. - # Many Bourne shells cannot handle close brackets correctly - # in scan sets, so we specify it separately. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") - _G_arg=\"$_G_arg\" + case ,$1, in + *,pretty,*|*,expand,*|*,unquoted,*) + func_quote_portable $_G_quote_expand "$2" + func_quote_arg_result=$func_quote_portable_result + func_quote_arg_unquoted_result=$func_quote_portable_unquoted_result + ;; + *) + # Faster quote-for-eval for some shells. + func_quotefast_eval "$2" + func_quote_arg_result=$func_quotefast_eval_result ;; esac +} + - func_quote_for_expand_result=$_G_arg +# func_quote MODEs ARGs... +# ------------------------ +# Quote all ARGs to be evaled later and join them into single command. See +# func_quote_arg's description for more info. +func_quote () +{ + $debug_cmd + _G_func_quote_mode=$1 ; shift + func_quote_result= + while test 0 -lt $#; do + func_quote_arg "$_G_func_quote_mode" "$1" + if test -n "$func_quote_result"; then + func_append func_quote_result " $func_quote_arg_result" + else + func_append func_quote_result "$func_quote_arg_result" + fi + shift + done } @@ -1215,8 +1376,8 @@ func_show_eval () _G_cmd=$1 _G_fail_exp=${2-':'} - func_quote_for_expand "$_G_cmd" - eval "func_notquiet $func_quote_for_expand_result" + func_quote_arg pretty,expand "$_G_cmd" + eval "func_notquiet $func_quote_arg_result" $opt_dry_run || { eval "$_G_cmd" @@ -1241,8 +1402,8 @@ func_show_eval_locale () _G_fail_exp=${2-':'} $opt_quiet || { - func_quote_for_expand "$_G_cmd" - eval "func_echo $func_quote_for_expand_result" + func_quote_arg expand,pretty "$_G_cmd" + eval "func_echo $func_quote_arg_result" } $opt_dry_run || { @@ -1369,30 +1530,26 @@ func_lt_ver () # End: #! /bin/sh -# Set a version string for this script. -scriptversion=2014-01-07.03; # UTC - # A portable, pluggable option parser for Bourne shell. # Written by Gary V. Vaughan, 2010 -# Copyright (C) 2010-2015 Free Software Foundation, Inc. -# This is free software; see the source for copying conditions. There is NO -# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This is free software. There is NO warranty; not even for +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +# +# Copyright (C) 2010-2019, 2021, 2023-2024 Bootstrap Authors +# +# This file is dual licensed under the terms of the MIT license +# <https://opensource.org/licenses/MIT>, and GPL version 2 or later +# <https://www.gnu.org/licenses/gpl-2.0.html>. You must apply one of +# these licenses when using or redistributing this software or any of +# the files within it. See the URLs above, or the file `LICENSE` +# included in the Bootstrap distribution for the full license texts. -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. +# Please report bugs or propose patches to: +# <https://github.com/gnulib-modules/bootstrap/issues> -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. - -# Please report bugs or propose patches to gary@gnu.org. +# Set a version string for this script. +scriptversion=2019-02-19.15; # UTC ## ------ ## @@ -1415,7 +1572,7 @@ scriptversion=2014-01-07.03; # UTC # # In order for the '--version' option to work, you will need to have a # suitably formatted comment like the one at the top of this file -# starting with '# Written by ' and ending with '# warranty; '. +# starting with '# Written by ' and ending with '# Copyright'. # # For '-h' and '--help' to work, you will also need a one line # description of your script's purpose in a comment directly above the @@ -1427,7 +1584,7 @@ scriptversion=2014-01-07.03; # UTC # to display verbose messages only when your user has specified # '--verbose'. # -# After sourcing this file, you can plug processing for additional +# After sourcing this file, you can plug in processing for additional # options by amending the variables from the 'Configuration' section # below, and following the instructions in the 'Option parsing' # section further down. @@ -1476,8 +1633,8 @@ fatal_help="Try '\$progname --help' for more information." ## ------------------------- ## # This section contains functions for adding, removing, and running hooks -# to the main code. A hook is just a named list of of function, that can -# be run in order later on. +# in the main code. A hook is just a list of function names that can be +# run in order later on. # func_hookable FUNC_NAME # ----------------------- @@ -1510,7 +1667,8 @@ func_add_hook () # func_remove_hook FUNC_NAME HOOK_FUNC # ------------------------------------ -# Remove HOOK_FUNC from the list of functions called by FUNC_NAME. +# Remove HOOK_FUNC from the list of hook functions to be called by +# FUNC_NAME. func_remove_hook () { $debug_cmd @@ -1519,10 +1677,28 @@ func_remove_hook () } +# func_propagate_result FUNC_NAME_A FUNC_NAME_B +# --------------------------------------------- +# If the *_result variable of FUNC_NAME_A _is set_, assign its value to +# *_result variable of FUNC_NAME_B. +func_propagate_result () +{ + $debug_cmd + + func_propagate_result_result=: + if eval "test \"\${${1}_result+set}\" = set" + then + eval "${2}_result=\$${1}_result" + else + func_propagate_result_result=false + fi +} + + # func_run_hooks FUNC_NAME [ARG]... # --------------------------------- # Run all hook functions registered to FUNC_NAME. -# It is assumed that the list of hook functions contains nothing more +# It's assumed that the list of hook functions contains nothing more # than a whitespace-delimited list of legal shell function names, and # no effort is wasted trying to catch shell meta-characters or preserve # whitespace. @@ -1532,22 +1708,19 @@ func_run_hooks () case " $hookable_fns " in *" $1 "*) ;; - *) func_fatal_error "'$1' does not support hook funcions.n" ;; + *) func_fatal_error "'$1' does not support hook functions." ;; esac eval _G_hook_fns=\$$1_hooks; shift for _G_hook in $_G_hook_fns; do - eval $_G_hook '"$@"' - - # store returned options list back into positional - # parameters for next 'cmd' execution. - eval _G_hook_result=\$${_G_hook}_result - eval set dummy "$_G_hook_result"; shift + func_unset "${_G_hook}_result" + eval $_G_hook '${1+"$@"}' + func_propagate_result $_G_hook func_run_hooks + if $func_propagate_result_result; then + eval set dummy "$func_run_hooks_result"; shift + fi done - - func_quote_for_eval ${1+"$@"} - func_run_hooks_result=$func_quote_for_eval_result } @@ -1557,10 +1730,18 @@ func_run_hooks () ## --------------- ## # In order to add your own option parsing hooks, you must accept the -# full positional parameter list in your hook function, remove any -# options that you action, and then pass back the remaining unprocessed -# options in '<hooked_function_name>_result', escaped suitably for -# 'eval'. Like this: +# full positional parameter list from your hook function. You may remove +# or edit any options that you action, and then pass back the remaining +# unprocessed options in '<hooked_function_name>_result', escaped +# suitably for 'eval'. +# +# The '<hooked_function_name>_result' variable is automatically unset +# before your hook gets called; for best performance, only set the +# *_result variable when necessary (i.e. don't call the 'func_quote' +# function unnecessarily because it can be an expensive operation on some +# machines). +# +# Like this: # # my_options_prep () # { @@ -1570,9 +1751,8 @@ func_run_hooks () # usage_message=$usage_message' # -s, --silent don'\''t print informational messages # ' -# -# func_quote_for_eval ${1+"$@"} -# my_options_prep_result=$func_quote_for_eval_result +# # No change in '$@' (ignored completely by this hook). Leave +# # my_options_prep_result variable intact. # } # func_add_hook func_options_prep my_options_prep # @@ -1581,25 +1761,36 @@ func_run_hooks () # { # $debug_cmd # -# # Note that for efficiency, we parse as many options as we can +# args_changed=false +# +# # Note that, for efficiency, we parse as many options as we can # # recognise in a loop before passing the remainder back to the # # caller on the first unrecognised argument we encounter. # while test $# -gt 0; do # opt=$1; shift # case $opt in -# --silent|-s) opt_silent=: ;; +# --silent|-s) opt_silent=: +# args_changed=: +# ;; # # Separate non-argument short options: # -s*) func_split_short_opt "$_G_opt" # set dummy "$func_split_short_opt_name" \ # "-$func_split_short_opt_arg" ${1+"$@"} # shift +# args_changed=: # ;; -# *) set dummy "$_G_opt" "$*"; shift; break ;; +# *) # Make sure the first unrecognised option "$_G_opt" +# # is added back to "$@" in case we need it later, +# # if $args_changed was set to 'true'. +# set dummy "$_G_opt" ${1+"$@"}; shift; break ;; # esac # done # -# func_quote_for_eval ${1+"$@"} -# my_silent_option_result=$func_quote_for_eval_result +# # Only call 'func_quote' here if we processed at least one argument. +# if $args_changed; then +# func_quote eval ${1+"$@"} +# my_silent_option_result=$func_quote_result +# fi # } # func_add_hook func_parse_options my_silent_option # @@ -1610,17 +1801,26 @@ func_run_hooks () # # $opt_silent && $opt_verbose && func_fatal_help "\ # '--silent' and '--verbose' options are mutually exclusive." -# -# func_quote_for_eval ${1+"$@"} -# my_option_validation_result=$func_quote_for_eval_result # } # func_add_hook func_validate_options my_option_validation # -# You'll alse need to manually amend $usage_message to reflect the extra +# You'll also need to manually amend $usage_message to reflect the extra # options you parse. It's preferable to append if you can, so that # multiple option parsing hooks can be added safely. +# func_options_finish [ARG]... +# ---------------------------- +# Finishing the option parse loop (call 'func_options' hooks ATM). +func_options_finish () +{ + $debug_cmd + + func_run_hooks func_options ${1+"$@"} + func_propagate_result func_run_hooks func_options_finish +} + + # func_options [ARG]... # --------------------- # All the functions called inside func_options are hookable. See the @@ -1630,17 +1830,27 @@ func_options () { $debug_cmd - func_options_prep ${1+"$@"} - eval func_parse_options \ - ${func_options_prep_result+"$func_options_prep_result"} - eval func_validate_options \ - ${func_parse_options_result+"$func_parse_options_result"} + _G_options_quoted=false - eval func_run_hooks func_options \ - ${func_validate_options_result+"$func_validate_options_result"} + for my_func in options_prep parse_options validate_options options_finish + do + func_unset func_${my_func}_result + func_unset func_run_hooks_result + eval func_$my_func '${1+"$@"}' + func_propagate_result func_$my_func func_options + if $func_propagate_result_result; then + eval set dummy "$func_options_result"; shift + _G_options_quoted=: + fi + done - # save modified positional parameters for caller - func_options_result=$func_run_hooks_result + $_G_options_quoted || { + # As we (func_options) are top-level options-parser function and + # nobody quoted "$@" for us yet, we need to do it explicitly for + # caller. + func_quote eval ${1+"$@"} + func_options_result=$func_quote_result + } } @@ -1649,9 +1859,8 @@ func_options () # All initialisations required before starting the option parse loop. # Note that when calling hook functions, we pass through the list of # positional parameters. If a hook function modifies that list, and -# needs to propogate that back to rest of this script, then the complete -# modified list must be put in 'func_run_hooks_result' before -# returning. +# needs to propagate that back to rest of this script, then the complete +# modified list must be put in 'func_run_hooks_result' before returning. func_hookable func_options_prep func_options_prep () { @@ -1662,9 +1871,7 @@ func_options_prep () opt_warning_types= func_run_hooks func_options_prep ${1+"$@"} - - # save modified positional parameters for caller - func_options_prep_result=$func_run_hooks_result + func_propagate_result func_run_hooks func_options_prep } @@ -1676,25 +1883,32 @@ func_parse_options () { $debug_cmd - func_parse_options_result= - + _G_parse_options_requote=false # this just eases exit handling while test $# -gt 0; do # Defer to hook functions for initial option parsing, so they # get priority in the event of reusing an option name. func_run_hooks func_parse_options ${1+"$@"} - - # Adjust func_parse_options positional parameters to match - eval set dummy "$func_run_hooks_result"; shift + func_propagate_result func_run_hooks func_parse_options + if $func_propagate_result_result; then + eval set dummy "$func_parse_options_result"; shift + # Even though we may have changed "$@", we passed the "$@" array + # down into the hook and it quoted it for us (because we are in + # this if-branch). No need to quote it again. + _G_parse_options_requote=false + fi # Break out of the loop if we already parsed every option. test $# -gt 0 || break + # We expect that one of the options parsed in this function matches + # and thus we remove _G_opt from "$@" and need to re-quote. + _G_match_parse_options=: _G_opt=$1 shift case $_G_opt in --debug|-x) debug_cmd='set -x' - func_echo "enabling shell trace mode" + func_echo "enabling shell trace mode" >&2 $debug_cmd ;; @@ -1704,7 +1918,10 @@ func_parse_options () ;; --warnings|--warning|-W) - test $# = 0 && func_missing_arg $_G_opt && break + if test $# = 0 && func_missing_arg $_G_opt; then + _G_parse_options_requote=: + break + fi case " $warning_categories $1" in *" $1 "*) # trailing space prevents matching last $1 above @@ -1757,15 +1974,24 @@ func_parse_options () shift ;; - --) break ;; + --) _G_parse_options_requote=: ; break ;; -*) func_fatal_help "unrecognised option: '$_G_opt'" ;; - *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;; + *) set dummy "$_G_opt" ${1+"$@"}; shift + _G_match_parse_options=false + break + ;; esac + + if $_G_match_parse_options; then + _G_parse_options_requote=: + fi done - # save modified positional parameters for caller - func_quote_for_eval ${1+"$@"} - func_parse_options_result=$func_quote_for_eval_result + if $_G_parse_options_requote; then + # save modified positional parameters for caller + func_quote eval ${1+"$@"} + func_parse_options_result=$func_quote_result + fi } @@ -1782,12 +2008,10 @@ func_validate_options () test -n "$opt_warning_types" || opt_warning_types=" $warning_categories" func_run_hooks func_validate_options ${1+"$@"} + func_propagate_result func_run_hooks func_validate_options # Bail if the options were screwed! $exit_cmd $EXIT_FAILURE - - # save modified positional parameters for caller - func_validate_options_result=$func_run_hooks_result } @@ -1843,8 +2067,8 @@ func_missing_arg () # func_split_equals STRING # ------------------------ -# Set func_split_equals_lhs and func_split_equals_rhs shell variables after -# splitting STRING at the '=' sign. +# Set func_split_equals_lhs and func_split_equals_rhs shell variables +# after splitting STRING at the '=' sign. test -z "$_G_HAVE_XSI_OPS" \ && (eval 'x=a/b/c; test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \ @@ -1859,8 +2083,9 @@ then func_split_equals_lhs=${1%%=*} func_split_equals_rhs=${1#*=} - test "x$func_split_equals_lhs" = "x$1" \ - && func_split_equals_rhs= + if test "x$func_split_equals_lhs" = "x$1"; then + func_split_equals_rhs= + fi }' else # ...otherwise fall back to using expr, which is often a shell builtin. @@ -1870,7 +2095,7 @@ else func_split_equals_lhs=`expr "x$1" : 'x\([^=]*\)'` func_split_equals_rhs= - test "x$func_split_equals_lhs" = "x$1" \ + test "x$func_split_equals_lhs=" = "x$1" \ || func_split_equals_rhs=`expr "x$1" : 'x[^=]*=\(.*\)$'` } fi #func_split_equals @@ -1896,7 +2121,7 @@ else { $debug_cmd - func_split_short_opt_name=`expr "x$1" : 'x-\(.\)'` + func_split_short_opt_name=`expr "x$1" : 'x\(-.\)'` func_split_short_opt_arg=`expr "x$1" : 'x-.\(.*\)$'` } fi #func_split_short_opt @@ -1938,31 +2163,44 @@ func_usage_message () # func_version # ------------ # Echo version message to standard output and exit. +# The version message is extracted from the calling file's header +# comments, with leading '# ' stripped: +# 1. First display the progname and version +# 2. Followed by the header comment line matching /^# Written by / +# 3. Then a blank line followed by the first following line matching +# /^# Copyright / +# 4. Immediately followed by any lines between the previous matches, +# except lines preceding the intervening completely blank line. +# For example, see the header comments of this file. func_version () { $debug_cmd printf '%s\n' "$progname $scriptversion" $SED -n ' - /(C)/!b go - :more - /\./!{ - N - s|\n# | | - b more - } - :go - /^# Written by /,/# warranty; / { - s|^# || - s|^# *$|| - s|\((C)\)[ 0-9,-]*[ ,-]\([1-9][0-9]* \)|\1 \2| - p + /^# Written by /!b + s|^# ||; p; n + + :fwd2blnk + /./ { + n + b fwd2blnk } - /^# Written by / { - s|^# || - p + p; n + + :holdwrnt + s|^# || + s|^# *$|| + /^Copyright /!{ + /./H + n + b holdwrnt } - /^warranty; /q' < "$progpath" + + s|\((C)\)[ 0-9,-]*[ ,-]\([1-9][0-9]* \)|\1 \2| + G + s|\(\n\)\n*|\1|g + p; q' < "$progpath" exit $? } @@ -1972,12 +2210,35 @@ func_version () # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'before-save-hook 'time-stamp) -# time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC" +# time-stamp-pattern: "30/scriptversion=%:y-%02m-%02d.%02H; # UTC" # time-stamp-time-zone: "UTC" # End: # Set a version string. -scriptversion='(GNU libtool) 2.4.6' +scriptversion='(GNU libtool) 2.5.4' + +# func_version +# ------------ +# Echo version message to standard output and exit. +func_version () +{ + $debug_cmd + + year=`date +%Y` + + cat <<EOF +$progname $scriptversion +Copyright (C) $year Free Software Foundation, Inc. +License GPLv2+: GNU GPL version 2 or later <https://gnu.org/licenses/gpl.html> +This is free software: you are free to change and redistribute it. +There is NO WARRANTY, to the extent permitted by law. + +Originally written by Gordon Matzigkeit, 1996 +(See AUTHORS for complete contributor listing) +EOF + + exit $? +} # func_echo ARG... @@ -2000,18 +2261,6 @@ func_echo () } -# func_warning ARG... -# ------------------- -# Libtool warnings are not categorized, so override funclib.sh -# func_warning with this simpler definition. -func_warning () -{ - $debug_cmd - - $warning_func ${1+"$@"} -} - - ## ---------------- ## ## Options parsing. ## ## ---------------- ## @@ -2023,19 +2272,23 @@ usage='$progpath [OPTION]... [MODE-ARG]...' # Short help message in response to '-h'. usage_message="Options: - --config show all configuration variables - --debug enable verbose shell tracing - -n, --dry-run display commands without modifying any files - --features display basic configuration information and exit - --mode=MODE use operation mode MODE - --no-warnings equivalent to '-Wnone' - --preserve-dup-deps don't remove duplicate dependency libraries - --quiet, --silent don't print informational messages - --tag=TAG use configuration variables from tag TAG - -v, --verbose print more informational messages than default - --version print version information - -W, --warnings=CATEGORY report the warnings falling in CATEGORY [all] - -h, --help, --help-all print short, long, or detailed help message + --config show all configuration variables + --debug enable verbose shell tracing + -n, --dry-run display commands without modifying any files + --features display basic configuration information + --finish use operation '--mode=finish' + --mode=MODE use operation mode MODE + --no-finish don't update shared library cache + --no-quiet, --no-silent print default informational messages + --no-warnings equivalent to '-Wnone' + --preserve-dup-deps don't remove duplicate dependency libraries + --quiet, --silent don't print informational messages + --reorder-cache=DIRS reorder shared library cache for preferred DIRS + --tag=TAG use configuration variables from tag TAG + -v, --verbose print more informational messages than default + --version print version information + -W, --warnings=CATEGORY report the warnings falling in CATEGORY [all] + -h, --help, --help-all print short, long, or detailed help message " # Additional text appended to 'usage_message' in response to '--help'. @@ -2068,13 +2321,13 @@ include the following information: compiler: $LTCC compiler flags: $LTCFLAGS linker: $LD (gnu? $with_gnu_ld) - version: $progname (GNU libtool) 2.4.6 + version: $progname $scriptversion automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q` autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q` Report bugs to <bug-libtool@gnu.org>. -GNU libtool home page: <http://www.gnu.org/software/libtool/>. -General help using GNU software: <http://www.gnu.org/gethelp/>." +GNU libtool home page: <https://www.gnu.org/software/libtool/>. +General help using GNU software: <https://www.gnu.org/gethelp/>." exit 0 } @@ -2264,12 +2517,17 @@ libtool_options_prep () opt_dry_run=false opt_help=false opt_mode= + opt_reorder_cache=false opt_preserve_dup_deps=false opt_quiet=false + opt_finishing=true + opt_warning= nonopt= preserve_args= + _G_rc_lt_options_prep=: + # Shorthand for --mode=foo, only valid as the first argument case $1 in clean|clea|cle|cl) @@ -2293,11 +2551,16 @@ libtool_options_prep () uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u) shift; set dummy --mode uninstall ${1+"$@"}; shift ;; + *) + _G_rc_lt_options_prep=false + ;; esac - # Pass back the list of options. - func_quote_for_eval ${1+"$@"} - libtool_options_prep_result=$func_quote_for_eval_result + if $_G_rc_lt_options_prep; then + # Pass back the list of options. + func_quote eval ${1+"$@"} + libtool_options_prep_result=$func_quote_result + fi } func_add_hook func_options_prep libtool_options_prep @@ -2309,9 +2572,12 @@ libtool_parse_options () { $debug_cmd + _G_rc_lt_parse_options=false + # Perform our own loop to consume as many options as possible in # each iteration. while test $# -gt 0; do + _G_match_lt_parse_options=: _G_opt=$1 shift case $_G_opt in @@ -2345,14 +2611,18 @@ libtool_parse_options () clean|compile|execute|finish|install|link|relink|uninstall) ;; # Catch anything else as an error - *) func_error "invalid argument for $_G_opt" + *) func_error "invalid argument '$1' for $_G_opt" exit_cmd=exit - break ;; esac shift ;; + --no-finish) + opt_finishing=false + func_append preserve_args " $_G_opt" + ;; + --no-silent|--no-quiet) opt_quiet=false func_append preserve_args " $_G_opt" @@ -2368,6 +2638,24 @@ libtool_parse_options () func_append preserve_args " $_G_opt" ;; + --reorder-cache) + opt_reorder_cache=true + shared_lib_dirs=$1 + if test -n "$shared_lib_dirs"; then + case $1 in + # Must begin with /: + /*) ;; + + # Catch anything else as an error (relative paths) + *) func_error "invalid argument '$1' for $_G_opt" + func_error "absolute paths are required for $_G_opt" + exit_cmd=exit + ;; + esac + fi + shift + ;; + --silent|--quiet) opt_quiet=: opt_verbose=false @@ -2386,19 +2674,36 @@ libtool_parse_options () func_append preserve_args " $_G_opt" ;; - # An option not handled by this hook function: - *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;; + # An option not handled by this hook function: + *) set dummy "$_G_opt" ${1+"$@"} ; shift + _G_match_lt_parse_options=false + break + ;; esac + $_G_match_lt_parse_options && _G_rc_lt_parse_options=: done - - # save modified positional parameters for caller - func_quote_for_eval ${1+"$@"} - libtool_parse_options_result=$func_quote_for_eval_result + if $_G_rc_lt_parse_options; then + # save modified positional parameters for caller + func_quote eval ${1+"$@"} + libtool_parse_options_result=$func_quote_result + fi } func_add_hook func_parse_options libtool_parse_options +# func_warning ARG... +# ------------------- +# Libtool warnings are not categorized, so override funclib.sh +# func_warning with this simpler definition. +func_warning () +{ + if $opt_warning; then + $debug_cmd + $warning_func ${1+"$@"} + fi +} + # libtool_validate_options [ARG]... # --------------------------------- @@ -2415,17 +2720,10 @@ libtool_validate_options () # preserve --debug test : = "$debug_cmd" || func_append preserve_args " --debug" - case $host in - # Solaris2 added to fix http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16452 - # see also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788 - *cygwin* | *mingw* | *pw32* | *cegcc* | *solaris2* | *os2*) - # don't eliminate duplications in $postdeps and $predeps - opt_duplicate_compiler_generated_deps=: - ;; - *) - opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps - ;; - esac + # Keeping compiler generated duplicates in $postdeps and $predeps is not + # harmful, and is necessary in a majority of systems that use it to satisfy + # symbol dependencies. + opt_duplicate_compiler_generated_deps=: $opt_help || { # Sanity checks first: @@ -2451,8 +2749,8 @@ libtool_validate_options () } # Pass back the unparsed argument list - func_quote_for_eval ${1+"$@"} - libtool_validate_options_result=$func_quote_for_eval_result + func_quote eval ${1+"$@"} + libtool_validate_options_result=$func_quote_result } func_add_hook func_validate_options libtool_validate_options @@ -2750,7 +3048,7 @@ EOF # func_convert_core_file_wine_to_w32 ARG # Helper function used by file name conversion functions when $build is *nix, -# and $host is mingw, cygwin, or some other w32 environment. Relies on a +# and $host is mingw, windows, cygwin, or some other w32 environment. Relies on a # correctly configured wine environment available, with the winepath program # in $build's $PATH. # @@ -2782,9 +3080,10 @@ func_convert_core_file_wine_to_w32 () # func_convert_core_path_wine_to_w32 ARG # Helper function used by path conversion functions when $build is *nix, and -# $host is mingw, cygwin, or some other w32 environment. Relies on a correctly -# configured wine environment available, with the winepath program in $build's -# $PATH. Assumes ARG has no leading or trailing path separator characters. +# $host is mingw, windows, cygwin, or some other w32 environment. Relies on a +# correctly configured wine environment available, with the winepath program +# in $build's $PATH. Assumes ARG has no leading or trailing path separator +# characters. # # ARG is path to be converted from $build format to win32. # Result is available in $func_convert_core_path_wine_to_w32_result. @@ -2927,6 +3226,15 @@ func_convert_path_front_back_pathsep () # end func_convert_path_front_back_pathsep +# func_convert_delimited_path PATH ORIG_DELIMITER NEW_DELIMITER +# Replaces a delimiter for a given path. +func_convert_delimited_path () +{ + converted_path=`$ECHO "$1" | $SED "s#$2#$3#g"` +} +# end func_convert_delimited_path + + ################################################## # $build to $host FILE NAME CONVERSION FUNCTIONS # ################################################## @@ -3261,6 +3569,65 @@ func_dll_def_p () } +# func_reorder_shared_lib_cache DIRS +# Reorder the shared library cache by unconfiguring previous shared library cache +# and configuring preferred search directories before previous search directories. +# Previous shared library cache: /usr/lib /usr/local/lib +# Preferred search directories: /tmp/testing +# Reordered shared library cache: /tmp/testing /usr/lib /usr/local/lib +func_reorder_shared_lib_cache () +{ + $debug_cmd + + case $host_os in + openbsd*) + get_search_directories=`PATH="$PATH:/sbin" ldconfig -r | $GREP "search directories" | $SED "s#.*search directories:\ ##g"` + func_convert_delimited_path "$get_search_directories" ':' '\ ' + save_search_directories=$converted_path + func_convert_delimited_path "$1" ':' '\ ' + + # Ensure directories exist + for dir in $converted_path; do + # Ensure each directory is an absolute path + case $dir in + /*) ;; + *) func_error "Directory '$dir' is not an absolute path" + exit $EXIT_FAILURE ;; + esac + # Ensure no trailing slashes + func_stripname '' '/' "$dir" + dir=$func_stripname_result + if test -d "$dir"; then + if test -n "$preferred_search_directories"; then + preferred_search_directories="$preferred_search_directories $dir" + else + preferred_search_directories=$dir + fi + else + func_error "Directory '$dir' does not exist" + exit $EXIT_FAILURE + fi + done + + PATH="$PATH:/sbin" ldconfig -U $save_search_directories + PATH="$PATH:/sbin" ldconfig -m $preferred_search_directories $save_search_directories + get_search_directories=`PATH="$PATH:/sbin" ldconfig -r | $GREP "search directories" | $SED "s#.*search directories:\ ##g"` + func_convert_delimited_path "$get_search_directories" ':' '\ ' + reordered_search_directories=$converted_path + + $ECHO "Original: $save_search_directories" + $ECHO "Reordered: $reordered_search_directories" + exit $EXIT_SUCCESS + ;; + *) + func_error "--reorder-cache is not supported for host_os=$host_os." + exit $EXIT_FAILURE + ;; + esac +} +# end func_reorder_shared_lib_cache + + # func_mode_compile arg... func_mode_compile () { @@ -3418,8 +3785,8 @@ func_mode_compile () esac done - func_quote_for_eval "$libobj" - test "X$libobj" != "X$func_quote_for_eval_result" \ + func_quote_arg pretty "$libobj" + test "X$libobj" != "X$func_quote_arg_result" \ && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \ && func_warning "libobj name '$libobj' may not contain shell special characters." func_dirname_and_basename "$obj" "/" "" @@ -3439,7 +3806,7 @@ func_mode_compile () # On Cygwin there's no "real" PIC flag so we must build both object types case $host_os in - cygwin* | mingw* | pw32* | os2* | cegcc*) + cygwin* | mingw* | windows* | pw32* | os2* | cegcc*) pic_mode=default ;; esac @@ -3492,8 +3859,8 @@ compiler." func_to_tool_file "$srcfile" func_convert_file_msys_to_w32 srcfile=$func_to_tool_file_result - func_quote_for_eval "$srcfile" - qsrcfile=$func_quote_for_eval_result + func_quote_arg pretty "$srcfile" + qsrcfile=$func_quote_arg_result # Only build a PIC object if we are building libtool libraries. if test yes = "$build_libtool_libs"; then @@ -3648,7 +4015,8 @@ This mode accepts the following additional options: -prefer-non-pic try to build non-PIC objects only -shared do not build a '.o' file suitable for static linking -static only build a '.o' file suitable for static linking - -Wc,FLAG pass FLAG directly to the compiler + -Wc,FLAG + -Xcompiler FLAG pass FLAG directly to the compiler COMPILE-COMMAND is a command to be used in creating a 'standard' object file from the given SOURCEFILE. @@ -3754,6 +4122,8 @@ The following components of LINK-COMMAND are treated specially: -weak LIBNAME declare that the target provides the LIBNAME interface -Wc,FLAG -Xcompiler FLAG pass linker-specific FLAG directly to the compiler + -Wa,FLAG + -Xassembler FLAG pass linker-specific FLAG directly to the assembler -Wl,FLAG -Xlinker FLAG pass linker-specific FLAG directly to the linker -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC) @@ -3830,6 +4200,12 @@ if $opt_help; then fi +# If option '--reorder-cache', reorder the shared library cache and exit. +if $opt_reorder_cache; then + func_reorder_shared_lib_cache $shared_lib_dirs +fi + + # func_mode_execute arg... func_mode_execute () { @@ -4014,7 +4390,7 @@ func_mode_finish () fi fi - if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs" && $opt_finishing; then for libdir in $libdirs; do if test -n "$finish_cmds"; then # Do each command in the finish commands. @@ -4039,6 +4415,12 @@ func_mode_finish () for libdir in $libdirs; do $ECHO " $libdir" done + if test "false" = "$opt_finishing"; then + echo + echo "NOTE: finish_cmds were not executed during testing, so you must" + echo "manually run ldconfig to add a given test directory, LIBDIR, to" + echo "the search path for generated executables." + fi echo echo "If you ever happen to want to link against installed libraries" echo "in a given directory, LIBDIR, you must either use libtool, and" @@ -4096,8 +4478,8 @@ func_mode_install () case $nonopt in *shtool*) :;; *) false;; esac then # Aesthetically quote it. - func_quote_for_eval "$nonopt" - install_prog="$func_quote_for_eval_result " + func_quote_arg pretty "$nonopt" + install_prog="$func_quote_arg_result " arg=$1 shift else @@ -4107,8 +4489,8 @@ func_mode_install () # The real first argument should be the name of the installation program. # Aesthetically quote it. - func_quote_for_eval "$arg" - func_append install_prog "$func_quote_for_eval_result" + func_quote_arg pretty "$arg" + func_append install_prog "$func_quote_arg_result" install_shared_prog=$install_prog case " $install_prog " in *[\\\ /]cp\ *) install_cp=: ;; @@ -4165,12 +4547,12 @@ func_mode_install () esac # Aesthetically quote the argument. - func_quote_for_eval "$arg" - func_append install_prog " $func_quote_for_eval_result" + func_quote_arg pretty "$arg" + func_append install_prog " $func_quote_arg_result" if test -n "$arg2"; then - func_quote_for_eval "$arg2" + func_quote_arg pretty "$arg2" fi - func_append install_shared_prog " $func_quote_for_eval_result" + func_append install_shared_prog " $func_quote_arg_result" done test -z "$install_prog" && \ @@ -4181,8 +4563,8 @@ func_mode_install () if test -n "$install_override_mode" && $no_mode; then if $install_cp; then :; else - func_quote_for_eval "$install_override_mode" - func_append install_shared_prog " -m $func_quote_for_eval_result" + func_quote_arg pretty "$install_override_mode" + func_append install_shared_prog " -m $func_quote_arg_result" fi fi @@ -4275,8 +4657,15 @@ func_mode_install () func_append dir "$objdir" if test -n "$relink_command"; then + # Strip any trailing slash from the destination. + func_stripname '' '/' "$libdir" + destlibdir=$func_stripname_result + + func_stripname '' '/' "$destdir" + s_destdir=$func_stripname_result + # Determine the prefix the user has applied to our future dir. - inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"` + inst_prefix_dir=`$ECHO "X$s_destdir" | $Xsed -e "s%$destlibdir\$%%"` # Don't allow the user to place us outside of our expected # location b/c this prevents finding dependent libraries that @@ -4313,7 +4702,7 @@ func_mode_install () 'exit $?' tstripme=$stripme case $host_os in - cygwin* | mingw* | pw32* | cegcc*) + cygwin* | mingw* | windows* | pw32* | cegcc*) case $realname in *.dll.a) tstripme= @@ -4426,7 +4815,7 @@ func_mode_install () # Do a test to see if this is really a libtool program. case $host in - *cygwin* | *mingw*) + *cygwin* | *mingw* | *windows*) if func_ltwrapper_executable_p "$file"; then func_ltwrapper_scriptname "$file" wrapper=$func_ltwrapper_scriptname_result @@ -4478,8 +4867,8 @@ func_mode_install () relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'` $opt_quiet || { - func_quote_for_expand "$relink_command" - eval "func_echo $func_quote_for_expand_result" + func_quote_arg expand,pretty "$relink_command" + eval "func_echo $func_quote_arg_result" } if eval "$relink_command"; then : else @@ -4654,7 +5043,7 @@ extern \"C\" { $RM $export_symbols eval "$SED -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' case $host in - *cygwin* | *mingw* | *cegcc* ) + *cygwin* | *mingw* | *windows* | *cegcc* ) eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"' ;; @@ -4666,7 +5055,7 @@ extern \"C\" { eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' eval '$MV "$nlist"T "$nlist"' case $host in - *cygwin* | *mingw* | *cegcc* ) + *cygwin* | *mingw* | *windows* | *cegcc* ) eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' ;; @@ -4680,7 +5069,7 @@ extern \"C\" { func_basename "$dlprefile" name=$func_basename_result case $host in - *cygwin* | *mingw* | *cegcc* ) + *cygwin* | *mingw* | *windows* | *cegcc* ) # if an import library, we need to obtain dlname if func_win32_import_lib_p "$dlprefile"; then func_tr_sh "$dlprefile" @@ -4706,8 +5095,16 @@ extern \"C\" { eval '$ECHO ": $name " >> "$nlist"' fi func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 - eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe | - $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'" + case $host in + i[3456]86-*-mingw32*) + eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe | + $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'" + ;; + *) + eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe | + $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/__nm_//' >> '$nlist'" + ;; + esac } else # not an import lib $opt_dry_run || { @@ -4855,7 +5252,7 @@ static const void *lt_preloaded_setup() { # Transform the symbol file into the correct name. symfileobj=$output_objdir/${my_outputname}S.$objext case $host in - *cygwin* | *mingw* | *cegcc* ) + *cygwin* | *mingw* | *windows* | *cegcc* ) if test -f "$output_objdir/$my_outputname.def"; then compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` @@ -4931,7 +5328,7 @@ func_win32_libid () *ar\ archive*) # could be an import, or static # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD. if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | - $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then + $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)' >/dev/null; then case $nm_interface in "MS dumpbin") if func_cygming_ms_implib_p "$1" || @@ -5198,7 +5595,7 @@ func_extract_archives () # # Emit a libtool wrapper script on stdout. # Don't directly open a file because we may want to -# incorporate the script contents within a cygwin/mingw +# incorporate the script contents within a cygwin/mingw/windows # wrapper executable. Must ONLY be called from within # func_mode_link because it depends on a number of variables # set therein. @@ -5206,7 +5603,7 @@ func_extract_archives () # ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR # variable will take. If 'yes', then the emitted script # will assume that the directory where it is stored is -# the $objdir directory. This is a cygwin/mingw-specific +# the $objdir directory. This is a cygwin/mingw/windows-specific # behavior. func_emit_wrapper () { @@ -5258,7 +5655,8 @@ else if test \"\$libtool_execute_magic\" != \"$magic\"; then file=\"\$0\"" - qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"` + func_quote_arg pretty "$ECHO" + qECHO=$func_quote_arg_result $ECHO "\ # A function that is used when there is no print builtin or printf. @@ -5268,7 +5666,7 @@ func_fallback_echo () \$1 _LTECHO_EOF' } - ECHO=\"$qECHO\" + ECHO=$qECHO fi # Very basic option parsing. These options are (a) specific to @@ -5330,7 +5728,7 @@ func_exec_program_core () " case $host in # Backslashes separate directories on plain windows - *-*-mingw | *-*-os2* | *-cegcc*) + *-*-mingw* | *-*-windows* | *-*-os2* | *-cegcc*) $ECHO "\ if test -n \"\$lt_option_debug\"; then \$ECHO \"$outputname:$output:\$LINENO: newargv[0]: \$progdir\\\\\$program\" 1>&2 @@ -5398,7 +5796,7 @@ func_exec_program () file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\` done - # Usually 'no', except on cygwin/mingw when embedded into + # Usually 'no', except on cygwin/mingw/windows when embedded into # the cwrapper. WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1 if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then @@ -5530,7 +5928,7 @@ EOF #endif #include <stdio.h> #include <stdlib.h> -#ifdef _MSC_VER +#if defined _WIN32 && !defined __GNUC__ # include <direct.h> # include <process.h> # include <io.h> @@ -5555,7 +5953,7 @@ EOF /* declarations of non-ANSI functions */ #if defined __MINGW32__ # ifdef __STRICT_ANSI__ -int _putenv (const char *); +_CRTIMP int __cdecl _putenv (const char *); # endif #elif defined __CYGWIN__ # ifdef __STRICT_ANSI__ @@ -5753,7 +6151,7 @@ main (int argc, char *argv[]) { EOF case $host in - *mingw* | *cygwin* ) + *mingw* | *windows* | *cygwin* ) # make stdout use "unix" line endings echo " setmode(1,_O_BINARY);" ;; @@ -5772,7 +6170,7 @@ EOF { /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX namespace, but it is not one of the ones we know about and - have already dealt with, above (inluding dump-script), then + have already dealt with, above (including dump-script), then report an error. Otherwise, targets might begin to believe they are allowed to use options in the LTWRAPPER_OPTION_PREFIX namespace. The first time any user complains about this, we'll @@ -5856,7 +6254,7 @@ EOF EOF case $host_os in - mingw*) + mingw* | windows*) cat <<"EOF" { char* p; @@ -5898,7 +6296,7 @@ EOF EOF case $host_os in - mingw*) + mingw* | windows*) cat <<"EOF" /* execv doesn't actually work on mingw as expected on unix */ newargz = prepare_spawn (newargz); @@ -6317,7 +6715,7 @@ lt_update_lib_path (const char *name, const char *value) EOF case $host_os in - mingw*) + mingw* | windows*) cat <<"EOF" /* Prepares an argument vector before calling spawn(). @@ -6492,7 +6890,7 @@ func_mode_link () $debug_cmd case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) + *-*-cygwin* | *-*-mingw* | *-*-windows* | *-*-pw32* | *-*-os2* | *-cegcc*) # It is impossible to link a dll without this setting, and # we shouldn't force the makefile maintainer to figure out # what system we are compiling for in order to pass an extra @@ -6516,6 +6914,7 @@ func_mode_link () finalize_command=$nonopt compile_rpath= + compile_rpath_tail= finalize_rpath= compile_shlibpath= finalize_shlibpath= @@ -6556,10 +6955,12 @@ func_mode_link () xrpath= perm_rpath= temp_rpath= + temp_rpath_tail= thread_safe=no vinfo= vinfo_number=no weak_libs= + rpath_arg= single_module=$wl-single_module func_infer_tag $base_compile @@ -6611,9 +7012,9 @@ func_mode_link () while test "$#" -gt 0; do arg=$1 shift - func_quote_for_eval "$arg" - qarg=$func_quote_for_eval_unquoted_result - func_append libtool_args " $func_quote_for_eval_result" + func_quote_arg pretty,unquoted "$arg" + qarg=$func_quote_arg_unquoted_result + func_append libtool_args " $func_quote_arg_result" # If the previous option needs an argument, assign it. if test -n "$prev"; then @@ -6822,7 +7223,7 @@ func_mode_link () case $arg in [\\/]* | [A-Za-z]:[\\/]*) ;; *) - func_fatal_error "only absolute run-paths are allowed" + func_fatal_error "argument to -rpath is not absolute: $arg" ;; esac if test rpath = "$prev"; then @@ -6849,6 +7250,13 @@ func_mode_link () prev= continue ;; + xassembler) + func_append compiler_flags " -Xassembler $qarg" + prev= + func_append compile_command " -Xassembler $qarg" + func_append finalize_command " -Xassembler $qarg" + continue + ;; xcclinker) func_append linker_flags " $qarg" func_append compiler_flags " $qarg" @@ -6991,7 +7399,7 @@ func_mode_link () ;; esac case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) + *-*-cygwin* | *-*-mingw* | *-*-windows* | *-*-pw32* | *-*-os2* | *-cegcc*) testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'` case :$dllsearchpath: in *":$dir:"*) ;; @@ -7011,7 +7419,7 @@ func_mode_link () -l*) if test X-lc = "X$arg" || test X-lm = "X$arg"; then case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*) + *-*-cygwin* | *-*-mingw* | *-*-windows* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*) # These systems don't actually have a C or math library (as such) continue ;; @@ -7019,7 +7427,7 @@ func_mode_link () # These systems don't actually have a C library (as such) test X-lc = "X$arg" && continue ;; - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*) + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-midnightbsd*) # Do not include libc due to us having libc/libc_r. test X-lc = "X$arg" && continue ;; @@ -7039,7 +7447,7 @@ func_mode_link () esac elif test X-lc_r = "X$arg"; then case $host in - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*) + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-midnightbsd*) # Do not include libc_r directly, use -pthread flag. continue ;; @@ -7062,16 +7470,29 @@ func_mode_link () # Tru64 UNIX uses -model [arg] to determine the layout of C++ # classes, name mangling, and exception handling. # Darwin uses the -arch flag to determine output architecture. - -model|-arch|-isysroot|--sysroot) + # -q <option> for IBM XL C/C++ compiler. + -model|-arch|-isysroot|--sysroot|-q) func_append compiler_flags " $arg" func_append compile_command " $arg" func_append finalize_command " $arg" prev=xcompiler continue ;; - - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ - |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) + # Solaris ld rejects as of 11.4. Refer to Oracle bug 22985199. + -pthread) + case $host in + *solaris2*) ;; + *) + case "$new_inherited_linker_flags " in + *" $arg "*) ;; + * ) func_append new_inherited_linker_flags " $arg" ;; + esac + ;; + esac + continue + ;; + -mt|-mthreads|-kthread|-Kthread|-pthreads|--thread-safe \ + |-threads|-fopenmp|-fopenmp=*|-openmp|-mp|-xopenmp|-omp|-qsmp=*) func_append compiler_flags " $arg" func_append compile_command " $arg" func_append finalize_command " $arg" @@ -7094,7 +7515,7 @@ func_mode_link () -no-install) case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*) + *-*-cygwin* | *-*-mingw* | *-*-windows* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*) # The PATH hackery in wrapper scripts is required on Windows # and Darwin in order for the loader to find any dlls it needs. func_warning "'-no-install' is ignored for $host" @@ -7154,7 +7575,7 @@ func_mode_link () dir=$lt_sysroot$func_stripname_result ;; *) - func_fatal_error "only absolute run-paths are allowed" + func_fatal_error "argument ($arg) to '-R' is not an absolute path: $dir" ;; esac case "$xrpath " in @@ -7211,9 +7632,9 @@ func_mode_link () save_ifs=$IFS; IFS=, for flag in $args; do IFS=$save_ifs - func_quote_for_eval "$flag" - func_append arg " $func_quote_for_eval_result" - func_append compiler_flags " $func_quote_for_eval_result" + func_quote_arg pretty "$flag" + func_append arg " $func_quote_arg_result" + func_append compiler_flags " $func_quote_arg_result" done IFS=$save_ifs func_stripname ' ' '' "$arg" @@ -7227,16 +7648,21 @@ func_mode_link () save_ifs=$IFS; IFS=, for flag in $args; do IFS=$save_ifs - func_quote_for_eval "$flag" - func_append arg " $wl$func_quote_for_eval_result" - func_append compiler_flags " $wl$func_quote_for_eval_result" - func_append linker_flags " $func_quote_for_eval_result" + func_quote_arg pretty "$flag" + func_append arg " $wl$func_quote_arg_result" + func_append compiler_flags " $wl$func_quote_arg_result" + func_append linker_flags " $func_quote_arg_result" done IFS=$save_ifs func_stripname ' ' '' "$arg" arg=$func_stripname_result ;; + -Xassembler) + prev=xassembler + continue + ;; + -Xcompiler) prev=xcompiler continue @@ -7254,8 +7680,8 @@ func_mode_link () # -msg_* for osf cc -msg_*) - func_quote_for_eval "$arg" - arg=$func_quote_for_eval_result + func_quote_arg pretty "$arg" + arg=$func_quote_arg_result ;; # Flags to be passed through unchanged, with rationale: @@ -7274,12 +7700,31 @@ func_mode_link () # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization # -specs=* GCC specs files # -stdlib=* select c++ std lib with clang + # -fdiagnostics-color* simply affects output + # -frecord-gcc-switches used to verify flags were respected + # -fsanitize=* Clang/GCC memory and address sanitizer + # -fno-sanitize* Clang/GCC memory and address sanitizer + # -shared-libsan Link with shared sanitizer runtimes (Clang) + # -static-libsan Link with static sanitizer runtimes (Clang) + # -no-canonical-prefixes Do not expand any symbolic links + # -fuse-ld=* Linker select flags for GCC + # -static-* direct GCC to link specific libraries statically + # -fcilkplus Cilk Plus language extension features for C/C++ + # -rtlib=* select c runtime lib with clang + # --unwindlib=* select unwinder library with clang + # -f{file|debug|macro|profile}-prefix-map=* needed for lto linking + # -Wa,* Pass flags directly to the assembler + # -Werror, -Werror=* Report (specified) warnings as errors -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ - -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \ - -specs=*) - func_quote_for_eval "$arg" - arg=$func_quote_for_eval_result + -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-no-canonical-prefixes| \ + -stdlib=*|-rtlib=*|--unwindlib=*| \ + -specs=*|-fsanitize=*|-fno-sanitize*|-shared-libsan|-static-libsan| \ + -ffile-prefix-map=*|-fdebug-prefix-map=*|-fmacro-prefix-map=*|-fprofile-prefix-map=*| \ + -fdiagnostics-color*|-frecord-gcc-switches| \ + -fuse-ld=*|-static-*|-fcilkplus|-Wa,*|-Werror|-Werror=*) + func_quote_arg pretty "$arg" + arg=$func_quote_arg_result func_append compile_command " $arg" func_append finalize_command " $arg" func_append compiler_flags " $arg" @@ -7300,15 +7745,15 @@ func_mode_link () continue else # Otherwise treat like 'Some other compiler flag' below - func_quote_for_eval "$arg" - arg=$func_quote_for_eval_result + func_quote_arg pretty "$arg" + arg=$func_quote_arg_result fi ;; # Some other compiler flag. -* | +*) - func_quote_for_eval "$arg" - arg=$func_quote_for_eval_result + func_quote_arg pretty "$arg" + arg=$func_quote_arg_result ;; *.$objext) @@ -7428,15 +7873,27 @@ func_mode_link () *) # Unknown arguments in both finalize_command and compile_command need # to be aesthetically quoted because they are evaled later. - func_quote_for_eval "$arg" - arg=$func_quote_for_eval_result + func_quote_arg pretty "$arg" + arg=$func_quote_arg_result ;; esac # arg # Now actually substitute the argument into the commands. if test -n "$arg"; then - func_append compile_command " $arg" - func_append finalize_command " $arg" + if test -n "$rpath_arg"; then + func_append finalize_rpath " ${arg##*,}" + unset rpath_arg + else + case $arg in + -Wl,-rpath,*) + func_append finalize_rpath " ${arg##*,}";; + -Wl,-rpath) + rpath_arg=1;; + *) + func_append compile_command " $arg" + func_append finalize_command " $arg" + esac + fi fi done # argument parsing loop @@ -7607,7 +8064,7 @@ func_mode_link () found=false case $deplib in -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ - |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) + |-threads|-fopenmp|-fopenmp=*|-openmp|-mp|-xopenmp|-omp|-qsmp=*) if test prog,link = "$linkmode,$pass"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" @@ -7784,18 +8241,15 @@ func_mode_link () ;; esac if $valid_a_lib; then - echo - $ECHO "*** Warning: Linking the shared library $output against the" - $ECHO "*** static library $deplib is not portable!" + func_warning "Linking the shared library $output against the static library $deplib is not portable!" deplibs="$deplib $deplibs" else - echo - $ECHO "*** Warning: Trying to link with static lib archive $deplib." - echo "*** I have the capability to make that library automatically link in when" - echo "*** you link to this library. But I can only do this if you have a" - echo "*** shared version of the library, which you do not appear to have" - echo "*** because the file extensions .$libext of this argument makes me believe" - echo "*** that it is just a static archive that I should not use here." + func_warning "Trying to link with static lib archive $deplib." + func_warning "I have the capability to make that library automatically link in when" + func_warning "you link to this library. But I can only do this if you have a" + func_warning "shared version of the library, which you do not appear to have" + func_warning "because the file extensions .$libext of this argument makes me believe" + func_warning "that it is just a static archive that I should not use here." fi ;; esac @@ -7990,7 +8444,7 @@ func_mode_link () fi case $host in # special handling for platforms with PE-DLLs. - *cygwin* | *mingw* | *cegcc* ) + *cygwin* | *mingw* | *windows* | *cegcc* ) # Linker will automatically link against shared library if both # static and shared are present. Therefore, ensure we extract # symbols from the import library if a shared library is present @@ -8090,7 +8544,10 @@ func_mode_link () # Make sure the rpath contains only unique directories. case $temp_rpath: in *"$absdir:"*) ;; - *) func_append temp_rpath "$absdir:" ;; + *) case $absdir in + "$progdir/"*) func_append temp_rpath "$absdir:" ;; + *) func_append temp_rpath_tail "$absdir:" ;; + esac esac fi @@ -8100,9 +8557,12 @@ func_mode_link () case " $sys_lib_dlsearch_path " in *" $absdir "*) ;; *) - case "$compile_rpath " in + case "$compile_rpath$compile_rpath_tail " in *" $absdir "*) ;; - *) func_append compile_rpath " $absdir" ;; + *) case $absdir in + "$progdir/"*) func_append compile_rpath " $absdir" ;; + *) func_append compile_rpath_tail " $absdir" ;; + esac esac ;; esac @@ -8133,8 +8593,8 @@ func_mode_link () fi if test -n "$library_names" && { test no = "$use_static_libs" || test -z "$old_library"; }; then - case $host in - *cygwin* | *mingw* | *cegcc* | *os2*) + case $host_os in + cygwin* | mingw* | windows* | cegcc* | os2*) # No point in relinking DLLs because paths are not encoded func_append notinst_deplibs " $lib" need_relink=no @@ -8160,11 +8620,11 @@ func_mode_link () if test -z "$dlopenmodule" && test yes = "$shouldnotlink" && test link = "$pass"; then echo if test prog = "$linkmode"; then - $ECHO "*** Warning: Linking the executable $output against the loadable module" + func_warning "Linking the executable $output against the loadable module" else - $ECHO "*** Warning: Linking the shared library $output against the loadable module" + func_warning "Linking the shared library $output against the loadable module" fi - $ECHO "*** $linklib is not portable!" + func_warning "$linklib is not portable!" fi if test lib = "$linkmode" && test yes = "$hardcode_into_libs"; then @@ -8174,9 +8634,12 @@ func_mode_link () case " $sys_lib_dlsearch_path " in *" $absdir "*) ;; *) - case "$compile_rpath " in + case "$compile_rpath$compile_rpath_tail " in *" $absdir "*) ;; - *) func_append compile_rpath " $absdir" ;; + *) case $absdir in + "$progdir/"*) func_append compile_rpath " $absdir" ;; + *) func_append compile_rpath_tail " $absdir" ;; + esac esac ;; esac @@ -8203,8 +8666,8 @@ func_mode_link () soname=$dlname elif test -n "$soname_spec"; then # bleh windows - case $host in - *cygwin* | mingw* | *cegcc* | *os2*) + case $host_os in + cygwin* | mingw* | windows* | cegcc* | os2*) func_arith $current - $age major=$func_arith_result versuffix=-$major @@ -8251,6 +8714,7 @@ func_mode_link () case $host in *-*-sco3.2v5.0.[024]*) add_dir=-L$dir ;; *-*-sysv4*uw2*) add_dir=-L$dir ;; + *-*-emscripten*) add_dir=-L$dir ;; *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \ *-*-unixware7*) add_dir=-L$dir ;; *-*-darwin* ) @@ -8259,11 +8723,10 @@ func_mode_link () if /usr/bin/file -L $add 2> /dev/null | $GREP ": [^:]* bundle" >/dev/null; then if test "X$dlopenmodule" != "X$lib"; then - $ECHO "*** Warning: lib $linklib is a module, not a shared library" + func_warning "lib $linklib is a module, not a shared library" if test -z "$old_library"; then - echo - echo "*** And there doesn't seem to be a static archive available" - echo "*** The link will probably fail, sorry" + func_warning "And there doesn't seem to be a static archive available" + func_warning "The link will probably fail, sorry" else add=$dir/$old_library fi @@ -8346,7 +8809,7 @@ func_mode_link () test no = "$hardcode_direct_absolute"; then add=$libdir/$linklib elif test yes = "$hardcode_minus_L"; then - add_dir=-L$libdir + add_dir=-L$lt_sysroot$libdir add=-l$name elif test yes = "$hardcode_shlibpath_var"; then case :$finalize_shlibpath: in @@ -8363,7 +8826,7 @@ func_mode_link () fi else # We cannot seem to hardcode it, guess we'll fake it. - add_dir=-L$libdir + add_dir=-L$lt_sysroot$libdir # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case $libdir in @@ -8403,21 +8866,19 @@ func_mode_link () # Just print a warning and add the library to dependency_libs so # that the program can be linked against the static library. - echo - $ECHO "*** Warning: This system cannot link to static lib archive $lib." - echo "*** I have the capability to make that library automatically link in when" - echo "*** you link to this library. But I can only do this if you have a" - echo "*** shared version of the library, which you do not appear to have." + func_warning "This system cannot link to static lib archive $lib." + func_warning "I have the capability to make that library automatically link in when" + func_warning "you link to this library. But I can only do this if you have a" + func_warning "shared version of the library, which you do not appear to have." if test yes = "$module"; then - echo "*** But as you try to build a module library, libtool will still create " - echo "*** a static module, that should work as long as the dlopening application" - echo "*** is linked with the -dlopen flag to resolve symbols at runtime." + func_warning "But as you try to build a module library, libtool will still create " + func_warning "a static module, that should work as long as the dlopening application" + func_warning "is linked with the -dlopen flag to resolve symbols at runtime." if test -z "$global_symbol_pipe"; then - echo - echo "*** However, this would only work if libtool was able to extract symbol" - echo "*** lists from a program, using 'nm' or equivalent, but libtool could" - echo "*** not find such a program. So, this module is probably useless." - echo "*** 'nm' from GNU binutils and a full rebuild may help." + func_warning "However, this would only work if libtool was able to extract symbol" + func_warning "lists from a program, using 'nm' or equivalent, but libtool could" + func_warning "not find such a program. So, this module is probably useless." + func_warning "'nm' from GNU binutils and a full rebuild may help." fi if test no = "$build_old_libs"; then build_libtool_libs=module @@ -8540,6 +9001,10 @@ func_mode_link () fi # link_all_deplibs != no fi # linkmode = lib done # for deplib in $libs + + func_append temp_rpath "$temp_rpath_tail" + func_append compile_rpath "$compile_rpath_tail" + if test link = "$pass"; then if test prog = "$linkmode"; then compile_deplibs="$new_inherited_linker_flags $compile_deplibs" @@ -8577,42 +9042,46 @@ func_mode_link () # Add libraries to $var in reverse order eval tmp_libs=\"\$$var\" new_libs= + # FIXME: Pedantically, this is the right thing to do, so + # that some nasty dependency loop isn't accidentally + # broken: new_libs="$deplib $new_libs" for deplib in $tmp_libs; do - # FIXME: Pedantically, this is the right thing to do, so - # that some nasty dependency loop isn't accidentally - # broken: - #new_libs="$deplib $new_libs" - # Pragmatically, this seems to cause very few problems in - # practice: - case $deplib in - -L*) new_libs="$deplib $new_libs" ;; - -R*) ;; - *) - # And here is the reason: when a library appears more - # than once as an explicit dependence of a library, or - # is implicitly linked in more than once by the - # compiler, it is considered special, and multiple - # occurrences thereof are not removed. Compare this - # with having the same library being listed as a - # dependency of multiple other libraries: in this case, - # we know (pedantically, we assume) the library does not - # need to be listed more than once, so we keep only the - # last copy. This is not always right, but it is rare - # enough that we require users that really mean to play - # such unportable linking tricks to link the library - # using -Wl,-lname, so that libtool does not consider it - # for duplicate removal. - case " $specialdeplibs " in - *" $deplib "*) new_libs="$deplib $new_libs" ;; + if $opt_preserve_dup_deps; then + new_libs="$deplib $new_libs" + else + # Pragmatically, this seems to cause very few problems in + # practice: + case $deplib in + -L*) new_libs="$deplib $new_libs" ;; + -R*) ;; *) - case " $new_libs " in - *" $deplib "*) ;; - *) new_libs="$deplib $new_libs" ;; - esac - ;; + # And here is the reason: when a library appears more + # than once as an explicit dependence of a library, or + # is implicitly linked in more than once by the + # compiler, it is considered special, and multiple + # occurrences thereof are not removed. Compare this + # with having the same library being listed as a + # dependency of multiple other libraries: in this case, + # we know (pedantically, we assume) the library does not + # need to be listed more than once, so we keep only the + # last copy. This is not always right, but it is rare + # enough that we require users that really mean to play + # such unportable linking tricks to link the library + # using -Wl,-lname, so that libtool does not consider it + # for duplicate removal. And if not possible for portability + # reasons, then --preserve-dup-deps should be used. + case " $specialdeplibs " in + *" $deplib "*) new_libs="$deplib $new_libs" ;; + *) + case " $new_libs " in + *" $deplib "*) ;; + *) new_libs="$deplib $new_libs" ;; + esac + ;; + esac + ;; esac - ;; - esac + fi done tmp_libs= for deplib in $new_libs; do @@ -8634,7 +9103,7 @@ func_mode_link () test CXX = "$tagname" && { case $host_os in linux*) - case `$CC -V 2>&1 | sed 5q` in + case `$CC -V 2>&1 | $SED 5q` in *Sun\ C*) # Sun C++ 5.9 func_suncc_cstd_abi @@ -8744,9 +9213,7 @@ func_mode_link () if test pass_all != "$deplibs_check_method"; then func_fatal_error "cannot build libtool library '$output' from non-libtool objects on this host:$objs" else - echo - $ECHO "*** Warning: Linking the shared library $output against the non-libtool" - $ECHO "*** objects $objs is not portable!" + func_warning "Linking the shared library $output against the non-libtool objects $objs is not portable!" func_append libobjs " $objs" fi fi @@ -8807,13 +9274,13 @@ func_mode_link () # case $version_type in # correct linux to gnu/linux during the next big refactor - darwin|freebsd-elf|linux|osf|windows|none) + darwin|freebsd-elf|linux|midnightbsd-elf|osf|qnx|windows|none) func_arith $number_major + $number_minor current=$func_arith_result age=$number_minor revision=$number_revision ;; - freebsd-aout|qnx|sunos) + freebsd-aout|sco|sunos) current=$number_major revision=$number_minor age=0 @@ -8825,6 +9292,9 @@ func_mode_link () revision=$number_minor lt_irix_increment=no ;; + *) + func_fatal_configuration "$modename: unknown library version type '$version_type'" + ;; esac ;; no) @@ -8898,7 +9368,7 @@ func_mode_link () versuffix=.$current.$revision ;; - freebsd-elf) + freebsd-elf | midnightbsd-elf) func_arith $current - $age major=.$func_arith_result versuffix=$major.$age.$revision @@ -8960,8 +9430,9 @@ func_mode_link () ;; qnx) - major=.$current - versuffix=.$current + func_arith $current - $age + major=.$func_arith_result + versuffix=$major.$age.$revision ;; sco) @@ -9114,7 +9585,7 @@ func_mode_link () if test yes = "$build_libtool_libs"; then if test -n "$rpath"; then case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*) + *-*-cygwin* | *-*-mingw* | *-*-windows* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*) # these systems don't actually have a c library (as such)! ;; *-*-rhapsody* | *-*-darwin1.[012]) @@ -9124,7 +9595,7 @@ func_mode_link () *-*-netbsd*) # Don't link with libc until the a.out ld.so is fixed. ;; - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-midnightbsd*) # Do not include libc due to us having libc/libc_r. ;; *-*-sco3.2v5* | *-*-sco5v6*) @@ -9165,108 +9636,6 @@ func_mode_link () # implementing what was already the behavior. newdeplibs=$deplibs ;; - test_compile) - # This code stresses the "libraries are programs" paradigm to its - # limits. Maybe even breaks it. We compile a program, linking it - # against the deplibs as a proxy for the library. Then we can check - # whether they linked in statically or dynamically with ldd. - $opt_dry_run || $RM conftest.c - cat > conftest.c <<EOF - int main() { return 0; } -EOF - $opt_dry_run || $RM conftest - if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then - ldd_output=`ldd conftest` - for i in $deplibs; do - case $i in - -l*) - func_stripname -l '' "$i" - name=$func_stripname_result - if test yes = "$allow_libtool_libs_with_static_runtimes"; then - case " $predeps $postdeps " in - *" $i "*) - func_append newdeplibs " $i" - i= - ;; - esac - fi - if test -n "$i"; then - libname=`eval "\\$ECHO \"$libname_spec\""` - deplib_matches=`eval "\\$ECHO \"$library_names_spec\""` - set dummy $deplib_matches; shift - deplib_match=$1 - if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0; then - func_append newdeplibs " $i" - else - droppeddeps=yes - echo - $ECHO "*** Warning: dynamic linker does not accept needed library $i." - echo "*** I have the capability to make that library automatically link in when" - echo "*** you link to this library. But I can only do this if you have a" - echo "*** shared version of the library, which I believe you do not have" - echo "*** because a test_compile did reveal that the linker did not use it for" - echo "*** its dynamic dependency list that programs get resolved with at runtime." - fi - fi - ;; - *) - func_append newdeplibs " $i" - ;; - esac - done - else - # Error occurred in the first compile. Let's try to salvage - # the situation: Compile a separate program for each library. - for i in $deplibs; do - case $i in - -l*) - func_stripname -l '' "$i" - name=$func_stripname_result - $opt_dry_run || $RM conftest - if $LTCC $LTCFLAGS -o conftest conftest.c $i; then - ldd_output=`ldd conftest` - if test yes = "$allow_libtool_libs_with_static_runtimes"; then - case " $predeps $postdeps " in - *" $i "*) - func_append newdeplibs " $i" - i= - ;; - esac - fi - if test -n "$i"; then - libname=`eval "\\$ECHO \"$libname_spec\""` - deplib_matches=`eval "\\$ECHO \"$library_names_spec\""` - set dummy $deplib_matches; shift - deplib_match=$1 - if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0; then - func_append newdeplibs " $i" - else - droppeddeps=yes - echo - $ECHO "*** Warning: dynamic linker does not accept needed library $i." - echo "*** I have the capability to make that library automatically link in when" - echo "*** you link to this library. But I can only do this if you have a" - echo "*** shared version of the library, which you do not appear to have" - echo "*** because a test_compile did reveal that the linker did not use this one" - echo "*** as a dynamic dependency that programs can get resolved with at runtime." - fi - fi - else - droppeddeps=yes - echo - $ECHO "*** Warning! Library $i is needed by this library but I was not able to" - echo "*** make it link in! You will probably need to install it or some" - echo "*** library that it depends on before this library will be fully" - echo "*** functional. Installing it before continuing would be even better." - fi - ;; - *) - func_append newdeplibs " $i" - ;; - esac - done - fi - ;; file_magic*) set dummy $deplibs_check_method; shift file_magic_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` @@ -9330,17 +9699,16 @@ EOF fi if test -n "$a_deplib"; then droppeddeps=yes - echo - $ECHO "*** Warning: linker path does not have real file for library $a_deplib." - echo "*** I have the capability to make that library automatically link in when" - echo "*** you link to this library. But I can only do this if you have a" - echo "*** shared version of the library, which you do not appear to have" - echo "*** because I did check the linker path looking for a file starting" + func_warning "Linker path does not have real file for library $a_deplib." + func_warning "I have the capability to make that library automatically link in when" + func_warning "you link to this library. But I can only do this if you have a" + func_warning "shared version of the library, which you do not appear to have" + func_warning "because I did check the linker path looking for a file starting" if test -z "$potlib"; then - $ECHO "*** with $libname but no candidates were found. (...for file magic test)" + func_warning "with $libname but no candidates were found. (...for file magic test)" else - $ECHO "*** with $libname and none of the candidates passed a file format test" - $ECHO "*** using a file magic. Last file checked: $potlib" + func_warning "with $libname and none of the candidates passed a file format test" + func_warning "using a file magic. Last file checked: $potlib" fi fi ;; @@ -9384,17 +9752,16 @@ EOF fi if test -n "$a_deplib"; then droppeddeps=yes - echo - $ECHO "*** Warning: linker path does not have real file for library $a_deplib." - echo "*** I have the capability to make that library automatically link in when" - echo "*** you link to this library. But I can only do this if you have a" - echo "*** shared version of the library, which you do not appear to have" - echo "*** because I did check the linker path looking for a file starting" + func_warning "Linker path does not have real file for library $a_deplib." + func_warning "I have the capability to make that library automatically link in when" + func_warning "you link to this library. But I can only do this if you have a" + func_warning "shared version of the library, which you do not appear to have" + func_warning "because I did check the linker path looking for a file starting" if test -z "$potlib"; then - $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)" + func_warning "with $libname but no candidates were found. (...for regex pattern test)" else - $ECHO "*** with $libname and none of the candidates passed a file format test" - $ECHO "*** using a regex pattern. Last file checked: $potlib" + func_warning "with $libname and none of the candidates passed a file format test" + func_warning "using a regex pattern. Last file checked: $potlib" fi fi ;; @@ -9418,11 +9785,11 @@ EOF *[!\ \ ]*) echo if test none = "$deplibs_check_method"; then - echo "*** Warning: inter-library dependencies are not supported in this platform." + func_warning "Inter-library dependencies are not supported in this platform." else - echo "*** Warning: inter-library dependencies are not known to be supported." + func_warning "Inter-library dependencies are not known to be supported." fi - echo "*** All declared inter-library dependencies are being dropped." + func_warning "All declared inter-library dependencies are being dropped." droppeddeps=yes ;; esac @@ -9443,17 +9810,15 @@ EOF if test yes = "$droppeddeps"; then if test yes = "$module"; then - echo - echo "*** Warning: libtool could not satisfy all declared inter-library" - $ECHO "*** dependencies of module $libname. Therefore, libtool will create" - echo "*** a static module, that should work as long as the dlopening" - echo "*** application is linked with the -dlopen flag." + func_warning "libtool could not satisfy all declared inter-library" + func_warning "dependencies of module $libname. Therefore, libtool will create" + func_warning "a static module, that should work as long as the dlopening" + func_warning "application is linked with the -dlopen flag." if test -z "$global_symbol_pipe"; then - echo - echo "*** However, this would only work if libtool was able to extract symbol" - echo "*** lists from a program, using 'nm' or equivalent, but libtool could" - echo "*** not find such a program. So, this module is probably useless." - echo "*** 'nm' from GNU binutils and a full rebuild may help." + func_warning "However, this would only work if libtool was able to extract symbol" + func_warning "lists from a program, using 'nm' or equivalent, but libtool could" + func_warning "not find such a program. So, this module is probably useless." + func_warning "'nm' from GNU binutils and a full rebuild may help." fi if test no = "$build_old_libs"; then oldlibs=$output_objdir/$libname.$libext @@ -9628,7 +9993,7 @@ EOF orig_export_symbols= case $host_os in - cygwin* | mingw* | cegcc*) + cygwin* | mingw* | windows* | cegcc*) if test -n "$export_symbols" && test -z "$export_symbols_regex"; then # exporting using user supplied symfile func_dll_def_p "$export_symbols" || { @@ -9826,20 +10191,7 @@ EOF last_robj= k=1 - if test -n "$save_libobjs" && test : != "$skipped_export" && test yes = "$with_gnu_ld"; then - output=$output_objdir/$output_la.lnkscript - func_verbose "creating GNU ld script: $output" - echo 'INPUT (' > $output - for obj in $save_libobjs - do - func_to_tool_file "$obj" - $ECHO "$func_to_tool_file_result" >> $output - done - echo ')' >> $output - func_append delfiles " $output" - func_to_tool_file "$output" - output=$func_to_tool_file_result - elif test -n "$save_libobjs" && test : != "$skipped_export" && test -n "$file_list_spec"; then + if test -n "$save_libobjs" && test : != "$skipped_export" && test -n "$file_list_spec"; then output=$output_objdir/$output_la.lnk func_verbose "creating linker input file list: $output" : > $output @@ -9858,6 +10210,19 @@ EOF func_append delfiles " $output" func_to_tool_file "$output" output=$firstobj\"$file_list_spec$func_to_tool_file_result\" + elif test -n "$save_libobjs" && test : != "$skipped_export" && test yes = "$with_gnu_ld"; then + output=$output_objdir/$output_la.lnkscript + func_verbose "creating GNU ld script: $output" + echo 'INPUT (' > $output + for obj in $save_libobjs + do + func_to_tool_file "$obj" + $ECHO "$func_to_tool_file_result" >> $output + done + echo ')' >> $output + func_append delfiles " $output" + func_to_tool_file "$output" + output=$func_to_tool_file_result else if test -n "$save_libobjs"; then func_verbose "creating reloadable object files..." @@ -9935,8 +10300,8 @@ EOF for cmd in $concat_cmds; do IFS=$save_ifs $opt_quiet || { - func_quote_for_expand "$cmd" - eval "func_echo $func_quote_for_expand_result" + func_quote_arg expand,pretty "$cmd" + eval "func_echo $func_quote_arg_result" } $opt_dry_run || eval "$cmd" || { lt_exit=$? @@ -10029,8 +10394,8 @@ EOF eval cmd=\"$cmd\" IFS=$save_ifs $opt_quiet || { - func_quote_for_expand "$cmd" - eval "func_echo $func_quote_for_expand_result" + func_quote_arg expand,pretty "$cmd" + eval "func_echo $func_quote_arg_result" } $opt_dry_run || eval "$cmd" || { lt_exit=$? @@ -10298,7 +10663,7 @@ EOF esac fi case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) + *-*-cygwin* | *-*-mingw* | *-*-windows* | *-*-pw32* | *-*-os2* | *-cegcc*) testbindir=`$ECHO "$libdir" | $SED -e 's*/lib$*/bin*'` case :$dllsearchpath: in *":$libdir:"*) ;; @@ -10376,7 +10741,7 @@ EOF # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway. wrappers_required=false ;; - *cygwin* | *mingw* ) + *cygwin* | *mingw* | *windows* ) test yes = "$build_libtool_libs" || wrappers_required=false ;; *) @@ -10504,12 +10869,13 @@ EOF elif eval var_value=\$$var; test -z "$var_value"; then relink_command="$var=; export $var; $relink_command" else - func_quote_for_eval "$var_value" - relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" + func_quote_arg pretty "$var_value" + relink_command="$var=$func_quote_arg_result; export $var; $relink_command" fi done - relink_command="(cd `pwd`; $relink_command)" - relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` + func_quote eval cd "`pwd`" + func_quote_arg pretty,unquoted "($func_quote_result; $relink_command)" + relink_command=$func_quote_arg_unquoted_result fi # Only actually do things if not in dry run mode. @@ -10529,7 +10895,7 @@ EOF *) exeext= ;; esac case $host in - *cygwin* | *mingw* ) + *cygwin* | *mingw* | windows* ) func_dirname_and_basename "$output" "" "." output_name=$func_basename_result output_path=$func_dirname_result @@ -10749,13 +11115,15 @@ EOF elif eval var_value=\$$var; test -z "$var_value"; then relink_command="$var=; export $var; $relink_command" else - func_quote_for_eval "$var_value" - relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" + func_quote_arg pretty,unquoted "$var_value" + relink_command="$var=$func_quote_arg_unquoted_result; export $var; $relink_command" fi done # Quote the link command for shipping. - relink_command="(cd `pwd`; $SHELL \"$progpath\" $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" - relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` + func_quote eval cd "`pwd`" + relink_command="($func_quote_result; $SHELL \"$progpath\" $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" + func_quote_arg pretty,unquoted "$relink_command" + relink_command=$func_quote_arg_unquoted_result if test yes = "$hardcode_automatic"; then relink_command= fi @@ -10861,7 +11229,7 @@ EOF # tests/bindir.at for full details. tdlname=$dlname case $host,$output,$installed,$module,$dlname in - *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) + *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *windows*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) # If a -bindir argument was supplied, place the dll there. if test -n "$bindir"; then func_relative_path "$install_libdir" "$bindir" diff --git a/makedist.sh b/makedist.sh deleted file mode 100755 index ec9021c2..00000000 --- a/makedist.sh +++ /dev/null @@ -1,709 +0,0 @@ -#!/bin/sh - -# Build unbound distribution tar from the git repository. -# -# Copyright (c) 2007, NLnet Labs. All rights reserved. -# -# This software is open source. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# -# Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# -# Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# Neither the name of the NLNET LABS nor the names of its contributors may -# be used to endorse or promote products derived from this software without -# specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -# Abort script on unexpected errors. -set -e - -# Remember the current working directory. -cwd=`pwd` - -# Utility functions. -usage () { - cat >&2 <<EOF -Usage $0: [-h] [-s] [-u git_url] [-b git_branch] [-w ...args...] -Generate a distribution tar file for unbound. - - -h This usage information. - -s Build a snapshot distribution file. The current date is - automatically appended to the current unbound version number. - -rc <nr> Build a release candidate, the given string will be added - to the version number - (which will then be unbound-<version>rc<number>) - -u git_url Retrieve the source from the specified repository url. - Detected from the working copy if not specified. - -b git_branch Retrieve the specified branch or tag. - Detected from the working copy if not specified. - -wssl openssl.xx.tar.gz Also build openssl from tarball for windows dist. - -wxp expat.xx.tar.gz Also build expat from tarball for windows dist. - -wdir directory Build openssl and expat in a persistent directory for - windows dist. If builds are already in that directory - they are used right away. Useful when debugging windows - builds. - -w32 32bit windows compile. - -w ... Build windows binary dist. last args passed to configure. -EOF - exit 1 -} - -info () { - echo "$0: info: $1" -} - -error () { - echo "$0: error: $1" >&2 - exit 1 -} - -question () { - printf "%s (y/n) " "$*" - read answer - case "$answer" in - [Yy]|[Yy][Ee][Ss]) - return 0 - ;; - *) - return 1 - ;; - esac -} - -# Only use cleanup and error_cleanup after generating the temporary -# working directory. -cleanup () { - info "Deleting temporary working directory." - cd $cwd && rm -rf $temp_dir -} - -error_cleanup () { - echo "$0: error: $1" >&2 - cleanup - exit 1 -} - -replace_text () { - (cp "$1" "$1".orig && \ - sed -e "s/$2/$3/g" < "$1".orig > "$1" && \ - rm "$1".orig) || error_cleanup "Replacement for $1 failed." -} - -replace_all () { - info "Updating '$1' with the version number." - replace_text "$1" "@version@" "$version" - info "Updating '$1' with today's date." - replace_text "$1" "@date@" "`date +'%b %e, %Y'`" -} - -replace_version () { - local v1=`echo $2 | sed -e 's/^.*\..*\.//'` - local v2=`echo $3 | sed -e 's/^.*\..*\.//'` - replace_text "$1" "VERSION_MICRO\],\[$v1" "VERSION_MICRO\],\[$v2" -} - -check_git_repo () { - # Check if git repo and branch are specified. - if [ -z "$GITREPO" ]; then - if git status 2>&1 | grep "not a git repository" >/dev/null; then - error "specify repo (using -u) or use settings detected by starting from working copy directory" - else - GITREPO="`git config --get remote.origin.url`" - fi - fi - if [ -z "$GITBRANCH" ]; then - if git status 2>&1 | grep "not a git repository" >/dev/null; then - error "specify branch (using -b) or use settings detected by starting from working copy directory" - else - GITBRANCH="`git branch | grep '^\*' | sed -e 's/^\* //'`" - fi - fi -} - -create_temp_dir () { - # Creating temp directory - info "Creating temporary working directory" - temp_dir=`mktemp -d unbound-dist-XXXXXX` - info "Directory '$temp_dir' created." - cd $temp_dir -} - -activate_windebug_dir () { - info "Activating persistent directory for windows build." - if test ! -d "$WINDIR"; then - mkdir -p "$WINDIR" - info "Created $WINDIR persistent directory." - fi - cd "$WINDIR" - WINDIR="`pwd`" -} - -# pass filename as $1 arg. -# creates file.sha1 and file.sha256 -storehash () { - case $OSTYPE in - linux*) - sha=`sha1sum $1 | awk '{ print $1 }'` - sha256=`sha256sum $1 | awk '{ print $1 }'` - ;; - freebsd*) - sha=`sha1 $1 | awk '{ print $5 }'` - sha256=`sha256 $1 | awk '{ print $5 }'` - ;; - *) - # in case $OSTYPE is gone. - case `uname` in - Linux*) - sha=`sha1sum $1 | awk '{ print $1 }'` - sha256=`sha256sum $1 | awk '{ print $1 }'` - ;; - FreeBSD*) - sha=`sha1 $1 | awk '{ print $5 }'` - sha256=`sha256 $1 | awk '{ print $5 }'` - ;; - *) - sha=`sha1sum $1 | awk '{ print $1 }'` - sha256=`sha256sum $1 | awk '{ print $1 }'` - ;; - esac - ;; - esac - echo $sha > $1.sha1 - echo $sha256 > $1.sha256 - echo "hash of $1.{sha1,sha256}" - echo "sha1 $sha" - echo "sha256 $sha256" -} - - -SNAPSHOT="no" -RC="no" -DOWIN="no" -W64="yes" -WINSSL="" -WINEXPAT="" -WINDIR="" -# Use environment if set otherwise null -MINJ="${MINJ:+$MINJ}" - -# Parse the command line arguments. -while [ "$1" ]; do - case "$1" in - "-h") - usage - ;; - "-u") - GITREPO="$2" - shift - ;; - "-b") - GITBRANCH="$2" - shift - ;; - "-s") - SNAPSHOT="yes" - ;; - "-wssl") - WINSSL="$2" - shift - ;; - "-wxp") - WINEXPAT="$2" - shift - ;; - "-wdir") - WINDIR="$2" - shift - ;; - "-w32") - W64="no" - ;; - "-w") - DOWIN="yes" - shift - break - ;; - "-rc") - RC="$2" - shift - ;; - *) - error "Unrecognized argument -- $1" - ;; - esac - shift -done - -if [ "$DOWIN" = "yes" ]; then - # detect crosscompile, from Fedora13 at this point. - if test "`uname`" = "Linux"; then - info "Crosscompile windows dist" - cross="yes" - if test "$W64" = "yes"; then - warch="x86_64" # i686 for 32bit, or x86_64 for 64bit - mw64="mingw64" # mingw32 or mingw64 - else - warch="i686" - mw64="mingw32" - fi - configure="${mw64}-configure" # mingw32-configure, mingw64-configure - strip="${warch}-w64-mingw32-strip" - makensis="makensis" # from mingw32-nsis package - # flags for crosscompiled dependency libraries - cross_flag="" - shared_cross_flag="" - - check_git_repo - - if test -n "$WINDIR"; then - activate_windebug_dir - else - create_temp_dir - fi - - if test -n "$WINSSL" \ - -a -n "$WINDIR" \ - -a -d "$WINDIR" \ - -a -d "${WINDIR}/sslinstall" \ - -a -d "${WINDIR}/openssl_shared" \ - -a -d "${WINDIR}/sslsharedinstall"; then - info "Found already compiled openssl at $WINDIR/sslinstall; using that." - WINSSL="" - # Variables needed later on. - sslinstall="${WINDIR}/sslinstall" - cross_flag="$cross_flag --with-ssl=$sslinstall" - sslsharedinstall="${WINDIR}/sslsharedinstall" - shared_cross_flag="$shared_cross_flag --with-ssl=$sslsharedinstall" - fi - # crosscompile openssl for windows. - if test -n "$WINSSL"; then - info "Cross compile $WINSSL" - info "winssl tar unpack" - (cd ..; gzip -cd $WINSSL) | tar xf - || error_cleanup "tar unpack of $WINSSL failed" - sslinstall="`pwd`/sslinstall" - cp -r openssl-* openssl_shared - cd openssl-* || error_cleanup "no openssl-X dir in tarball" - # configure for crosscompile, without CAPI because it fails - # cross-compilation and it is not used anyway - # before 1.0.1i need --cross-compile-prefix=i686-w64-mingw32- - if test "$mw64" = "mingw64"; then - sslflags="no-asm no-tests -DOPENSSL_NO_CAPIENG mingw64" - sspdll="/usr/x86_64-w64-mingw32/sys-root/mingw/bin/libssp-0.dll" - else - sslflags="no-asm no-tests -DOPENSSL_NO_CAPIENG mingw" - sspdll="/usr/i686-w64-mingw32/sys-root/mingw/bin/libssp-0.dll" - fi - if test -f "$sspdll"; then - # stack protector lib needs to link in to make - # -lws2_32 work in openssl link stage - SSPLIB="-l:libssp.a" - else - # disable SSPLIB if no such file - SSPLIB="" - fi - info "winssl: Configure no-shared $sslflags" - if test "$W64" = "no"; then - # Disable stack-protector for 32-bit windows builds. - # mingw passes an LDFLAGS, so there is something - # passed in the LDFLAGS to stop -lssp passed in it. - set -x # echo the configure command - __CNF_LDLIBS=$SSPLIB __CNF_LDFLAGS="-fno-stack-protector" CC=${warch}-w64-mingw32-gcc AR=${warch}-w64-mingw32-ar RANLIB=${warch}-w64-mingw32-ranlib WINDRES=${warch}-w64-mingw32-windres ./Configure --prefix="$sslinstall" no-shared $sslflags || error_cleanup "OpenSSL Configure failed" - set +x - else - set -x # echo the configure command - __CNF_LDLIBS=$SSPLIB CC=${warch}-w64-mingw32-gcc AR=${warch}-w64-mingw32-ar RANLIB=${warch}-w64-mingw32-ranlib WINDRES=${warch}-w64-mingw32-windres ./Configure --prefix="$sslinstall" no-shared $sslflags || error_cleanup "OpenSSL Configure failed" - set +x - fi - info "winssl: make" - make $MINJ || error_cleanup "OpenSSL crosscompile failed" - # only install sw not docs, which take a long time. - info "winssl: make install_sw" - make install_sw || error_cleanup "OpenSSL install failed" - cross_flag="$cross_flag --with-ssl=$sslinstall" - cd .. - - # shared compile - sslsharedinstall="`pwd`/sslsharedinstall" - cd openssl_shared - info "winssl: Configure shared $sslflags" - if test "$W64" = "no"; then - set -x # echo the configure command - __CNF_LDLIBS=$SSPLIB __CNF_LDFLAGS="-fno-stack-protector" CC=${warch}-w64-mingw32-gcc AR=${warch}-w64-mingw32-ar RANLIB=${warch}-w64-mingw32-ranlib WINDRES=${warch}-w64-mingw32-windres ./Configure --prefix="$sslsharedinstall" shared $sslflags || error_cleanup "OpenSSL Configure failed" - set +x - else - set -x # echo the configure command - __CNF_LDLIBS=$SSPLIB CC=${warch}-w64-mingw32-gcc AR=${warch}-w64-mingw32-ar RANLIB=${warch}-w64-mingw32-ranlib WINDRES=${warch}-w64-mingw32-windres ./Configure --prefix="$sslsharedinstall" shared $sslflags || error_cleanup "OpenSSL Configure failed" - set +x - fi - info "winssl: make" - make $MINJ || error_cleanup "OpenSSL crosscompile failed" - info "winssl: make install_sw" - make install_sw || error_cleanup "OpenSSL install failed" - shared_cross_flag="$shared_cross_flag --with-ssl=$sslsharedinstall" - cd .. - fi - - if test -n "$WINEXPAT" \ - -a -n "$WINDIR" \ - -a -d "$WINDIR" \ - -a -d "${WINDIR}/wxpinstall"; then - info "Found already compiled expat at $WINDIR/wxpinstall; using that." - WINEXPAT="" - # Variables needed later on. - wxpinstall="${WINDIR}/wxpinstall" - cross_flag="$cross_flag --with-libexpat=$wxpinstall" - shared_cross_flag="$shared_cross_flag --with-libexpat=$wxpinstall" - fi - if test -n "$WINEXPAT"; then - info "Cross compile $WINEXPAT" - info "wxp: tar unpack" - (cd ..; bzip2 -cd $WINEXPAT) | tar xf - || error_cleanup "tar unpack of $WINEXPAT failed" - wxpinstall="`pwd`/wxpinstall" - cd expat-* || error_cleanup "no expat-X dir in tarball" - info "wxp: configure" - if test "$W64" = "no"; then - # Disable stack-protector for 32-bit windows builds. - set -x # echo the configure command - $configure --prefix="$wxpinstall" --exec-prefix="$wxpinstall" --bindir="$wxpinstall/bin" --includedir="$wxpinstall/include" --mandir="$wxpinstall/man" --libdir="$wxpinstall/lib" LDFLAGS="-fno-stack-protector" || error_cleanup "libexpat configure failed" - set +x - else - set -x # echo the configure command - $configure --prefix="$wxpinstall" --exec-prefix="$wxpinstall" --bindir="$wxpinstall/bin" --includedir="$wxpinstall/include" --mandir="$wxpinstall/man" --libdir="$wxpinstall/lib" || error_cleanup "libexpat configure failed" - set +x - fi - info "wxp: make" - make $MINJ || error_cleanup "libexpat crosscompile failed" - info "wxp: make install" - make install || error_cleanup "libexpat install failed" - cross_flag="$cross_flag --with-libexpat=$wxpinstall" - shared_cross_flag="$shared_cross_flag --with-libexpat=$wxpinstall" - cd .. - fi - - if test -n "$WINDIR"; then - cd "$cwd" - create_temp_dir - fi - info "GITREPO is $GITREPO" - info "GITBRANCH is $GITBRANCH" - info "Exporting source from git." - info "git clone --depth=1 --no-tags -b $GITBRANCH $GITREPO unbound" - git clone --depth=1 --no-tags -b $GITBRANCH $GITREPO unbound || error_cleanup "git clone failed" - cd unbound || error_cleanup "Unbound not exported correctly from git" - rm -rf .git .travis.yml .gitattributes .github .gitignore || error_cleanup "Failed to remove .git tracking and ci information" - - # on a re-configure the cache may no longer be valid... - if test -f mingw32-config.cache; then rm mingw32-config.cache; fi - else - cross="no" # mingw and msys - cross_flag="" - configure="./configure" - strip="strip" - makensis="c:/Program Files/NSIS/makensis.exe" # http://nsis.sf.net - fi - - # version gets compiled into source, edit the configure to set it - version=`./configure --version | head -1 | awk '{ print $3 }'` \ - || error_cleanup "Cannot determine version number." - if [ "$RC" != "no" -o "$SNAPSHOT" != "no" ]; then - if [ "$RC" != "no" ]; then - version2=`echo $version | sed -e 's/rc.*$//' -e 's/_20.*$//'` - version2=`echo $version2 | sed -e 's/rc.*//'`"rc$RC" - fi - if [ "$SNAPSHOT" != "no" ]; then - version2=`echo $version | sed -e 's/rc.*$//' -e 's/_20.*$//'` - version2="${version2}_`date +%Y%m%d`" - fi - replace_version "configure.ac" "$version" "$version2" - version="$version2" - info "Rebuilding configure script (autoconf) snapshot." - autoconf -f || error_cleanup "Autoconf failed." - autoheader -f || error_cleanup "Autoheader failed." - rm -r autom4te* || echo "ignored" - rm -f config.h.in~ || echo "ignore absence of config.h.in~ file." - rm -f configure~ || echo "ignore absence of configure~ file." - fi - - if test "`uname`" = "Linux"; then - cd .. - cp -r unbound unbound_shared - unbound_shared="`pwd`/unbound_shared" - cd unbound - fi - - # procedure for making unbound installer on mingw. - info "Creating windows dist unbound $version" - info "Calling configure" - if test "$W64" = "no"; then - file_flag="--with-conf-file=C:\Program Files (x86)\Unbound\service.conf" - file2_flag="--with-rootkey-file=C:\Program Files (x86)\Unbound\root.key" - file3_flag="--with-rootcert-file=C:\Program Files (x86)\Unbound\icannbundle.pem" - version="$version"-w32 - fi - if test "$W64" = "no"; then - # Disable stack-protector for 32-bit windows builds. - set -x - $configure --enable-debug --enable-static-exe --disable-flto --disable-gost $* $cross_flag "$file_flag" "$file2_flag" "$file3_flag" CFLAGS='-O2 -g -fno-stack-protector' LDFLAGS="-fno-stack-protector" \ - || error_cleanup "Could not configure" - set +x - else - # Add -l:libssp:a to statically link libssp if possible. - # Put it at the end of LIBS, to satisfy also linked in - # dependencies. - set -x - $configure --enable-debug --enable-static-exe --disable-flto --disable-gost $* $cross_flag \ - || error_cleanup "Could not configure" - sed -i Makefile -e 's/^\(LIBS=.*\)$/\1 -l:libssp.a/' - set +x - fi - info "Calling make" - make $MINJ || error_cleanup "Could not make" - info "Make complete" - - if test "`uname`" = "Linux"; then - info "Make DLL" - cd $unbound_shared - if test "$W64" = "no"; then - # Disable stack-protector for 32-bit windows builds. - set -x - $configure --enable-debug --disable-flto --disable-gost $* $shared_cross_flag "$file_flag" "$file2_flag" "$file3_flag" CFLAGS='-O2 -g -fno-stack-protector' LDFLAGS="-fno-stack-protector" \ - || error_cleanup "Could not configure" - set +x - else - # Do not add -l:libssp:a statically because it is a shared build. - set -x - $configure --enable-debug --disable-flto --disable-gost $* $shared_cross_flag \ - || error_cleanup "Could not configure" - set +x - fi - info "Calling make for DLL" - make $MINJ || error_cleanup "Could not make DLL" - info "Make DLL complete" - cd ../unbound - fi - - info "Unbound version: $version" - file="unbound-$version.zip" - rm -f $file - info "Creating $file" - grep '^". IN DS' smallapp/unbound-anchor.c | sed -e 's/"//' -e 's/\\n.*$//' > root.key - mkdir tmp.$$ - # keep debug symbols - #$strip unbound.exe - #$strip anchor-update.exe - #$strip unbound-control.exe - #$strip unbound-host.exe - #$strip unbound-anchor.exe - #$strip unbound-checkconf.exe - #$strip unbound-service-install.exe - #$strip unbound-service-remove.exe - cd tmp.$$ - cp ../root.key . - cp ../doc/example.conf ../doc/Changelog . - cp ../unbound.exe ../unbound-anchor.exe ../unbound-host.exe ../unbound-control.exe ../unbound-checkconf.exe ../unbound-service-install.exe ../unbound-service-remove.exe ../LICENSE ../winrc/unbound-control-setup.cmd ../winrc/unbound-website.url ../winrc/service.conf ../winrc/README.txt ../contrib/create_unbound_ad_servers.cmd ../contrib/warmup.cmd ../contrib/unbound_cache.cmd . - mkdir libunbound - # test to see if lib or lib64 (for openssl 3.0.0) needs to be used - if test -f $sslsharedinstall/lib/libcrypto.dll.a; then - cp $sslsharedinstall/lib/libcrypto.dll.a libunbound/. - else - cp $sslsharedinstall/lib64/libcrypto.dll.a libunbound/. - fi - if test -f $sslsharedinstall/lib/libssl.dll.a; then - cp $sslsharedinstall/lib/libssl.dll.a libunbound/. - else - cp $sslsharedinstall/lib64/libssl.dll.a libunbound/. - fi - cp $unbound_shared/unbound.h \ - $unbound_shared/.libs/libunbound*.dll \ - $unbound_shared/.libs/libunbound.dll.a \ - $unbound_shared/.libs/libunbound.a \ - $unbound_shared/.libs/libunbound*.def \ - $sslsharedinstall/bin/libcrypto*.dll \ - $sslsharedinstall/bin/libssl*.dll \ - $wxpinstall/bin/libexpat*.dll \ - $wxpinstall/lib/libexpat.dll.a \ - libunbound/. - if test -f "$sspdll"; then - cp "$sspdll" libunbound/. - fi - if test "$W64" = "no"; then - # This could be solved with -static -static-libgcc -static-libstdc++. - # The dependency on c++ is probably due to libexpat. But the copy - # of the dll should work too. It may be needed for the libunbound.dll. - cp /usr/i686-w64-mingw32/sys-root/mingw/bin/libgcc_s_dw2-1.dll libunbound/. - fi - # zipfile - zip -r ../$file LICENSE README.txt unbound.exe unbound-anchor.exe unbound-host.exe unbound-control.exe unbound-checkconf.exe unbound-service-install.exe unbound-service-remove.exe unbound-control-setup.cmd example.conf service.conf root.key unbound-website.url create_unbound_ad_servers.cmd warmup.cmd unbound_cache.cmd Changelog libunbound - info "Testing $file" - (cd .. ; zip -T $file ) - # installer - info "Creating installer" - quadversion=`cat ../config.h | grep RSRC_PACKAGE_VERSION | sed -e 's/#define RSRC_PACKAGE_VERSION //' -e 's/,/\\./g'` - cat ../winrc/setup.nsi | sed -e 's/define VERSION.*$/define VERSION "'$version'"/' -e 's/define QUADVERSION.*$/define QUADVERSION "'$quadversion'"/' > ../winrc/setup_ed.nsi - if test "$W64" = "no"; then - mv ../winrc/setup_ed.nsi ../winrc/setup_ed_old.nsi - cat ../winrc/setup_ed_old.nsi | sed -e 's/PROGRAMFILES64/PROGRAMFILES/' -e 's/SetRegView 64/SetRegView 32/' > ../winrc/setup_ed.nsi - fi - "$makensis" ../winrc/setup_ed.nsi - info "Created installer" - cd .. - rm -rf tmp.$$ - mv winrc/unbound_setup_$version.exe . - if test "$cross" = "yes"; then - mv unbound_setup_$version.exe $cwd/. - mv unbound-$version.zip $cwd/. - cleanup - fi - storehash unbound_setup_$version.exe - storehash unbound-$version.zip - ls -lG unbound_setup_$version.exe - ls -lG unbound-$version.zip - - echo "create signed versions with:" - echo " gpg --armor --detach-sign --digest-algo SHA256 unbound_setup_$version.exe" - echo " gpg --armor --detach-sign --digest-algo SHA256 unbound-$version.zip" - - info "Done" - exit 0 -fi - -check_git_repo - -# Start the packaging process. -info "GITREPO is $GITREPO" -info "GITBRANCH is $GITBRANCH" -info "SNAPSHOT is $SNAPSHOT" - -#question "Do you wish to continue with these settings?" || error "User abort." - -create_temp_dir - -info "Exporting source from git." -# --depth=1 and --no-tags reduce the download size. -info "git clone --depth=1 --no-tags -b $GITBRANCH $GITREPO unbound" -git clone --depth=1 --no-tags -b $GITBRANCH $GITREPO unbound || error_cleanup "git clone failed" - -cd unbound || error_cleanup "Unbound not exported correctly from git" -rm -rf .git .travis.yml .gitattributes .github .gitignore || error_cleanup "Failed to remove .git tracking and ci information" - -info "Adding libtool utils (libtoolize)." -libtoolize -c --install || libtoolize -c || error_cleanup "Libtoolize failed." - -# https://www.gnu.org/software/gettext/manual/html_node/config_002eguess.html -info "Updating config.guess and config.sub" -wget -O config.guess 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD' -wget -O config.sub 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD' -chmod a+x config.guess config.sub - -# Remove quarantine bit on Apple platforms -if [ `uname -s | grep -i -c darwin` -ne 0 ]; then - if [ -n `command -v xattr` ]; then - xattr -d com.apple.quarantine config.guess - xattr -d com.apple.quarantine config.sub - fi -fi - -info "Building configure script (autoreconf)." -autoreconf -f || error_cleanup "Autoconf failed." - -rm -r autom4te* || error_cleanup "Failed to remove autoconf cache directory." -rm -f config.h.in~ || echo "ignore absence of config.h.in~ file." -rm -f configure~ || echo "ignore absence of configure~ file." - -info "Building lexer and parser." -echo "#include \"config.h\"" > util/configlexer.c || error_cleanup "Failed to create configlexer" -echo "#include \"util/configyyrename.h\"" >> util/configlexer.c || error_cleanup "Failed to create configlexer" -flex -i -t util/configlexer.lex >> util/configlexer.c || error_cleanup "Failed to create configlexer" -if test -x `which bison` 2>&1; then YACC=bison; else YACC=yacc; fi -$YACC -y -d -o util/configparser.c util/configparser.y || error_cleanup "Failed to create configparser" - -find . -name .c-mode-rc.el -exec rm {} \; -find . -name .cvsignore -exec rm {} \; -rm makedist.sh || error_cleanup "Failed to remove makedist.sh." - -info "Determining Unbound version." -version=`./configure --version | head -1 | awk '{ print $3 }'` || \ - error_cleanup "Cannot determine version number." - -info "Unbound version: $version" - -RECONFIGURE="no" - -if [ "$RC" != "no" ]; then - info "Building Unbound release candidate $RC." - version2="${version}rc$RC" - info "Version number: $version2" - - replace_version "configure.ac" "$version" "$version2" - version="$version2" - RECONFIGURE="yes" -fi - -if [ "$SNAPSHOT" = "yes" ]; then - info "Building Unbound snapshot." - version2="${version}_`date +%Y%m%d`" - info "Snapshot version number: $version2" - - replace_version "configure.ac" "$version" "$version2" - version="$version2" - RECONFIGURE="yes" -fi - -if [ "$RECONFIGURE" = "yes" ]; then - info "Rebuilding configure script (autoconf) snapshot." - autoreconf -f || error_cleanup "Autoconf failed." - rm -r autom4te* || error_cleanup "Failed to remove autoconf cache directory." - rm -f config.h.in~ || echo "ignore absence of config.h.in~ file." - rm -f configure~ || echo "ignore absence of configure~ file." -fi - -replace_all doc/README -replace_all doc/unbound.8.in -replace_all doc/unbound.conf.5.in -replace_all doc/unbound-checkconf.8.in -replace_all doc/unbound-control.8.in -replace_all doc/unbound-anchor.8.in -replace_all doc/unbound-host.1.in -replace_all doc/example.conf.in -replace_all doc/libunbound.3.in - -info "Renaming Unbound directory to unbound-$version." -cd .. -mv unbound unbound-$version || error_cleanup "Failed to rename unbound directory." - -tarfile="../unbound-$version.tar.gz" - -if [ -f $tarfile ]; then - (question "The file $tarfile already exists. Overwrite?" \ - && rm -f $tarfile) || error_cleanup "User abort." -fi - -info "Creating tar unbound-$version.tar.gz" -tar czf ../unbound-$version.tar.gz unbound-$version || error_cleanup "Failed to create tar file." - -cleanup - -storehash unbound-$version.tar.gz -echo "create unbound-$version.tar.gz.asc with:" -echo " gpg --armor --detach-sign --digest-algo SHA256 unbound-$version.tar.gz" - -info "Unbound distribution created successfully." diff --git a/util/configlexer.c b/util/configlexer.c new file mode 100644 index 00000000..7c3ff9d7 --- /dev/null +++ b/util/configlexer.c @@ -0,0 +1,8186 @@ +#include "config.h" +#include "util/configyyrename.h" + +#line 2 "<stdout>" + +#define YY_INT_ALIGNED short int + +/* A lexical scanner generated by flex */ + +#define FLEX_SCANNER +#define YY_FLEX_MAJOR_VERSION 2 +#define YY_FLEX_MINOR_VERSION 6 +#define YY_FLEX_SUBMINOR_VERSION 4 +#if YY_FLEX_SUBMINOR_VERSION > 0 +#define FLEX_BETA +#endif + +/* First, we deal with platform-specific or compiler-specific issues. */ + +/* begin standard C headers. */ +#include <stdio.h> +#include <string.h> +#include <errno.h> +#include <stdlib.h> + +/* end standard C headers. */ + +/* flex integer type definitions */ + +#ifndef FLEXINT_H +#define FLEXINT_H + +/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */ + +#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L + +/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, + * if you want the limit (max/min) macros for int types. + */ +#ifndef __STDC_LIMIT_MACROS +#define __STDC_LIMIT_MACROS 1 +#endif + +#include <inttypes.h> +typedef int8_t flex_int8_t; +typedef uint8_t flex_uint8_t; +typedef int16_t flex_int16_t; +typedef uint16_t flex_uint16_t; +typedef int32_t flex_int32_t; +typedef uint32_t flex_uint32_t; +#else +typedef signed char flex_int8_t; +typedef short int flex_int16_t; +typedef int flex_int32_t; +typedef unsigned char flex_uint8_t; +typedef unsigned short int flex_uint16_t; +typedef unsigned int flex_uint32_t; + +/* Limits of integral types. */ +#ifndef INT8_MIN +#define INT8_MIN (-128) +#endif +#ifndef INT16_MIN +#define INT16_MIN (-32767-1) +#endif +#ifndef INT32_MIN +#define INT32_MIN (-2147483647-1) +#endif +#ifndef INT8_MAX +#define INT8_MAX (127) +#endif +#ifndef INT16_MAX +#define INT16_MAX (32767) +#endif +#ifndef INT32_MAX +#define INT32_MAX (2147483647) +#endif +#ifndef UINT8_MAX +#define UINT8_MAX (255U) +#endif +#ifndef UINT16_MAX +#define UINT16_MAX (65535U) +#endif +#ifndef UINT32_MAX +#define UINT32_MAX (4294967295U) +#endif + +#ifndef SIZE_MAX +#define SIZE_MAX (~(size_t)0) +#endif + +#endif /* ! C99 */ + +#endif /* ! FLEXINT_H */ + +/* begin standard C++ headers. */ + +/* TODO: this is always defined, so inline it */ +#define yyconst const + +#if defined(__GNUC__) && __GNUC__ >= 3 +#define yynoreturn __attribute__((__noreturn__)) +#else +#define yynoreturn +#endif + +/* Returned upon end-of-file. */ +#define YY_NULL 0 + +/* Promotes a possibly negative, possibly signed char to an + * integer in range [0..255] for use as an array index. + */ +#define YY_SC_TO_UI(c) ((YY_CHAR) (c)) + +/* Enter a start condition. This macro really ought to take a parameter, + * but we do it the disgusting crufty way forced on us by the ()-less + * definition of BEGIN. + */ +#define BEGIN (yy_start) = 1 + 2 * +/* Translate the current start state into a value that can be later handed + * to BEGIN to return to the state. The YYSTATE alias is for lex + * compatibility. + */ +#define YY_START (((yy_start) - 1) / 2) +#define YYSTATE YY_START +/* Action number for EOF rule of a given start state. */ +#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) +/* Special action meaning "start processing a new file". */ +#define YY_NEW_FILE yyrestart( yyin ) +#define YY_END_OF_BUFFER_CHAR 0 + +/* Size of default input buffer. */ +#ifndef YY_BUF_SIZE +#ifdef __ia64__ +/* On IA-64, the buffer size is 16k, not 8k. + * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case. + * Ditto for the __ia64__ case accordingly. + */ +#define YY_BUF_SIZE 32768 +#else +#define YY_BUF_SIZE 16384 +#endif /* __ia64__ */ +#endif + +/* The state buf must be large enough to hold one state per character in the main buffer. + */ +#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) + +#ifndef YY_TYPEDEF_YY_BUFFER_STATE +#define YY_TYPEDEF_YY_BUFFER_STATE +typedef struct yy_buffer_state *YY_BUFFER_STATE; +#endif + +#ifndef YY_TYPEDEF_YY_SIZE_T +#define YY_TYPEDEF_YY_SIZE_T +typedef size_t yy_size_t; +#endif + +extern int yyleng; + +extern FILE *yyin, *yyout; + +#define EOB_ACT_CONTINUE_SCAN 0 +#define EOB_ACT_END_OF_FILE 1 +#define EOB_ACT_LAST_MATCH 2 + + #define YY_LESS_LINENO(n) + #define YY_LINENO_REWIND_TO(ptr) + +/* Return all but the first "n" matched characters back to the input stream. */ +#define yyless(n) \ + do \ + { \ + /* Undo effects of setting up yytext. */ \ + int yyless_macro_arg = (n); \ + YY_LESS_LINENO(yyless_macro_arg);\ + *yy_cp = (yy_hold_char); \ + YY_RESTORE_YY_MORE_OFFSET \ + (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ + YY_DO_BEFORE_ACTION; /* set up yytext again */ \ + } \ + while ( 0 ) +#define unput(c) yyunput( c, (yytext_ptr) ) + +#ifndef YY_STRUCT_YY_BUFFER_STATE +#define YY_STRUCT_YY_BUFFER_STATE +struct yy_buffer_state + { + FILE *yy_input_file; + + char *yy_ch_buf; /* input buffer */ + char *yy_buf_pos; /* current position in input buffer */ + + /* Size of input buffer in bytes, not including room for EOB + * characters. + */ + int yy_buf_size; + + /* Number of characters read into yy_ch_buf, not including EOB + * characters. + */ + int yy_n_chars; + + /* Whether we "own" the buffer - i.e., we know we created it, + * and can realloc() it to grow it, and should free() it to + * delete it. + */ + int yy_is_our_buffer; + + /* Whether this is an "interactive" input source; if so, and + * if we're using stdio for input, then we want to use getc() + * instead of fread(), to make sure we stop fetching input after + * each newline. + */ + int yy_is_interactive; + + /* Whether we're considered to be at the beginning of a line. + * If so, '^' rules will be active on the next match, otherwise + * not. + */ + int yy_at_bol; + + int yy_bs_lineno; /**< The line count. */ + int yy_bs_column; /**< The column count. */ + + /* Whether to try to fill the input buffer when we reach the + * end of it. + */ + int yy_fill_buffer; + + int yy_buffer_status; + +#define YY_BUFFER_NEW 0 +#define YY_BUFFER_NORMAL 1 + /* When an EOF's been seen but there's still some text to process + * then we mark the buffer as YY_EOF_PENDING, to indicate that we + * shouldn't try reading from the input source any more. We might + * still have a bunch of tokens to match, though, because of + * possible backing-up. + * + * When we actually see the EOF, we change the status to "new" + * (via yyrestart()), so that the user can continue scanning by + * just pointing yyin at a new input file. + */ +#define YY_BUFFER_EOF_PENDING 2 + + }; +#endif /* !YY_STRUCT_YY_BUFFER_STATE */ + +/* Stack of input buffers. */ +static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ +static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ +static YY_BUFFER_STATE * yy_buffer_stack = NULL; /**< Stack as an array. */ + +/* We provide macros for accessing buffer states in case in the + * future we want to put the buffer states in a more general + * "scanner state". + * + * Returns the top of the stack, or NULL. + */ +#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ + ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ + : NULL) +/* Same as previous macro, but useful when we know that the buffer stack is not + * NULL or when we need an lvalue. For internal use only. + */ +#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] + +/* yy_hold_char holds the character lost when yytext is formed. */ +static char yy_hold_char; +static int yy_n_chars; /* number of characters read into yy_ch_buf */ +int yyleng; + +/* Points to current character in buffer. */ +static char *yy_c_buf_p = NULL; +static int yy_init = 0; /* whether we need to initialize */ +static int yy_start = 0; /* start state number */ + +/* Flag which is used to allow yywrap()'s to do buffer switches + * instead of setting up a fresh yyin. A bit of a hack ... + */ +static int yy_did_buffer_switch_on_eof; + +void yyrestart ( FILE *input_file ); +void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer ); +YY_BUFFER_STATE yy_create_buffer ( FILE *file, int size ); +void yy_delete_buffer ( YY_BUFFER_STATE b ); +void yy_flush_buffer ( YY_BUFFER_STATE b ); +void yypush_buffer_state ( YY_BUFFER_STATE new_buffer ); +void yypop_buffer_state ( void ); + +static void yyensure_buffer_stack ( void ); +static void yy_load_buffer_state ( void ); +static void yy_init_buffer ( YY_BUFFER_STATE b, FILE *file ); +#define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER ) + +YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size ); +YY_BUFFER_STATE yy_scan_string ( const char *yy_str ); +YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len ); + +void *yyalloc ( yy_size_t ); +void *yyrealloc ( void *, yy_size_t ); +void yyfree ( void * ); + +#define yy_new_buffer yy_create_buffer +#define yy_set_interactive(is_interactive) \ + { \ + if ( ! YY_CURRENT_BUFFER ){ \ + yyensure_buffer_stack (); \ + YY_CURRENT_BUFFER_LVALUE = \ + yy_create_buffer( yyin, YY_BUF_SIZE ); \ + } \ + YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ + } +#define yy_set_bol(at_bol) \ + { \ + if ( ! YY_CURRENT_BUFFER ){\ + yyensure_buffer_stack (); \ + YY_CURRENT_BUFFER_LVALUE = \ + yy_create_buffer( yyin, YY_BUF_SIZE ); \ + } \ + YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ + } +#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) + +/* Begin user sect3 */ +typedef flex_uint8_t YY_CHAR; + +FILE *yyin = NULL, *yyout = NULL; + +typedef int yy_state_type; + +extern int yylineno; +int yylineno = 1; + +extern char *yytext; +#ifdef yytext_ptr +#undef yytext_ptr +#endif +#define yytext_ptr yytext + +static yy_state_type yy_get_previous_state ( void ); +static yy_state_type yy_try_NUL_trans ( yy_state_type current_state ); +static int yy_get_next_buffer ( void ); +static void yynoreturn yy_fatal_error ( const char* msg ); + +/* Done after the current pattern has been matched and before the + * corresponding action - sets up yytext. + */ +#define YY_DO_BEFORE_ACTION \ + (yytext_ptr) = yy_bp; \ + (yytext_ptr) -= (yy_more_len); \ + yyleng = (int) (yy_cp - (yytext_ptr)); \ + (yy_hold_char) = *yy_cp; \ + *yy_cp = '\0'; \ + (yy_c_buf_p) = yy_cp; +#define YY_NUM_RULES 420 +#define YY_END_OF_BUFFER 421 +/* This struct is not used in this scanner, + but its presence is necessary. */ +struct yy_trans_info + { + flex_int32_t yy_verify; + flex_int32_t yy_nxt; + }; +static const flex_int16_t yy_accept[4207] = + { 0, + 1, 1, 394, 394, 398, 398, 402, 402, 406, 406, + 1, 1, 410, 410, 414, 414, 421, 418, 1, 392, + 392, 419, 2, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 419, 394, 395, 395, + 396, 419, 398, 399, 399, 400, 419, 405, 402, 403, + 403, 404, 419, 406, 407, 407, 408, 419, 417, 393, + 2, 397, 417, 419, 413, 410, 411, 411, 412, 419, + 414, 415, 415, 416, 419, 418, 0, 1, 2, 2, + 2, 2, 418, 418, 418, 418, 418, 418, 418, 418, + + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 394, 0, 398, 0, 405, 0, + 402, 406, 0, 417, 0, 2, 2, 417, 413, 0, + 410, 414, 0, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 417, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 380, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 141, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + + 418, 418, 418, 418, 418, 151, 418, 418, 418, 418, + 418, 418, 418, 418, 417, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + + 418, 418, 418, 418, 418, 418, 123, 418, 418, 379, + 418, 418, 418, 418, 418, 418, 418, 418, 8, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 142, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 156, 418, + 418, 418, 417, 418, 418, 418, 418, 418, 418, 418, + + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 369, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 417, 418, 418, + + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 74, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 279, + 418, 14, 15, 418, 418, 20, 19, 418, 418, 253, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 149, 418, 418, + + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 251, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 3, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 417, 418, 418, 418, 418, 418, 418, 418, 418, + 348, 418, 418, 418, 347, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + + 401, 418, 418, 418, 418, 418, 418, 418, 418, 73, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 77, + 418, 317, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 370, 371, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 78, 418, 418, 150, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 145, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 240, 418, 418, 418, 418, 418, 418, 418, 418, + + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 22, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 177, 418, 418, 418, 418, 418, 418, 417, 401, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 121, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 325, 418, 418, 418, + + 418, 418, 418, 418, 418, 418, 418, 418, 16, 418, + 418, 418, 418, 418, 418, 418, 418, 205, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 176, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + + 418, 418, 418, 418, 418, 120, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 37, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 38, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 75, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 148, 418, + + 418, 418, 417, 418, 418, 418, 418, 418, 418, 140, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 76, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 283, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 206, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + + 418, 418, 418, 63, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 59, 60, 418, + 303, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 68, 418, 69, 418, 418, + + 418, 418, 418, 418, 124, 418, 125, 418, 418, 418, + 418, 418, 122, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 7, + 418, 418, 418, 418, 418, 417, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 268, + 418, 418, 418, 418, 418, 418, 180, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + + 418, 418, 418, 418, 418, 284, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 52, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 64, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 231, 418, 230, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 17, 18, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 79, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 239, 418, 418, 418, 418, 418, 418, 418, 127, + 418, 126, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 219, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + + 418, 157, 418, 259, 418, 418, 418, 417, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 115, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 101, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 252, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 106, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 72, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 223, 224, 418, + 418, 418, 418, 418, 319, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 6, 418, 418, 418, 418, 418, 418, + 418, 338, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 323, 418, 418, 418, 418, + + 418, 418, 418, 349, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 48, + 418, 418, 418, 418, 418, 418, 50, 418, 418, 418, + 102, 418, 418, 418, 418, 418, 61, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 417, 418, 215, 418, 418, 418, 152, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 244, 418, 418, 216, 418, 418, 418, + 418, 418, 418, 264, 418, 418, 418, 418, 418, 418, + + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 62, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 154, 133, 418, + 134, 418, 418, 418, 418, 132, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 173, 418, 418, + 57, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 301, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 217, 418, 418, 418, 418, + 418, 228, 220, 418, 227, 418, 418, 418, 222, 418, + + 418, 418, 418, 418, 418, 418, 418, 263, 418, 418, + 418, 418, 418, 418, 267, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 119, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 146, 418, 418, 418, 418, 418, 418, 418, 418, + 70, 418, 418, 418, 418, 31, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 21, 418, + 418, 418, 418, 418, 418, 418, 418, 32, 41, 418, + 185, 418, 418, 418, 418, 418, 418, 418, 418, 418, + + 418, 418, 418, 418, 418, 418, 418, 418, 418, 213, + 418, 418, 417, 418, 418, 418, 418, 374, 418, 418, + 87, 418, 90, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 375, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 327, 418, 418, 418, 418, 280, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 135, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 172, 418, 53, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 274, 418, 418, 418, 418, 418, 418, 418, 418, 342, + 418, 418, 418, 418, 418, 383, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 229, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 179, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 336, 418, 418, 418, 418, 250, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 360, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 198, 418, 418, 418, + + 418, 418, 418, 418, 418, 418, 418, 418, 128, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 51, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 192, 418, 418, 207, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 417, 418, 160, + 418, 418, 418, 418, 418, 418, 418, 418, 114, 418, + 418, 418, 418, 242, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 265, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 292, 418, 418, 418, 418, 418, 418, 418, + + 418, 418, 418, 418, 153, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 196, 418, 418, 418, 418, 418, + 418, 418, 91, 418, 92, 418, 418, 418, 418, 418, + 277, 418, 418, 418, 418, 418, 71, 345, 418, 418, + 418, 418, 418, 418, 418, 418, 100, 208, 418, 232, + 418, 269, 418, 418, 221, 320, 418, 418, 418, 418, + 418, 315, 418, 418, 418, 418, 418, 83, 418, 210, + 418, 418, 418, 418, 418, 418, 9, 418, 418, 418, + 418, 418, 118, 418, 418, 418, 418, 418, 418, 307, + + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 241, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 417, 418, 418, 418, 418, 195, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 197, 258, 181, 418, 418, 326, 418, + + 418, 418, 418, 418, 291, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 254, 418, 418, + 418, 418, 418, 418, 318, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 178, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 346, 418, 418, 418, + 418, 209, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 82, 84, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 117, 418, 418, 418, + + 418, 418, 418, 305, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 322, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 246, 418, 39, 33, 35, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 40, + 418, 34, 36, 418, 42, 418, 418, 418, 418, 418, + 418, 418, 113, 418, 418, 191, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 417, 418, 418, 418, + 418, 418, 418, 418, 418, 350, 418, 418, 418, 418, + 418, 248, 245, 418, 418, 418, 418, 418, 418, 418, + + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 81, 418, 418, 418, 155, + 418, 136, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 174, 54, 418, 418, 418, 409, + 13, 418, 418, 418, 418, 418, 418, 418, 161, 418, + 418, 418, 418, 418, 418, 418, 418, 340, 418, 343, + 418, 384, 418, 385, 418, 418, 418, 418, 418, 386, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 12, + 418, 418, 23, 418, 418, 418, 418, 418, 418, 418, + 311, 418, 418, 418, 418, 367, 418, 418, 418, 418, + + 418, 418, 418, 418, 418, 324, 418, 418, 418, 418, + 85, 418, 256, 418, 418, 418, 418, 418, 247, 418, + 418, 418, 418, 80, 418, 418, 418, 418, 418, 418, + 24, 418, 418, 49, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 190, 189, 418, + 418, 418, 418, 418, 409, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 249, 243, 418, 418, + 418, 266, 418, 418, 328, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 203, 418, 418, 418, 418, 418, 418, 418, 418, 418, + + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 93, 418, 418, 418, 418, 418, + 418, 418, 418, 306, 418, 418, 418, 418, 418, 226, + 418, 418, 418, 418, 418, 389, 390, 418, 255, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 313, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 352, 418, 356, 354, 187, 418, 418, 418, 86, 418, + 418, 418, 418, 199, 418, 418, 418, 418, 418, 129, + 131, 130, 418, 418, 418, 26, 418, 418, 182, 418, + 184, 418, 233, 418, 418, 418, 388, 418, 188, 418, + + 418, 418, 260, 418, 418, 418, 418, 270, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 163, 376, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 299, 418, 418, 282, 418, 418, 418, 418, 418, 418, + 418, 377, 418, 28, 418, 321, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 98, 234, 418, 418, 276, + 418, 418, 418, 304, 418, 344, 418, 418, 225, 418, + 418, 316, 418, 418, 418, 314, 65, 418, 418, 418, + 418, 418, 418, 418, 4, 418, 418, 418, 418, 418, + + 418, 418, 418, 418, 418, 418, 418, 144, 418, 162, + 418, 418, 418, 204, 30, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 273, 43, 44, + 418, 418, 418, 418, 418, 418, 418, 381, 418, 418, + 329, 418, 418, 418, 418, 418, 418, 418, 290, 418, + 418, 418, 418, 418, 418, 418, 418, 237, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 97, 96, 418, 418, 66, 418, + 418, 302, 310, 418, 418, 278, 418, 418, 418, 418, + + 418, 11, 418, 418, 418, 418, 382, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 143, + 418, 418, 418, 418, 418, 418, 235, 103, 418, 418, + 46, 418, 418, 418, 418, 418, 418, 418, 418, 194, + 418, 418, 261, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 165, 418, 418, 418, 418, 281, 418, 418, + 418, 418, 418, 289, 418, 418, 418, 418, 158, 418, + 418, 418, 137, 139, 138, 418, 418, 418, 105, 110, + 104, 418, 418, 175, 418, 418, 418, 418, 94, 418, + 275, 312, 418, 418, 418, 418, 418, 418, 418, 10, + + 418, 418, 418, 418, 418, 308, 418, 418, 366, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 373, 45, 418, 418, 418, 418, 418, 193, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 111, + 109, 418, 418, 418, 58, 418, 418, 95, 418, 341, + 418, 418, 418, 418, 418, 25, 418, 418, 418, 418, + 418, 218, 418, 418, 362, 364, 418, 418, 418, 418, + 418, 361, 358, 418, 418, 418, 418, 236, 418, 418, + + 418, 418, 418, 418, 418, 418, 418, 418, 418, 214, + 418, 418, 183, 88, 89, 418, 418, 418, 418, 418, + 418, 330, 418, 418, 418, 418, 418, 418, 418, 286, + 418, 418, 285, 159, 418, 418, 108, 418, 107, 55, + 418, 418, 391, 166, 167, 170, 171, 168, 169, 99, + 339, 418, 418, 309, 418, 418, 418, 418, 418, 418, + 147, 418, 418, 418, 418, 27, 418, 186, 418, 418, + 418, 418, 418, 418, 212, 418, 272, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + + 418, 418, 418, 418, 418, 418, 418, 201, 200, 238, + 47, 418, 418, 418, 418, 387, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 337, 418, + 418, 418, 368, 418, 418, 418, 418, 418, 418, 418, + 116, 418, 418, 271, 418, 418, 300, 334, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 378, + 418, 112, 56, 67, 5, 418, 418, 353, 418, 357, + 355, 418, 418, 257, 418, 418, 418, 418, 335, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 287, 29, + + 418, 418, 418, 418, 418, 418, 262, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 288, 418, 418, + 418, 418, 418, 418, 418, 164, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 202, 418, 211, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 363, + 365, 359, 418, 418, 331, 418, 418, 418, 418, 418, + 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, + 418, 418, 418, 372, 351, 418, 418, 295, 418, 418, + 418, 418, 418, 332, 418, 418, 418, 418, 418, 418, + 333, 418, 418, 418, 293, 418, 296, 297, 418, 418, + + 418, 418, 418, 294, 298, 0 + } ; + +static const YY_CHAR yy_ec[256] = + { 0, + 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, + 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 2, 1, 5, 6, 1, 1, 1, 7, 1, + 1, 1, 1, 1, 8, 1, 1, 1, 9, 1, + 10, 11, 1, 12, 1, 1, 1, 13, 1, 1, + 1, 1, 1, 1, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, + 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, + 1, 40, 1, 1, 1, 1, 41, 42, 43, 44, + + 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, + 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, + 65, 66, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1 + } ; + +static const YY_CHAR yy_meta[67] = + { 0, + 1, 2, 3, 4, 5, 1, 6, 1, 1, 1, + 1, 1, 7, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1 + } ; + +static const flex_int16_t yy_base[4225] = + { 0, + 0, 0, 64, 67, 70, 72, 78, 84, 89, 92, + 131, 137, 112, 118, 123, 142, 573, 532, 96,12017, + 12017,12017, 160, 185, 116, 183, 229, 132, 175, 173, + 278, 50, 66, 120, 230, 268, 159, 325, 226, 377, + 418, 290, 318, 279, 177, 126, 380, 531,12017,12017, + 12017, 95, 469,12017,12017,12017, 181, 464, 493,12017, + 12017,12017, 238, 424,12017,12017,12017, 104, 422,12017, + 394,12017, 167, 350, 380, 402,12017,12017,12017, 405, + 329,12017,12017,12017, 146, 306, 424, 168, 0, 436, + 0, 0, 225, 219, 252, 209, 319, 215, 248, 357, + + 283, 339, 417, 428, 429, 354, 371, 444, 263, 463, + 304, 461, 384, 425, 233, 456, 374, 452, 486, 483, + 482, 435, 493, 494, 503, 509, 481, 320, 521, 504, + 526, 524, 519, 536, 525, 538, 529, 566, 552, 556, + 546, 558, 573, 561, 563, 568, 593, 588, 614, 579, + 609, 615, 605, 612, 341, 608, 641, 628, 642, 634, + 632, 648, 636, 651, 296, 174, 286, 364, 276, 692, + 310, 270, 179, 256, 696, 704, 0, 673, 236, 710, + 207, 152, 222, 684, 699, 679, 690, 385, 706, 696, + 701, 691, 698, 715, 692, 711, 718, 749, 726, 725, + + 755, 419, 760, 804, 742, 734, 765, 745, 757, 761, + 759, 747, 773, 775, 790, 783, 787, 788, 817, 793, + 807, 814, 859, 816, 809, 822, 831, 499, 854, 858, + 585, 841, 599, 862, 845, 602, 868, 91, 810, 872, + 867, 894, 875, 870, 878, 887, 902, 900, 885, 910, + 903, 912, 914, 911, 917, 934, 904, 953, 928, 936, + 948, 935, 931, 946, 945, 971, 947, 963, 974, 951, + 962, 987, 990, 980, 991, 981, 986, 1001, 988, 992, + 1009, 1003, 989, 1004, 1006, 1013, 1015, 1027, 1021, 1018, + 1020, 1039, 1026, 1051, 1050, 1052, 1061, 1045, 1049, 1040, + + 1056, 1059, 1066, 1064, 1069, 1072, 1078, 1093, 1096, 1076, + 150, 1077, 1105, 1108, 1098, 1111, 1107, 1113, 1118, 1119, + 1123,12017, 1103, 1129, 1120, 1146, 1124, 1145, 1130, 1147, + 1134, 1164, 1140, 1144, 1157, 1150, 1167, 1177, 1170, 1181, + 1173, 1184, 1195, 1191, 1200, 1186, 1187, 1206, 1213, 1205, + 1244, 1215, 1207, 1223, 1289, 1238, 1218, 1227, 1257, 1272, + 488, 1243, 1249, 1278, 1270, 1286, 1297, 1284, 1291, 1277, + 1312, 1302, 1325, 1313, 1316, 1327, 1211, 1333, 1328, 1329, + 1335, 1242, 1363,12017, 1341, 1346, 1353, 1352, 1376, 1380, + 1372, 1368, 1401, 1362, 1369, 1374, 1367, 1400, 1449, 1497, + + 1391, 1403, 1414, 1419, 1412,12017, 1418, 1428, 1546, 1439, + 1448, 1465, 1441, 1474, 1451, 1373, 1444, 1479, 1463, 1468, + 1398, 1476, 1484, 1469, 1524, 1503, 1485, 1517, 1542, 1545, + 1547, 1551, 1496, 1555, 1543, 1579, 1553, 1580, 1578, 1572, + 1575, 1581, 1598, 1611, 1584, 1592, 1599, 1601, 1602, 1618, + 1608, 1630, 1610, 1642, 1621, 1635, 1636, 1637, 1638, 1641, + 1667, 1712, 1639, 1643, 1666, 1668, 1665, 1663, 1664, 1678, + 1682, 1693, 1692, 1680, 1707, 1691, 1710, 1709, 1716, 1719, + 1714, 1711, 1735, 1718, 1736, 1737, 1742, 1745, 1767, 1753, + 1734, 1752, 1759, 1763, 1761, 1762, 1777, 1779, 1769, 1795, + + 1789, 1790, 1800, 1786, 1811, 1793,12017, 1813, 1818,12017, + 1802, 1816, 1804, 1821, 1814, 1828, 1817, 1841,12017, 1829, + 1836, 1838, 1864, 1852, 1872, 1859, 1860, 1876, 1856, 1863, + 1862, 1879, 1880, 1883, 1886, 1889, 1881, 1908, 1897, 1900, + 1907, 1896, 1899, 1913, 1902, 1925, 1916, 1927, 1921, 1934, + 1923, 1980,12017, 1929, 1939, 1940, 1947, 1943, 1963, 1975, + 1989, 1992, 2007, 1978, 2013, 2008, 2009, 1950, 2015, 1982, + 1948, 2018, 2036, 2021, 2042, 2024, 2035, 2049, 2040, 2052, + 2041, 2056, 2066, 2045, 2074, 2065, 2070, 2080,12017, 2076, + 2081, 2087, 2092, 1984, 2077, 2079, 2101, 2095, 2100, 2110, + + 2106, 2122, 2116, 2128, 2107, 2127, 2132, 2115, 2133, 2143, + 2144, 2134, 2137, 2136, 2151, 2160, 2164, 2171, 2157, 2167, + 2153, 2190, 2184, 2179, 2181, 782, 2187, 2188, 2189, 2204, + 2205, 2191, 2198, 2195, 2217, 2216, 2208, 2215, 2225, 2224, + 2203, 2214, 2234, 2242, 2237, 2235, 2222, 2253, 2245, 2262, + 2255, 2247, 2266, 2254, 2260, 2272, 2250, 2274, 2261, 2301, + 2278, 2290, 2289, 2267, 2303, 2306, 2300, 2305,12017, 2318, + 2327, 2315, 2322, 2333, 2331, 2338, 2326, 2339, 2330, 2345, + 2348, 2349, 2356, 2357, 2341, 2374, 2370, 2366, 2365, 2373, + 2360, 2377, 2394, 2382, 2390, 2401, 2407, 2397, 2408, 2416, + + 2404, 2424, 2405, 2415, 2409, 2425, 2414, 2426, 2421, 2444, + 2434, 2452, 2431, 2454, 2441, 2467, 2450, 2458, 2460, 2451, + 2498, 2470, 2461, 2466, 2487, 2479, 2494, 2497, 2502, 2505, + 2520, 2500, 2533, 2546, 2539, 2524, 2532, 2535, 2550, 2536, + 2537, 2551, 2553, 2564, 2565, 2547, 2566, 2559, 2572, 2573, + 2576, 2582, 2599, 2589, 2563, 2586, 2591, 2595, 2598, 2603, + 2600, 2616, 2618, 2621, 2622, 2608, 2634, 2635, 2638, 2650, + 2642, 2658, 2662, 2646, 2649, 2661, 2664, 2665, 2674, 2675, + 2683, 2691, 2695, 2684, 2697, 2682, 2702, 2708, 2701, 2705, + 2714, 2711, 2722, 2728, 2733, 2731, 2644, 2739, 2745, 2746, + + 2738, 2747, 2753, 2751, 2762, 2740, 2757, 2781, 2791, 2780, + 2778,12017, 2773, 2647, 2774, 2777, 2794, 2784, 2788, 2804, + 2767, 2807, 2802, 2801, 2799, 2809, 2805, 2815, 2861,12017, + 2823,12017,12017, 777, 2824,12017,12017, 2849, 2842,12017, + 2825, 2865, 2850, 2829, 2851, 2878, 2886, 2884, 2876, 2875, + 2892, 2869, 2939, 2897, 2896, 2888, 2900, 2921, 2902, 2934, + 2915, 2936, 2932, 2935, 2944, 2953, 2904, 2965, 2948, 2959, + 2983, 2978, 2984, 2987, 2986, 2993, 2992, 2985, 2976, 2996, + 2980, 2982, 3007, 3020, 3003, 3017, 3013, 3021, 3036, 3023, + 3027, 3016, 3047, 3040, 3044, 3046, 3056,12017, 3052, 3063, + + 3059, 3051, 3058, 3055, 3066, 3086, 3065, 3092, 3088, 3083, + 3087, 3094, 3098, 3081, 3093, 3082, 3106, 3108, 3096, 3113, + 3116, 3110, 3117, 3115, 3126, 3136, 3146, 3127, 3128,12017, + 3139, 3142, 3123, 3143, 3150, 3140, 3153, 3157, 3166, 3169, + 3179, 3176, 3172, 3158, 3185, 3175, 3216, 3187, 3196, 3192, + 3198, 3191, 3202, 3204, 3227,12017, 3218, 3232, 3212, 3231, + 3214, 3237, 3228, 3241, 3224, 3247, 3243, 3249, 3262, 3253, + 3258, 3255, 3269, 3274, 3265, 3264, 3270, 3289, 3279, 3276, + 3297, 3300, 3288, 3292, 3309, 3301, 3315, 3305, 3306, 3308, + 3319, 3317, 3320, 3314, 3336, 3329, 3354, 3341, 3331, 3359, + + 3364, 3356, 3342, 3365, 3357, 3345, 3370, 3367, 3378, 3379, + 3373, 3372, 3382, 3384, 3387, 3381, 3380, 3392, 3400, 3411, + 3415, 3420, 3409, 3417, 3425, 3407, 3412, 3434, 3430, 3427, + 12017, 3439, 3441, 3461,12017, 3452, 3447, 3450, 3500, 3480, + 3468, 3466, 3457, 3481, 3462, 3513, 3486, 3495, 3497, 3512, + 3496, 3520, 3525, 3522, 3527, 3546, 3536, 3554, 3544, 3552, + 3553, 3519, 3539, 3558, 3561, 3571, 3568, 3585, 3580, 3596, + 3565, 414, 3598, 3578, 3583, 3586, 3631, 3594, 3603, 3595, + 3599, 3613, 3615, 3626, 3629, 3628, 3635, 3627, 3633, 3647, + 3621, 3660, 3655, 3662, 3659, 3670, 3673, 3668, 3677, 3676, + + 12017, 3674, 3682, 3679, 3678, 3686, 3716, 3709, 3700,12017, + 3708, 3711, 3705, 3727, 3703, 3722, 3710, 3723, 3713, 3725, + 3741, 3737, 3747, 3736, 3744, 3755, 3748, 3766, 3775,12017, + 3746,12017, 3763, 3756, 3778, 3760, 3786, 3783, 3780, 3781, + 3782, 3793, 3801, 3790, 3792,12017,12017, 3809, 3810, 3812, + 3824, 3803, 3806, 3820, 3817, 3818,12017, 3819, 3854,12017, + 3849, 3840, 3857, 3847, 3843, 3859, 3845, 3880, 3852, 3862, + 3881, 3882, 3858, 3884, 3839, 3883, 3878, 3886, 3907, 3888, + 12017, 3905, 3911, 3895, 3913, 3920, 3915, 3908, 3932, 3941, + 3924,12017, 3942, 3933, 3944, 3934, 3958, 3954, 3947, 3939, + + 3959, 3964, 3952, 3953, 3967, 3975, 3977, 3993, 3998, 4000, + 3991, 4001, 4003, 4002, 4005,12017, 4004, 3992, 3988, 4016, + 4017, 4012, 4011, 4015, 4031, 4036, 4027, 4028, 4043, 4049, + 4037, 4051, 4032, 4053, 4042, 4062, 4067, 4066, 4055, 4071, + 4072, 4070, 4090, 4074, 4077, 158, 4078, 4093, 4087, 4099, + 4082,12017, 4097, 4101, 4100, 4104, 4114, 4120, 4115, 115, + 4118, 4121, 4126, 4139, 4131, 4134, 4150, 4137, 4156, 4159, + 4147, 4145, 4152, 4164, 4171, 4165, 4161, 4166, 4176, 4163, + 4182, 4186, 4187, 4184, 4185,12017, 4206, 4196, 4211, 4208, + 4200, 4224, 4205, 4216, 4209, 4234,12017, 4236, 4245, 4225, + + 4241, 4247, 4242, 4244, 4256, 4243, 4260, 4267,12017, 4274, + 4265, 4281, 4269, 4283, 4277, 4286, 4271,12017, 4295, 4294, + 4302, 4289, 4314, 4296, 4303, 4310, 4313, 4316, 4330, 4317, + 4324, 4326, 4329, 4340, 4327, 4341, 4349, 4355, 4354, 4343, + 4351, 4370, 4358, 4365, 4368, 4367, 4362, 4381, 4388, 4382, + 12017, 4404, 4390, 4389, 4393, 4392, 4394, 4413, 4414, 4427, + 4406, 4420, 4411, 4435, 4463, 4440, 4430, 4439, 4451, 4457, + 4460, 4446, 4447, 4454, 4474, 4475, 4487, 4473, 4485, 4495, + 4505, 4491, 4499, 4507, 4498, 4502, 4521, 4514, 4518, 4513, + 4523, 4516, 4531, 4541, 4536, 4544, 4547, 4555, 4540, 4578, + + 4551, 4548, 4563, 4574, 4550,12017, 4566, 4580, 4579, 4582, + 4575, 4581, 4585, 4615, 4590, 4602, 4604, 4609, 4608, 4606, + 4619, 4623, 4625, 4622, 4629, 4630, 4643, 4631, 4627, 4645, + 4646, 4657, 4649, 4656, 4667, 4651, 4652, 4676, 4682, 4670, + 4686, 4683, 4689,12017, 4690, 4694, 4679, 4696, 4695, 4680, + 4702, 4710, 4709, 4703, 4707, 4712, 4719, 4715, 4723, 4741, + 4725, 4736, 4738, 4739, 4747, 4746,12017, 4750, 4751, 4742, + 4766, 4756, 4768, 4780, 4778, 4784, 4787, 4791, 4793, 4792, + 4781, 4795, 4803, 4802,12017, 4805, 4807, 4824, 4822, 4826, + 4808, 4829, 4814, 4828, 4835, 4840, 4823, 4837,12017, 4841, + + 4851, 4834, 4832, 4852, 4853, 4850, 4880, 4875, 4871,12017, + 4888, 4873, 4877, 4884, 4890, 4874, 4883, 4878, 4905, 4885, + 4906, 4900, 4910, 4924, 4912, 4931, 4911, 4935,12017, 4917, + 4927, 4932, 4947, 4942, 4946, 4939, 4957, 4956, 4961, 4962, + 4973, 4984, 4969, 4968,12017, 4990, 4963, 4995, 4975, 5015, + 4997, 4992, 4994, 4996, 5009, 5020, 5011, 5007, 5026, 5010, + 12017, 5019, 5017, 5022, 5047, 5028, 5043, 5044, 5055, 5039, + 5049, 5045, 5054, 5058, 5062, 5060, 5075, 5076, 5081, 5066, + 5082, 5089, 5078, 5088, 5100, 5102, 5103, 5098, 5113, 5124, + 5125, 5108, 5130, 5132, 5127, 5120, 5116, 5129, 5143, 5147, + + 5151, 5149, 5161,12017, 5148, 5163, 5144, 5155, 5157, 5152, + 5170, 5165, 5186, 5171, 5193, 5200, 5197, 5189, 5188, 5209, + 5211, 5213, 5199, 5204, 5206, 5216, 5212, 5218, 5227, 5222, + 5228, 5231, 5238, 5242, 5248, 5262, 5243, 5239, 5245, 5258, + 5250, 5269, 5252, 5267, 5272, 5265, 5282, 5274, 5278, 5283, + 5285, 5281, 5286, 5299, 5305, 5312, 5298, 5300, 5309, 5316, + 5323, 5325, 5324, 5322, 5332, 5329, 5327,12017,12017, 5358, + 12017, 5344, 5348, 5343, 5363, 5359, 5371, 5354, 5362, 5357, + 5378, 5374, 5388, 5384, 5381, 5397, 5402, 5406, 5408, 5393, + 5396, 5409, 5405, 5421, 5417,12017, 5401,12017, 5427, 5422, + + 5426, 5429, 5432, 5435,12017, 5438,12017, 5439, 5447, 5434, + 5444, 5448,12017, 5465, 5446, 5452, 5454, 5456, 5477, 5469, + 5459, 5466, 5473, 5492, 5475, 5503, 5500, 5499, 5491, 5495, + 5496, 5486, 5513, 5511, 5502, 5512, 5516, 5532, 5530, 5522, + 5544, 5526, 5528, 5535, 5540, 5552, 5541, 5558, 5555,12017, + 5564, 5570, 5571, 5553, 5579, 5572, 5568, 5562, 5585, 5580, + 5583, 5587, 5591, 5595, 5589, 5612, 5606, 5621, 5601, 5625, + 5628, 5629, 5618, 5639, 5635, 5647, 5623, 5651, 5644,12017, + 5645, 5630, 5650, 5654, 5653, 5657,12017, 5655, 5670, 5664, + 5678, 5682, 5680, 5671, 5677, 5690, 5698, 5685, 5696, 5691, + + 5721, 5701, 5706, 5709, 5726,12017, 5722, 5732, 5717, 5740, + 5695, 5723, 5751, 5757, 5750, 5733, 5761, 5768, 5760, 5758, + 5763, 5756, 5753, 5776, 5791, 5796, 5798, 5789, 5801, 5774, + 5799, 5805, 5802, 5792, 5793, 5800, 5812, 5790, 5818, 5808, + 5819, 5827, 5825, 5823, 5840, 5845, 5832, 5846,12017, 5849, + 5850, 5842, 5863, 5836, 5865, 5859, 5870, 5882, 5886, 5889, + 12017, 5864, 5873, 5890, 5892, 5900, 5906, 5888, 5872, 5908, + 5909, 5936, 5917, 5930, 5929, 5924,12017, 5955,12017, 5916, + 5922, 5957, 5942, 5946, 5959, 5958, 5953, 5969, 5963, 5983, + 5979, 5974, 5986, 5977, 5990, 5985, 5987, 5982, 6002, 5997, + + 6009, 6014, 6011, 6019, 6013, 6017, 6038, 6032, 6035, 6027, + 6036, 6021, 6046, 6029, 6075, 6056, 6055,12017,12017, 6052, + 6053, 6080, 6065, 6062, 6076, 6092, 6095, 6102, 6072, 6088, + 6101, 6089, 6118, 6082, 6104, 6108, 6139,12017, 6116, 6117, + 6120, 6131, 6135, 6145, 6128, 6150, 6156, 6155, 6140, 6161, + 6158,12017, 6148, 6151, 6165, 6166, 6157, 6177, 6194,12017, + 6182,12017, 6181, 6183, 6184, 6188, 6207, 6192, 6205, 6211, + 6209, 6210, 6217, 6214, 6213, 6199, 6221, 6230, 6229, 6243, + 6226, 6232, 6236, 6254, 6248, 6269, 6244, 6249, 6256,12017, + 6267, 6252, 6264, 6258, 6275, 6270, 6279, 6281, 6289, 6277, + + 6294,12017, 6306,12017, 6299, 6305, 6312, 6307, 6308, 6318, + 6321, 6316, 6325, 6322, 6324, 6339, 6331, 6342, 6350, 6347, + 6349, 6341,12017, 6343, 6352, 6336, 6363, 6346, 6376, 6378, + 6380, 6365, 6393,12017, 6389, 6400, 6381, 6388, 6390, 6403, + 6401, 6392, 6409, 6410, 6398, 6407, 6408, 6414, 6417, 6434, + 6433, 6431, 6435, 6441, 6447, 6445, 6428, 6459, 6458, 6461, + 6451, 6462, 6466,12017, 6468, 6473, 6477, 6481, 6479, 6478, + 6501, 6482, 6502, 6512, 6493, 6516, 6520, 6504, 6506, 6509, + 6518, 6528, 6539, 6519,12017, 6540, 6523, 6542, 6533, 6544, + 6546, 6536, 6535, 6558, 6550, 6559, 6572, 6560, 6555, 6569, + + 6579, 6580, 6585, 6594, 6601, 6578, 6577, 6589, 6597, 6599, + 6603, 6611, 6605,12017, 6634, 6617, 6612, 6633, 6632, 6636, + 6638, 6639, 6629, 6641, 6645, 6653, 6656, 6646, 6652, 6658, + 6668, 6661, 6665, 6676, 6686, 6689, 6670,12017,12017, 6693, + 6675, 6695, 6696, 6706,12017, 6698, 6688, 6715, 6691, 6702, + 6703, 6710, 6733, 6731, 6714, 6723, 6736, 6740, 6718, 6746, + 6752, 6727, 6739,12017, 6745, 6751, 6762, 6741, 6757, 6774, + 6773,12017, 6758, 6786, 6759, 6782, 6781, 6778, 6772, 6776, + 6791, 6784, 6803, 6780, 6789, 6809, 6808, 6804, 6802, 6814, + 6827, 6832, 6818, 6819, 6836,12017, 6823, 6822, 6842, 6848, + + 6833, 6839, 6837,12017, 6849, 6869, 6861, 6866, 6871, 6877, + 6878, 6882, 6881, 6890, 6885, 6888, 6884, 6889, 6898, 6900, + 6908, 6883, 6904, 6911, 6927, 6910, 6934, 6935, 6937,12017, + 6930, 6921, 6949, 6924, 6947, 6942,12017, 6943, 6977, 6951, + 12017, 6961, 6954, 6968, 6963, 6987,12017, 6971, 6981, 6979, + 6974, 6988, 6966, 6999, 6995, 7001, 6982, 7004, 6998, 7005, + 7002, 7000, 7018, 7022,12017, 7024, 7014, 7030,12017, 7037, + 7039, 7051, 7038, 7053, 7040, 7044, 7028, 7048, 7058, 7050, + 7067, 7070, 7064,12017, 7069, 7087,12017, 7081, 7082, 7071, + 7077, 7075, 7104,12017, 7094, 7095, 7083, 7093, 7103, 7113, + + 7119, 7120, 7125, 7108, 7117, 7109, 7110, 7143, 7137, 7144, + 7147, 7130, 7150, 7140, 7146,12017, 7168, 7145, 7152, 7156, + 7162, 7177, 7157, 7179, 7173, 7176, 7184,12017,12017, 7198, + 12017, 7196, 7185, 7186, 7200,12017, 7195, 7203, 7219, 7214, + 7232, 7213, 7220, 7229, 7218, 7238, 7240,12017, 7239, 7249, + 12017, 7228, 7246, 7237, 7243, 7247, 7258, 7262, 7267, 7287, + 7265, 7260, 7271, 7275, 7279, 7274, 7284, 7289, 7308, 7298, + 7326,12017, 7292, 7299, 7324, 7297, 7315, 7310, 7331, 7335, + 7337, 7341, 7339, 7325, 7323,12017, 7342, 7371, 7357, 7372, + 7369,12017,12017, 7370,12017, 7360, 7380, 7374,12017, 7381, + + 7384, 7363, 7397, 7368, 7390, 7394, 7399,12017, 7420, 7402, + 7423, 7401, 7425, 7429,12017, 7428, 7432, 7417, 7424, 7441, + 7439, 7443, 7440, 7451, 7476, 7457,12017, 7454, 7458, 7462, + 7477, 7478, 7471, 7468, 7466, 7492, 7489, 7495, 7496, 7501, + 7484, 7512, 7513, 7509, 7514, 7503, 7519, 7526, 7522, 7528, + 7516,12017, 7541, 7523, 7536, 7530, 7569, 7544, 7539, 7555, + 12017, 7557, 7561, 7571, 7572,12017, 7566, 7581, 7578, 7580, + 7568, 7584, 7591, 7594, 7565, 7598, 7600, 7614,12017, 7608, + 7611, 7604, 7622, 7621, 7625, 7631, 7616,12017,12017, 7649, + 12017, 7627, 7636, 7629, 7646, 7645, 7653, 7665, 7657, 7656, + + 7674, 7660, 7658, 7671, 7676, 7686, 7680, 7673, 7689,12017, + 7687, 7684, 7690, 7723, 7695, 7715, 7716,12017, 7717, 7700, + 12017, 7704,12017, 7705, 7711, 7730, 7733, 7726, 7737, 7739, + 7742, 7731, 7757,12017, 7746, 7750, 7751, 7767, 7752, 7773, + 7768, 7775, 7787,12017, 7779, 7769, 7781, 7784,12017, 7766, + 7798, 7782, 7800, 7795, 7812, 7801, 7807, 7806, 7816, 7802, + 7820, 7831, 7822, 7833, 7818, 7828, 7834, 7829, 7840, 7861, + 7844, 7851, 7870,12017, 7864, 7855, 7856, 7858, 7853, 7863, + 7873, 7868, 7882, 7884, 7903, 7897, 7912,12017, 7893,12017, + 7900, 7896, 7909, 7916, 7902, 7917, 7920, 7923, 7921, 7904, + + 7924, 7933, 7940, 7954, 7955, 7956, 7943, 7944, 7949, 7965, + 12017, 7963, 7971, 7960, 7973, 7968, 7964, 7978, 7983,12017, + 7989, 7986, 7991, 7985, 7990,12017, 7995, 8000, 8014, 8019, + 8001, 8023, 8007, 8026, 8016, 8024,12017, 8032, 8037, 8028, + 8030, 8034, 8043, 8045, 8040, 8051, 8056, 8049, 8055,12017, + 8068, 8048, 8058, 8079, 8066, 8075, 8082, 8083, 8096, 8091, + 8089, 8090, 8092,12017, 8099, 8101, 8098, 8104,12017, 8102, + 8115, 8110, 8119, 8123, 8136, 8121, 8118, 8124, 8147, 8139, + 8156, 8154, 8157,12017, 8153, 8135, 8166, 8150, 8160, 8170, + 8174, 8180, 8191, 8181, 8196, 8208,12017, 8209, 8182, 8205, + + 8207, 8215, 8197, 8200, 8223, 8221, 8224, 8219,12017, 8236, + 8238, 8247, 8239, 8263, 8264, 8240, 8258, 8265, 8257, 8270, + 12017, 8251, 8256, 8274, 8260, 8284, 8285, 8286, 8289, 8291, + 8287, 8304, 8302,12017, 8288, 8301,12017, 8299, 8300, 8322, + 8315, 8329, 8339, 8313, 8335, 8332, 8342, 8340, 8333,12017, + 8331, 8336, 8348, 8346, 8362, 8367, 8369, 8373,12017, 8372, + 8365, 8368, 8374,12017, 8382, 8388, 8370, 8397, 8375, 8391, + 8407, 8416, 8399, 8420,12017, 8422, 8424, 8418, 8430, 8433, + 8426, 8429, 8417, 8436, 8428, 8438, 8445, 8442, 8451, 8441, + 8456, 8466,12017, 8469, 8472, 8474, 8476, 8477, 8478, 8480, + + 8464, 8486, 8485, 8479,12017, 8505, 8495, 8498, 8500, 8507, + 8519, 8504, 8525, 8499, 8522, 8532, 8531, 8534, 8511, 8545, + 8546, 8539, 8547, 8540,12017, 8542, 8559, 8571, 8558, 8582, + 8562, 8577,12017, 8569,12017, 8566, 8573, 8583, 8585, 8589, + 12017, 8591, 8586, 8596, 8593, 8607,12017,12017, 8618, 8629, + 8613, 8627, 8621, 8626, 8623, 8634,12017,12017, 8633,12017, + 8620,12017, 8628, 8635,12017,12017, 8639, 8610, 8663, 8649, + 8652,12017, 8648, 8657, 8672, 8675, 8681,12017, 8682,12017, + 8688, 8665, 8686, 8679, 8671, 8684,12017, 8691, 8700, 8705, + 8707, 8696,12017, 8708, 8712, 8720, 8730, 8711, 8713,12017, + + 8731, 8727, 8732, 8739, 8743, 8734, 8735, 8747, 8751, 8746, + 8761, 8757,12017, 8763, 8767, 8766, 8768, 8773, 8770, 8784, + 8794, 8785, 8787, 8791, 8800, 8795, 8797, 8814, 8804, 8810, + 8806, 8820, 8829, 8822, 8833, 8818, 8838, 8839, 8847, 8849, + 8841, 8831, 8842, 8837, 8852, 8855, 8859, 8864, 8872, 8885, + 8876, 8888, 8877, 8886, 8878, 8874, 8891, 8875, 8899, 8897, + 8898, 8908, 8906, 8903, 8911, 8914, 8912, 8918, 8939, 8933, + 8925, 8921, 8945, 8938, 8948, 8935, 8946, 8953,12017, 8960, + 8957, 8959, 8977, 8983, 8962, 8987, 8980, 8986, 8988, 8992, + 8996, 8989, 8997,12017,12017,12017, 9002, 8999,12017, 9021, + + 9012, 9020, 9013, 9018,12017, 9014, 9017, 9015, 9016, 9026, + 9041, 9045, 9049, 9047, 9048, 9052, 9053,12017, 9078, 9056, + 9057, 9063, 9060, 9086,12017, 9079, 9089, 9073, 9077, 9081, + 9094, 9087, 9092, 9093, 9107, 9098, 9120, 9126, 9125, 9127, + 9131, 9113, 9118, 9129,12017, 9139, 9141, 9147, 9128, 9143, + 9149, 9148, 9151, 9166, 9169, 9152, 9157, 9160, 9170, 9174, + 9162, 9178, 9184, 9190, 9193, 9200,12017, 9187, 9202, 9196, + 9203,12017, 9207, 9199, 9209, 9204, 9214, 9225, 9208, 9227, + 9233, 9234, 9217, 9230,12017,12017, 9220, 9235, 9247, 9256, + 9243, 9245, 9268, 9260, 9254, 9274,12017, 9264, 9267, 9280, + + 9284, 9273, 9262,12017, 9290, 9291, 9293, 9292, 9309, 9305, + 9298, 9297, 9294, 9307, 9319, 9313, 9328,12017, 9317, 9336, + 9334, 9341, 9347, 9332, 9348, 9352, 9349, 9346, 9354, 9344, + 9367,12017, 9356,12017,12017,12017, 9369, 9371, 9360, 9386, + 9375, 9379, 9387, 9381, 9394, 9396, 9395, 9391, 9397,12017, + 9399,12017,12017, 9415,12017, 9423, 9402, 9426, 9417, 9414, + 9427, 9429,12017, 9419, 9421,12017, 9430, 9444, 9450, 9445, + 9451, 9439, 9463, 9454, 9470, 9455, 9473, 9472, 9478, 9462, + 9466, 9490, 9482, 9486, 9489,12017, 9493, 9497, 9499, 9488, + 9498,12017,12017, 9514, 9495, 9509, 9527, 9525, 9534, 9532, + + 9533, 9526, 9547, 9539, 9544, 9546, 9536, 9541, 9550, 9548, + 9552, 9553, 9557, 9570, 9581,12017, 9579, 9583, 9584,12017, + 9578,12017, 9589, 9593, 9595, 9574, 9591, 9603, 9614, 9601, + 9615, 9622, 9608, 9627,12017,12017, 9616, 9638, 9630,12017, + 12017, 9618, 9620, 9628, 9625, 9646, 9649, 9639,12017, 9651, + 9653, 9667, 9654, 9661, 9657, 9674, 9663,12017, 9664,12017, + 9666,12017, 9689,12017, 9673, 9698, 9678, 9707, 9712,12017, + 9691, 9690, 9711, 9714, 9717, 9715, 9713, 9695, 9718,12017, + 9719, 9716,12017, 9731, 9724, 9732, 9734, 9735, 9733, 9738, + 12017, 9756, 9759, 9761, 9750,12017, 9754, 9755, 9762, 9748, + + 9773, 9772, 9779, 9774, 9785,12017, 9787, 9786, 9798, 9783, + 12017, 9804,12017, 9788, 9806, 9795, 9821, 9797,12017, 9800, + 9812, 9817, 9822,12017, 9818, 9826, 9828, 9838, 9827, 9829, + 12017, 9843, 9833,12017, 9846, 9852, 9856, 9858, 9847, 9861, + 9850, 9853, 9867, 9872, 9880, 9876, 9878,12017,12017, 9875, + 9891, 9884, 9897, 9896, 73, 9915, 9877, 9886, 9892, 9910, + 9902, 9922, 9925, 9905, 9917, 9926,12017,12017, 9931, 9929, + 9928,12017, 9932, 9933,12017, 9920, 9938, 9949, 9952, 9946, + 9948, 9954, 9944, 9960, 9980, 9968, 9981, 9971, 9967, 9975, + 12017,10004,10005, 9987, 9988, 9989,10002,10017,10019,10021, + + 10007,10030,10016, 9998,10028,10031,10012,10047,10040,10049, + 10033,10041,10046,10050,12017,10056,10071,10069,10060,10078, + 10074,10077,10067,12017,10084,10083,10089,10079,10086,12017, + 10092,10094,10099,10095,10105,12017,12017,10106,12017,10102, + 10123,10124,10121,10119,10112,10126,10129,10116,10145,12017, + 10141,10140,10142,10146,10155,10164,10169,10163,10170,10162, + 12017,10168,12017,12017,12017,10173,10160,10171,12017,10179, + 10180,10184,10181,12017,10203,10213,10205, 9994,10204,12017, + 12017,12017,10190,10217,10210,12017,10198,10143,12017,10208, + 12017,10202,12017,10228,10229,10226,12017,10230,12017,10243, + + 10246,10238,12017,10247,10249,10245,10263,12017,10268,10269, + 10271,10272,10257,10260,10273,10274,10278,12017,12017,10287, + 10288,10297,10298,10306,10291,10299,10295,10307,10305,10318, + 12017,10310,10317,12017,10324,10322,10326,10320,10333,10341, + 10342,12017,10339,12017,10340,12017,10348,10350,10351,10366, + 10362,10349,10353,10373,10369,10367,10383,10382,10384,10394, + 10386,10379,10346,10407,10396,12017,12017,10424,10406,12017, + 10410,10417,10418,12017,10414,12017,10411,10425,12017,10412, + 10430,12017,10422,10432,10431,12017,12017,10440,10441,10447, + 10455,10437,10465,10450,12017,10470,10452,10451,10459,10457, + + 10467,10482,10488,10473,10474,10484,10490,12017,10509,12017, + 10486,10510,10514,12017,12017,10498,10497,10521,10526,10512, + 10508,10530,10529,10525,10511,10515,10524,10532,10542,10545, + 10547,10558,10564,10550,10570,10572,10567,12017,12017,12017, + 10554,10559,10576,10577,10583,10580,10581,12017,10588,10587, + 12017,10593,10601,10607,10594,10621,10600,10619,12017,10610, + 10606,10604,10623,10626,10611,10625,10633,12017,10635,10643, + 10647,10649,10644,10650,10659,10661,10664,10656,10645,10667, + 10660,10652,10680,10679,12017,12017,10689,10674,12017,10695, + 10696,12017,12017,10683,10676,12017,10677,10686,10693,10687, + + 10714,12017,10698,10692,10711,10707,12017,10713,10719,10727, + 10717,10723,10731,10745,10732,10735,10756,10741,10759,12017, + 10748,10758,10751,10746,10762,10764,12017,12017,10760,10777, + 12017,10780,10779,10768,10802,10787,10792,10801,10798,12017, + 10789,10790,12017,10808,10813,10795,10804,10816,10811,10822, + 10826,10814,12017,10825,10827,10835,10836,12017,10839,10842, + 10847,10849,10854,12017,10862,10848,10877,10873,12017,10860, + 10876,10875,12017,12017,12017,10890,10893,10892,12017,12017, + 12017,10883,10894,12017,10901,10903,10895,10909,12017,10897, + 12017,12017,10911,10910, 4760,10933,10913,10935,10923,12017, + + 10937,10934,10918,10926,10932,12017,10947,10948,12017,10954, + 10956,10957,10950,10955,10963,10964,10952,10960,10962,10968, + 10970,10976,12017,12017,10973,10979,10974,10993,10989,12017, + 10990,10991,11007,11005,11012,11013,11018,11014,11021,11024, + 11006,11015,11038,11035,11058,11032,11025,11039,11040,11051, + 11055,11045,11063,11073,11069,11076,11079,11065,11081,12017, + 12017,11084,11083,11089,12017,11093,11085,12017,11077,12017, + 11098,11099,11101,11105,11109,12017,11114,11115,11117,11118, + 11103,12017,11110,11123,12017,12017,11107,11111,11135,11125, + 11132,12017,12017,11143,11142,11136,11137,12017,11134,11153, + + 11146,11155,11156,11159,11167,11176,11162,11173,11168,12017, + 11175,11187,12017,12017,12017,11183,11178,11194,11192,11200, + 11189,12017,11206,11198,11199,11215,11203,11211,11216,12017, + 11225,11226,12017,12017,11233,11224,12017,11240,12017,12017, + 11228,11230,12017,12017,12017,12017,12017,12017,12017,12017, + 12017,11243,11258,12017,11256,11260,11244,11253,11259,11264, + 12017,11263,11274,11284,11289,12017,11293,12017,11271,11286, + 11296,11277,11302,11292,12017,11298,12017,11313,11287,11304, + 11321,11316,11317,11327,11320,11311,11323,11319,11324,11337, + 11347,11346,11360,11340,11351,11364,11353,11366,11350,11362, + + 11368,11371,11374,11384,11378,11380,11377,12017,12017,12017, + 12017,11392,11390,11412,11405,12017,11413,11415,11417,11419, + 11418,11423,11407,11404,11425,11430,11431,11429,11433,11434, + 11445,11452,11460,11466,11447,11468,11469,11470,12017,11471, + 11472,11473,12017,11476,11457,11482,11483,11474,11487,11485, + 12017,11475,11497,12017,11491,11493,12017,12017,11513,11518, + 11514,11502,11528,11530,11512,11523,11524,11527,11531,12017, + 11534,12017,12017,12017,12017,11529,11537,12017,11545,12017, + 12017,11541,11546,12017,11551,11547,11553,11563,12017,11555, + 11571,11558,11568,11570,11572,11579,11595,11586,12017,12017, + + 11580,11588,11587,11592,11598,11602,12017,11608,11620,11618, + 11629,11625,11628,11632,11635,11611,11636,12017,11614,11622, + 11647,11646,11649,11658,11648,12017,11661,11652,11663,11653, + 11664,11673,11667,11669,11677,11684,11687,12017,11688,12017, + 11690,11701,11693,11698,11699,11700,11694,11711,11726,12017, + 12017,12017,11710,11720,12017,11709,11732,11721,11741,11743, + 11747,11748,11730,11754,11756,11758,11759,11764,11765,11766, + 11768,11775,11770,12017,12017,11777,11779,12017,11791,11800, + 11782,11784,11793,12017,11808,11807,11810,11811,11813,11815, + 12017,11817,11819,11824,12017,11828,12017,12017,11836,11835, + + 11838,11843,11845,12017,12017,12017,11897,11904,11911,11918, + 11925,11932,11939, 100,11946,11953,11960,11967,11974,11981, + 11988,11995,12002,12009 + } ; + +static const flex_int16_t yy_def[4225] = + { 0, + 4206, 1, 4207, 4207, 4208, 4208, 4209, 4209, 4210, 4210, + 4211, 4211, 4212, 4212, 4213, 4213, 4206, 4214, 4206, 4206, + 4206, 4206, 4215, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4216, 4206, 4206, + 4206, 4216, 4217, 4206, 4206, 4206, 4217, 4218, 4206, 4206, + 4206, 4206, 4218, 4219, 4206, 4206, 4206, 4219, 4220, 4206, + 4221, 4206, 4220, 4220, 4222, 4206, 4206, 4206, 4206, 4222, + 4223, 4206, 4206, 4206, 4223, 4214, 4214, 4206, 4224, 4215, + 4224, 4215, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4216, 4216, 4217, 4217, 4218, 4218, + 4206, 4219, 4219, 4220, 4220, 4221, 4221, 4220, 4222, 4222, + 4206, 4223, 4223, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4220, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + + 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4220, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + + 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4206, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, + 4214, 4214, 4220, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4220, 4214, 4214, + + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, + 4214, 4206, 4206, 4214, 4214, 4206, 4206, 4214, 4214, 4206, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, + + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4220, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4206, 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + + 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, + 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4206, 4206, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4206, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4220, 4220, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, + + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + + 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, + + 4214, 4214, 4220, 4214, 4214, 4214, 4214, 4214, 4214, 4206, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + + 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4206, 4214, + 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4206, 4214, 4214, + + 4214, 4214, 4214, 4214, 4206, 4214, 4206, 4214, 4214, 4214, + 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, + 4214, 4214, 4214, 4214, 4214, 4220, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, + 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + + 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4206, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4206, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, + 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + + 4214, 4206, 4214, 4206, 4214, 4214, 4214, 4220, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4206, 4214, + 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, + + 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, + 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, + 4206, 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4220, 4214, 4206, 4214, 4214, 4214, 4206, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4206, 4214, 4214, 4206, 4214, 4214, 4214, + 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, + + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4206, 4214, + 4206, 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, + 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, + 4214, 4206, 4206, 4214, 4206, 4214, 4214, 4214, 4206, 4214, + + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, + 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4206, 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4206, 4214, + 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, + 4214, 4214, 4220, 4214, 4214, 4214, 4214, 4206, 4214, 4214, + 4206, 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4206, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4206, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, + 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4206, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, + + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4206, 4214, 4214, 4206, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4220, 4214, 4206, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, + 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + + 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4206, 4214, 4206, 4214, 4214, 4214, 4214, 4214, + 4206, 4214, 4214, 4214, 4214, 4214, 4206, 4206, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4206, 4214, 4206, + 4214, 4206, 4214, 4214, 4206, 4206, 4214, 4214, 4214, 4214, + 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4206, + 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, + 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4206, + + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4220, 4214, 4214, 4214, 4214, 4206, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4206, 4206, 4206, 4214, 4214, 4206, 4214, + + 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, + 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, + 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4206, 4206, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, + + 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4206, 4214, 4206, 4206, 4206, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, + 4214, 4206, 4206, 4214, 4206, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4206, 4214, 4214, 4206, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4220, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, + 4214, 4206, 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4206, + 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4206, 4206, 4214, 4214, 4214, 4206, + 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4206, + 4214, 4206, 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4206, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, + 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4206, 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, + + 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, + 4206, 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4206, 4214, + 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, + 4206, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4206, 4214, + 4214, 4214, 4214, 4214, 4220, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4206, 4214, 4214, + 4214, 4206, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4206, + 4214, 4214, 4214, 4214, 4214, 4206, 4206, 4214, 4206, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4206, 4214, 4206, 4206, 4206, 4214, 4214, 4214, 4206, 4214, + 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4206, + 4206, 4206, 4214, 4214, 4214, 4206, 4214, 4214, 4206, 4214, + 4206, 4214, 4206, 4214, 4214, 4214, 4206, 4214, 4206, 4214, + + 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4206, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4206, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4206, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4206, 4214, 4206, 4214, 4206, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4206, 4206, 4214, 4214, 4206, + 4214, 4214, 4214, 4206, 4214, 4206, 4214, 4214, 4206, 4214, + 4214, 4206, 4214, 4214, 4214, 4206, 4206, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, + + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4206, + 4214, 4214, 4214, 4206, 4206, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4206, 4206, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, + 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4206, 4206, 4214, 4214, 4206, 4214, + 4214, 4206, 4206, 4214, 4214, 4206, 4214, 4214, 4214, 4214, + + 4214, 4206, 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, + 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4206, 4214, 4214, + 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, + 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4206, 4214, 4214, + 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4206, 4214, + 4214, 4214, 4206, 4206, 4206, 4214, 4214, 4214, 4206, 4206, + 4206, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4206, 4214, + 4206, 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, + + 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4206, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4206, 4206, 4214, 4214, 4214, 4214, 4214, 4206, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, + 4206, 4214, 4214, 4214, 4206, 4214, 4214, 4206, 4214, 4206, + 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, + 4214, 4206, 4214, 4214, 4206, 4206, 4214, 4214, 4214, 4214, + 4214, 4206, 4206, 4214, 4214, 4214, 4214, 4206, 4214, 4214, + + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, + 4214, 4214, 4206, 4206, 4206, 4214, 4214, 4214, 4214, 4214, + 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, + 4214, 4214, 4206, 4206, 4214, 4214, 4206, 4214, 4206, 4206, + 4214, 4214, 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, + 4206, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, + 4206, 4214, 4214, 4214, 4214, 4206, 4214, 4206, 4214, 4214, + 4214, 4214, 4214, 4214, 4206, 4214, 4206, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4206, 4206, + 4206, 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, + 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4206, 4214, 4214, 4206, 4214, 4214, 4206, 4206, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, + 4214, 4206, 4206, 4206, 4206, 4214, 4214, 4206, 4214, 4206, + 4206, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4206, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4206, + + 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, 4214, 4206, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4206, + 4206, 4206, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, 4214, + 4214, 4214, 4214, 4206, 4206, 4214, 4214, 4206, 4214, 4214, + 4214, 4214, 4214, 4206, 4214, 4214, 4214, 4214, 4214, 4214, + 4206, 4214, 4214, 4214, 4206, 4214, 4206, 4206, 4214, 4214, + + 4214, 4214, 4214, 4206, 4206, 0, 4206, 4206, 4206, 4206, + 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, + 4206, 4206, 4206, 4206 + } ; + +static const flex_int16_t yy_nxt[12084] = + { 0, + 18, 19, 20, 21, 22, 23, 22, 18, 18, 18, + 18, 18, 22, 24, 25, 26, 27, 28, 29, 18, + 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, + 40, 41, 42, 43, 44, 45, 18, 18, 46, 47, + 24, 25, 26, 27, 28, 29, 18, 30, 31, 32, + 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, + 43, 44, 45, 18, 18, 46, 49, 50, 51, 49, + 50, 51, 54, 55, 54, 55, 56, 122, 56, 59, + 60, 61, 62, 123, 22, 59, 60, 61, 62, 87, + 22, 65, 66, 67, 65, 66, 67, 88, 165, 165, + + 86, 89, 361, 52, 122, 87, 52, 172, 172, 57, + 123, 57, 175, 76, 77, 78, 79, 63, 22, 76, + 77, 78, 79, 63, 22, 82, 83, 84, 68, 99, + 87, 68, 19, 20, 21, 70, 71, 72, 19, 20, + 21, 70, 71, 72, 82, 83, 84, 124, 110, 182, + 182, 80, 73, 164, 175, 87, 99, 80, 73, 87, + 440, 91, 85, 91, 91, 87, 91, 1491, 111, 88, + 74, 87, 91, 89, 124, 110, 74, 165, 165, 73, + 164, 85, 172, 172, 167, 73, 114, 167, 112, 87, + 163, 183, 133, 178, 115, 111, 100, 87, 87, 92, + + 93, 94, 113, 101, 95, 116, 175, 102, 181, 96, + 103, 97, 87, 114, 87, 112, 87, 163, 98, 133, + 178, 115, 87, 100, 87, 182, 182, 93, 94, 113, + 101, 95, 116, 187, 102, 185, 96, 103, 97, 169, + 184, 169, 169, 125, 169, 98, 104, 189, 87, 215, + 105, 126, 140, 106, 87, 107, 108, 127, 87, 141, + 187, 128, 185, 190, 87, 87, 109, 184, 87, 87, + 125, 186, 87, 104, 189, 180, 215, 105, 126, 140, + 106, 129, 107, 108, 127, 130, 141, 87, 128, 206, + 190, 87, 160, 109, 117, 175, 161, 118, 186, 131, + + 162, 132, 87, 152, 119, 153, 120, 87, 129, 173, + 121, 171, 130, 193, 154, 170, 206, 87, 87, 160, + 155, 117, 87, 161, 118, 168, 131, 162, 132, 87, + 152, 119, 153, 120, 156, 166, 209, 121, 134, 236, + 193, 154, 135, 87, 157, 87, 136, 155, 158, 159, + 188, 174, 137, 174, 174, 138, 174, 87, 87, 87, + 194, 156, 139, 209, 87, 134, 236, 167, 183, 135, + 167, 157, 191, 136, 274, 158, 159, 188, 87, 137, + 87, 86, 138, 86, 86, 192, 86, 194, 202, 139, + 142, 217, 86, 87, 143, 91, 87, 91, 91, 191, + + 91, 274, 203, 181, 144, 145, 179, 146, 179, 179, + 87, 179, 192, 87, 213, 202, 87, 142, 217, 180, + 292, 143, 1319, 87, 87, 86, 309, 86, 86, 203, + 86, 144, 145, 177, 146, 147, 86, 91, 148, 91, + 91, 213, 91, 195, 196, 149, 197, 292, 91, 150, + 151, 204, 198, 87, 199, 214, 87, 87, 87, 200, + 201, 175, 147, 173, 87, 148, 226, 87, 87, 205, + 195, 196, 149, 197, 87, 92, 150, 151, 218, 198, + 207, 199, 214, 87, 210, 211, 200, 201, 216, 208, + 223, 87, 212, 226, 171, 87, 205, 235, 508, 225, + + 87, 219, 87, 170, 220, 218, 349, 207, 168, 229, + 227, 210, 211, 230, 224, 216, 208, 221, 222, 212, + 87, 87, 87, 239, 235, 87, 225, 87, 219, 231, + 228, 220, 87, 87, 232, 234, 229, 227, 87, 233, + 230, 224, 87, 87, 221, 222, 237, 240, 87, 241, + 239, 242, 243, 238, 245, 244, 231, 228, 87, 246, + 87, 232, 234, 87, 87, 87, 233, 252, 87, 251, + 166, 87, 4206, 237, 240, 87, 241, 87, 242, 243, + 238, 245, 244, 247, 250, 87, 246, 248, 257, 254, + 253, 87, 353, 249, 252, 87, 251, 87, 255, 259, + + 87, 258, 87, 266, 256, 87, 355, 87, 260, 359, + 247, 250, 87, 263, 248, 257, 254, 253, 87, 261, + 249, 264, 267, 262, 87, 255, 259, 87, 258, 265, + 266, 256, 87, 272, 270, 260, 275, 4206, 87, 268, + 263, 87, 269, 273, 87, 271, 261, 87, 87, 267, + 262, 87, 279, 87, 87, 276, 265, 284, 281, 280, + 272, 270, 282, 275, 277, 283, 268, 87, 4206, 269, + 273, 87, 271, 87, 4206, 87, 278, 285, 4206, 279, + 87, 87, 276, 4206, 284, 281, 280, 87, 286, 282, + 87, 277, 283, 169, 4206, 169, 169, 174, 169, 174, + + 174, 287, 174, 278, 285, 91, 288, 91, 91, 290, + 91, 179, 175, 179, 179, 286, 179, 291, 87, 295, + 289, 296, 297, 87, 300, 298, 293, 4206, 287, 87, + 87, 87, 299, 294, 301, 87, 290, 87, 87, 302, + 87, 4206, 306, 177, 291, 87, 295, 289, 296, 297, + 87, 300, 298, 293, 87, 319, 303, 87, 320, 299, + 294, 301, 304, 305, 87, 87, 302, 310, 307, 306, + 308, 311, 321, 87, 324, 312, 323, 322, 325, 327, + 328, 87, 319, 326, 87, 320, 87, 1062, 87, 304, + 305, 330, 313, 834, 87, 307, 87, 308, 87, 87, + + 87, 324, 312, 323, 87, 325, 327, 331, 329, 4206, + 326, 332, 87, 333, 87, 334, 87, 362, 330, 313, + 314, 87, 87, 337, 338, 315, 87, 87, 4206, 87, + 316, 339, 87, 345, 331, 329, 317, 318, 332, 346, + 333, 335, 334, 87, 336, 4206, 87, 314, 87, 87, + 337, 338, 315, 87, 347, 87, 87, 316, 339, 348, + 345, 87, 4206, 317, 318, 351, 346, 350, 335, 356, + 87, 336, 340, 354, 364, 341, 352, 342, 358, 4206, + 87, 347, 367, 357, 87, 360, 348, 4206, 363, 343, + 4206, 344, 4206, 87, 350, 368, 369, 87, 87, 340, + + 354, 87, 341, 352, 342, 358, 87, 87, 365, 87, + 357, 87, 360, 366, 87, 363, 343, 87, 344, 370, + 371, 374, 368, 369, 87, 372, 87, 377, 376, 4206, + 375, 378, 379, 87, 373, 365, 382, 4206, 389, 87, + 366, 87, 87, 87, 380, 385, 370, 371, 374, 87, + 87, 87, 372, 87, 377, 376, 87, 375, 378, 379, + 383, 373, 381, 382, 387, 384, 386, 87, 392, 388, + 87, 380, 385, 87, 87, 87, 390, 391, 393, 394, + 395, 398, 397, 4206, 87, 87, 87, 87, 396, 381, + 87, 387, 87, 386, 399, 392, 388, 400, 402, 407, + + 406, 87, 87, 390, 391, 403, 394, 395, 398, 397, + 87, 401, 404, 87, 405, 396, 409, 410, 4206, 87, + 87, 4206, 408, 414, 412, 87, 87, 87, 87, 87, + 87, 87, 403, 422, 411, 419, 413, 415, 401, 404, + 87, 405, 87, 87, 410, 87, 416, 417, 87, 408, + 414, 412, 175, 418, 87, 420, 421, 87, 423, 87, + 87, 411, 419, 413, 415, 87, 87, 424, 426, 425, + 429, 4206, 427, 416, 417, 428, 434, 430, 87, 87, + 418, 4206, 420, 421, 87, 431, 432, 435, 87, 87, + 87, 87, 436, 439, 424, 87, 425, 429, 87, 427, + + 87, 433, 428, 87, 430, 87, 437, 441, 87, 438, + 452, 87, 431, 432, 435, 87, 87, 87, 442, 436, + 439, 443, 447, 4206, 445, 4206, 444, 454, 433, 448, + 4206, 456, 87, 437, 441, 87, 438, 87, 446, 449, + 450, 461, 87, 459, 87, 442, 87, 87, 443, 447, + 87, 445, 87, 444, 451, 453, 448, 87, 87, 87, + 455, 457, 87, 87, 460, 446, 449, 450, 87, 87, + 459, 462, 464, 87, 465, 467, 4206, 4206, 458, 87, + 468, 451, 453, 87, 87, 87, 87, 455, 457, 87, + 466, 460, 469, 478, 4206, 463, 87, 471, 4206, 464, + + 470, 465, 467, 87, 472, 458, 87, 468, 474, 87, + 4206, 479, 87, 480, 473, 476, 87, 466, 526, 469, + 87, 475, 463, 87, 471, 87, 87, 470, 481, 482, + 87, 472, 477, 4206, 87, 474, 490, 491, 479, 87, + 492, 473, 476, 502, 87, 87, 87, 4206, 475, 531, + 87, 503, 87, 501, 87, 481, 482, 87, 509, 477, + 483, 510, 87, 490, 491, 484, 87, 492, 485, 4206, + 502, 504, 505, 486, 487, 488, 489, 87, 503, 506, + 501, 87, 87, 87, 507, 509, 4206, 483, 87, 519, + 4206, 4206, 484, 4206, 4206, 485, 87, 513, 504, 505, + + 486, 487, 488, 489, 493, 517, 494, 511, 495, 87, + 512, 87, 518, 514, 4206, 521, 87, 87, 496, 497, + 498, 499, 500, 87, 513, 87, 515, 516, 87, 520, + 87, 493, 517, 494, 511, 495, 87, 512, 522, 518, + 514, 87, 521, 524, 525, 496, 497, 498, 499, 500, + 523, 87, 87, 515, 516, 87, 520, 527, 4206, 528, + 538, 529, 530, 537, 87, 522, 87, 87, 87, 539, + 524, 525, 87, 536, 87, 545, 532, 523, 533, 553, + 87, 552, 551, 550, 527, 87, 528, 534, 529, 530, + 537, 87, 87, 540, 535, 542, 539, 543, 544, 541, + + 536, 87, 87, 532, 594, 533, 87, 87, 87, 551, + 550, 87, 87, 87, 534, 87, 546, 554, 568, 87, + 540, 535, 542, 567, 543, 544, 541, 4206, 599, 547, + 87, 594, 548, 573, 549, 4206, 569, 87, 572, 87, + 87, 570, 87, 546, 554, 568, 571, 4206, 590, 574, + 567, 87, 4206, 87, 575, 599, 547, 87, 87, 548, + 573, 549, 555, 569, 556, 572, 586, 87, 570, 587, + 557, 595, 588, 571, 558, 598, 574, 589, 87, 559, + 87, 575, 560, 87, 593, 4206, 4206, 87, 87, 555, + 175, 556, 591, 586, 597, 602, 587, 557, 595, 592, + + 596, 558, 87, 613, 87, 4206, 559, 87, 87, 560, + 561, 593, 562, 87, 600, 87, 601, 607, 87, 591, + 605, 597, 602, 87, 87, 563, 592, 596, 564, 4206, + 565, 603, 566, 4206, 4206, 87, 87, 561, 606, 562, + 604, 600, 87, 601, 607, 4206, 4206, 605, 4206, 608, + 4206, 4206, 563, 4206, 4206, 564, 87, 565, 4206, 566, + 576, 577, 610, 87, 611, 606, 578, 604, 614, 609, + 579, 580, 581, 582, 583, 615, 608, 584, 612, 620, + 585, 87, 87, 617, 87, 87, 87, 576, 577, 610, + 87, 611, 87, 578, 87, 614, 609, 579, 580, 581, + + 582, 583, 615, 616, 584, 612, 618, 585, 619, 622, + 617, 87, 621, 4206, 87, 623, 626, 87, 87, 87, + 87, 624, 625, 87, 627, 632, 636, 628, 630, 629, + 616, 87, 631, 618, 639, 619, 622, 87, 87, 621, + 87, 87, 623, 626, 633, 634, 655, 87, 4206, 87, + 87, 627, 632, 636, 628, 630, 629, 87, 637, 631, + 87, 639, 635, 641, 656, 642, 640, 644, 643, 87, + 660, 633, 634, 638, 87, 87, 87, 87, 87, 4206, + 87, 87, 87, 657, 658, 637, 659, 645, 646, 635, + 641, 656, 642, 640, 644, 643, 662, 661, 663, 647, + + 638, 648, 87, 87, 87, 87, 87, 87, 664, 665, + 657, 658, 666, 659, 645, 646, 668, 87, 674, 87, + 667, 87, 669, 662, 661, 663, 647, 673, 648, 649, + 87, 87, 87, 671, 676, 664, 665, 650, 651, 666, + 670, 652, 653, 668, 672, 654, 87, 667, 87, 87, + 87, 87, 675, 87, 673, 87, 649, 87, 87, 679, + 671, 676, 680, 677, 650, 651, 685, 670, 652, 653, + 678, 672, 654, 87, 87, 87, 87, 684, 688, 675, + 681, 87, 686, 687, 87, 689, 679, 682, 683, 680, + 677, 87, 87, 685, 691, 690, 692, 678, 87, 693, + + 87, 87, 87, 696, 684, 688, 87, 681, 87, 686, + 687, 694, 689, 695, 682, 683, 87, 697, 87, 698, + 701, 691, 690, 692, 699, 87, 693, 700, 87, 87, + 696, 702, 87, 4206, 87, 703, 704, 705, 694, 87, + 695, 87, 706, 87, 697, 708, 698, 707, 4206, 709, + 87, 699, 87, 87, 700, 87, 87, 87, 702, 711, + 87, 712, 703, 704, 705, 710, 713, 87, 87, 706, + 714, 715, 708, 722, 707, 87, 709, 87, 716, 717, + 87, 720, 724, 721, 4206, 725, 711, 718, 712, 723, + 719, 87, 710, 713, 726, 87, 730, 714, 87, 87, + + 722, 87, 87, 87, 733, 716, 727, 729, 720, 724, + 728, 87, 725, 731, 718, 87, 723, 719, 87, 87, + 87, 726, 87, 732, 736, 87, 735, 734, 87, 739, + 737, 740, 738, 727, 729, 87, 87, 728, 87, 87, + 731, 87, 741, 742, 743, 4206, 87, 87, 746, 744, + 732, 736, 87, 735, 734, 87, 739, 737, 740, 738, + 87, 755, 87, 758, 87, 745, 87, 757, 87, 741, + 742, 743, 756, 87, 759, 746, 744, 774, 87, 87, + 760, 4206, 87, 777, 4206, 4206, 87, 87, 755, 87, + 758, 799, 745, 747, 757, 767, 4206, 776, 748, 756, + + 749, 759, 87, 761, 774, 762, 750, 760, 751, 763, + 777, 752, 753, 764, 87, 768, 772, 87, 754, 87, + 747, 87, 767, 87, 776, 748, 773, 749, 87, 771, + 761, 87, 762, 750, 765, 751, 763, 766, 752, 753, + 764, 769, 768, 775, 770, 754, 87, 87, 87, 779, + 778, 782, 87, 773, 87, 781, 771, 87, 780, 783, + 87, 765, 784, 87, 766, 786, 790, 785, 769, 4206, + 775, 770, 787, 4206, 87, 87, 779, 778, 782, 87, + 87, 87, 781, 789, 87, 780, 783, 791, 87, 784, + 788, 87, 786, 790, 785, 87, 792, 793, 794, 787, + + 795, 800, 796, 797, 87, 87, 801, 804, 798, 87, + 789, 4206, 4206, 87, 791, 87, 87, 788, 87, 87, + 87, 803, 813, 792, 793, 794, 87, 795, 800, 796, + 797, 175, 802, 801, 87, 798, 806, 805, 807, 87, + 87, 808, 809, 810, 812, 87, 87, 811, 803, 87, + 815, 816, 818, 4206, 87, 87, 4206, 814, 817, 802, + 4206, 87, 819, 806, 805, 807, 87, 87, 808, 809, + 810, 87, 87, 87, 811, 87, 87, 821, 820, 818, + 822, 828, 87, 87, 814, 817, 823, 824, 825, 819, + 87, 832, 87, 833, 835, 826, 87, 829, 827, 87, + + 836, 837, 830, 87, 821, 820, 87, 822, 828, 831, + 87, 838, 839, 823, 824, 825, 4206, 840, 87, 843, + 87, 841, 826, 87, 4206, 827, 87, 87, 87, 87, + 87, 842, 844, 845, 87, 847, 831, 87, 850, 846, + 848, 849, 87, 87, 87, 851, 843, 87, 841, 853, + 852, 855, 856, 87, 87, 87, 87, 866, 842, 844, + 845, 87, 847, 87, 87, 850, 846, 848, 849, 854, + 857, 858, 851, 87, 87, 859, 87, 852, 855, 856, + 861, 87, 860, 862, 87, 863, 87, 868, 864, 87, + 4206, 867, 87, 87, 87, 876, 854, 857, 858, 87, + + 87, 87, 859, 874, 865, 87, 87, 861, 873, 860, + 862, 87, 863, 87, 868, 864, 869, 87, 867, 875, + 877, 870, 876, 878, 871, 872, 879, 4206, 87, 87, + 874, 865, 880, 881, 882, 873, 883, 884, 4206, 87, + 87, 889, 87, 869, 87, 87, 875, 877, 870, 885, + 878, 871, 872, 879, 87, 888, 890, 87, 891, 880, + 881, 87, 887, 883, 884, 87, 87, 893, 889, 87, + 87, 886, 87, 897, 896, 892, 885, 87, 87, 894, + 87, 895, 888, 890, 87, 891, 898, 87, 87, 887, + 902, 899, 901, 903, 893, 87, 87, 900, 886, 87, + + 897, 896, 892, 904, 87, 87, 894, 905, 895, 87, + 906, 907, 87, 87, 909, 910, 87, 902, 899, 901, + 903, 87, 916, 911, 900, 908, 912, 913, 922, 87, + 904, 920, 914, 87, 905, 918, 87, 906, 907, 915, + 87, 924, 910, 87, 87, 917, 87, 87, 87, 916, + 911, 919, 908, 87, 87, 87, 4206, 921, 920, 914, + 87, 923, 918, 87, 87, 87, 915, 925, 926, 928, + 87, 927, 917, 87, 929, 931, 934, 941, 919, 930, + 87, 933, 4206, 87, 921, 932, 4206, 943, 923, 87, + 87, 87, 942, 87, 925, 926, 928, 87, 927, 87, + + 87, 4206, 931, 934, 944, 87, 87, 946, 933, 87, + 4206, 945, 932, 935, 943, 936, 947, 4206, 87, 942, + 949, 948, 937, 4206, 952, 4206, 87, 951, 938, 939, + 940, 944, 4206, 87, 946, 950, 87, 87, 945, 87, + 935, 87, 936, 947, 87, 4206, 959, 949, 948, 937, + 953, 952, 957, 955, 968, 938, 939, 940, 956, 87, + 954, 958, 950, 87, 961, 4206, 960, 963, 4206, 962, + 978, 87, 87, 959, 87, 87, 87, 953, 87, 957, + 970, 964, 969, 965, 4206, 87, 87, 954, 958, 87, + 87, 961, 87, 960, 963, 966, 962, 967, 87, 971, + + 972, 4206, 87, 87, 87, 87, 973, 970, 964, 969, + 965, 87, 87, 974, 975, 87, 977, 980, 979, 981, + 4206, 87, 966, 976, 967, 87, 971, 972, 87, 982, + 87, 984, 985, 973, 87, 989, 983, 87, 87, 87, + 974, 975, 87, 977, 980, 979, 981, 87, 986, 987, + 976, 1021, 988, 4206, 1039, 87, 982, 87, 984, 985, + 87, 87, 989, 983, 990, 991, 992, 994, 995, 993, + 4206, 996, 998, 87, 87, 986, 987, 87, 997, 988, + 999, 87, 1002, 87, 1000, 87, 87, 4206, 87, 87, + 1001, 990, 991, 992, 994, 995, 993, 87, 996, 998, + + 87, 87, 1003, 87, 87, 997, 1004, 999, 1005, 1002, + 1006, 1000, 1007, 87, 87, 1008, 1009, 1001, 1010, 1011, + 4206, 87, 87, 87, 1014, 1012, 4206, 4206, 4206, 1003, + 87, 1013, 1016, 1004, 87, 1005, 87, 1006, 1015, 1007, + 87, 87, 1008, 1009, 87, 1010, 1011, 87, 1017, 1018, + 87, 1014, 1012, 87, 1019, 1020, 1022, 4206, 1013, 1016, + 1023, 87, 1024, 4206, 1025, 1015, 1028, 87, 1026, 1031, + 87, 4206, 87, 1030, 1046, 1017, 1018, 87, 175, 87, + 1027, 1019, 1020, 1022, 87, 87, 87, 1023, 1029, 1024, + 87, 1025, 87, 1028, 1032, 1026, 87, 1036, 1034, 1037, + + 1030, 87, 1033, 1035, 1038, 1040, 87, 1027, 1043, 1041, + 1042, 4206, 87, 87, 1047, 1029, 87, 87, 1050, 87, + 87, 1032, 1048, 87, 1036, 1044, 1037, 87, 1049, 1033, + 87, 1038, 1040, 87, 1045, 1043, 1041, 1042, 87, 1051, + 87, 87, 1052, 87, 87, 1050, 87, 1053, 87, 1048, + 1061, 4206, 1044, 1063, 87, 1049, 4206, 1069, 4206, 1066, + 1065, 1045, 87, 87, 87, 4206, 1051, 1070, 87, 1052, + 1064, 1068, 4206, 4206, 1053, 1054, 1077, 1061, 1055, 4206, + 1063, 87, 1056, 1067, 1069, 1057, 1066, 1065, 87, 87, + 87, 1071, 1058, 1059, 1070, 1060, 4206, 1064, 1068, 1072, + + 87, 1075, 1054, 4206, 87, 1055, 1074, 1073, 87, 1056, + 1067, 1100, 1057, 1087, 87, 87, 1101, 87, 1071, 1058, + 1059, 1088, 1060, 87, 1076, 87, 1072, 87, 1075, 1086, + 1089, 87, 1094, 1074, 1073, 87, 87, 1090, 1091, 87, + 1087, 87, 4206, 87, 4206, 4206, 4206, 4206, 1088, 1096, + 1092, 1076, 1078, 1079, 87, 1080, 1086, 1089, 1081, 1094, + 87, 1103, 1097, 1082, 1090, 1091, 1093, 1095, 1099, 1083, + 1084, 87, 1085, 87, 87, 87, 1096, 1092, 87, 1078, + 1079, 1098, 1080, 87, 1102, 1081, 1104, 87, 1103, 1097, + 1082, 1106, 87, 1093, 1095, 1099, 1083, 1084, 87, 1085, + + 1105, 1107, 1108, 1109, 87, 1110, 1111, 1113, 1098, 1112, + 1115, 1102, 1114, 1104, 1116, 87, 1119, 87, 1106, 87, + 4206, 87, 87, 87, 87, 87, 87, 1105, 1107, 1108, + 1109, 87, 87, 1111, 1113, 87, 1112, 1115, 1117, 1114, + 1118, 1116, 87, 1119, 1120, 1121, 87, 1122, 4206, 1123, + 1126, 1125, 87, 1124, 1127, 87, 87, 1128, 1130, 87, + 87, 1129, 87, 1131, 4206, 1117, 87, 1118, 1132, 1133, + 1134, 1120, 1121, 1135, 1122, 87, 1123, 1126, 1125, 87, + 1124, 1136, 1141, 87, 1128, 87, 87, 1138, 1129, 1137, + 87, 87, 1139, 1140, 87, 87, 1133, 87, 87, 1142, + + 1135, 1144, 87, 1143, 87, 87, 1146, 1145, 1136, 1141, + 1147, 1148, 1150, 1149, 1138, 1153, 1137, 4206, 4206, 1139, + 87, 87, 87, 1151, 1152, 87, 87, 87, 1144, 1157, + 1143, 87, 87, 87, 1145, 87, 1158, 87, 1148, 1150, + 1149, 1156, 1153, 1154, 1155, 87, 1159, 87, 1160, 87, + 1151, 1152, 87, 1161, 87, 87, 87, 1162, 4206, 1163, + 1164, 1166, 87, 1158, 1167, 87, 87, 87, 1156, 4206, + 1154, 1155, 1165, 1159, 1171, 87, 1169, 1168, 87, 87, + 1170, 87, 87, 1172, 1162, 87, 1163, 1164, 1166, 87, + 1173, 1167, 87, 1175, 1174, 1177, 87, 87, 1176, 1165, + + 1179, 1171, 4206, 1169, 1168, 87, 1178, 1170, 87, 1183, + 1172, 87, 1186, 1182, 87, 87, 4206, 1173, 87, 1184, + 1175, 1174, 1177, 1180, 87, 1176, 87, 1179, 1181, 1185, + 87, 87, 1191, 1178, 1188, 87, 1183, 87, 1187, 1186, + 1182, 87, 1189, 87, 1192, 1193, 1184, 1195, 1194, 4206, + 1190, 87, 4206, 87, 1196, 87, 1185, 87, 1199, 1191, + 1197, 1188, 1206, 87, 1201, 1187, 87, 87, 4206, 1189, + 87, 87, 1193, 1198, 1195, 1194, 87, 1190, 1203, 1200, + 87, 1196, 87, 1204, 1202, 1199, 87, 1197, 87, 1205, + 1207, 1201, 87, 1209, 87, 1210, 1211, 87, 1208, 1213, + + 1198, 87, 1214, 87, 87, 1203, 1200, 1212, 87, 87, + 1204, 1202, 1216, 87, 1215, 87, 1205, 1207, 87, 1217, + 1209, 1228, 1210, 1211, 1218, 1208, 1213, 87, 87, 1214, + 1219, 87, 4206, 1220, 1212, 1221, 87, 1222, 1223, 87, + 87, 1215, 1224, 1229, 87, 87, 1217, 87, 87, 1226, + 1225, 1218, 1227, 87, 87, 1230, 87, 1219, 87, 87, + 1220, 1231, 1221, 1233, 1222, 1223, 1234, 1232, 87, 1224, + 87, 1235, 1236, 1237, 1240, 87, 1226, 1225, 1241, 1227, + 87, 87, 1230, 1242, 87, 1244, 1245, 1243, 1246, 1238, + 1233, 1249, 1252, 87, 1232, 87, 87, 1239, 87, 1236, + + 1237, 1240, 1247, 87, 87, 1241, 87, 1248, 1250, 87, + 1242, 87, 87, 1251, 1243, 1246, 1238, 87, 87, 87, + 87, 87, 1253, 87, 1239, 1254, 87, 1259, 1255, 1247, + 1256, 87, 1260, 1262, 1248, 1250, 1261, 4206, 1263, 87, + 1251, 1264, 4206, 1257, 1265, 1258, 87, 1267, 87, 1253, + 87, 87, 1254, 4206, 87, 1255, 87, 1256, 1268, 175, + 1262, 1266, 4206, 1261, 87, 1263, 87, 1270, 1264, 87, + 1257, 1265, 1258, 87, 1267, 1269, 1271, 1273, 87, 1274, + 87, 1283, 1284, 1275, 1285, 1268, 87, 1272, 1266, 87, + 4206, 87, 4206, 1286, 1270, 4206, 87, 1282, 4206, 1287, + + 87, 87, 1269, 1271, 1273, 87, 1274, 87, 1283, 1284, + 1275, 1285, 4206, 1294, 1272, 1276, 4206, 1277, 1290, 87, + 87, 1278, 1291, 1279, 1282, 87, 1287, 1292, 1280, 1288, + 1289, 1309, 1296, 1281, 87, 87, 87, 1297, 1293, 87, + 1294, 4206, 1276, 1298, 1277, 1290, 1295, 4206, 1278, 1291, + 1279, 87, 87, 1299, 1292, 1280, 1288, 1289, 87, 87, + 1281, 87, 1300, 1302, 87, 1293, 87, 1303, 1306, 1307, + 1298, 1304, 1310, 1295, 1301, 87, 4206, 1318, 87, 1308, + 1299, 1305, 1312, 87, 1311, 87, 1314, 1316, 1313, 1300, + 1302, 87, 87, 87, 1303, 1306, 1307, 87, 1304, 1310, + + 87, 1301, 1315, 1317, 87, 1320, 1308, 87, 1305, 1312, + 87, 1311, 1321, 1314, 1322, 1313, 1323, 87, 1331, 87, + 1332, 1333, 87, 1334, 87, 87, 1335, 4206, 1344, 1315, + 4206, 4206, 1336, 87, 87, 87, 4206, 87, 87, 1321, + 4206, 1322, 87, 1323, 1324, 1331, 1337, 1332, 1333, 1325, + 1334, 1326, 87, 1335, 87, 1338, 1339, 1327, 1341, 1336, + 87, 1340, 1328, 1329, 1342, 87, 87, 87, 87, 1330, + 87, 1324, 87, 1337, 87, 1343, 1325, 1345, 1326, 1346, + 1351, 1354, 1338, 1339, 1327, 1341, 87, 1348, 1340, 1328, + 1329, 1342, 1347, 1352, 87, 1357, 1330, 1355, 87, 87, + + 1349, 87, 1343, 1350, 1345, 4206, 1346, 87, 1353, 87, + 1356, 1358, 87, 87, 1348, 87, 87, 87, 87, 1347, + 1352, 87, 1357, 1359, 1355, 87, 1360, 1349, 4206, 1362, + 1350, 1361, 1363, 1364, 1365, 1353, 1366, 1356, 1358, 87, + 1369, 1368, 87, 1367, 87, 1370, 4206, 87, 87, 87, + 87, 1371, 87, 1360, 1372, 87, 1362, 1375, 1361, 1363, + 1364, 87, 87, 1366, 87, 1376, 87, 1369, 1368, 1373, + 1367, 1374, 1370, 1377, 1381, 87, 87, 1378, 1371, 1379, + 87, 1372, 1380, 87, 1375, 87, 87, 87, 1383, 1382, + 1387, 1384, 1376, 4206, 87, 87, 1373, 1385, 1374, 87, + + 1377, 1381, 87, 1386, 1378, 87, 1379, 1393, 1390, 1394, + 1399, 1388, 1389, 1400, 87, 1383, 1382, 87, 1384, 87, + 87, 87, 87, 1391, 1385, 87, 1395, 1396, 1392, 87, + 1386, 87, 87, 1397, 1393, 1390, 1394, 1398, 1388, 1389, + 87, 1401, 87, 1403, 1402, 87, 1423, 1404, 87, 87, + 1391, 87, 4206, 1395, 1396, 1392, 87, 87, 87, 87, + 1397, 1405, 1407, 87, 1398, 1408, 1406, 1409, 1401, 4206, + 1403, 1402, 1410, 1411, 1404, 1412, 1413, 1414, 87, 87, + 1417, 1418, 87, 1421, 87, 1425, 87, 4206, 87, 1407, + 4206, 87, 1408, 87, 1409, 4206, 87, 87, 87, 1410, + + 1411, 87, 1412, 1413, 1414, 1415, 1416, 1417, 1418, 1419, + 1421, 1422, 1420, 1426, 1428, 1424, 4206, 87, 1429, 87, + 87, 87, 87, 87, 1427, 87, 1430, 87, 1431, 1435, + 1432, 4206, 1415, 1416, 87, 4206, 1419, 1433, 1422, 1420, + 1426, 1428, 1424, 1434, 87, 1429, 87, 87, 1438, 1436, + 87, 1427, 87, 1430, 87, 1431, 1435, 1432, 1437, 87, + 1439, 1440, 1441, 87, 1433, 1443, 1444, 1442, 1445, 1446, + 1434, 87, 87, 87, 1447, 1438, 1436, 1448, 87, 4206, + 87, 87, 1449, 87, 1450, 1437, 87, 1439, 1440, 1441, + 1452, 87, 87, 87, 1442, 1445, 1446, 87, 87, 1451, + + 1454, 1447, 1453, 87, 1448, 1455, 87, 1456, 1457, 1449, + 1459, 1450, 1461, 4206, 87, 4206, 87, 1452, 1458, 1460, + 1464, 1462, 1463, 1465, 1467, 4206, 1451, 87, 4206, 1453, + 87, 87, 87, 4206, 1466, 1457, 1469, 87, 1468, 87, + 87, 87, 87, 87, 87, 1458, 1460, 1464, 1462, 1463, + 87, 87, 1470, 1471, 87, 87, 87, 1472, 1474, 1473, + 1476, 1466, 1478, 1469, 1475, 1468, 87, 87, 1477, 1481, + 87, 87, 1484, 1480, 1482, 87, 87, 1479, 4206, 1470, + 1471, 87, 87, 1485, 1472, 1474, 1473, 1476, 87, 1478, + 87, 1475, 87, 1483, 87, 1477, 1487, 1488, 1489, 1484, + + 1480, 87, 4206, 1486, 1479, 87, 87, 1490, 1492, 87, + 87, 87, 1499, 87, 1493, 1495, 87, 87, 1494, 1496, + 1483, 87, 1498, 1487, 1500, 1489, 87, 4206, 1497, 87, + 1486, 1501, 87, 4206, 1490, 1492, 87, 1502, 87, 87, + 87, 1493, 1495, 87, 1504, 1494, 1496, 1503, 1505, 1498, + 1506, 1500, 1508, 87, 175, 1497, 1507, 87, 1501, 87, + 87, 1509, 1510, 1512, 1502, 87, 1513, 1514, 4206, 1511, + 87, 1504, 1515, 87, 1503, 1505, 87, 1506, 87, 1508, + 1516, 1517, 1519, 1507, 87, 1518, 87, 1520, 1509, 87, + 1523, 87, 1521, 1522, 1514, 87, 1511, 4206, 87, 1515, + + 87, 1525, 87, 87, 87, 87, 1526, 1516, 1517, 1519, + 87, 1527, 1518, 1524, 1520, 87, 1528, 1523, 1529, 1521, + 1522, 87, 1530, 87, 87, 87, 87, 1531, 1525, 1532, + 1533, 1534, 1535, 1526, 1536, 87, 4206, 4206, 1527, 87, + 1524, 1537, 1544, 1528, 87, 87, 4206, 87, 87, 1530, + 87, 1538, 1542, 1545, 1531, 87, 1532, 1533, 1543, 1535, + 1539, 1536, 1540, 87, 87, 1541, 1546, 1547, 1537, 1544, + 1548, 1549, 4206, 87, 1550, 87, 1556, 4206, 1538, 1542, + 87, 87, 87, 87, 87, 1543, 87, 1539, 1552, 1540, + 1551, 1553, 1541, 1546, 1547, 87, 1554, 1548, 1549, 87, + + 1557, 1550, 1560, 1558, 87, 1555, 87, 1561, 87, 1559, + 87, 1562, 1566, 87, 4206, 1552, 87, 1551, 1553, 1563, + 87, 1564, 87, 1554, 1567, 87, 4206, 1557, 87, 1560, + 1558, 1565, 1555, 87, 87, 87, 1559, 1568, 1562, 1566, + 1569, 87, 87, 1574, 1573, 1571, 1563, 1570, 1564, 87, + 1575, 1567, 87, 87, 1572, 87, 87, 1578, 1565, 1579, + 1576, 1583, 4206, 87, 1568, 87, 87, 1569, 87, 87, + 1574, 1573, 1571, 1577, 1570, 1584, 1580, 1575, 1581, 87, + 87, 1572, 87, 1585, 1578, 1587, 1579, 1576, 87, 1582, + 87, 1586, 1589, 87, 87, 1593, 1588, 87, 1590, 1591, + + 1577, 87, 1584, 1580, 87, 1581, 87, 87, 1592, 87, + 1585, 1595, 1587, 1598, 1594, 1597, 1582, 1596, 1586, 1589, + 87, 87, 1600, 1588, 1599, 1590, 1591, 87, 87, 87, + 1601, 87, 87, 87, 1603, 1592, 1607, 1605, 1602, 1604, + 1598, 1594, 1597, 87, 1596, 87, 1606, 4206, 1608, 1600, + 87, 1599, 87, 87, 1616, 1617, 4206, 1601, 1619, 87, + 1618, 1624, 1622, 1607, 1605, 1602, 87, 4206, 1623, 87, + 1620, 4206, 4206, 1606, 87, 1608, 1609, 1621, 87, 87, + 1610, 1616, 1617, 1611, 1612, 87, 87, 1618, 1613, 1622, + 87, 1625, 1626, 87, 1614, 1623, 87, 1620, 1615, 87, + + 1627, 1629, 87, 1609, 1621, 1637, 1628, 1610, 1630, 1638, + 1611, 1612, 87, 87, 87, 1613, 1631, 4206, 1625, 1626, + 1632, 1614, 1633, 1634, 87, 1615, 87, 1627, 1629, 1635, + 87, 1636, 1640, 1628, 87, 1630, 1639, 87, 87, 1641, + 1643, 87, 1644, 1631, 87, 1642, 87, 1632, 1646, 1633, + 1634, 1648, 87, 87, 1647, 87, 1635, 87, 1636, 1640, + 87, 1645, 87, 1639, 1649, 1651, 1641, 1643, 1657, 1644, + 87, 1650, 1642, 1662, 1658, 87, 1659, 4206, 4206, 87, + 87, 1647, 1663, 87, 1660, 1661, 87, 87, 1645, 87, + 87, 1649, 1651, 1668, 87, 1657, 1667, 1669, 1650, 1652, + + 1662, 1658, 87, 1659, 1653, 87, 1654, 1664, 1655, 1663, + 1656, 1665, 1666, 87, 87, 1672, 4206, 87, 87, 87, + 87, 87, 1670, 1667, 87, 1674, 1652, 1671, 1673, 87, + 1675, 1653, 1676, 1654, 1664, 1655, 1678, 1656, 1665, 1666, + 1677, 87, 1672, 87, 1685, 87, 1680, 87, 87, 1679, + 1684, 1686, 1674, 1681, 87, 1673, 1683, 1675, 87, 1676, + 1682, 87, 87, 1678, 87, 1687, 87, 1677, 87, 87, + 87, 1685, 1688, 1680, 1689, 1690, 1679, 1691, 1686, 4206, + 1681, 1693, 87, 1683, 87, 87, 1692, 1682, 87, 1694, + 87, 87, 1687, 1695, 1696, 87, 87, 1697, 1698, 1688, + + 1699, 1689, 1690, 1700, 1691, 1701, 87, 1705, 1693, 87, + 1703, 1702, 1706, 1692, 1707, 87, 1694, 1704, 87, 87, + 1695, 87, 87, 1708, 1697, 87, 1709, 1699, 87, 87, + 1700, 1713, 1701, 87, 87, 87, 1710, 1703, 1702, 1706, + 1711, 87, 87, 1718, 1704, 1712, 87, 1714, 87, 87, + 1708, 87, 1715, 1709, 87, 1719, 1716, 1717, 87, 4206, + 1720, 1721, 87, 1710, 87, 1723, 1724, 1711, 4206, 1725, + 3872, 3873, 1712, 1727, 1714, 87, 1722, 87, 87, 1715, + 87, 87, 1719, 1716, 1717, 87, 87, 1720, 1721, 87, + 87, 1726, 1723, 1724, 1728, 87, 1725, 1729, 1730, 87, + + 1727, 1731, 1732, 1722, 4206, 87, 1734, 87, 1733, 1735, + 4206, 1736, 1740, 1737, 1741, 1745, 4206, 87, 1726, 87, + 87, 1728, 1738, 87, 1729, 1730, 87, 1739, 1731, 1732, + 87, 87, 87, 1734, 87, 1733, 1735, 1742, 1736, 1743, + 1737, 87, 87, 1744, 87, 1747, 87, 87, 1749, 1738, + 1746, 1748, 1750, 87, 1739, 1751, 1755, 1759, 1753, 1756, + 4206, 87, 87, 87, 1742, 87, 1743, 87, 87, 1752, + 1744, 175, 1747, 87, 87, 1749, 87, 1746, 1748, 87, + 87, 1754, 1751, 1755, 1757, 1753, 1756, 1760, 1758, 87, + 87, 87, 87, 1761, 1762, 1763, 1752, 1769, 1774, 1764, + + 4206, 1768, 4206, 1766, 1772, 1765, 1770, 1771, 1754, 1767, + 87, 1757, 87, 87, 87, 1758, 87, 87, 4206, 87, + 1761, 1762, 87, 87, 87, 1774, 1764, 87, 1768, 87, + 1766, 1772, 1765, 1770, 1771, 1773, 1767, 1776, 1775, 87, + 1777, 1778, 1779, 1780, 87, 87, 1781, 4206, 1783, 87, + 87, 87, 1782, 1784, 1786, 4206, 87, 1785, 4206, 1787, + 1790, 4206, 1773, 87, 1776, 1775, 87, 1777, 1778, 1779, + 87, 87, 1788, 1781, 87, 1783, 1789, 1791, 87, 1782, + 1784, 87, 1792, 1799, 1785, 87, 87, 1790, 1793, 1794, + 1796, 1802, 1795, 1797, 1800, 87, 87, 1801, 1804, 1788, + + 87, 87, 87, 1789, 1791, 1798, 4206, 87, 87, 1792, + 1799, 1803, 87, 1810, 87, 1793, 1794, 1796, 1802, 1795, + 1797, 1800, 1805, 87, 1809, 1804, 1811, 1806, 1807, 87, + 1808, 87, 1798, 87, 87, 87, 87, 1812, 1803, 1814, + 1810, 1813, 1816, 1815, 1821, 1817, 87, 1818, 87, 87, + 87, 1809, 1819, 1811, 87, 1807, 87, 1808, 87, 87, + 1820, 87, 1824, 1825, 1812, 87, 1814, 87, 1813, 1816, + 1815, 1821, 1817, 1822, 1818, 1823, 1827, 1826, 87, 1819, + 1828, 4206, 87, 87, 87, 1829, 87, 1820, 87, 1830, + 1825, 1831, 1832, 87, 87, 1833, 1835, 87, 1834, 87, + + 1822, 87, 1823, 1827, 1826, 87, 1837, 1828, 1836, 1839, + 4206, 1838, 1829, 1840, 87, 87, 1830, 87, 1831, 1832, + 87, 87, 1833, 1835, 1842, 1834, 1844, 87, 87, 1841, + 1843, 1845, 1846, 1837, 1847, 1836, 1839, 87, 1838, 87, + 1840, 87, 87, 1848, 1849, 1850, 1853, 87, 1851, 1852, + 1854, 1842, 87, 1844, 1855, 87, 1841, 1843, 1856, 87, + 1861, 1847, 1857, 87, 87, 1863, 87, 4206, 87, 87, + 1848, 87, 1850, 1853, 1858, 1851, 1852, 4206, 1866, 1862, + 4206, 1865, 87, 87, 1868, 1864, 87, 87, 87, 1857, + 87, 87, 1863, 1859, 87, 1860, 87, 1867, 4206, 1869, + + 87, 1858, 87, 1870, 87, 1866, 1862, 1872, 1865, 87, + 87, 1868, 1864, 1871, 1873, 1874, 1876, 1882, 1878, 1875, + 1859, 1877, 1860, 1879, 1867, 87, 1869, 87, 87, 1880, + 1870, 1881, 87, 1885, 1887, 1886, 87, 1883, 87, 87, + 1871, 1873, 1874, 87, 1882, 87, 1875, 1884, 87, 1892, + 87, 87, 87, 1888, 4206, 87, 1880, 87, 1881, 1889, + 1885, 87, 1886, 1890, 1883, 1893, 87, 87, 1891, 1894, + 87, 1896, 1897, 1895, 1884, 1898, 1900, 87, 87, 1903, + 1888, 87, 87, 1901, 87, 1902, 1889, 87, 1899, 87, + 1890, 87, 1893, 4206, 4206, 1891, 1904, 87, 1896, 1897, + + 1895, 87, 1898, 1905, 87, 1906, 87, 1910, 87, 1907, + 1901, 87, 1902, 87, 1908, 1899, 1909, 87, 1913, 1911, + 87, 87, 87, 1904, 87, 87, 1912, 1914, 1918, 1915, + 1905, 1916, 1906, 1917, 1910, 1919, 1907, 87, 87, 87, + 1921, 1908, 1920, 1909, 87, 1913, 1911, 1922, 87, 4206, + 1924, 87, 1925, 1912, 1914, 87, 1915, 1929, 1916, 1923, + 1917, 87, 87, 87, 87, 1930, 87, 1921, 87, 1920, + 4206, 87, 1926, 1931, 1922, 4206, 1927, 1924, 1932, 1925, + 1933, 1935, 87, 87, 1929, 1937, 1923, 87, 1934, 1928, + 1938, 1939, 1930, 87, 1936, 1940, 87, 87, 87, 1926, + + 1931, 87, 87, 1927, 1943, 1932, 1942, 1933, 1935, 4206, + 87, 1941, 1937, 87, 4206, 1934, 1928, 87, 1939, 1944, + 87, 1936, 1945, 87, 1946, 1947, 1948, 87, 1951, 1952, + 1949, 1953, 87, 1942, 1954, 87, 87, 1950, 1941, 1958, + 87, 87, 1957, 1956, 87, 87, 1944, 87, 87, 1945, + 1960, 1946, 1947, 1948, 1961, 1955, 87, 1949, 1953, 1962, + 87, 87, 1963, 4206, 1950, 87, 87, 1959, 87, 1957, + 1956, 87, 1964, 87, 87, 1969, 1965, 87, 87, 1967, + 1966, 1961, 1955, 87, 1968, 87, 87, 87, 1970, 1963, + 1971, 87, 1973, 87, 1959, 87, 1972, 1974, 87, 1964, + + 1975, 1977, 1969, 1965, 87, 87, 1967, 1966, 87, 1976, + 1978, 1968, 87, 1979, 87, 1970, 87, 1971, 1984, 1973, + 1980, 1981, 1982, 1972, 1974, 87, 1985, 1975, 1977, 1988, + 87, 87, 1987, 1983, 87, 87, 1976, 1986, 87, 87, + 1979, 87, 87, 1989, 1990, 1984, 1991, 1980, 1981, 1982, + 87, 87, 87, 1985, 1992, 87, 1988, 1993, 1994, 1987, + 1983, 87, 1995, 1997, 1986, 87, 1996, 87, 1998, 87, + 1989, 87, 1999, 1991, 87, 2000, 2002, 2003, 2006, 87, + 87, 1992, 2004, 87, 1993, 1994, 2005, 2001, 2010, 1995, + 1997, 87, 87, 1996, 87, 1998, 2007, 87, 2009, 1999, + + 2008, 87, 2000, 87, 2016, 2006, 2013, 87, 2015, 87, + 87, 175, 2017, 2005, 2001, 2010, 2011, 2012, 87, 87, + 2014, 2018, 87, 2007, 87, 2009, 87, 2008, 87, 2019, + 87, 2016, 2022, 2013, 87, 2015, 2021, 2023, 2020, 2017, + 87, 4206, 2034, 2011, 2012, 87, 2025, 2014, 2018, 2024, + 2026, 87, 2028, 2027, 2029, 2030, 2019, 87, 2031, 2022, + 87, 2032, 87, 2021, 87, 2020, 4206, 87, 87, 87, + 2037, 2033, 2039, 2025, 87, 2038, 2024, 2026, 87, 2028, + 2027, 2035, 2030, 87, 87, 2036, 87, 2040, 2032, 87, + 87, 2042, 87, 87, 87, 2043, 87, 2037, 2033, 2039, + + 2041, 2045, 2038, 87, 2046, 2047, 2044, 2064, 2035, 87, + 87, 2048, 2036, 2056, 2040, 2049, 87, 87, 2042, 87, + 2050, 87, 2043, 2051, 87, 2055, 2057, 2041, 2045, 87, + 87, 2046, 2047, 2044, 87, 87, 2052, 87, 2048, 2053, + 87, 2058, 2049, 2060, 4206, 87, 2069, 2050, 87, 2061, + 2051, 2054, 2055, 2057, 2062, 2063, 87, 2059, 2066, 2065, + 87, 87, 87, 2052, 2067, 87, 2053, 2068, 2058, 4206, + 2060, 87, 87, 2069, 2070, 2071, 2061, 2072, 2054, 87, + 4206, 2062, 2063, 2073, 2059, 2076, 2065, 2075, 4206, 87, + 87, 2077, 87, 2074, 2068, 87, 87, 87, 2078, 87, + + 87, 2070, 87, 2079, 2072, 2080, 2081, 87, 2082, 2083, + 2073, 4206, 2076, 87, 2075, 87, 2084, 2085, 2077, 2086, + 2074, 2091, 2087, 4206, 4206, 2088, 4206, 2089, 87, 87, + 87, 87, 87, 2081, 2093, 87, 2083, 87, 87, 87, + 87, 87, 2090, 2084, 87, 2094, 2086, 87, 2091, 2087, + 2092, 87, 2088, 2095, 2089, 2096, 2098, 87, 87, 2099, + 2097, 2093, 87, 2100, 87, 2101, 87, 2104, 2106, 2090, + 2105, 87, 2094, 2102, 2103, 87, 2114, 2092, 4206, 87, + 2095, 87, 2096, 2098, 87, 87, 2099, 2097, 87, 87, + 2100, 2108, 2101, 2107, 2104, 2106, 2109, 2110, 87, 2112, + + 2102, 2103, 87, 87, 87, 2115, 4206, 2116, 2121, 87, + 2113, 87, 87, 2118, 2120, 2111, 2117, 4206, 2108, 4206, + 2107, 87, 4206, 2109, 2110, 87, 2112, 87, 87, 87, + 2123, 87, 2115, 2119, 2116, 2121, 4206, 2113, 2122, 87, + 2118, 2120, 2111, 2117, 2128, 87, 2135, 87, 87, 2129, + 2130, 2124, 2132, 2131, 2138, 87, 87, 2123, 2139, 2136, + 2119, 87, 2125, 87, 2126, 2122, 2127, 4206, 87, 87, + 4206, 2128, 2137, 2135, 2142, 87, 2129, 2130, 2124, 2132, + 2131, 87, 2133, 2140, 2143, 87, 2136, 2134, 2141, 2125, + 2144, 2126, 87, 2127, 87, 2145, 87, 87, 87, 2137, + + 2151, 2142, 87, 2148, 2146, 2147, 2149, 2150, 87, 2133, + 2140, 2143, 2153, 87, 2134, 2141, 87, 2144, 87, 2154, + 2152, 87, 87, 4206, 87, 87, 87, 2151, 2155, 87, + 2148, 2146, 2147, 2149, 2150, 2157, 87, 2156, 2162, 2153, + 2159, 87, 2158, 2160, 2164, 2163, 2154, 2152, 87, 2161, + 87, 2168, 87, 87, 2165, 2155, 87, 2170, 87, 2166, + 87, 2167, 2157, 4206, 2156, 2162, 87, 2159, 87, 2158, + 2160, 87, 2169, 2173, 87, 87, 2161, 87, 2168, 2174, + 2178, 2165, 2171, 2176, 2170, 87, 2166, 2172, 2167, 2175, + 2179, 87, 87, 2177, 87, 87, 4206, 2180, 2187, 2169, + + 2173, 87, 2190, 2188, 87, 2181, 2174, 2178, 2183, 2182, + 2176, 87, 2192, 4206, 87, 87, 2175, 2179, 2189, 87, + 2177, 87, 2184, 2185, 2180, 2187, 2186, 87, 87, 2190, + 2188, 87, 2181, 2191, 87, 2183, 2182, 2193, 2194, 2192, + 87, 87, 2197, 87, 2198, 2189, 2195, 87, 2200, 2184, + 2185, 2196, 2202, 2186, 2199, 87, 87, 87, 2203, 87, + 2191, 2201, 2204, 2205, 2193, 2194, 2207, 87, 2208, 2197, + 87, 2198, 2206, 2213, 87, 2200, 2209, 4206, 87, 87, + 2210, 2199, 2214, 2211, 87, 2203, 4206, 87, 2201, 87, + 87, 2212, 2215, 2207, 87, 87, 87, 87, 2216, 2206, + + 87, 2217, 2218, 2209, 87, 87, 2233, 2210, 2222, 2214, + 2211, 4206, 2219, 2224, 2220, 2221, 87, 4206, 2212, 2215, + 87, 87, 87, 87, 2223, 2216, 2230, 87, 2234, 2218, + 2225, 87, 2226, 87, 2227, 2222, 2228, 2232, 87, 2219, + 2224, 2220, 2221, 2229, 87, 2235, 87, 2231, 87, 87, + 87, 2223, 87, 87, 2236, 2237, 87, 2225, 2238, 2226, + 87, 2227, 2239, 2228, 2232, 87, 2241, 2240, 87, 87, + 2229, 87, 2235, 2242, 2231, 87, 2243, 2245, 2244, 2247, + 2249, 2236, 87, 87, 2248, 2238, 2246, 87, 87, 2239, + 2250, 87, 2251, 87, 2240, 87, 2253, 87, 2254, 4206, + + 2242, 4206, 2252, 87, 2245, 2244, 87, 2249, 87, 87, + 2255, 2248, 2256, 2246, 87, 2257, 87, 2250, 87, 2251, + 87, 2258, 2260, 2253, 4206, 2254, 2261, 2262, 87, 2252, + 2265, 2263, 2259, 87, 2269, 2264, 4206, 2255, 87, 2256, + 2267, 2270, 2257, 2280, 87, 87, 175, 87, 2258, 2260, + 2272, 87, 2266, 2261, 2262, 87, 2268, 87, 2263, 2259, + 87, 87, 2264, 87, 87, 2271, 2273, 2267, 2270, 2274, + 87, 2275, 2276, 2277, 2278, 87, 2282, 2272, 87, 2266, + 87, 87, 87, 2268, 2279, 87, 87, 2281, 87, 87, + 2284, 87, 2271, 2273, 2283, 2285, 2274, 2286, 2275, 2276, + + 2277, 2278, 87, 2282, 87, 2287, 2288, 2289, 2290, 2291, + 2293, 2279, 4206, 2294, 2281, 87, 2295, 87, 2292, 87, + 87, 2283, 2285, 2296, 2286, 2297, 4206, 87, 87, 87, + 2298, 87, 87, 2288, 2302, 2290, 2291, 87, 2300, 87, + 87, 2299, 87, 2295, 2301, 2292, 87, 87, 87, 87, + 2296, 2303, 2297, 87, 2304, 2305, 87, 2298, 2307, 4206, + 2311, 2302, 2306, 2316, 2308, 2300, 2309, 87, 2299, 2317, + 87, 2301, 87, 87, 87, 2314, 2312, 4206, 2303, 2310, + 87, 2304, 2305, 2313, 87, 2307, 87, 2311, 2315, 2306, + 87, 2308, 2324, 2309, 4206, 2327, 2319, 87, 87, 2318, + + 87, 87, 2314, 2312, 2320, 87, 2310, 87, 2321, 2322, + 2313, 2323, 87, 4206, 2328, 2315, 87, 87, 87, 2324, + 87, 87, 2327, 2319, 2329, 2330, 2318, 2325, 2331, 2326, + 2336, 2320, 87, 2332, 2339, 2321, 2322, 2333, 2323, 2334, + 87, 87, 2335, 87, 2337, 87, 2338, 2340, 87, 2342, + 2347, 87, 2330, 2341, 2325, 87, 2326, 87, 87, 87, + 2332, 2339, 87, 2345, 2333, 2344, 2334, 87, 2343, 2335, + 2348, 2337, 87, 2346, 87, 87, 2350, 2347, 87, 87, + 2341, 87, 2349, 87, 2351, 87, 2354, 2352, 2353, 87, + 2345, 4206, 2344, 2356, 87, 2343, 2355, 87, 87, 87, + + 2346, 2358, 2357, 2350, 2366, 4206, 4206, 2364, 87, 2349, + 2363, 87, 4206, 2354, 2352, 2353, 87, 87, 87, 87, + 2356, 2365, 2370, 2355, 87, 2359, 2360, 2361, 87, 2357, + 2369, 2367, 2362, 87, 2364, 2368, 87, 2363, 87, 2374, + 87, 2371, 87, 2373, 87, 2378, 2372, 2375, 2365, 2370, + 87, 87, 2359, 2360, 2361, 2376, 87, 2369, 2367, 2362, + 2379, 2380, 2368, 2377, 2386, 4206, 2374, 2381, 87, 4206, + 2373, 87, 87, 87, 2375, 87, 2382, 87, 87, 2385, + 87, 2388, 2376, 2383, 87, 87, 2384, 2379, 2380, 2391, + 2377, 87, 87, 2389, 2381, 87, 2387, 87, 2392, 2390, + + 87, 2393, 2394, 2382, 87, 2395, 2385, 87, 2388, 87, + 2383, 2397, 2396, 2384, 87, 87, 2391, 2398, 2399, 2400, + 2389, 2401, 2402, 2387, 2403, 87, 2390, 87, 87, 2394, + 87, 2405, 87, 2404, 87, 87, 2406, 87, 2397, 2396, + 2407, 87, 87, 2408, 2398, 87, 2400, 2409, 2401, 87, + 2410, 2403, 2418, 87, 87, 2411, 2413, 87, 2405, 2414, + 2404, 2412, 87, 2406, 2415, 2416, 87, 2417, 2419, 2420, + 87, 2427, 87, 2421, 2409, 87, 2422, 2410, 87, 87, + 87, 2423, 2411, 2413, 87, 87, 2414, 2424, 2412, 2425, + 87, 87, 2416, 2426, 2417, 2419, 87, 87, 87, 2428, + + 2421, 87, 2429, 2422, 2431, 2430, 2433, 2432, 2434, 2441, + 2436, 87, 87, 87, 2424, 87, 2425, 87, 2435, 87, + 87, 87, 2438, 87, 2439, 87, 2428, 2437, 87, 2429, + 87, 2431, 2430, 2433, 2432, 2434, 2440, 2436, 2442, 2444, + 2443, 87, 87, 87, 4206, 2435, 2446, 87, 87, 2438, + 2445, 2439, 2447, 87, 2437, 2449, 2450, 87, 87, 2451, + 2452, 87, 87, 2440, 2455, 2442, 87, 2443, 2448, 2453, + 2454, 87, 87, 2446, 2458, 87, 87, 2445, 87, 2447, + 2456, 87, 2449, 2450, 2459, 2457, 2451, 87, 87, 2461, + 2474, 2455, 2460, 4206, 4206, 2448, 2453, 2454, 2463, 2462, + + 87, 2458, 2466, 4206, 2464, 87, 2470, 2456, 87, 2465, + 87, 2459, 2457, 4206, 2468, 2469, 87, 87, 2467, 2460, + 87, 87, 87, 87, 87, 2463, 2462, 87, 87, 87, + 2471, 2464, 2472, 2470, 2475, 2478, 2465, 87, 2476, 87, + 2473, 2468, 2469, 87, 2477, 2467, 2479, 87, 2480, 87, + 87, 2482, 2483, 2481, 2488, 2489, 2486, 2471, 2492, 2472, + 87, 2475, 2478, 87, 2487, 2476, 87, 2473, 2493, 87, + 4206, 2477, 2484, 87, 87, 2480, 87, 2485, 2482, 2483, + 2481, 87, 87, 2486, 2490, 2495, 87, 2496, 87, 2491, + 87, 2487, 2494, 87, 2497, 2498, 2500, 2499, 2501, 2484, + + 87, 2502, 87, 2503, 2485, 87, 2504, 87, 2506, 2507, + 87, 4206, 2495, 87, 2496, 2509, 87, 2510, 87, 2494, + 87, 87, 2498, 2500, 2499, 2501, 87, 87, 2502, 2505, + 2503, 2508, 2512, 2511, 87, 2513, 2507, 87, 87, 87, + 87, 87, 2509, 87, 87, 2516, 2514, 2517, 2515, 2518, + 2521, 2524, 2523, 87, 2519, 2525, 2505, 175, 2508, 2512, + 2511, 87, 2513, 87, 2520, 2527, 2522, 87, 2528, 87, + 4206, 4206, 2516, 2514, 2517, 2515, 87, 87, 87, 87, + 2526, 2519, 2525, 87, 2529, 2531, 2532, 87, 2530, 87, + 87, 2520, 87, 2522, 2533, 2528, 2535, 87, 2536, 2534, + + 2543, 2538, 2539, 87, 2537, 2544, 87, 2526, 87, 87, + 87, 2529, 2531, 2532, 87, 2530, 87, 2540, 2541, 2542, + 87, 87, 87, 2535, 2545, 2536, 87, 2543, 2538, 2539, + 2546, 2537, 87, 87, 87, 2548, 2547, 2549, 2551, 2552, + 2550, 2553, 87, 87, 2540, 2541, 2542, 87, 87, 87, + 2554, 2545, 87, 2555, 2557, 4206, 87, 2546, 87, 87, + 2558, 2556, 2548, 2547, 87, 2551, 2552, 2550, 2553, 87, + 2560, 2559, 2561, 2565, 4206, 2564, 87, 2566, 2569, 87, + 2555, 2562, 87, 87, 87, 87, 87, 2558, 2556, 87, + 2568, 87, 2563, 2572, 2567, 87, 87, 2560, 2559, 2561, + + 2565, 87, 2564, 2570, 2566, 2569, 2571, 87, 2562, 2573, + 2574, 2575, 87, 2576, 2577, 87, 87, 2568, 87, 2563, + 2572, 2567, 2579, 87, 87, 87, 2581, 2584, 2578, 2580, + 2570, 4206, 4206, 2571, 87, 87, 2573, 87, 2575, 87, + 2576, 2577, 87, 2582, 2594, 2583, 2585, 2586, 2587, 2579, + 2588, 2590, 87, 87, 2584, 2578, 2580, 87, 87, 87, + 2589, 4206, 2591, 2592, 2593, 4206, 2596, 87, 87, 2595, + 2582, 87, 2583, 2585, 2586, 2587, 87, 87, 87, 87, + 2599, 4206, 87, 4206, 2603, 87, 87, 2589, 87, 2591, + 2592, 2593, 2597, 2596, 2598, 2604, 2595, 87, 2602, 87, + + 2600, 87, 2605, 2606, 87, 2608, 87, 2599, 2601, 2620, + 87, 2603, 2607, 87, 87, 2610, 2609, 4206, 87, 2597, + 2611, 2598, 2604, 87, 2617, 2602, 87, 2600, 87, 2605, + 2606, 87, 2608, 2612, 2618, 2601, 87, 87, 87, 2607, + 2613, 2614, 2622, 2609, 2615, 2621, 2623, 87, 2619, 87, + 2625, 2617, 2624, 2626, 87, 2629, 2628, 2616, 4206, 2630, + 2612, 2618, 87, 87, 87, 87, 2627, 2613, 2614, 2622, + 87, 2615, 2621, 2623, 87, 2619, 87, 2625, 87, 2624, + 87, 87, 2629, 2628, 2616, 2631, 2630, 2632, 2634, 2633, + 2636, 2635, 2637, 2627, 2641, 2638, 87, 2644, 2640, 87, + + 2643, 4206, 87, 4206, 4206, 2639, 4206, 87, 87, 87, + 87, 87, 2631, 87, 2632, 2634, 2633, 2636, 2635, 87, + 87, 2641, 2638, 87, 2642, 2640, 2645, 2643, 2649, 87, + 2646, 2647, 2639, 87, 2648, 2650, 87, 4206, 87, 2651, + 87, 87, 2652, 2653, 4206, 2654, 2659, 2656, 4206, 2655, + 4206, 2642, 4206, 2645, 2657, 2649, 87, 2646, 2647, 87, + 2660, 2648, 87, 87, 87, 2661, 2651, 87, 87, 2652, + 2653, 87, 2654, 2658, 2656, 2662, 2655, 2665, 87, 87, + 87, 2657, 87, 2663, 2667, 2666, 2668, 2660, 2664, 2669, + 87, 2670, 2661, 87, 2671, 2672, 87, 87, 2673, 2674, + + 2658, 87, 2662, 2677, 2665, 87, 2675, 87, 2678, 2676, + 87, 2667, 2666, 2668, 2679, 87, 87, 87, 2670, 2680, + 2681, 2671, 2672, 87, 4206, 2673, 2684, 2685, 87, 2682, + 4206, 87, 2686, 2675, 87, 87, 2676, 2683, 4206, 2687, + 87, 2679, 87, 2688, 2692, 2689, 2690, 2693, 87, 4206, + 2694, 87, 87, 87, 2685, 87, 2682, 2691, 87, 2686, + 2699, 87, 87, 2695, 2683, 87, 2687, 87, 2698, 87, + 2688, 2692, 2689, 2690, 2693, 87, 2696, 2694, 87, 2700, + 87, 2697, 2701, 87, 2691, 2702, 4206, 2699, 2703, 2704, + 2695, 2705, 2709, 4206, 87, 2698, 87, 4206, 2710, 2708, + + 87, 2706, 2714, 4206, 87, 87, 2700, 87, 87, 2701, + 87, 87, 2702, 2707, 2711, 2703, 2704, 87, 2705, 87, + 87, 2712, 2713, 87, 2715, 2710, 2708, 2716, 2706, 2714, + 87, 2717, 2718, 87, 2721, 2719, 2720, 87, 2722, 87, + 2707, 2711, 2723, 87, 4206, 2728, 2725, 87, 2712, 2713, + 87, 2715, 2724, 87, 2716, 87, 2730, 4206, 2717, 2718, + 87, 87, 2719, 2720, 87, 2722, 87, 2726, 87, 2723, + 87, 2729, 2728, 2725, 2733, 87, 2731, 2734, 2735, 2724, + 2727, 2736, 2732, 2730, 87, 87, 2737, 2740, 87, 2739, + 2738, 2747, 87, 2741, 2726, 87, 87, 87, 2729, 87, + + 2744, 2733, 2751, 2731, 87, 2735, 2743, 2727, 2736, 2732, + 87, 2742, 87, 87, 2740, 87, 2739, 2738, 2746, 87, + 2741, 2745, 2752, 87, 2748, 87, 87, 2744, 87, 175, + 2749, 2753, 2755, 2743, 87, 2750, 2756, 2754, 2742, 87, + 2757, 2758, 2759, 87, 87, 2746, 2760, 2763, 2745, 2764, + 87, 2748, 2765, 2769, 87, 87, 87, 4206, 2753, 2755, + 2761, 2767, 87, 2756, 2754, 87, 2766, 2757, 2758, 87, + 87, 2762, 87, 2760, 2763, 2768, 87, 2770, 87, 2765, + 2775, 87, 2773, 2771, 2772, 87, 2774, 2761, 2767, 87, + 87, 87, 2776, 2766, 2777, 2778, 87, 2780, 2762, 4206, + + 4206, 2779, 2768, 2782, 2770, 87, 87, 87, 87, 2773, + 2771, 2772, 87, 2774, 87, 2783, 2781, 2784, 87, 2776, + 87, 87, 2778, 87, 2780, 2786, 87, 2785, 2779, 2787, + 2782, 2788, 2793, 2791, 87, 2789, 2792, 87, 2790, 87, + 87, 87, 2783, 2781, 2784, 87, 87, 2794, 2797, 2795, + 2796, 87, 2786, 2800, 2785, 87, 2787, 87, 2788, 87, + 2791, 87, 2789, 2792, 2799, 2790, 2798, 87, 87, 2803, + 87, 2801, 87, 87, 2794, 2797, 2795, 2796, 2802, 87, + 2800, 2804, 2805, 87, 2806, 4206, 2807, 2808, 2810, 2809, + 87, 2799, 87, 2798, 87, 87, 2803, 87, 2801, 2811, + + 87, 2813, 87, 87, 2812, 2802, 2814, 87, 2804, 87, + 2816, 2806, 87, 2807, 2808, 2810, 2809, 2815, 2817, 2818, + 2819, 87, 2821, 87, 4206, 2820, 2811, 2822, 2813, 2825, + 2823, 2812, 87, 2814, 2824, 87, 87, 2826, 2827, 87, + 2829, 87, 87, 87, 2815, 2817, 2828, 2819, 87, 2821, + 2830, 87, 2820, 2832, 2822, 87, 87, 2823, 2831, 87, + 87, 2824, 87, 87, 2826, 2827, 2833, 2829, 2835, 2834, + 2836, 2837, 87, 2828, 2838, 2841, 2847, 2830, 2839, 87, + 2832, 2840, 87, 87, 2842, 2831, 2844, 2843, 87, 2845, + 2848, 4206, 2846, 87, 87, 87, 2834, 2836, 2837, 87, + + 2849, 2838, 87, 87, 87, 2839, 2850, 87, 2840, 2853, + 87, 2842, 87, 2844, 2843, 2854, 2845, 87, 2851, 2846, + 2855, 2856, 87, 2852, 87, 87, 2857, 2849, 87, 87, + 87, 2858, 2859, 2850, 87, 2860, 2853, 2861, 2862, 87, + 87, 2864, 2854, 2863, 2865, 2851, 87, 2855, 2856, 2866, + 2852, 2868, 2872, 87, 2867, 87, 2870, 4206, 87, 2859, + 2878, 4206, 87, 87, 2861, 87, 2869, 87, 2864, 87, + 2863, 87, 2873, 87, 2871, 2875, 87, 2874, 2868, 87, + 4206, 2867, 87, 2870, 87, 2877, 2876, 87, 87, 2879, + 87, 2880, 2882, 2869, 87, 87, 2881, 87, 2884, 2873, + + 2883, 2871, 2875, 2887, 2874, 87, 2890, 87, 4206, 2885, + 2893, 2894, 2877, 2876, 87, 4206, 2879, 2889, 87, 2882, + 2888, 87, 87, 2881, 2886, 2884, 2891, 2883, 87, 87, + 87, 87, 2892, 2890, 2895, 87, 2885, 87, 87, 2899, + 87, 87, 2896, 87, 2889, 2897, 2898, 2888, 2900, 87, + 2902, 2886, 2901, 2891, 87, 2905, 2903, 87, 87, 2892, + 87, 2895, 87, 87, 2904, 2913, 2899, 2914, 4206, 2896, + 2911, 2906, 2897, 2898, 87, 87, 2916, 2902, 87, 2901, + 2907, 2910, 2905, 2903, 2912, 2915, 87, 2908, 2909, 87, + 2917, 2904, 87, 87, 2914, 87, 87, 2911, 2906, 87, + + 2918, 2919, 2922, 2916, 2921, 87, 2928, 2907, 2910, 87, + 2923, 2912, 2915, 87, 2908, 2909, 2927, 2917, 2920, 87, + 87, 87, 2929, 2924, 2930, 2933, 4206, 2918, 2919, 2922, + 87, 2921, 2931, 2928, 2932, 87, 87, 2923, 2925, 87, + 2926, 2936, 2935, 4206, 87, 2920, 87, 87, 87, 2929, + 2924, 2930, 2933, 2938, 87, 2939, 2934, 2937, 87, 2931, + 87, 2932, 87, 87, 2940, 2925, 2941, 2926, 2936, 2935, + 2942, 2943, 2946, 2944, 2947, 87, 4206, 87, 87, 87, + 2938, 2950, 2939, 2934, 2937, 2945, 87, 2948, 2949, 2951, + 87, 2940, 2952, 2941, 2958, 87, 87, 87, 4206, 87, + + 2944, 2947, 87, 87, 87, 2953, 2954, 2955, 2950, 87, + 2956, 2959, 2945, 87, 2948, 2949, 2951, 2957, 2960, 2952, + 2961, 2964, 2966, 87, 87, 87, 87, 87, 87, 2962, + 87, 2963, 2953, 2954, 2955, 2965, 2970, 2956, 87, 87, + 87, 87, 2967, 87, 2957, 2960, 2969, 2961, 2964, 2971, + 2968, 4206, 87, 2972, 87, 2973, 2962, 2974, 2963, 2977, + 2979, 87, 2965, 2970, 2978, 2975, 4206, 2976, 87, 2967, + 87, 87, 87, 2980, 87, 87, 2971, 2968, 87, 175, + 2972, 87, 2973, 2981, 2974, 87, 2977, 87, 2982, 2983, + 2984, 2978, 2975, 2986, 2976, 2987, 2985, 2989, 2988, 2993, + + 2980, 87, 2991, 2994, 87, 2990, 87, 87, 87, 87, + 2981, 87, 87, 87, 87, 2982, 2983, 2984, 2992, 2995, + 2986, 87, 2987, 2985, 2989, 2988, 2993, 87, 2996, 2991, + 87, 2997, 2990, 2998, 2999, 3001, 87, 3002, 87, 3000, + 3003, 3005, 4206, 3006, 4206, 2992, 87, 3004, 3013, 3007, + 4206, 3009, 3008, 4206, 4206, 87, 87, 87, 2997, 87, + 2998, 87, 3001, 87, 3012, 87, 3000, 87, 87, 87, + 3006, 3010, 87, 3011, 3004, 87, 3007, 87, 3009, 3008, + 87, 87, 3014, 3015, 87, 3016, 3018, 3017, 4206, 4206, + 87, 3012, 4206, 3019, 3020, 87, 3023, 3025, 3010, 3021, + + 3011, 3022, 3024, 87, 3026, 87, 3035, 4206, 87, 3014, + 3015, 87, 3016, 87, 3017, 87, 87, 87, 87, 87, + 3019, 3020, 3027, 3023, 87, 87, 3021, 3028, 3022, 3024, + 3029, 3026, 3030, 3031, 87, 3032, 3033, 87, 87, 87, + 3036, 3040, 3034, 87, 87, 3037, 87, 3039, 3038, 3027, + 87, 4206, 3045, 4206, 3028, 4206, 3043, 3029, 87, 3030, + 3031, 87, 3032, 3033, 87, 3049, 3046, 3036, 3040, 3034, + 87, 87, 3037, 87, 3039, 3038, 3041, 3042, 87, 87, + 3044, 87, 3051, 3043, 87, 87, 87, 3047, 3048, 3050, + 3053, 3052, 3054, 3046, 4206, 4206, 3056, 87, 87, 3055, + + 3057, 87, 3058, 3041, 3042, 87, 3059, 3044, 87, 3051, + 87, 3061, 87, 3060, 3047, 3048, 87, 3053, 3052, 3054, + 3063, 87, 87, 3056, 87, 87, 3055, 3057, 87, 3058, + 87, 3062, 87, 3059, 3064, 87, 3065, 3066, 3061, 3067, + 3060, 4206, 3068, 3069, 3070, 3072, 87, 3063, 3077, 87, + 3073, 4206, 87, 3071, 3074, 4206, 3076, 87, 3062, 87, + 87, 3064, 87, 3075, 3066, 87, 87, 87, 87, 3068, + 3069, 3070, 87, 87, 87, 3077, 3078, 3073, 87, 3079, + 3071, 3074, 3082, 3076, 4206, 3080, 3081, 87, 87, 3083, + 3075, 87, 3084, 3085, 3086, 3087, 87, 3088, 4206, 3089, + + 4206, 3092, 87, 3078, 87, 3091, 3079, 3090, 3097, 3082, + 87, 87, 3080, 3081, 87, 3094, 3083, 4206, 87, 3084, + 87, 87, 3093, 87, 3088, 87, 3089, 87, 3092, 3095, + 87, 3096, 3091, 3099, 3090, 87, 3098, 3101, 3100, 87, + 3103, 3102, 3094, 3104, 87, 4206, 87, 87, 3105, 3093, + 87, 87, 87, 3106, 3107, 4206, 3095, 3108, 3096, 87, + 3099, 3109, 3110, 3098, 3111, 3100, 87, 3103, 3102, 87, + 87, 87, 3112, 87, 87, 3105, 3117, 3113, 87, 3118, + 3106, 3107, 87, 3119, 3108, 87, 87, 3116, 3109, 3110, + 87, 3111, 3114, 3115, 3121, 3122, 87, 4206, 3120, 3112, + + 87, 3123, 87, 3117, 3113, 87, 87, 87, 3124, 87, + 3119, 3125, 87, 3126, 3116, 3127, 3132, 3128, 3134, 3114, + 3115, 3121, 3122, 87, 87, 3120, 87, 3129, 3123, 3130, + 87, 3131, 3135, 87, 87, 3124, 87, 3133, 3125, 87, + 3126, 3136, 3127, 87, 3128, 87, 3137, 3138, 3139, 87, + 4206, 4206, 3141, 87, 3129, 3140, 3130, 87, 3131, 87, + 3142, 87, 3143, 3145, 3133, 3144, 3146, 4206, 87, 3147, + 87, 3150, 87, 3137, 3138, 3139, 87, 87, 87, 3141, + 87, 87, 3140, 3149, 3152, 3148, 87, 3142, 87, 3143, + 3145, 87, 3144, 3146, 87, 3151, 3147, 3153, 87, 3154, + + 3155, 3156, 3158, 87, 4206, 3157, 3159, 3161, 3160, 3163, + 3149, 87, 3148, 87, 87, 87, 87, 87, 3166, 3164, + 4206, 4206, 3151, 4206, 87, 87, 3154, 87, 3156, 3158, + 87, 3162, 3157, 3159, 3161, 3160, 87, 87, 87, 3169, + 3165, 3167, 87, 3168, 3171, 87, 3164, 87, 3170, 3174, + 87, 87, 3172, 87, 3173, 3175, 3179, 87, 3162, 3176, + 87, 3178, 3177, 4206, 87, 4206, 3169, 3165, 3167, 4206, + 3168, 3171, 87, 3180, 87, 3170, 3174, 175, 87, 3172, + 3181, 3173, 3175, 3179, 87, 87, 3176, 87, 3178, 3177, + 3182, 3183, 87, 3184, 3185, 3186, 87, 3187, 87, 87, + + 3180, 87, 3188, 3190, 3192, 3191, 3189, 3181, 3193, 4206, + 3195, 4206, 3197, 3194, 4206, 4206, 87, 3182, 3183, 87, + 3184, 3185, 87, 3196, 3187, 87, 87, 87, 87, 3188, + 3190, 87, 3191, 3189, 3198, 87, 87, 3195, 87, 3197, + 3194, 87, 3199, 3200, 3201, 3202, 3203, 3204, 3206, 3205, + 3196, 87, 87, 87, 87, 87, 87, 87, 3207, 87, + 87, 3198, 3208, 3210, 4206, 87, 3214, 4206, 3216, 3199, + 3200, 3201, 3202, 3203, 3204, 3206, 3205, 3209, 3212, 3211, + 87, 3219, 3213, 3217, 87, 3207, 87, 87, 87, 3208, + 3210, 87, 87, 3214, 3215, 87, 87, 3218, 3220, 87, + + 3221, 3222, 87, 3223, 3209, 3212, 3211, 3224, 3219, 3213, + 3217, 3225, 87, 3226, 3227, 4206, 87, 87, 87, 4206, + 87, 3215, 3228, 3229, 3218, 87, 87, 3221, 87, 3231, + 3223, 87, 87, 87, 3224, 3230, 3232, 87, 3225, 3235, + 3226, 3227, 3233, 3236, 3234, 3237, 87, 3239, 3238, 3228, + 3229, 3240, 87, 3241, 3242, 4206, 3231, 87, 3243, 87, + 4206, 4206, 3230, 3232, 87, 87, 87, 87, 87, 3233, + 87, 3234, 3237, 3244, 3239, 3238, 3245, 3247, 87, 3246, + 87, 3249, 87, 3248, 3250, 3243, 87, 87, 87, 3251, + 87, 87, 3252, 3253, 3255, 3256, 87, 3254, 3257, 87, + + 3244, 87, 3258, 3245, 3247, 87, 3246, 3259, 87, 87, + 3248, 3250, 3260, 87, 3262, 3264, 3251, 87, 3261, 3252, + 3253, 3255, 3256, 87, 3254, 3257, 87, 3263, 3265, 87, + 3266, 3269, 87, 3267, 3259, 87, 3268, 3270, 87, 87, + 3271, 87, 87, 87, 3272, 3261, 87, 87, 87, 3275, + 3273, 3274, 3277, 87, 3263, 3265, 87, 3266, 3269, 87, + 3267, 3276, 3279, 3268, 87, 3278, 87, 3271, 3280, 87, + 3281, 3272, 87, 87, 87, 3282, 3275, 3273, 3274, 3277, + 3283, 3285, 87, 3284, 87, 3291, 87, 3292, 3276, 3279, + 3286, 3287, 3278, 87, 3288, 87, 4206, 3281, 3289, 87, + + 3290, 87, 3282, 87, 3296, 4206, 87, 87, 3285, 4206, + 3284, 4206, 87, 87, 3292, 3293, 3294, 3286, 3287, 87, + 3295, 3288, 3301, 87, 3299, 3289, 3302, 3290, 3300, 87, + 87, 87, 87, 87, 3297, 3298, 87, 87, 3303, 3304, + 3306, 3307, 3293, 3294, 87, 3305, 87, 3295, 87, 3301, + 3309, 3299, 87, 3302, 3310, 3300, 87, 3308, 87, 3311, + 3313, 3297, 3298, 3312, 4206, 3303, 3304, 87, 3307, 3314, + 3315, 87, 3305, 87, 3316, 87, 3318, 3309, 3317, 3319, + 87, 3310, 3321, 87, 3308, 87, 87, 87, 87, 3320, + 3312, 87, 3322, 87, 3323, 87, 3314, 3315, 3324, 87, + + 3325, 3316, 3328, 3318, 3326, 3317, 87, 3331, 87, 3321, + 87, 3334, 3327, 4206, 87, 3329, 3320, 3330, 87, 3322, + 87, 3323, 4206, 3332, 3333, 87, 87, 3325, 3337, 3328, + 87, 3326, 3335, 87, 87, 87, 87, 3339, 87, 3327, + 3336, 87, 3329, 3338, 3330, 3340, 3343, 3345, 3341, 3342, + 3332, 3333, 3344, 87, 87, 3337, 87, 3348, 87, 3335, + 87, 3346, 87, 3349, 3339, 87, 87, 3336, 87, 87, + 3338, 3350, 3340, 3343, 3345, 3341, 3342, 3347, 87, 3344, + 3351, 3352, 4206, 87, 87, 3355, 3354, 3353, 3346, 87, + 87, 3356, 3358, 87, 87, 3357, 3359, 3360, 3350, 3361, + + 3367, 87, 87, 3362, 3347, 87, 3364, 3351, 3352, 87, + 3368, 87, 175, 3354, 3353, 3363, 3366, 87, 3356, 3358, + 3370, 87, 3357, 3359, 3365, 87, 3361, 87, 87, 87, + 3362, 3369, 87, 3364, 87, 3371, 87, 87, 87, 3372, + 3373, 3374, 3363, 3366, 4206, 4206, 3375, 3370, 87, 3376, + 3377, 3365, 3378, 87, 3379, 3380, 4206, 3383, 3369, 3387, + 3388, 3381, 3371, 3382, 87, 87, 87, 3373, 3384, 4206, + 3385, 87, 87, 87, 3389, 87, 3376, 3377, 87, 3378, + 87, 3386, 3380, 87, 3383, 87, 87, 87, 3381, 87, + 3382, 87, 87, 3391, 3390, 3384, 87, 3385, 3392, 3394, + + 3393, 3389, 3395, 4206, 3399, 4206, 3396, 4206, 3386, 87, + 3397, 4206, 3398, 87, 3403, 3406, 3400, 87, 87, 4206, + 87, 3390, 87, 87, 3401, 3392, 3394, 3393, 87, 3395, + 87, 3399, 87, 3396, 87, 3402, 3404, 3397, 3405, 3398, + 87, 3403, 87, 3400, 3407, 3409, 3408, 87, 3410, 3411, + 4206, 3401, 3412, 87, 87, 87, 3414, 87, 3415, 87, + 3413, 87, 3402, 3404, 87, 3405, 87, 87, 3416, 87, + 3417, 3407, 3418, 3408, 3419, 3410, 3411, 87, 87, 3412, + 3420, 3421, 3422, 3414, 3423, 87, 3424, 3413, 87, 3429, + 87, 3426, 87, 87, 3425, 3416, 87, 3417, 3427, 3418, + + 87, 3419, 87, 87, 3428, 87, 87, 3420, 3421, 3422, + 3430, 3423, 87, 87, 3432, 3431, 3429, 87, 3426, 3433, + 3435, 3425, 3434, 3436, 3438, 3427, 3437, 3439, 87, 87, + 87, 3428, 3441, 3440, 87, 3442, 4206, 87, 3445, 3446, + 3443, 3444, 3431, 4206, 4206, 3450, 87, 3435, 3447, 3434, + 87, 87, 87, 87, 87, 87, 87, 87, 87, 3441, + 3440, 3449, 3442, 87, 3448, 3451, 3446, 3443, 3444, 3452, + 87, 87, 87, 87, 87, 3447, 3453, 87, 3454, 3456, + 3455, 3457, 3459, 3458, 3461, 4206, 3463, 87, 3449, 87, + 3460, 3448, 3451, 87, 87, 87, 3452, 3464, 87, 3465, + + 87, 87, 3466, 3453, 3468, 3454, 3456, 3455, 3457, 3459, + 3458, 87, 87, 87, 3462, 3467, 3469, 3460, 87, 3472, + 3470, 3475, 87, 3471, 87, 87, 87, 87, 3473, 3466, + 3480, 3468, 3476, 3474, 87, 3479, 87, 87, 3481, 87, + 3482, 3462, 3467, 87, 3477, 87, 3472, 3470, 3475, 3478, + 3471, 87, 3484, 3483, 3485, 3486, 87, 87, 4206, 3476, + 87, 87, 3479, 3487, 3489, 87, 87, 87, 87, 3490, + 3491, 3477, 87, 3493, 3492, 3494, 3478, 87, 3488, 3484, + 3483, 3485, 87, 3495, 3497, 87, 87, 3498, 3499, 87, + 3487, 87, 87, 3496, 3500, 87, 3490, 87, 3502, 3504, + + 87, 3492, 3494, 3503, 3505, 3488, 87, 3501, 4206, 3513, + 3495, 87, 3509, 3506, 87, 87, 87, 87, 3510, 87, + 3496, 3500, 3507, 87, 3511, 87, 3504, 3508, 3512, 3514, + 87, 87, 3515, 3517, 3501, 87, 87, 4206, 3518, 3509, + 3506, 87, 3516, 3519, 87, 3510, 3520, 3521, 3523, 87, + 4206, 3511, 3522, 3525, 87, 3512, 87, 3524, 4206, 87, + 3517, 87, 3526, 3529, 87, 87, 3531, 87, 87, 3516, + 87, 87, 87, 3520, 3521, 3523, 3532, 87, 3530, 3522, + 3525, 3527, 3528, 87, 3524, 87, 3533, 87, 87, 3526, + 3529, 87, 3534, 87, 3535, 3540, 3536, 3538, 3539, 87, + + 3546, 3617, 3547, 3532, 3537, 3530, 87, 87, 3527, 3528, + 87, 3541, 3543, 3533, 87, 3548, 3542, 3544, 3545, 87, + 87, 3535, 3540, 3536, 3538, 3539, 87, 87, 87, 3547, + 3549, 3537, 3550, 87, 3551, 3552, 3555, 87, 3558, 4206, + 4206, 87, 3548, 87, 87, 3545, 87, 3553, 3554, 3556, + 3557, 87, 4206, 4206, 3562, 87, 87, 3549, 87, 3550, + 87, 3551, 3552, 3555, 3559, 3558, 3561, 87, 3566, 87, + 87, 3560, 87, 3563, 3553, 3554, 3556, 3557, 3564, 87, + 87, 3562, 3565, 3567, 3568, 87, 87, 3569, 87, 87, + 3570, 3559, 3571, 3561, 3572, 87, 3574, 3573, 3560, 87, + + 3563, 3576, 3575, 3578, 3579, 3564, 87, 3582, 87, 3565, + 87, 3568, 3577, 87, 3569, 3580, 87, 87, 87, 3571, + 3581, 3572, 87, 87, 3573, 87, 3583, 3584, 87, 3575, + 3578, 87, 3585, 87, 87, 3586, 3587, 3588, 87, 3577, + 3589, 87, 3580, 3590, 87, 87, 4206, 3581, 3593, 3591, + 3623, 87, 3594, 3583, 3584, 87, 3592, 3595, 87, 3585, + 87, 3597, 87, 87, 3588, 87, 3596, 3589, 87, 3598, + 3590, 3600, 3608, 3599, 4206, 3593, 3591, 3601, 3603, 87, + 87, 87, 87, 3592, 87, 87, 3602, 3604, 3597, 3605, + 3607, 3610, 4206, 3596, 87, 3606, 3598, 3609, 3600, 87, + + 3599, 87, 87, 87, 3601, 3603, 3611, 87, 87, 87, + 87, 3613, 87, 3602, 3604, 3614, 3605, 3607, 87, 87, + 87, 3612, 3606, 87, 3609, 3615, 3616, 3619, 3618, 87, + 3622, 3621, 3624, 3611, 3620, 3625, 4206, 87, 3613, 3628, + 4206, 87, 87, 87, 87, 3626, 3627, 87, 3612, 87, + 4206, 3629, 87, 3616, 3619, 3618, 87, 3622, 3621, 3624, + 3630, 3620, 3625, 3631, 3632, 87, 3628, 87, 87, 87, + 3633, 3635, 3626, 3627, 3634, 4206, 3636, 87, 3629, 3637, + 3638, 3639, 87, 3640, 87, 87, 87, 3630, 87, 3642, + 3631, 3632, 3643, 3641, 3647, 3646, 87, 3633, 3635, 87, + + 3648, 3634, 87, 3636, 3644, 3645, 3637, 87, 87, 4206, + 87, 87, 87, 87, 3649, 3650, 3642, 87, 3651, 3643, + 3641, 3652, 3646, 3653, 3655, 3657, 87, 87, 3654, 3659, + 87, 3644, 3645, 3663, 87, 3656, 87, 87, 87, 3661, + 3660, 3649, 3650, 3662, 87, 87, 87, 3658, 3652, 87, + 3653, 3655, 3668, 4206, 4206, 3654, 87, 87, 3685, 87, + 3663, 87, 3656, 87, 3664, 87, 3661, 3660, 3665, 3666, + 3662, 3667, 87, 3669, 3658, 3670, 3671, 3674, 87, 87, + 87, 87, 3672, 3673, 3675, 87, 3677, 87, 87, 87, + 87, 3664, 87, 3676, 4206, 3665, 3666, 3681, 3667, 3678, + + 3669, 87, 3670, 3671, 3674, 87, 87, 3679, 87, 3672, + 3673, 3675, 87, 3677, 3680, 3682, 3683, 3684, 87, 3686, + 3676, 87, 87, 87, 3681, 87, 3678, 3687, 3691, 3692, + 3693, 3688, 3690, 87, 3679, 87, 3689, 3696, 3695, 3699, + 3697, 3680, 3682, 3683, 3684, 87, 87, 3694, 3701, 87, + 87, 87, 3702, 87, 3687, 3691, 87, 87, 3698, 3690, + 3700, 87, 3705, 87, 87, 3695, 3699, 3697, 3704, 87, + 87, 87, 3706, 3703, 3694, 3701, 87, 3707, 3710, 87, + 87, 3708, 4206, 3709, 3711, 3698, 87, 3700, 3713, 87, + 87, 87, 3712, 3714, 87, 3704, 87, 3715, 87, 3706, + + 3703, 3716, 3720, 3717, 87, 3710, 87, 3718, 3708, 87, + 3709, 3711, 87, 87, 3719, 3713, 3721, 3723, 3722, 3712, + 3714, 87, 3736, 87, 3715, 87, 4206, 87, 3716, 87, + 3717, 3724, 3725, 3727, 3718, 3726, 87, 87, 3728, 3729, + 3730, 3719, 3731, 3735, 4206, 3722, 3734, 87, 87, 87, + 87, 87, 3733, 87, 87, 3737, 3738, 3740, 3724, 3725, + 87, 3732, 3726, 87, 87, 87, 3729, 3730, 87, 87, + 3735, 87, 3741, 3734, 3739, 3742, 3743, 3744, 3748, 3733, + 3747, 87, 3737, 3738, 87, 3745, 87, 3746, 3732, 87, + 3752, 3749, 3753, 87, 3751, 3755, 3754, 87, 87, 3741, + + 4206, 3739, 3742, 87, 3744, 3748, 87, 3747, 3750, 87, + 3757, 87, 3745, 3758, 3746, 87, 87, 3756, 3749, 87, + 87, 3751, 87, 3754, 3759, 3760, 87, 87, 3761, 3762, + 3763, 3764, 87, 87, 3765, 3750, 3766, 3757, 3769, 87, + 87, 3767, 3770, 87, 3756, 87, 87, 3773, 3768, 87, + 87, 3759, 3760, 3771, 3772, 3774, 3762, 3763, 87, 3775, + 87, 3765, 87, 3766, 87, 87, 3776, 3778, 3767, 3770, + 3777, 3779, 87, 3780, 87, 3768, 3781, 3782, 3783, 3784, + 3771, 3772, 87, 87, 87, 3785, 87, 3787, 87, 87, + 3786, 87, 4206, 3776, 3778, 87, 3788, 3777, 87, 87, + + 87, 3789, 3790, 87, 3782, 3783, 87, 3791, 3792, 3794, + 3800, 3795, 3785, 87, 3793, 87, 87, 3786, 87, 87, + 3796, 3798, 87, 3788, 3797, 87, 87, 3799, 87, 3790, + 3801, 87, 87, 3803, 87, 87, 3794, 87, 3795, 3806, + 3805, 3793, 3802, 3809, 4206, 3804, 87, 3796, 3798, 3807, + 87, 3797, 87, 87, 3799, 3808, 87, 3801, 87, 3812, + 3803, 3810, 87, 3813, 3811, 3817, 87, 3805, 4206, 3802, + 87, 87, 3804, 3814, 87, 3815, 3807, 3819, 3816, 3820, + 87, 3821, 3808, 3818, 87, 87, 3812, 87, 3810, 3823, + 87, 3811, 3824, 3822, 3826, 87, 3825, 87, 87, 87, + + 3814, 87, 3815, 87, 3819, 3816, 3820, 87, 3821, 3827, + 3818, 3828, 3829, 3830, 4206, 3831, 87, 3832, 87, 87, + 3822, 3826, 3833, 3825, 3834, 4206, 87, 3836, 87, 87, + 3835, 87, 3842, 3838, 87, 3839, 3837, 87, 3828, 3829, + 87, 87, 3831, 87, 3832, 3843, 3840, 87, 4206, 3833, + 87, 3834, 87, 87, 3836, 87, 3841, 3835, 3844, 3842, + 3838, 87, 3839, 3837, 87, 87, 87, 3845, 3846, 3847, + 3848, 3852, 3843, 3840, 87, 87, 3849, 3850, 87, 3853, + 3854, 87, 3851, 3841, 3855, 3844, 87, 87, 87, 4206, + 3856, 3858, 3857, 87, 3845, 3846, 3847, 3848, 3852, 87, + + 3859, 87, 3860, 3849, 3850, 3861, 3853, 3854, 3862, 3851, + 3863, 3864, 87, 3865, 87, 87, 87, 3856, 3858, 3857, + 3866, 3868, 87, 3870, 3869, 3876, 3867, 3859, 4206, 87, + 3882, 87, 87, 87, 87, 3862, 87, 3863, 3864, 3879, + 87, 3871, 87, 3874, 3875, 3877, 3878, 3866, 87, 87, + 87, 3869, 87, 3867, 3880, 3881, 3883, 87, 3884, 3885, + 3886, 3887, 87, 3888, 3889, 87, 3879, 3892, 3871, 4206, + 3890, 87, 87, 87, 87, 3893, 87, 3894, 3891, 3897, + 3898, 3880, 3881, 3883, 3895, 3884, 87, 87, 4206, 87, + 3903, 87, 3896, 87, 87, 87, 87, 3890, 3902, 87, + + 3899, 87, 87, 87, 3894, 3891, 3897, 87, 3900, 87, + 3901, 3895, 87, 87, 3904, 87, 3905, 3903, 87, 3896, + 3906, 3908, 3909, 3907, 3910, 3902, 3913, 3899, 87, 87, + 87, 3912, 87, 3914, 3911, 3900, 3915, 3901, 4206, 3923, + 3916, 3904, 3917, 3905, 87, 87, 87, 3906, 3908, 3909, + 3907, 87, 87, 87, 87, 3918, 3919, 87, 3912, 3920, + 87, 3911, 3924, 87, 87, 3921, 3925, 3916, 3927, 3917, + 3922, 87, 3928, 3926, 87, 3930, 3929, 87, 87, 87, + 3931, 4206, 3918, 3919, 87, 4206, 3920, 3932, 3933, 3924, + 87, 3934, 3935, 3925, 87, 3927, 3937, 87, 3936, 3928, + + 3926, 3939, 87, 3929, 87, 3940, 3941, 3942, 87, 3938, + 3943, 3944, 87, 3945, 3932, 87, 87, 3946, 87, 3935, + 87, 3947, 87, 87, 87, 3936, 3948, 3949, 87, 3950, + 3951, 3953, 87, 3941, 3942, 3954, 3938, 87, 87, 3955, + 87, 3952, 87, 3956, 87, 3959, 87, 4206, 87, 87, + 87, 3957, 3958, 87, 87, 3961, 87, 87, 3953, 3960, + 3963, 3965, 87, 3962, 87, 3966, 3955, 3968, 3952, 3964, + 3956, 87, 3959, 87, 87, 87, 87, 3967, 3957, 3958, + 3975, 87, 87, 3969, 3970, 87, 3960, 3963, 3965, 3972, + 3962, 3971, 87, 3973, 87, 87, 3964, 3974, 87, 3977, + + 3978, 87, 3976, 4206, 3967, 3985, 87, 87, 3979, 3980, + 3969, 3970, 87, 3982, 87, 87, 3972, 87, 3971, 3983, + 3973, 3984, 87, 4206, 3974, 3986, 87, 3978, 87, 3976, + 3981, 87, 3987, 87, 3988, 3979, 3980, 87, 87, 87, + 3982, 3989, 87, 3991, 3990, 87, 3983, 3992, 3984, 3993, + 87, 3994, 3986, 3995, 87, 87, 4206, 3981, 4002, 3987, + 3998, 3988, 3997, 87, 87, 87, 3996, 87, 3989, 87, + 3991, 3990, 87, 3999, 3992, 4206, 3993, 4000, 3994, 87, + 3995, 4001, 87, 87, 4003, 4002, 4008, 3998, 4007, 3997, + 4004, 4005, 87, 3996, 4006, 87, 4009, 87, 87, 87, + + 3999, 4010, 87, 87, 4000, 4011, 4012, 4013, 4001, 4015, + 87, 4003, 4014, 87, 4016, 4007, 87, 4004, 4005, 4017, + 4019, 4006, 4020, 87, 4018, 87, 87, 4021, 87, 4206, + 4023, 87, 87, 4012, 4013, 87, 4015, 87, 4022, 4014, + 4025, 87, 4027, 87, 4024, 4026, 4017, 4029, 4206, 4020, + 87, 4018, 87, 4028, 4021, 87, 87, 4023, 87, 87, + 87, 4030, 87, 87, 4031, 4022, 87, 4025, 4032, 4027, + 4033, 4024, 4026, 4035, 4029, 4036, 87, 4034, 4039, 87, + 4028, 4037, 4040, 4043, 4038, 87, 87, 4041, 4030, 87, + 87, 4031, 87, 4042, 4048, 4032, 4206, 4033, 4046, 87, + + 4035, 87, 4036, 87, 4034, 87, 4044, 87, 4037, 4040, + 87, 4038, 4047, 87, 4041, 4045, 87, 87, 4049, 87, + 4042, 4048, 4050, 87, 4051, 4046, 4052, 4054, 4053, 87, + 4057, 87, 4056, 4044, 4055, 4058, 4060, 4206, 4059, 4047, + 4061, 4066, 4045, 87, 87, 4049, 87, 4062, 4063, 4050, + 4206, 87, 87, 4052, 87, 4053, 87, 87, 87, 4056, + 4065, 4055, 87, 4060, 87, 4059, 4064, 4061, 87, 87, + 87, 4067, 87, 87, 4062, 4063, 4068, 4069, 4070, 4071, + 4072, 4073, 4074, 4075, 87, 4206, 87, 4065, 4078, 4076, + 4077, 87, 4079, 4064, 4080, 4081, 87, 4084, 4067, 87, + + 4206, 4082, 4085, 4068, 4069, 87, 4071, 87, 87, 87, + 87, 87, 87, 87, 87, 87, 4076, 4077, 4083, 4079, + 4086, 87, 87, 4088, 87, 4089, 87, 4087, 4082, 4085, + 87, 4090, 87, 4092, 4091, 4093, 87, 4094, 4095, 4206, + 4206, 87, 4206, 4099, 4098, 4083, 4100, 4086, 4096, 4206, + 4088, 87, 87, 87, 4087, 4097, 4101, 87, 4090, 4107, + 4092, 4091, 87, 87, 4102, 4095, 87, 87, 87, 87, + 87, 4098, 4103, 87, 4104, 4096, 87, 4106, 4105, 4109, + 87, 4108, 4097, 4101, 87, 87, 87, 4110, 4111, 4112, + 87, 4102, 87, 4113, 87, 4114, 4116, 87, 4118, 4103, + + 4206, 4104, 87, 4115, 4106, 4105, 4109, 87, 4108, 87, + 87, 87, 4117, 4119, 4110, 4111, 4112, 4121, 87, 87, + 4113, 4120, 4114, 4116, 4122, 87, 87, 87, 4123, 4125, + 4115, 87, 4126, 4124, 87, 4127, 4128, 87, 4129, 4117, + 4119, 87, 4133, 4134, 4121, 4130, 4135, 87, 4120, 4131, + 87, 4122, 4132, 87, 4136, 4123, 4125, 87, 4138, 87, + 4124, 87, 4127, 4137, 87, 4129, 4139, 87, 87, 4133, + 4140, 87, 4130, 4135, 87, 87, 4131, 4142, 4141, 4132, + 4147, 4136, 4144, 4143, 4145, 87, 87, 87, 87, 4150, + 4137, 87, 87, 4139, 4149, 4146, 4151, 87, 4148, 4152, + + 87, 4153, 87, 87, 4142, 4141, 87, 4154, 87, 4144, + 4143, 4145, 87, 4155, 4156, 4158, 87, 4157, 4206, 4161, + 4206, 4149, 4146, 87, 4162, 4148, 87, 87, 4153, 87, + 4159, 4160, 87, 87, 4154, 4164, 4165, 87, 87, 87, + 87, 4156, 4158, 4163, 4157, 4167, 4161, 4166, 87, 87, + 87, 4162, 4168, 4206, 4169, 4206, 4170, 4159, 4160, 87, + 87, 4173, 4164, 4165, 4171, 87, 4174, 4172, 4175, 87, + 4163, 87, 4167, 4177, 4166, 4176, 4178, 4206, 4206, 4168, + 87, 4169, 87, 4170, 4179, 4180, 87, 87, 4173, 4184, + 4206, 4171, 4182, 87, 4172, 87, 4206, 87, 87, 4181, + + 4177, 4183, 4176, 87, 87, 87, 4190, 87, 4186, 87, + 4185, 4179, 4180, 4188, 87, 4189, 87, 4187, 87, 4182, + 4191, 87, 4206, 87, 4194, 4195, 4181, 4206, 4183, 4197, + 87, 4198, 87, 4190, 4196, 4186, 4206, 4185, 4192, 87, + 4188, 4193, 4189, 4199, 4187, 4200, 87, 87, 4206, 87, + 87, 4194, 87, 4201, 87, 4204, 87, 4205, 87, 4206, + 4206, 4196, 4206, 87, 4206, 4192, 4202, 87, 4193, 4203, + 4199, 4206, 4200, 4206, 87, 87, 4206, 87, 4206, 4206, + 4201, 4206, 87, 4206, 87, 4206, 4206, 4206, 4206, 4206, + 4206, 4206, 4206, 4202, 4206, 4206, 4203, 48, 48, 48, + + 48, 48, 48, 48, 53, 53, 53, 53, 53, 53, + 53, 58, 58, 58, 58, 58, 58, 58, 64, 64, + 64, 64, 64, 64, 64, 69, 69, 69, 69, 69, + 69, 69, 75, 75, 75, 75, 75, 75, 75, 81, + 81, 81, 81, 81, 81, 81, 90, 90, 4206, 90, + 90, 90, 90, 165, 165, 4206, 4206, 4206, 165, 165, + 167, 167, 4206, 4206, 167, 4206, 167, 169, 4206, 4206, + 4206, 4206, 4206, 169, 172, 172, 4206, 4206, 4206, 172, + 172, 174, 4206, 4206, 4206, 4206, 4206, 174, 176, 176, + 4206, 176, 176, 176, 176, 179, 4206, 4206, 4206, 4206, + + 4206, 179, 182, 182, 4206, 4206, 4206, 182, 182, 91, + 91, 4206, 91, 91, 91, 91, 17, 4206, 4206, 4206, + 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, + 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, + 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, + 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, + 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, + 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, + 4206, 4206, 4206 + } ; + +static const flex_int16_t yy_chk[12084] = + { 0, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 3, 3, 3, 4, + 4, 4, 5, 5, 6, 6, 5, 32, 6, 7, + 7, 7, 7, 33, 7, 8, 8, 8, 8, 32, + 8, 9, 9, 9, 10, 10, 10, 19, 52, 52, + + 4214, 19, 238, 3, 32, 33, 4, 68, 68, 5, + 33, 6, 3355, 13, 13, 13, 13, 7, 13, 14, + 14, 14, 14, 8, 14, 15, 15, 15, 9, 25, + 238, 10, 11, 11, 11, 11, 11, 11, 12, 12, + 12, 12, 12, 12, 16, 16, 16, 34, 28, 85, + 85, 13, 11, 46, 1260, 25, 25, 14, 12, 34, + 311, 23, 15, 23, 23, 46, 23, 1246, 28, 88, + 11, 28, 23, 88, 34, 28, 12, 166, 166, 11, + 46, 16, 173, 173, 57, 12, 30, 57, 29, 311, + 45, 182, 37, 73, 30, 28, 26, 1246, 37, 23, + + 24, 24, 29, 26, 24, 30, 73, 26, 181, 24, + 26, 24, 30, 30, 29, 29, 45, 45, 24, 37, + 73, 30, 26, 26, 24, 183, 183, 24, 24, 29, + 26, 24, 30, 96, 26, 94, 24, 26, 24, 63, + 93, 63, 63, 35, 63, 24, 27, 98, 96, 115, + 27, 35, 39, 27, 98, 27, 27, 35, 94, 39, + 96, 35, 94, 99, 93, 39, 27, 93, 27, 35, + 35, 95, 115, 27, 98, 179, 115, 27, 35, 39, + 27, 36, 27, 27, 35, 36, 39, 99, 35, 109, + 99, 95, 44, 27, 31, 174, 44, 31, 95, 36, + + 44, 36, 109, 42, 31, 42, 31, 36, 36, 172, + 31, 171, 36, 101, 42, 169, 109, 31, 44, 44, + 42, 31, 101, 44, 31, 167, 36, 44, 36, 42, + 42, 31, 42, 31, 43, 165, 111, 31, 38, 128, + 101, 42, 38, 111, 43, 86, 38, 42, 43, 43, + 97, 74, 38, 74, 74, 38, 74, 43, 97, 128, + 102, 43, 38, 111, 38, 38, 128, 168, 81, 38, + 168, 43, 100, 38, 155, 43, 43, 97, 102, 38, + 155, 47, 38, 47, 47, 100, 47, 102, 106, 38, + 40, 117, 47, 106, 40, 71, 100, 71, 71, 100, + + 71, 155, 107, 76, 40, 40, 80, 40, 80, 80, + 107, 80, 100, 117, 113, 106, 40, 40, 117, 75, + 188, 40, 1072, 113, 188, 87, 202, 87, 87, 107, + 87, 40, 40, 71, 40, 41, 87, 90, 41, 90, + 90, 113, 90, 103, 103, 41, 104, 188, 90, 41, + 41, 108, 104, 1072, 104, 114, 103, 41, 202, 105, + 105, 69, 41, 64, 114, 41, 122, 104, 105, 108, + 103, 103, 41, 104, 122, 90, 41, 41, 118, 104, + 110, 104, 114, 108, 112, 112, 105, 105, 116, 110, + 120, 118, 112, 122, 59, 116, 108, 127, 361, 121, + + 112, 119, 110, 58, 119, 118, 228, 110, 53, 124, + 123, 112, 112, 124, 120, 116, 110, 119, 119, 112, + 127, 121, 120, 130, 127, 119, 121, 361, 119, 124, + 123, 119, 123, 124, 125, 126, 124, 123, 228, 125, + 124, 120, 125, 130, 119, 119, 129, 131, 126, 132, + 130, 133, 134, 129, 136, 135, 124, 123, 133, 137, + 129, 125, 126, 132, 135, 131, 125, 141, 137, 140, + 48, 18, 17, 129, 131, 134, 132, 136, 133, 134, + 129, 136, 135, 138, 139, 141, 137, 138, 144, 143, + 142, 139, 231, 138, 141, 140, 140, 142, 143, 146, + + 144, 145, 145, 150, 143, 138, 233, 146, 147, 236, + 138, 139, 143, 148, 138, 144, 143, 142, 150, 147, + 138, 149, 151, 147, 231, 143, 146, 148, 145, 149, + 150, 143, 147, 153, 152, 147, 156, 0, 233, 151, + 148, 236, 151, 154, 153, 152, 147, 156, 151, 151, + 147, 154, 158, 149, 152, 157, 149, 163, 160, 159, + 153, 152, 161, 156, 157, 162, 151, 158, 0, 151, + 154, 161, 152, 160, 0, 163, 157, 164, 0, 158, + 157, 159, 157, 0, 163, 160, 159, 162, 178, 161, + 164, 157, 162, 170, 0, 170, 170, 175, 170, 175, + + 175, 184, 175, 157, 164, 176, 185, 176, 176, 186, + 176, 180, 178, 180, 180, 178, 180, 187, 186, 190, + 185, 191, 192, 184, 195, 193, 189, 0, 184, 187, + 192, 195, 194, 189, 196, 190, 186, 193, 185, 197, + 191, 0, 200, 176, 187, 189, 190, 185, 191, 192, + 196, 195, 193, 189, 194, 205, 198, 197, 206, 194, + 189, 196, 198, 199, 200, 199, 197, 203, 201, 200, + 201, 203, 207, 206, 209, 203, 208, 207, 210, 212, + 213, 205, 205, 211, 208, 206, 212, 834, 198, 198, + 199, 214, 203, 626, 201, 201, 209, 201, 211, 203, + + 210, 209, 203, 208, 207, 210, 212, 215, 213, 0, + 211, 216, 213, 217, 214, 218, 834, 239, 214, 203, + 204, 626, 216, 220, 221, 204, 217, 218, 0, 215, + 204, 222, 220, 224, 215, 213, 204, 204, 216, 225, + 217, 219, 218, 204, 219, 0, 221, 204, 225, 239, + 220, 221, 204, 222, 226, 224, 219, 204, 222, 227, + 224, 226, 0, 204, 204, 230, 225, 229, 219, 234, + 227, 219, 223, 232, 241, 223, 230, 223, 235, 0, + 232, 226, 243, 234, 235, 237, 227, 0, 240, 223, + 0, 223, 0, 229, 229, 244, 245, 230, 223, 223, + + 232, 234, 223, 230, 223, 235, 241, 237, 242, 244, + 234, 240, 237, 242, 243, 240, 223, 245, 223, 246, + 247, 249, 244, 245, 249, 248, 246, 252, 251, 0, + 250, 253, 254, 242, 248, 242, 257, 0, 263, 248, + 242, 247, 251, 257, 255, 259, 246, 247, 249, 250, + 254, 252, 248, 253, 252, 251, 255, 250, 253, 254, + 258, 248, 256, 257, 261, 258, 260, 259, 265, 262, + 263, 255, 259, 256, 262, 260, 264, 264, 266, 267, + 268, 271, 270, 0, 265, 264, 267, 261, 269, 256, + 270, 261, 258, 260, 272, 265, 262, 273, 275, 280, + + 279, 271, 268, 264, 264, 276, 267, 268, 271, 270, + 266, 274, 277, 269, 278, 269, 281, 282, 0, 274, + 276, 0, 280, 285, 283, 277, 272, 279, 283, 273, + 275, 280, 276, 293, 282, 290, 284, 286, 274, 277, + 278, 278, 282, 284, 282, 285, 287, 288, 281, 280, + 285, 283, 286, 289, 287, 291, 292, 290, 294, 291, + 289, 282, 290, 284, 286, 293, 288, 295, 297, 296, + 300, 0, 298, 287, 288, 299, 305, 301, 292, 300, + 289, 0, 291, 292, 298, 302, 303, 306, 299, 295, + 294, 296, 307, 310, 295, 301, 296, 300, 302, 298, + + 297, 304, 299, 304, 301, 303, 308, 312, 305, 309, + 323, 306, 302, 303, 306, 310, 312, 307, 313, 307, + 310, 314, 317, 0, 316, 0, 315, 325, 304, 318, + 0, 327, 308, 308, 312, 309, 309, 315, 316, 319, + 320, 331, 323, 329, 313, 313, 317, 314, 314, 317, + 316, 316, 318, 315, 321, 324, 318, 319, 320, 325, + 326, 328, 321, 327, 330, 316, 319, 320, 324, 329, + 329, 332, 333, 331, 334, 336, 0, 0, 328, 333, + 337, 321, 324, 334, 328, 326, 330, 326, 328, 336, + 335, 330, 338, 346, 0, 332, 335, 340, 0, 333, + + 339, 334, 336, 332, 341, 328, 337, 337, 343, 339, + 0, 347, 341, 348, 342, 345, 338, 335, 377, 338, + 340, 344, 332, 342, 340, 346, 347, 339, 349, 350, + 344, 341, 345, 0, 343, 343, 352, 353, 347, 345, + 354, 342, 345, 357, 350, 348, 353, 0, 344, 382, + 377, 358, 349, 356, 352, 349, 350, 357, 362, 345, + 351, 363, 354, 352, 353, 351, 358, 354, 351, 0, + 357, 359, 359, 351, 351, 351, 351, 356, 358, 360, + 356, 382, 362, 351, 360, 362, 0, 351, 363, 370, + 0, 0, 351, 0, 0, 351, 359, 365, 359, 359, + + 351, 351, 351, 351, 355, 368, 355, 364, 355, 365, + 364, 360, 369, 366, 0, 372, 370, 364, 355, 355, + 355, 355, 355, 368, 365, 366, 367, 367, 355, 371, + 369, 355, 368, 355, 364, 355, 367, 364, 373, 369, + 366, 372, 372, 375, 376, 355, 355, 355, 355, 355, + 374, 371, 374, 367, 367, 375, 371, 378, 0, 379, + 387, 380, 381, 386, 373, 373, 376, 379, 380, 388, + 375, 376, 378, 385, 381, 392, 383, 374, 383, 397, + 385, 396, 395, 394, 378, 386, 379, 383, 380, 381, + 386, 388, 387, 389, 383, 390, 388, 390, 391, 389, + + 385, 394, 383, 383, 416, 383, 397, 392, 395, 395, + 394, 391, 416, 396, 383, 389, 393, 398, 402, 390, + 389, 383, 390, 401, 390, 391, 389, 0, 421, 393, + 401, 416, 393, 407, 393, 0, 402, 421, 405, 398, + 393, 403, 402, 393, 398, 402, 404, 0, 413, 407, + 401, 405, 0, 403, 408, 421, 393, 407, 404, 393, + 407, 393, 399, 402, 399, 405, 410, 408, 403, 411, + 399, 417, 412, 404, 399, 420, 407, 412, 410, 399, + 413, 408, 399, 417, 415, 0, 0, 411, 399, 399, + 415, 399, 414, 410, 419, 424, 411, 399, 417, 414, + + 418, 399, 419, 433, 412, 0, 399, 420, 424, 399, + 400, 415, 400, 414, 422, 422, 423, 427, 418, 414, + 426, 419, 424, 423, 427, 400, 414, 418, 400, 0, + 400, 425, 400, 0, 0, 433, 400, 400, 426, 400, + 425, 422, 426, 423, 427, 0, 0, 426, 0, 428, + 0, 0, 400, 0, 0, 400, 428, 400, 0, 400, + 409, 409, 430, 425, 431, 426, 409, 425, 434, 429, + 409, 409, 409, 409, 409, 435, 428, 409, 432, 440, + 409, 429, 435, 437, 430, 409, 431, 409, 409, 430, + 432, 431, 437, 409, 434, 434, 429, 409, 409, 409, + + 409, 409, 435, 436, 409, 432, 438, 409, 439, 442, + 437, 440, 441, 0, 441, 443, 445, 439, 436, 438, + 442, 444, 444, 445, 446, 451, 453, 447, 449, 448, + 436, 446, 450, 438, 455, 439, 442, 443, 447, 441, + 448, 449, 443, 445, 452, 452, 463, 451, 0, 453, + 444, 446, 451, 453, 447, 449, 448, 450, 454, 450, + 455, 455, 452, 457, 464, 458, 456, 460, 459, 452, + 468, 452, 452, 454, 456, 457, 458, 459, 463, 0, + 460, 454, 464, 465, 466, 454, 467, 461, 461, 452, + 457, 464, 458, 456, 460, 459, 470, 469, 471, 461, + + 454, 461, 468, 469, 467, 465, 461, 466, 472, 473, + 465, 466, 474, 467, 461, 461, 476, 470, 482, 474, + 475, 471, 477, 470, 469, 471, 461, 481, 461, 462, + 476, 473, 472, 479, 484, 472, 473, 462, 462, 474, + 478, 462, 462, 476, 480, 462, 475, 475, 478, 477, + 482, 462, 483, 481, 481, 479, 462, 484, 480, 487, + 479, 484, 488, 485, 462, 462, 491, 478, 462, 462, + 486, 480, 462, 491, 483, 485, 486, 490, 494, 483, + 489, 487, 492, 493, 488, 495, 487, 489, 489, 488, + 485, 492, 490, 491, 497, 496, 498, 486, 493, 499, + + 495, 496, 494, 502, 490, 494, 489, 489, 499, 492, + 493, 500, 495, 501, 489, 489, 497, 503, 498, 504, + 508, 497, 496, 498, 505, 504, 499, 506, 501, 502, + 502, 509, 506, 0, 500, 511, 512, 513, 500, 503, + 501, 511, 514, 513, 503, 516, 504, 515, 0, 517, + 505, 505, 508, 515, 506, 512, 517, 509, 509, 520, + 514, 520, 511, 512, 513, 518, 521, 516, 520, 514, + 522, 523, 516, 529, 515, 521, 517, 522, 524, 525, + 518, 527, 531, 528, 0, 531, 520, 526, 520, 530, + 526, 524, 518, 521, 532, 529, 536, 522, 526, 527, + + 529, 531, 530, 523, 539, 524, 533, 535, 527, 531, + 534, 525, 531, 537, 526, 528, 530, 526, 532, 533, + 537, 532, 534, 538, 541, 535, 540, 539, 536, 544, + 542, 545, 543, 533, 535, 542, 539, 534, 543, 540, + 537, 545, 546, 547, 548, 0, 541, 538, 551, 549, + 538, 541, 544, 540, 539, 547, 544, 542, 545, 543, + 549, 554, 551, 557, 546, 550, 548, 556, 554, 546, + 547, 548, 555, 550, 558, 551, 549, 568, 555, 556, + 559, 0, 558, 571, 0, 0, 557, 571, 554, 568, + 557, 594, 550, 552, 556, 564, 0, 570, 552, 555, + + 552, 558, 559, 560, 568, 561, 552, 559, 552, 562, + 571, 552, 552, 562, 560, 564, 567, 564, 552, 552, + 552, 570, 564, 594, 570, 552, 567, 552, 561, 566, + 560, 562, 561, 552, 563, 552, 562, 563, 552, 552, + 562, 565, 564, 569, 565, 552, 563, 566, 567, 573, + 572, 576, 565, 567, 569, 575, 566, 572, 574, 577, + 574, 563, 578, 576, 563, 580, 584, 579, 565, 0, + 569, 565, 581, 0, 577, 573, 573, 572, 576, 579, + 581, 575, 575, 583, 584, 574, 577, 585, 578, 578, + 582, 580, 580, 584, 579, 582, 586, 587, 588, 581, + + 590, 595, 591, 592, 586, 583, 596, 599, 593, 587, + 583, 0, 0, 585, 585, 590, 595, 582, 596, 588, + 591, 598, 608, 586, 587, 588, 592, 590, 595, 591, + 592, 593, 597, 596, 598, 593, 601, 600, 602, 599, + 597, 603, 604, 605, 607, 601, 605, 606, 598, 600, + 610, 611, 613, 0, 608, 603, 0, 609, 612, 597, + 0, 602, 614, 601, 600, 602, 606, 604, 603, 604, + 605, 607, 609, 612, 606, 614, 613, 616, 615, 613, + 617, 621, 610, 611, 609, 612, 618, 619, 620, 614, + 615, 624, 621, 625, 627, 620, 619, 622, 620, 616, + + 628, 629, 622, 617, 616, 615, 620, 617, 621, 623, + 618, 630, 631, 618, 619, 620, 0, 631, 624, 634, + 625, 632, 620, 623, 0, 620, 627, 628, 629, 622, + 632, 633, 635, 636, 634, 638, 623, 633, 641, 637, + 639, 640, 641, 630, 631, 642, 634, 637, 632, 644, + 643, 646, 647, 642, 638, 636, 635, 657, 633, 635, + 636, 647, 638, 640, 639, 641, 637, 639, 640, 645, + 648, 649, 642, 643, 646, 650, 645, 643, 646, 647, + 652, 644, 651, 653, 649, 654, 652, 659, 655, 657, + 0, 658, 648, 654, 651, 664, 645, 648, 649, 655, + + 659, 650, 650, 662, 656, 653, 664, 652, 661, 651, + 653, 656, 654, 658, 659, 655, 660, 661, 658, 663, + 665, 660, 664, 666, 660, 660, 667, 0, 663, 662, + 662, 656, 668, 670, 671, 661, 672, 673, 0, 667, + 660, 677, 665, 660, 668, 666, 663, 665, 660, 674, + 666, 660, 660, 667, 672, 676, 678, 670, 679, 668, + 670, 673, 675, 672, 673, 677, 671, 681, 677, 679, + 675, 674, 674, 685, 684, 680, 674, 676, 678, 682, + 685, 683, 676, 678, 680, 679, 686, 681, 682, 675, + 690, 687, 689, 691, 681, 683, 684, 688, 674, 691, + + 685, 684, 680, 692, 689, 688, 682, 693, 683, 687, + 694, 695, 690, 686, 697, 698, 692, 690, 687, 689, + 691, 694, 703, 699, 688, 696, 700, 700, 709, 695, + 692, 707, 701, 693, 693, 705, 698, 694, 695, 702, + 696, 711, 698, 701, 703, 704, 697, 699, 705, 703, + 699, 706, 696, 707, 704, 700, 0, 708, 707, 701, + 709, 710, 705, 702, 706, 708, 702, 712, 713, 715, + 713, 714, 704, 711, 716, 717, 720, 722, 706, 716, + 715, 719, 0, 710, 708, 718, 0, 724, 710, 717, + 720, 712, 723, 714, 712, 713, 715, 718, 714, 719, + + 723, 0, 717, 720, 725, 724, 716, 727, 719, 722, + 0, 726, 718, 721, 724, 721, 728, 0, 726, 723, + 730, 729, 721, 0, 732, 0, 725, 731, 721, 721, + 721, 725, 0, 727, 727, 730, 728, 721, 726, 732, + 721, 729, 721, 728, 730, 0, 737, 730, 729, 721, + 733, 732, 735, 734, 746, 721, 721, 721, 734, 731, + 733, 736, 730, 736, 739, 0, 738, 741, 0, 740, + 755, 737, 733, 737, 738, 740, 741, 733, 735, 735, + 748, 742, 747, 743, 0, 734, 746, 733, 736, 739, + 742, 739, 743, 738, 741, 744, 740, 745, 748, 749, + + 750, 0, 755, 744, 745, 747, 751, 748, 742, 747, + 743, 749, 750, 752, 753, 751, 754, 757, 756, 758, + 0, 752, 744, 753, 745, 756, 749, 750, 754, 759, + 757, 761, 762, 751, 758, 766, 760, 759, 753, 761, + 752, 753, 760, 754, 757, 756, 758, 766, 763, 764, + 753, 797, 765, 0, 814, 762, 759, 763, 761, 762, + 764, 765, 766, 760, 767, 767, 768, 770, 771, 769, + 0, 772, 774, 767, 768, 763, 764, 769, 773, 765, + 775, 771, 778, 797, 776, 774, 814, 0, 775, 770, + 777, 767, 767, 768, 770, 771, 769, 772, 772, 774, + + 776, 773, 779, 777, 778, 773, 780, 775, 781, 778, + 782, 776, 783, 779, 780, 784, 785, 777, 786, 787, + 0, 786, 781, 784, 790, 788, 0, 0, 0, 779, + 782, 789, 792, 780, 783, 781, 785, 782, 791, 783, + 789, 787, 784, 785, 790, 786, 787, 788, 793, 794, + 792, 790, 788, 791, 795, 796, 798, 0, 789, 792, + 799, 793, 800, 0, 801, 791, 804, 794, 802, 807, + 796, 0, 795, 806, 821, 793, 794, 801, 798, 806, + 803, 795, 796, 798, 799, 800, 802, 799, 805, 800, + 804, 801, 803, 804, 808, 802, 807, 810, 809, 811, + + 806, 805, 808, 809, 813, 815, 821, 803, 818, 816, + 817, 0, 813, 815, 822, 805, 816, 811, 825, 810, + 808, 808, 823, 818, 810, 819, 811, 819, 824, 808, + 809, 813, 815, 817, 820, 818, 816, 817, 825, 826, + 824, 823, 827, 820, 827, 825, 822, 828, 826, 823, + 831, 0, 819, 835, 828, 824, 0, 844, 0, 841, + 839, 820, 831, 835, 841, 0, 826, 845, 844, 827, + 838, 843, 0, 0, 828, 829, 852, 831, 829, 0, + 835, 839, 829, 842, 844, 829, 841, 839, 838, 843, + 845, 846, 829, 829, 845, 829, 0, 838, 843, 847, + + 829, 850, 829, 0, 842, 829, 849, 848, 852, 829, + 842, 867, 829, 855, 850, 849, 867, 846, 846, 829, + 829, 856, 829, 848, 851, 847, 847, 856, 850, 854, + 857, 851, 861, 849, 848, 855, 854, 858, 859, 857, + 855, 859, 0, 867, 0, 0, 0, 0, 856, 863, + 860, 851, 853, 853, 861, 853, 854, 857, 853, 861, + 858, 869, 864, 853, 858, 859, 860, 862, 866, 853, + 853, 863, 853, 860, 864, 862, 863, 860, 853, 853, + 853, 865, 853, 865, 868, 853, 870, 869, 869, 864, + 853, 872, 866, 860, 862, 866, 853, 853, 870, 853, + + 871, 873, 874, 875, 868, 876, 877, 879, 865, 878, + 881, 868, 880, 870, 882, 879, 885, 872, 872, 881, + 0, 882, 871, 873, 878, 875, 874, 871, 873, 874, + 875, 877, 876, 877, 879, 880, 878, 881, 883, 880, + 884, 882, 885, 885, 886, 887, 883, 888, 0, 889, + 892, 891, 887, 890, 893, 892, 886, 894, 896, 884, + 888, 895, 890, 897, 0, 883, 891, 884, 897, 899, + 900, 886, 887, 901, 888, 889, 889, 892, 891, 894, + 890, 902, 907, 895, 894, 896, 893, 904, 895, 903, + 902, 899, 905, 906, 904, 897, 899, 903, 901, 908, + + 901, 910, 900, 909, 907, 905, 912, 911, 902, 907, + 913, 914, 916, 915, 904, 919, 903, 0, 0, 905, + 914, 916, 910, 917, 918, 906, 911, 909, 910, 923, + 909, 908, 915, 912, 911, 919, 924, 913, 914, 916, + 915, 922, 919, 920, 921, 917, 925, 918, 926, 922, + 917, 918, 920, 927, 924, 921, 923, 928, 0, 929, + 931, 933, 933, 924, 934, 925, 928, 929, 922, 0, + 920, 921, 932, 925, 938, 926, 936, 935, 931, 936, + 937, 932, 934, 939, 928, 927, 929, 931, 933, 935, + 940, 934, 937, 942, 941, 944, 938, 944, 943, 932, + + 946, 938, 0, 936, 935, 939, 945, 937, 940, 949, + 939, 943, 952, 948, 946, 942, 0, 940, 941, 950, + 942, 941, 944, 947, 945, 943, 948, 946, 947, 951, + 952, 950, 957, 945, 954, 949, 949, 951, 953, 952, + 948, 953, 955, 954, 958, 959, 950, 961, 960, 0, + 955, 959, 0, 961, 962, 947, 951, 957, 965, 957, + 963, 954, 972, 965, 967, 953, 955, 963, 0, 955, + 960, 958, 959, 964, 961, 960, 962, 955, 969, 966, + 964, 962, 967, 970, 968, 965, 966, 963, 968, 971, + 973, 967, 970, 975, 972, 976, 977, 971, 974, 979, + + 964, 969, 980, 976, 975, 969, 966, 978, 973, 977, + 970, 968, 982, 974, 981, 980, 971, 973, 979, 983, + 975, 994, 976, 977, 984, 974, 979, 983, 978, 980, + 985, 984, 0, 986, 978, 987, 981, 988, 989, 982, + 986, 981, 990, 995, 988, 989, 983, 990, 985, 992, + 991, 984, 993, 994, 987, 996, 992, 985, 991, 993, + 986, 997, 987, 999, 988, 989, 1000, 998, 996, 990, + 999, 1001, 1002, 1003, 1005, 995, 992, 991, 1006, 993, + 998, 1003, 996, 1007, 1006, 1009, 1010, 1008, 1011, 1004, + 999, 1014, 1017, 997, 998, 1002, 1005, 1004, 1000, 1002, + + 1003, 1005, 1012, 1001, 1004, 1006, 1008, 1013, 1015, 1007, + 1007, 1012, 1011, 1016, 1008, 1011, 1004, 1009, 1010, 1017, + 1016, 1013, 1018, 1014, 1004, 1019, 1015, 1022, 1020, 1012, + 1021, 1018, 1022, 1024, 1013, 1015, 1023, 0, 1025, 1019, + 1016, 1026, 0, 1021, 1027, 1021, 1026, 1029, 1023, 1018, + 1020, 1027, 1019, 0, 1021, 1020, 1024, 1021, 1030, 1022, + 1024, 1028, 0, 1023, 1025, 1025, 1030, 1033, 1026, 1029, + 1021, 1027, 1021, 1028, 1029, 1032, 1034, 1036, 1032, 1037, + 1033, 1041, 1042, 1038, 1043, 1030, 1037, 1034, 1028, 1038, + 0, 1036, 0, 1044, 1033, 0, 1043, 1040, 0, 1045, + + 1034, 1045, 1032, 1034, 1036, 1042, 1037, 1041, 1041, 1042, + 1038, 1043, 0, 1051, 1034, 1039, 0, 1039, 1047, 1040, + 1044, 1039, 1048, 1039, 1040, 1047, 1045, 1049, 1039, 1046, + 1046, 1062, 1053, 1039, 1048, 1051, 1049, 1053, 1050, 1039, + 1051, 0, 1039, 1054, 1039, 1047, 1052, 0, 1039, 1048, + 1039, 1050, 1046, 1055, 1049, 1039, 1046, 1046, 1062, 1052, + 1039, 1054, 1056, 1057, 1053, 1050, 1055, 1058, 1059, 1060, + 1054, 1058, 1063, 1052, 1056, 1057, 0, 1071, 1063, 1061, + 1055, 1058, 1065, 1059, 1064, 1056, 1067, 1069, 1066, 1056, + 1057, 1060, 1061, 1058, 1058, 1059, 1060, 1064, 1058, 1063, + + 1065, 1056, 1068, 1070, 1071, 1073, 1061, 1067, 1058, 1065, + 1066, 1064, 1074, 1067, 1075, 1066, 1076, 1074, 1078, 1069, + 1079, 1080, 1075, 1081, 1068, 1076, 1082, 0, 1091, 1068, + 0, 0, 1083, 1078, 1080, 1070, 0, 1073, 1081, 1074, + 0, 1075, 1079, 1076, 1077, 1078, 1084, 1079, 1080, 1077, + 1081, 1077, 1082, 1082, 1083, 1085, 1086, 1077, 1088, 1083, + 1091, 1087, 1077, 1077, 1089, 1084, 1088, 1086, 1085, 1077, + 1077, 1077, 1089, 1084, 1087, 1090, 1077, 1092, 1077, 1093, + 1098, 1102, 1085, 1086, 1077, 1088, 1090, 1095, 1087, 1077, + 1077, 1089, 1094, 1099, 1093, 1105, 1077, 1103, 1095, 1092, + + 1096, 1094, 1090, 1097, 1092, 0, 1093, 1098, 1100, 1096, + 1104, 1106, 1097, 1102, 1095, 1100, 1099, 1105, 1104, 1094, + 1099, 1103, 1105, 1107, 1103, 1106, 1108, 1096, 0, 1111, + 1097, 1109, 1112, 1113, 1114, 1100, 1115, 1104, 1106, 1109, + 1118, 1117, 1115, 1116, 1113, 1119, 0, 1111, 1108, 1117, + 1112, 1120, 1119, 1108, 1121, 1107, 1111, 1124, 1109, 1112, + 1113, 1116, 1118, 1115, 1120, 1125, 1114, 1118, 1117, 1122, + 1116, 1123, 1119, 1126, 1131, 1124, 1122, 1127, 1120, 1128, + 1121, 1121, 1129, 1125, 1124, 1131, 1123, 1127, 1134, 1133, + 1138, 1135, 1125, 0, 1126, 1134, 1122, 1136, 1123, 1136, + + 1126, 1131, 1133, 1137, 1127, 1128, 1128, 1144, 1141, 1145, + 1152, 1139, 1140, 1153, 1129, 1134, 1133, 1135, 1135, 1139, + 1140, 1141, 1138, 1142, 1136, 1137, 1148, 1149, 1143, 1144, + 1137, 1145, 1142, 1150, 1144, 1141, 1145, 1151, 1139, 1140, + 1143, 1154, 1152, 1156, 1155, 1153, 1175, 1158, 1148, 1149, + 1142, 1150, 0, 1148, 1149, 1143, 1155, 1156, 1158, 1154, + 1150, 1159, 1161, 1151, 1151, 1161, 1159, 1162, 1154, 0, + 1156, 1155, 1163, 1164, 1158, 1165, 1166, 1167, 1175, 1162, + 1169, 1170, 1165, 1173, 1167, 1177, 1164, 0, 1161, 1161, + 0, 1169, 1161, 1159, 1162, 0, 1163, 1173, 1166, 1163, + + 1164, 1170, 1165, 1166, 1167, 1168, 1168, 1169, 1170, 1171, + 1173, 1174, 1172, 1178, 1180, 1176, 0, 1177, 1182, 1168, + 1171, 1172, 1176, 1174, 1179, 1178, 1183, 1180, 1184, 1188, + 1185, 0, 1168, 1168, 1184, 0, 1171, 1186, 1174, 1172, + 1178, 1180, 1176, 1187, 1182, 1182, 1179, 1188, 1191, 1189, + 1183, 1179, 1185, 1183, 1187, 1184, 1188, 1185, 1190, 1186, + 1193, 1194, 1195, 1191, 1186, 1197, 1198, 1196, 1199, 1200, + 1187, 1189, 1194, 1196, 1201, 1191, 1189, 1202, 1200, 0, + 1190, 1193, 1203, 1195, 1204, 1190, 1199, 1193, 1194, 1195, + 1206, 1203, 1204, 1198, 1196, 1199, 1200, 1197, 1201, 1205, + + 1208, 1201, 1207, 1202, 1202, 1209, 1205, 1210, 1211, 1203, + 1213, 1204, 1215, 0, 1206, 0, 1207, 1206, 1212, 1214, + 1219, 1217, 1218, 1220, 1222, 0, 1205, 1219, 0, 1207, + 1211, 1218, 1208, 0, 1221, 1211, 1224, 1209, 1223, 1210, + 1212, 1214, 1213, 1217, 1215, 1212, 1214, 1219, 1217, 1218, + 1223, 1222, 1225, 1226, 1224, 1220, 1221, 1227, 1229, 1228, + 1231, 1221, 1233, 1224, 1230, 1223, 1227, 1228, 1232, 1236, + 1225, 1233, 1239, 1235, 1237, 1226, 1231, 1234, 0, 1225, + 1226, 1235, 1229, 1240, 1227, 1229, 1228, 1231, 1230, 1233, + 1232, 1230, 1234, 1238, 1239, 1232, 1242, 1243, 1244, 1239, + + 1235, 1236, 0, 1241, 1234, 1238, 1237, 1245, 1247, 1242, + 1240, 1241, 1255, 1244, 1248, 1250, 1245, 1247, 1249, 1251, + 1238, 1251, 1254, 1242, 1256, 1244, 1249, 0, 1253, 1243, + 1241, 1257, 1248, 0, 1245, 1247, 1253, 1258, 1250, 1255, + 1254, 1248, 1250, 1256, 1261, 1249, 1251, 1259, 1262, 1254, + 1263, 1256, 1265, 1257, 1259, 1253, 1264, 1261, 1257, 1258, + 1262, 1266, 1267, 1269, 1258, 1263, 1270, 1271, 0, 1268, + 1265, 1261, 1272, 1266, 1259, 1262, 1268, 1263, 1264, 1265, + 1273, 1274, 1276, 1264, 1272, 1275, 1271, 1277, 1266, 1267, + 1280, 1273, 1278, 1279, 1271, 1269, 1268, 0, 1270, 1272, + + 1277, 1282, 1280, 1274, 1276, 1278, 1283, 1273, 1274, 1276, + 1275, 1284, 1275, 1281, 1277, 1279, 1285, 1280, 1287, 1278, + 1279, 1281, 1288, 1284, 1285, 1282, 1283, 1289, 1282, 1290, + 1291, 1292, 1293, 1283, 1294, 1288, 0, 0, 1284, 1291, + 1281, 1295, 1300, 1285, 1293, 1287, 0, 1290, 1295, 1288, + 1289, 1296, 1298, 1301, 1289, 1294, 1290, 1291, 1299, 1293, + 1296, 1294, 1296, 1292, 1300, 1296, 1302, 1303, 1295, 1300, + 1304, 1305, 0, 1296, 1306, 1298, 1313, 0, 1296, 1298, + 1301, 1303, 1306, 1304, 1299, 1299, 1302, 1296, 1308, 1296, + 1307, 1310, 1296, 1302, 1303, 1305, 1311, 1304, 1305, 1307, + + 1314, 1306, 1317, 1315, 1311, 1312, 1308, 1319, 1313, 1316, + 1317, 1320, 1324, 1310, 0, 1308, 1315, 1307, 1310, 1321, + 1312, 1322, 1314, 1311, 1325, 1316, 0, 1314, 1322, 1317, + 1315, 1323, 1312, 1320, 1319, 1324, 1316, 1326, 1320, 1324, + 1327, 1321, 1325, 1331, 1330, 1329, 1321, 1328, 1322, 1326, + 1332, 1325, 1327, 1323, 1329, 1328, 1330, 1335, 1323, 1336, + 1333, 1339, 0, 1331, 1326, 1332, 1335, 1327, 1333, 1329, + 1331, 1330, 1329, 1334, 1328, 1340, 1337, 1332, 1338, 1334, + 1336, 1329, 1340, 1341, 1335, 1343, 1336, 1333, 1337, 1338, + 1341, 1342, 1345, 1339, 1338, 1349, 1344, 1343, 1346, 1347, + + 1334, 1347, 1340, 1337, 1344, 1338, 1346, 1345, 1348, 1342, + 1341, 1352, 1343, 1355, 1350, 1354, 1338, 1353, 1342, 1345, + 1348, 1350, 1357, 1344, 1356, 1346, 1347, 1349, 1354, 1353, + 1358, 1356, 1355, 1357, 1360, 1348, 1363, 1361, 1359, 1360, + 1355, 1350, 1354, 1352, 1353, 1361, 1362, 0, 1364, 1357, + 1363, 1356, 1358, 1359, 1366, 1367, 0, 1358, 1369, 1362, + 1368, 1374, 1372, 1363, 1361, 1359, 1360, 0, 1373, 1367, + 1370, 0, 0, 1362, 1364, 1364, 1365, 1371, 1368, 1366, + 1365, 1366, 1367, 1365, 1365, 1372, 1373, 1368, 1365, 1372, + 1369, 1375, 1376, 1374, 1365, 1373, 1370, 1370, 1365, 1371, + + 1377, 1379, 1365, 1365, 1371, 1385, 1378, 1365, 1380, 1386, + 1365, 1365, 1378, 1375, 1376, 1365, 1380, 0, 1375, 1376, + 1381, 1365, 1381, 1382, 1379, 1365, 1377, 1377, 1379, 1383, + 1382, 1384, 1388, 1378, 1380, 1380, 1387, 1385, 1383, 1389, + 1391, 1386, 1392, 1380, 1381, 1390, 1384, 1381, 1394, 1381, + 1382, 1396, 1390, 1388, 1395, 1392, 1383, 1389, 1384, 1388, + 1387, 1393, 1391, 1387, 1397, 1399, 1389, 1391, 1401, 1392, + 1393, 1398, 1390, 1405, 1402, 1395, 1403, 0, 0, 1399, + 1394, 1395, 1407, 1396, 1404, 1404, 1397, 1402, 1393, 1405, + 1401, 1397, 1399, 1412, 1398, 1401, 1411, 1413, 1398, 1400, + + 1405, 1402, 1403, 1403, 1400, 1407, 1400, 1408, 1400, 1407, + 1400, 1409, 1410, 1404, 1411, 1415, 0, 1400, 1409, 1408, + 1412, 1410, 1414, 1411, 1413, 1417, 1400, 1414, 1416, 1415, + 1418, 1400, 1419, 1400, 1408, 1400, 1421, 1400, 1409, 1410, + 1420, 1416, 1415, 1417, 1428, 1420, 1423, 1419, 1418, 1422, + 1427, 1429, 1417, 1424, 1414, 1416, 1426, 1418, 1421, 1419, + 1425, 1424, 1422, 1421, 1423, 1430, 1429, 1420, 1425, 1426, + 1428, 1428, 1431, 1423, 1432, 1433, 1422, 1434, 1429, 0, + 1424, 1436, 1427, 1426, 1430, 1431, 1435, 1425, 1433, 1437, + 1436, 1437, 1430, 1438, 1439, 1434, 1432, 1440, 1441, 1431, + + 1442, 1432, 1433, 1443, 1434, 1445, 1435, 1449, 1436, 1440, + 1447, 1446, 1450, 1435, 1451, 1438, 1437, 1448, 1447, 1450, + 1438, 1439, 1442, 1452, 1440, 1441, 1453, 1442, 1443, 1445, + 1443, 1457, 1445, 1446, 1449, 1448, 1454, 1447, 1446, 1450, + 1455, 1451, 1454, 1462, 1448, 1456, 1455, 1458, 1453, 1452, + 1452, 1456, 1459, 1453, 1458, 1463, 1460, 1461, 1457, 0, + 1464, 1465, 1459, 1454, 1461, 1468, 1469, 1455, 0, 1470, + 3795, 3795, 1456, 1472, 1458, 1462, 1466, 1463, 1464, 1459, + 1460, 1470, 1463, 1460, 1461, 1466, 1465, 1464, 1465, 1468, + 1469, 1471, 1468, 1469, 1473, 1472, 1470, 1474, 1475, 3795, + + 1472, 1476, 1477, 1466, 0, 1471, 1479, 1473, 1478, 1480, + 0, 1481, 1486, 1482, 1487, 1491, 0, 1475, 1471, 1474, + 1481, 1473, 1483, 1476, 1474, 1475, 1477, 1484, 1476, 1477, + 1478, 1480, 1479, 1479, 1482, 1478, 1480, 1488, 1481, 1489, + 1482, 1484, 1483, 1490, 1486, 1493, 1487, 1491, 1495, 1483, + 1492, 1494, 1496, 1493, 1484, 1497, 1502, 1506, 1500, 1503, + 0, 1489, 1497, 1488, 1488, 1490, 1489, 1494, 1492, 1498, + 1490, 1503, 1493, 1502, 1495, 1495, 1498, 1492, 1494, 1496, + 1500, 1501, 1497, 1502, 1504, 1500, 1503, 1507, 1505, 1506, + 1501, 1504, 1505, 1508, 1509, 1511, 1498, 1515, 1520, 1512, + + 0, 1514, 0, 1513, 1518, 1512, 1516, 1517, 1501, 1513, + 1509, 1504, 1512, 1516, 1508, 1505, 1513, 1518, 0, 1507, + 1508, 1509, 1517, 1514, 1520, 1520, 1512, 1511, 1514, 1515, + 1513, 1518, 1512, 1516, 1517, 1519, 1513, 1522, 1521, 1522, + 1523, 1524, 1525, 1526, 1519, 1521, 1527, 0, 1530, 1523, + 1527, 1525, 1528, 1531, 1533, 0, 1530, 1532, 0, 1533, + 1536, 0, 1519, 1524, 1522, 1521, 1531, 1523, 1524, 1525, + 1526, 1532, 1534, 1527, 1528, 1530, 1535, 1537, 1536, 1528, + 1531, 1534, 1538, 1543, 1532, 1535, 1533, 1536, 1539, 1540, + 1541, 1547, 1540, 1541, 1544, 1538, 1537, 1546, 1549, 1534, + + 1539, 1540, 1547, 1535, 1537, 1542, 0, 1544, 1543, 1538, + 1543, 1548, 1541, 1554, 1549, 1539, 1540, 1541, 1547, 1540, + 1541, 1544, 1550, 1542, 1553, 1549, 1555, 1550, 1551, 1546, + 1552, 1552, 1542, 1553, 1548, 1554, 1551, 1556, 1548, 1558, + 1554, 1557, 1560, 1559, 1566, 1562, 1558, 1563, 1555, 1560, + 1557, 1553, 1564, 1555, 1550, 1551, 1563, 1552, 1562, 1556, + 1565, 1564, 1569, 1570, 1556, 1559, 1558, 1566, 1557, 1560, + 1559, 1566, 1562, 1567, 1563, 1568, 1572, 1571, 1570, 1564, + 1573, 0, 1567, 1568, 1572, 1574, 1565, 1565, 1571, 1575, + 1570, 1576, 1577, 1573, 1569, 1578, 1580, 1574, 1579, 1576, + + 1567, 1575, 1568, 1572, 1571, 1580, 1582, 1573, 1581, 1584, + 0, 1583, 1574, 1585, 1577, 1578, 1575, 1583, 1576, 1577, + 1579, 1581, 1578, 1580, 1587, 1579, 1589, 1584, 1582, 1586, + 1588, 1590, 1591, 1582, 1592, 1581, 1584, 1588, 1583, 1585, + 1585, 1586, 1587, 1593, 1594, 1595, 1598, 1592, 1596, 1597, + 1599, 1587, 1589, 1589, 1600, 1597, 1586, 1588, 1601, 1596, + 1605, 1592, 1602, 1590, 1591, 1607, 1595, 0, 1598, 1593, + 1593, 1594, 1595, 1598, 1603, 1596, 1597, 0, 1610, 1606, + 0, 1609, 1599, 1607, 1612, 1608, 1600, 1605, 1602, 1602, + 1601, 1610, 1607, 1603, 1608, 1603, 1609, 1611, 0, 1613, + + 1603, 1603, 1606, 1614, 1612, 1610, 1606, 1616, 1609, 1611, + 1614, 1612, 1608, 1615, 1617, 1618, 1620, 1624, 1621, 1619, + 1603, 1620, 1603, 1621, 1611, 1613, 1613, 1619, 1618, 1622, + 1614, 1623, 1615, 1627, 1629, 1628, 1617, 1625, 1623, 1616, + 1615, 1617, 1618, 1624, 1624, 1625, 1619, 1626, 1620, 1634, + 1621, 1627, 1622, 1630, 0, 1626, 1622, 1628, 1623, 1631, + 1627, 1630, 1628, 1632, 1625, 1635, 1629, 1631, 1633, 1636, + 1632, 1638, 1639, 1637, 1626, 1640, 1642, 1633, 1638, 1645, + 1630, 1634, 1637, 1643, 1639, 1644, 1631, 1635, 1641, 1641, + 1632, 1643, 1635, 0, 0, 1633, 1646, 1640, 1638, 1639, + + 1637, 1636, 1640, 1647, 1646, 1648, 1644, 1652, 1642, 1649, + 1643, 1645, 1644, 1648, 1650, 1641, 1651, 1649, 1655, 1653, + 1652, 1647, 1650, 1646, 1651, 1653, 1654, 1656, 1660, 1657, + 1647, 1658, 1648, 1659, 1652, 1661, 1649, 1657, 1654, 1658, + 1663, 1650, 1662, 1651, 1655, 1655, 1653, 1664, 1659, 0, + 1666, 1656, 1667, 1654, 1656, 1660, 1657, 1672, 1658, 1665, + 1659, 1664, 1661, 1663, 1662, 1673, 1667, 1663, 1666, 1662, + 0, 1665, 1670, 1674, 1664, 0, 1670, 1666, 1675, 1667, + 1676, 1678, 1674, 1672, 1672, 1680, 1665, 1673, 1677, 1670, + 1681, 1682, 1673, 1678, 1679, 1683, 1680, 1670, 1676, 1670, + + 1674, 1679, 1675, 1670, 1686, 1675, 1685, 1676, 1678, 0, + 1677, 1684, 1680, 1682, 0, 1677, 1670, 1681, 1682, 1687, + 1685, 1679, 1688, 1684, 1689, 1690, 1691, 1683, 1694, 1695, + 1692, 1697, 1690, 1685, 1699, 1691, 1686, 1693, 1684, 1703, + 1697, 1687, 1702, 1701, 1693, 1688, 1687, 1689, 1692, 1688, + 1706, 1689, 1690, 1691, 1708, 1700, 1695, 1692, 1697, 1709, + 1694, 1700, 1710, 0, 1693, 1701, 1699, 1704, 1702, 1702, + 1701, 1703, 1711, 1710, 1704, 1717, 1712, 1706, 1708, 1715, + 1714, 1708, 1700, 1711, 1716, 1715, 1709, 1712, 1718, 1710, + 1719, 1716, 1721, 1717, 1704, 1718, 1720, 1722, 1721, 1711, + + 1723, 1725, 1717, 1712, 1714, 1722, 1715, 1714, 1720, 1724, + 1726, 1716, 1723, 1727, 1725, 1718, 1719, 1719, 1732, 1721, + 1728, 1729, 1730, 1720, 1722, 1732, 1733, 1723, 1725, 1736, + 1729, 1724, 1735, 1731, 1730, 1731, 1724, 1734, 1728, 1727, + 1727, 1735, 1726, 1737, 1738, 1732, 1739, 1728, 1729, 1730, + 1734, 1736, 1733, 1733, 1740, 1737, 1736, 1741, 1742, 1735, + 1731, 1740, 1743, 1745, 1734, 1742, 1744, 1743, 1746, 1739, + 1737, 1738, 1747, 1739, 1744, 1748, 1751, 1752, 1754, 1745, + 1747, 1740, 1752, 1741, 1741, 1742, 1753, 1749, 1758, 1743, + 1745, 1746, 1754, 1744, 1749, 1746, 1755, 1748, 1757, 1747, + + 1756, 1758, 1748, 1751, 1763, 1754, 1760, 1757, 1762, 1752, + 1753, 1756, 1764, 1753, 1749, 1758, 1759, 1759, 1755, 1760, + 1761, 1765, 1761, 1755, 1759, 1757, 1762, 1756, 1765, 1766, + 1763, 1763, 1769, 1760, 1764, 1762, 1768, 1770, 1767, 1764, + 1769, 0, 1782, 1759, 1759, 1767, 1772, 1761, 1765, 1771, + 1773, 1766, 1775, 1774, 1776, 1777, 1766, 1773, 1778, 1769, + 1768, 1779, 1777, 1768, 1770, 1767, 0, 1771, 1772, 1782, + 1785, 1781, 1788, 1772, 1775, 1786, 1771, 1773, 1774, 1775, + 1774, 1783, 1777, 1779, 1781, 1784, 1776, 1789, 1779, 1783, + 1778, 1791, 1785, 1784, 1788, 1792, 1786, 1785, 1781, 1788, + + 1790, 1794, 1786, 1790, 1795, 1796, 1793, 1811, 1783, 1789, + 1794, 1797, 1784, 1803, 1789, 1798, 1795, 1791, 1791, 1793, + 1799, 1792, 1792, 1800, 1798, 1802, 1804, 1790, 1794, 1796, + 1800, 1795, 1796, 1793, 1811, 1799, 1801, 1797, 1797, 1801, + 1802, 1805, 1798, 1807, 0, 1803, 1816, 1799, 1804, 1808, + 1800, 1801, 1802, 1804, 1809, 1810, 1809, 1805, 1813, 1812, + 1801, 1807, 1812, 1801, 1814, 1805, 1801, 1815, 1805, 0, + 1807, 1808, 1816, 1816, 1817, 1818, 1808, 1819, 1801, 1810, + 0, 1809, 1810, 1820, 1805, 1823, 1812, 1822, 0, 1815, + 1813, 1824, 1823, 1821, 1815, 1822, 1814, 1820, 1825, 1819, + + 1817, 1817, 1821, 1826, 1819, 1827, 1828, 1818, 1829, 1830, + 1820, 0, 1823, 1830, 1822, 1824, 1831, 1832, 1824, 1833, + 1821, 1838, 1834, 0, 0, 1835, 0, 1836, 1828, 1838, + 1825, 1834, 1835, 1828, 1840, 1826, 1830, 1827, 1831, 1836, + 1829, 1833, 1837, 1831, 1832, 1841, 1833, 1840, 1838, 1834, + 1839, 1837, 1835, 1842, 1836, 1843, 1845, 1839, 1841, 1846, + 1844, 1840, 1844, 1847, 1843, 1848, 1842, 1852, 1854, 1837, + 1853, 1847, 1841, 1850, 1851, 1854, 1862, 1839, 0, 1845, + 1842, 1852, 1843, 1845, 1846, 1848, 1846, 1844, 1850, 1851, + 1847, 1856, 1848, 1855, 1852, 1854, 1857, 1858, 1856, 1859, + + 1850, 1851, 1853, 1862, 1855, 1863, 0, 1864, 1869, 1857, + 1860, 1869, 1863, 1866, 1868, 1858, 1865, 0, 1856, 0, + 1855, 1858, 0, 1857, 1858, 1859, 1859, 1868, 1860, 1864, + 1871, 1865, 1863, 1867, 1864, 1869, 0, 1860, 1870, 1866, + 1866, 1868, 1858, 1865, 1873, 1867, 1880, 1870, 1871, 1874, + 1875, 1872, 1876, 1875, 1883, 1880, 1873, 1871, 1884, 1881, + 1867, 1881, 1872, 1876, 1872, 1870, 1872, 0, 1875, 1874, + 0, 1873, 1882, 1880, 1887, 1872, 1874, 1875, 1872, 1876, + 1875, 1883, 1878, 1885, 1888, 1884, 1881, 1878, 1886, 1872, + 1889, 1872, 1887, 1872, 1878, 1890, 1882, 1886, 1885, 1882, + + 1896, 1887, 1889, 1893, 1891, 1892, 1894, 1895, 1888, 1878, + 1885, 1888, 1898, 1892, 1878, 1886, 1894, 1889, 1891, 1899, + 1897, 1898, 1890, 0, 1896, 1893, 1897, 1896, 1900, 1895, + 1893, 1891, 1892, 1894, 1895, 1902, 1900, 1901, 1906, 1898, + 1904, 1899, 1903, 1904, 1908, 1907, 1899, 1897, 1901, 1905, + 1903, 1912, 1905, 1902, 1909, 1900, 1906, 1914, 1904, 1910, + 1912, 1911, 1902, 0, 1901, 1906, 1910, 1904, 1914, 1903, + 1904, 1908, 1913, 1916, 1909, 1911, 1905, 1907, 1912, 1917, + 1923, 1909, 1915, 1921, 1914, 1913, 1910, 1915, 1911, 1920, + 1924, 1920, 1921, 1922, 1917, 1916, 0, 1925, 1929, 1913, + + 1916, 1924, 1932, 1930, 1923, 1926, 1917, 1923, 1927, 1926, + 1921, 1929, 1934, 0, 1915, 1925, 1920, 1924, 1931, 1922, + 1922, 1934, 1927, 1928, 1925, 1929, 1928, 1930, 1932, 1932, + 1930, 1926, 1926, 1933, 1927, 1927, 1926, 1935, 1936, 1934, + 1931, 1928, 1939, 1935, 1940, 1931, 1937, 1936, 1942, 1927, + 1928, 1937, 1944, 1928, 1941, 1939, 1940, 1933, 1945, 1941, + 1933, 1943, 1946, 1947, 1935, 1936, 1949, 1945, 1950, 1939, + 1942, 1940, 1948, 1956, 1943, 1942, 1951, 0, 1937, 1949, + 1953, 1941, 1957, 1954, 1944, 1945, 0, 1953, 1943, 1946, + 1954, 1955, 1958, 1949, 1948, 1947, 1957, 1951, 1958, 1948, + + 1950, 1959, 1961, 1951, 1955, 1956, 1976, 1953, 1966, 1957, + 1954, 0, 1963, 1968, 1964, 1965, 1958, 0, 1955, 1958, + 1963, 1961, 1964, 1965, 1967, 1958, 1974, 1966, 1977, 1961, + 1969, 1968, 1970, 1959, 1971, 1966, 1972, 1975, 1976, 1963, + 1968, 1964, 1965, 1973, 1969, 1978, 1967, 1974, 1971, 1972, + 1970, 1967, 1975, 1974, 1979, 1980, 1973, 1969, 1981, 1970, + 1977, 1971, 1982, 1972, 1975, 1981, 1984, 1983, 1979, 1978, + 1973, 1982, 1978, 1985, 1974, 1983, 1986, 1988, 1987, 1991, + 1993, 1979, 1980, 1987, 1992, 1981, 1989, 1985, 1988, 1982, + 1994, 1992, 1995, 1984, 1983, 1989, 1997, 1994, 1998, 0, + + 1985, 0, 1996, 1993, 1988, 1987, 1991, 1993, 1986, 1996, + 1999, 1992, 2000, 1989, 1995, 2001, 2000, 1994, 1997, 1995, + 1998, 2003, 2005, 1997, 0, 1998, 2006, 2007, 1999, 1996, + 2010, 2008, 2003, 2001, 2014, 2009, 0, 1999, 2005, 2000, + 2012, 2015, 2001, 2026, 2006, 2003, 2008, 2009, 2003, 2005, + 2017, 2007, 2011, 2006, 2007, 2012, 2013, 2010, 2008, 2003, + 2011, 2014, 2009, 2015, 2013, 2016, 2018, 2012, 2015, 2019, + 2017, 2020, 2021, 2022, 2024, 2026, 2028, 2017, 2016, 2011, + 2022, 2018, 2024, 2013, 2025, 2028, 2020, 2027, 2021, 2019, + 2030, 2025, 2016, 2018, 2029, 2031, 2019, 2032, 2020, 2021, + + 2022, 2024, 2027, 2028, 2032, 2033, 2035, 2036, 2037, 2038, + 2040, 2025, 0, 2041, 2027, 2029, 2042, 2030, 2039, 2031, + 2037, 2029, 2031, 2043, 2032, 2044, 0, 2038, 2035, 2039, + 2045, 2042, 2033, 2035, 2049, 2037, 2038, 2045, 2047, 2036, + 2041, 2046, 2040, 2042, 2048, 2039, 2046, 2047, 2043, 2044, + 2043, 2050, 2044, 2048, 2051, 2052, 2049, 2045, 2054, 0, + 2057, 2049, 2053, 2061, 2055, 2047, 2056, 2057, 2046, 2062, + 2052, 2048, 2051, 2050, 2053, 2059, 2058, 0, 2050, 2056, + 2054, 2051, 2052, 2058, 2056, 2054, 2055, 2057, 2060, 2053, + 2061, 2055, 2070, 2056, 0, 2072, 2065, 2059, 2058, 2063, + + 2060, 2062, 2059, 2058, 2066, 2063, 2056, 2065, 2067, 2068, + 2058, 2069, 2066, 0, 2073, 2060, 2067, 2070, 2069, 2070, + 2068, 2072, 2072, 2065, 2074, 2075, 2063, 2071, 2076, 2071, + 2081, 2066, 2075, 2077, 2084, 2067, 2068, 2078, 2069, 2079, + 2071, 2073, 2080, 2078, 2082, 2079, 2083, 2086, 2080, 2088, + 2093, 2074, 2075, 2087, 2071, 2076, 2071, 2081, 2084, 2077, + 2077, 2084, 2087, 2091, 2078, 2090, 2079, 2082, 2089, 2080, + 2094, 2082, 2089, 2092, 2093, 2092, 2096, 2093, 2083, 2086, + 2087, 2088, 2095, 2090, 2097, 2091, 2100, 2098, 2099, 2095, + 2091, 0, 2090, 2102, 2099, 2089, 2101, 2094, 2096, 2098, + + 2092, 2104, 2103, 2096, 2109, 0, 0, 2107, 2100, 2095, + 2106, 2097, 0, 2100, 2098, 2099, 2107, 2106, 2101, 2102, + 2102, 2108, 2113, 2101, 2103, 2105, 2105, 2105, 2108, 2103, + 2112, 2110, 2105, 2104, 2107, 2111, 2109, 2106, 2110, 2117, + 2105, 2115, 2111, 2116, 2113, 2121, 2115, 2118, 2108, 2113, + 2112, 2117, 2105, 2105, 2105, 2119, 2116, 2112, 2110, 2105, + 2122, 2123, 2111, 2120, 2129, 0, 2117, 2124, 2123, 0, + 2116, 2119, 2118, 2115, 2118, 2120, 2125, 2121, 2122, 2128, + 2124, 2131, 2119, 2126, 2125, 2128, 2127, 2122, 2123, 2134, + 2120, 2129, 2126, 2132, 2124, 2127, 2130, 2130, 2135, 2133, + + 2132, 2136, 2137, 2125, 2133, 2140, 2128, 2131, 2131, 2137, + 2126, 2142, 2141, 2127, 2141, 2134, 2134, 2143, 2144, 2146, + 2132, 2147, 2148, 2130, 2149, 2135, 2133, 2147, 2136, 2137, + 2149, 2151, 2140, 2150, 2142, 2143, 2152, 2146, 2142, 2141, + 2153, 2150, 2151, 2154, 2143, 2144, 2146, 2155, 2147, 2152, + 2156, 2149, 2165, 2155, 2148, 2157, 2159, 2159, 2151, 2160, + 2150, 2158, 2156, 2152, 2161, 2162, 2162, 2163, 2166, 2167, + 2154, 2175, 2153, 2168, 2155, 2157, 2169, 2156, 2163, 2158, + 2168, 2170, 2157, 2159, 2165, 2160, 2160, 2171, 2158, 2173, + 2166, 2161, 2162, 2174, 2163, 2166, 2169, 2173, 2175, 2176, + + 2168, 2167, 2177, 2169, 2179, 2178, 2181, 2180, 2182, 2189, + 2184, 2179, 2171, 2170, 2171, 2180, 2173, 2178, 2183, 2184, + 2177, 2176, 2186, 2182, 2187, 2174, 2176, 2185, 2185, 2177, + 2181, 2179, 2178, 2181, 2180, 2182, 2188, 2184, 2190, 2192, + 2191, 2189, 2183, 2188, 0, 2183, 2194, 2187, 2186, 2186, + 2193, 2187, 2195, 2190, 2185, 2197, 2198, 2193, 2194, 2199, + 2200, 2198, 2197, 2188, 2203, 2190, 2191, 2191, 2195, 2201, + 2202, 2192, 2201, 2194, 2207, 2195, 2203, 2193, 2202, 2195, + 2205, 2199, 2197, 2198, 2208, 2206, 2199, 2200, 2205, 2210, + 2222, 2203, 2209, 0, 0, 2195, 2201, 2202, 2212, 2211, + + 2207, 2207, 2214, 0, 2213, 2208, 2218, 2205, 2206, 2213, + 2209, 2208, 2206, 0, 2216, 2217, 2210, 2211, 2215, 2209, + 2213, 2212, 2222, 2217, 2215, 2212, 2211, 2216, 2218, 2214, + 2219, 2213, 2220, 2218, 2223, 2226, 2213, 2219, 2224, 2220, + 2221, 2216, 2217, 2223, 2225, 2215, 2227, 2221, 2228, 2226, + 2224, 2231, 2232, 2229, 2236, 2238, 2234, 2219, 2240, 2220, + 2232, 2223, 2226, 2234, 2235, 2224, 2225, 2221, 2242, 2231, + 0, 2225, 2233, 2227, 2228, 2228, 2229, 2233, 2231, 2232, + 2229, 2236, 2238, 2234, 2239, 2244, 2235, 2245, 2233, 2239, + 2240, 2235, 2243, 2243, 2246, 2248, 2250, 2249, 2251, 2233, + + 2242, 2252, 2245, 2253, 2233, 2253, 2254, 2244, 2256, 2257, + 2248, 0, 2244, 2251, 2245, 2259, 2239, 2260, 2250, 2243, + 2249, 2257, 2248, 2250, 2249, 2251, 2246, 2252, 2252, 2255, + 2253, 2258, 2262, 2261, 2255, 2263, 2257, 2259, 2254, 2262, + 2256, 2261, 2259, 2258, 2260, 2267, 2264, 2268, 2266, 2270, + 2273, 2276, 2275, 2267, 2271, 2277, 2255, 2263, 2258, 2262, + 2261, 2264, 2263, 2266, 2272, 2279, 2274, 2277, 2280, 2268, + 0, 0, 2267, 2264, 2268, 2266, 2270, 2273, 2271, 2275, + 2278, 2271, 2277, 2276, 2281, 2283, 2285, 2278, 2282, 2280, + 2272, 2272, 2274, 2274, 2286, 2280, 2288, 2279, 2289, 2286, + + 2297, 2291, 2292, 2283, 2290, 2298, 2281, 2278, 2285, 2282, + 2290, 2281, 2283, 2285, 2292, 2282, 2291, 2293, 2295, 2296, + 2288, 2289, 2297, 2288, 2299, 2289, 2286, 2297, 2291, 2292, + 2300, 2290, 2298, 2295, 2296, 2302, 2301, 2303, 2305, 2306, + 2304, 2307, 2299, 2293, 2293, 2295, 2296, 2304, 2306, 2307, + 2308, 2299, 2300, 2309, 2311, 0, 2305, 2300, 2301, 2302, + 2312, 2310, 2302, 2301, 2303, 2305, 2306, 2304, 2307, 2312, + 2314, 2313, 2315, 2319, 0, 2318, 2309, 2320, 2323, 2314, + 2309, 2317, 2308, 2310, 2318, 2315, 2311, 2312, 2310, 2313, + 2322, 2319, 2317, 2326, 2321, 2320, 2323, 2314, 2313, 2315, + + 2319, 2321, 2318, 2324, 2320, 2323, 2325, 2317, 2317, 2327, + 2330, 2332, 2325, 2333, 2334, 2326, 2322, 2322, 2324, 2317, + 2326, 2321, 2337, 2327, 2333, 2334, 2339, 2342, 2335, 2338, + 2324, 0, 0, 2325, 2337, 2332, 2327, 2330, 2332, 2335, + 2333, 2334, 2338, 2340, 2354, 2341, 2343, 2344, 2345, 2337, + 2346, 2349, 2342, 2340, 2342, 2335, 2338, 2345, 2339, 2343, + 2347, 0, 2350, 2352, 2353, 0, 2356, 2352, 2344, 2355, + 2340, 2341, 2341, 2343, 2344, 2345, 2354, 2346, 2349, 2347, + 2359, 0, 2355, 0, 2362, 2353, 2356, 2347, 2350, 2350, + 2352, 2353, 2357, 2356, 2358, 2363, 2355, 2357, 2361, 2362, + + 2360, 2358, 2364, 2365, 2361, 2367, 2359, 2359, 2360, 2376, + 2363, 2362, 2366, 2366, 2364, 2369, 2368, 0, 2365, 2357, + 2369, 2358, 2363, 2367, 2373, 2361, 2360, 2360, 2368, 2364, + 2365, 2373, 2367, 2370, 2374, 2360, 2376, 2370, 2374, 2366, + 2371, 2371, 2378, 2368, 2371, 2377, 2379, 2369, 2375, 2378, + 2381, 2373, 2380, 2382, 2377, 2385, 2384, 2371, 0, 2387, + 2370, 2374, 2385, 2375, 2384, 2371, 2383, 2371, 2371, 2378, + 2379, 2371, 2377, 2379, 2380, 2375, 2381, 2381, 2383, 2380, + 2382, 2387, 2385, 2384, 2371, 2388, 2387, 2389, 2391, 2390, + 2396, 2394, 2397, 2383, 2402, 2398, 2389, 2405, 2401, 2396, + + 2404, 0, 2402, 0, 0, 2400, 0, 2404, 2391, 2394, + 2388, 2390, 2388, 2398, 2389, 2391, 2390, 2396, 2394, 2397, + 2400, 2402, 2398, 2401, 2403, 2401, 2406, 2404, 2410, 2405, + 2407, 2407, 2400, 2406, 2409, 2411, 2403, 0, 2407, 2412, + 2412, 2410, 2413, 2414, 0, 2416, 2421, 2418, 0, 2417, + 0, 2403, 0, 2406, 2419, 2410, 2418, 2407, 2407, 2409, + 2422, 2409, 2411, 2419, 2413, 2423, 2412, 2416, 2414, 2413, + 2414, 2417, 2416, 2420, 2418, 2424, 2417, 2426, 2421, 2423, + 2420, 2419, 2422, 2425, 2429, 2428, 2430, 2422, 2425, 2431, + 2424, 2432, 2423, 2428, 2433, 2434, 2426, 2429, 2435, 2436, + + 2420, 2430, 2424, 2439, 2426, 2435, 2437, 2434, 2440, 2438, + 2433, 2429, 2428, 2430, 2441, 2425, 2431, 2432, 2432, 2442, + 2443, 2433, 2434, 2441, 0, 2435, 2445, 2446, 2437, 2444, + 0, 2436, 2447, 2437, 2438, 2439, 2438, 2444, 0, 2448, + 2440, 2441, 2446, 2449, 2454, 2450, 2451, 2454, 2444, 0, + 2455, 2442, 2443, 2445, 2446, 2451, 2444, 2453, 2447, 2447, + 2459, 2449, 2454, 2456, 2444, 2448, 2448, 2450, 2458, 2456, + 2449, 2454, 2450, 2451, 2454, 2455, 2457, 2455, 2459, 2460, + 2453, 2457, 2462, 2458, 2453, 2463, 0, 2459, 2464, 2465, + 2456, 2467, 2470, 0, 2460, 2458, 2462, 0, 2471, 2469, + + 2463, 2468, 2475, 0, 2475, 2467, 2460, 2471, 2457, 2462, + 2464, 2465, 2463, 2468, 2472, 2464, 2465, 2469, 2467, 2470, + 2468, 2473, 2474, 2472, 2476, 2471, 2469, 2477, 2468, 2475, + 2473, 2478, 2480, 2474, 2483, 2481, 2482, 2476, 2484, 2477, + 2468, 2472, 2485, 2482, 0, 2492, 2487, 2480, 2473, 2474, + 2481, 2476, 2486, 2478, 2477, 2487, 2494, 0, 2478, 2480, + 2484, 2483, 2481, 2482, 2485, 2484, 2492, 2490, 2494, 2485, + 2486, 2493, 2492, 2487, 2497, 2493, 2495, 2498, 2499, 2486, + 2490, 2500, 2496, 2494, 2496, 2495, 2501, 2504, 2490, 2503, + 2502, 2512, 2497, 2505, 2490, 2500, 2499, 2503, 2493, 2502, + + 2508, 2497, 2515, 2495, 2498, 2499, 2507, 2490, 2500, 2496, + 2504, 2506, 2508, 2501, 2504, 2505, 2503, 2502, 2511, 2507, + 2505, 2509, 2516, 2512, 2513, 2506, 2511, 2508, 2509, 2513, + 2514, 2517, 2520, 2507, 2515, 2514, 2522, 2519, 2506, 2520, + 2524, 2525, 2526, 2522, 2524, 2511, 2527, 2528, 2509, 2529, + 2525, 2513, 2530, 2535, 2516, 2517, 2519, 0, 2517, 2520, + 2527, 2532, 2514, 2522, 2519, 2528, 2531, 2524, 2525, 2526, + 2532, 2527, 2527, 2527, 2528, 2533, 2529, 2536, 2530, 2530, + 2541, 2531, 2539, 2537, 2538, 2535, 2540, 2527, 2532, 2536, + 2537, 2539, 2542, 2531, 2543, 2545, 2533, 2547, 2527, 0, + + 0, 2546, 2533, 2550, 2536, 2550, 2538, 2541, 2546, 2539, + 2537, 2538, 2540, 2540, 2542, 2551, 2548, 2552, 2545, 2542, + 2547, 2552, 2545, 2548, 2547, 2554, 2543, 2553, 2546, 2555, + 2550, 2556, 2561, 2559, 2554, 2557, 2560, 2551, 2558, 2553, + 2556, 2560, 2551, 2548, 2552, 2558, 2557, 2562, 2565, 2563, + 2564, 2555, 2554, 2568, 2553, 2559, 2555, 2565, 2556, 2561, + 2559, 2563, 2557, 2560, 2567, 2558, 2566, 2566, 2568, 2571, + 2562, 2569, 2564, 2567, 2562, 2565, 2563, 2564, 2570, 2569, + 2568, 2572, 2573, 2571, 2575, 0, 2576, 2577, 2579, 2578, + 2572, 2567, 2579, 2566, 2576, 2577, 2571, 2578, 2569, 2580, + + 2570, 2582, 2580, 2575, 2581, 2570, 2583, 2582, 2572, 2573, + 2585, 2575, 2581, 2576, 2577, 2579, 2578, 2584, 2586, 2587, + 2589, 2583, 2592, 2584, 0, 2591, 2580, 2593, 2582, 2596, + 2594, 2581, 2589, 2583, 2595, 2592, 2586, 2597, 2598, 2591, + 2600, 2595, 2585, 2600, 2584, 2586, 2599, 2589, 2593, 2592, + 2601, 2587, 2591, 2603, 2593, 2594, 2596, 2594, 2602, 2597, + 2599, 2595, 2598, 2601, 2597, 2598, 2604, 2600, 2606, 2605, + 2607, 2608, 2602, 2599, 2609, 2612, 2617, 2601, 2610, 2603, + 2603, 2610, 2607, 2608, 2613, 2602, 2615, 2614, 2609, 2616, + 2618, 0, 2616, 2604, 2605, 2606, 2605, 2607, 2608, 2614, + + 2619, 2609, 2612, 2617, 2610, 2610, 2621, 2616, 2610, 2624, + 2613, 2613, 2615, 2615, 2614, 2625, 2616, 2618, 2622, 2616, + 2627, 2628, 2619, 2623, 2624, 2622, 2629, 2619, 2621, 2625, + 2623, 2630, 2631, 2621, 2627, 2632, 2624, 2633, 2634, 2628, + 2631, 2636, 2625, 2635, 2638, 2622, 2633, 2627, 2628, 2639, + 2623, 2641, 2645, 2629, 2640, 2635, 2643, 0, 2630, 2631, + 2652, 0, 2632, 2636, 2633, 2634, 2642, 2640, 2636, 2641, + 2635, 2638, 2646, 2642, 2644, 2648, 2639, 2647, 2641, 2645, + 0, 2640, 2643, 2643, 2644, 2651, 2649, 2652, 2648, 2653, + 2646, 2654, 2656, 2642, 2649, 2647, 2655, 2653, 2658, 2646, + + 2657, 2644, 2648, 2660, 2647, 2655, 2663, 2651, 0, 2659, + 2667, 2668, 2651, 2649, 2656, 0, 2653, 2662, 2654, 2656, + 2661, 2657, 2658, 2655, 2659, 2658, 2665, 2657, 2661, 2662, + 2660, 2663, 2666, 2663, 2670, 2659, 2659, 2667, 2665, 2674, + 2666, 2670, 2671, 2668, 2662, 2672, 2673, 2661, 2675, 2672, + 2677, 2659, 2676, 2665, 2671, 2680, 2678, 2677, 2673, 2666, + 2676, 2670, 2674, 2678, 2679, 2685, 2674, 2686, 0, 2671, + 2683, 2681, 2672, 2673, 2686, 2675, 2688, 2677, 2680, 2676, + 2681, 2682, 2680, 2678, 2683, 2687, 2679, 2681, 2681, 2688, + 2689, 2679, 2685, 2682, 2686, 2681, 2683, 2683, 2681, 2689, + + 2690, 2691, 2694, 2688, 2693, 2687, 2699, 2681, 2682, 2690, + 2695, 2683, 2687, 2691, 2681, 2681, 2698, 2689, 2692, 2692, + 2694, 2699, 2700, 2696, 2701, 2704, 0, 2690, 2691, 2694, + 2693, 2693, 2702, 2699, 2703, 2695, 2703, 2695, 2696, 2704, + 2696, 2707, 2706, 0, 2700, 2692, 2701, 2696, 2698, 2700, + 2696, 2701, 2704, 2710, 2702, 2711, 2705, 2708, 2708, 2702, + 2706, 2703, 2705, 2707, 2712, 2696, 2713, 2696, 2707, 2706, + 2714, 2715, 2718, 2716, 2719, 2710, 0, 2711, 2713, 2716, + 2710, 2723, 2711, 2705, 2708, 2717, 2712, 2720, 2722, 2724, + 2722, 2712, 2725, 2713, 2731, 2723, 2719, 2717, 0, 2725, + + 2716, 2719, 2714, 2715, 2718, 2726, 2727, 2728, 2723, 2720, + 2729, 2732, 2717, 2724, 2720, 2722, 2724, 2730, 2733, 2725, + 2735, 2739, 2741, 2726, 2727, 2728, 2731, 2735, 2729, 2736, + 2730, 2738, 2726, 2727, 2728, 2740, 2744, 2729, 2738, 2739, + 2736, 2733, 2742, 2732, 2730, 2733, 2743, 2735, 2739, 2745, + 2742, 0, 2744, 2746, 2741, 2747, 2736, 2748, 2738, 2751, + 2753, 2740, 2740, 2744, 2752, 2749, 0, 2749, 2742, 2742, + 2751, 2746, 2749, 2754, 2745, 2752, 2745, 2742, 2743, 2748, + 2746, 2747, 2747, 2755, 2748, 2754, 2751, 2753, 2756, 2757, + 2758, 2752, 2749, 2761, 2749, 2762, 2760, 2765, 2763, 2769, + + 2754, 2755, 2767, 2770, 2761, 2766, 2756, 2762, 2757, 2767, + 2755, 2760, 2758, 2763, 2769, 2756, 2757, 2758, 2768, 2771, + 2761, 2765, 2762, 2760, 2765, 2763, 2769, 2766, 2772, 2767, + 2770, 2773, 2766, 2774, 2776, 2778, 2768, 2779, 2773, 2777, + 2780, 2782, 0, 2783, 0, 2768, 2771, 2781, 2790, 2784, + 0, 2786, 2785, 0, 0, 2772, 2783, 2778, 2773, 2774, + 2774, 2776, 2778, 2777, 2789, 2781, 2777, 2785, 2782, 2779, + 2783, 2787, 2780, 2788, 2781, 2784, 2784, 2786, 2786, 2785, + 2790, 2788, 2791, 2792, 2787, 2794, 2796, 2795, 0, 0, + 2789, 2789, 0, 2797, 2798, 2791, 2801, 2803, 2787, 2799, + + 2788, 2800, 2802, 2801, 2804, 2792, 2814, 0, 2794, 2791, + 2792, 2795, 2794, 2796, 2795, 2797, 2798, 2799, 2804, 2800, + 2797, 2798, 2806, 2801, 2803, 2802, 2799, 2807, 2800, 2802, + 2808, 2804, 2809, 2810, 2807, 2811, 2812, 2808, 2814, 2809, + 2815, 2819, 2813, 2812, 2806, 2816, 2810, 2818, 2817, 2806, + 2819, 0, 2824, 0, 2807, 0, 2822, 2808, 2811, 2809, + 2810, 2815, 2811, 2812, 2813, 2829, 2826, 2815, 2819, 2813, + 2817, 2816, 2816, 2818, 2818, 2817, 2820, 2821, 2822, 2824, + 2823, 2826, 2831, 2822, 2820, 2821, 2823, 2827, 2828, 2830, + 2834, 2832, 2836, 2826, 0, 0, 2838, 2829, 2827, 2837, + + 2839, 2831, 2840, 2820, 2821, 2836, 2842, 2823, 2834, 2831, + 2828, 2844, 2837, 2843, 2827, 2828, 2832, 2834, 2832, 2836, + 2846, 2830, 2838, 2838, 2839, 2843, 2837, 2839, 2840, 2840, + 2842, 2845, 2845, 2842, 2849, 2844, 2850, 2851, 2844, 2852, + 2843, 0, 2853, 2854, 2855, 2859, 2846, 2846, 2868, 2868, + 2861, 0, 2851, 2856, 2863, 0, 2867, 2849, 2845, 2861, + 2853, 2849, 2855, 2864, 2851, 2854, 2852, 2863, 2850, 2853, + 2854, 2855, 2859, 2856, 2864, 2868, 2869, 2861, 2867, 2870, + 2856, 2863, 2874, 2867, 0, 2871, 2873, 2873, 2870, 2875, + 2864, 2871, 2876, 2877, 2879, 2881, 2874, 2882, 0, 2883, + + 0, 2886, 2869, 2869, 2882, 2885, 2870, 2884, 2892, 2874, + 2885, 2875, 2871, 2873, 2876, 2889, 2875, 0, 2884, 2876, + 2877, 2879, 2888, 2886, 2882, 2883, 2883, 2881, 2886, 2890, + 2888, 2891, 2885, 2895, 2884, 2892, 2894, 2897, 2896, 2889, + 2899, 2898, 2889, 2901, 2890, 0, 2891, 2894, 2902, 2888, + 2898, 2895, 2899, 2903, 2904, 0, 2890, 2905, 2891, 2896, + 2895, 2906, 2907, 2894, 2908, 2896, 2902, 2899, 2898, 2897, + 2901, 2903, 2909, 2906, 2907, 2902, 2914, 2910, 2904, 2915, + 2903, 2904, 2905, 2916, 2905, 2910, 2908, 2912, 2906, 2907, + 2909, 2908, 2911, 2911, 2918, 2919, 2912, 0, 2917, 2909, + + 2911, 2920, 2914, 2914, 2910, 2916, 2915, 2917, 2921, 2919, + 2916, 2922, 2918, 2923, 2912, 2924, 2929, 2925, 2931, 2911, + 2911, 2918, 2919, 2920, 2922, 2917, 2923, 2926, 2920, 2927, + 2924, 2928, 2932, 2921, 2926, 2921, 2927, 2930, 2922, 2925, + 2923, 2933, 2924, 2929, 2925, 2931, 2934, 2935, 2936, 2930, + 0, 0, 2938, 2928, 2926, 2937, 2927, 2936, 2928, 2932, + 2939, 2934, 2940, 2942, 2930, 2941, 2943, 0, 2933, 2944, + 2942, 2947, 2935, 2934, 2935, 2936, 2944, 2937, 2938, 2938, + 2941, 2943, 2937, 2946, 2949, 2945, 2939, 2939, 2940, 2940, + 2942, 2945, 2941, 2943, 2946, 2948, 2944, 2950, 2947, 2951, + + 2952, 2953, 2955, 2948, 0, 2954, 2956, 2958, 2957, 2960, + 2946, 2949, 2945, 2956, 2958, 2951, 2953, 2955, 2963, 2961, + 0, 0, 2948, 0, 2950, 2954, 2951, 2952, 2953, 2955, + 2957, 2959, 2954, 2956, 2958, 2957, 2960, 2961, 2959, 2966, + 2962, 2964, 2964, 2965, 2968, 2963, 2961, 2962, 2967, 2971, + 2965, 2967, 2969, 2966, 2970, 2972, 2976, 2968, 2959, 2973, + 2972, 2975, 2974, 0, 2971, 0, 2966, 2962, 2964, 0, + 2965, 2968, 2970, 2977, 2976, 2967, 2971, 2974, 2969, 2969, + 2978, 2970, 2972, 2976, 2973, 2977, 2973, 2975, 2975, 2974, + 2980, 2981, 2978, 2982, 2983, 2984, 2981, 2985, 2982, 2980, + + 2977, 2985, 2986, 2988, 2990, 2989, 2987, 2978, 2991, 0, + 2993, 0, 2998, 2992, 0, 0, 2983, 2980, 2981, 2987, + 2982, 2983, 2984, 2997, 2985, 2988, 2986, 2989, 2992, 2986, + 2988, 2990, 2989, 2987, 3000, 2991, 2993, 2993, 2998, 2998, + 2992, 2997, 3001, 3002, 3003, 3004, 3006, 3007, 3009, 3008, + 2997, 3001, 3003, 3006, 3008, 3009, 3007, 3004, 3010, 3002, + 3000, 3000, 3011, 3013, 0, 3010, 3017, 0, 3020, 3001, + 3002, 3003, 3004, 3006, 3007, 3009, 3008, 3012, 3015, 3014, + 3011, 3023, 3016, 3021, 3012, 3010, 3014, 3015, 3013, 3011, + 3013, 3016, 3017, 3017, 3019, 3020, 3021, 3022, 3024, 3023, + + 3026, 3027, 3022, 3028, 3012, 3015, 3014, 3029, 3023, 3016, + 3021, 3030, 3028, 3031, 3032, 0, 3029, 3019, 3026, 0, + 3030, 3019, 3033, 3034, 3022, 3024, 3032, 3026, 3027, 3036, + 3028, 3033, 3034, 3031, 3029, 3035, 3037, 3036, 3030, 3040, + 3031, 3032, 3038, 3041, 3039, 3042, 3035, 3044, 3043, 3033, + 3034, 3046, 3042, 3047, 3048, 0, 3036, 3043, 3049, 3037, + 0, 0, 3035, 3037, 3039, 3038, 3040, 3049, 3044, 3038, + 3041, 3039, 3042, 3050, 3044, 3043, 3051, 3053, 3046, 3052, + 3047, 3055, 3050, 3054, 3056, 3049, 3048, 3052, 3051, 3057, + 3053, 3056, 3058, 3059, 3061, 3062, 3057, 3060, 3063, 3058, + + 3050, 3061, 3064, 3051, 3053, 3054, 3052, 3065, 3055, 3059, + 3054, 3056, 3066, 3060, 3069, 3071, 3057, 3062, 3068, 3058, + 3059, 3061, 3062, 3063, 3060, 3063, 3068, 3070, 3073, 3064, + 3074, 3077, 3065, 3075, 3065, 3070, 3076, 3078, 3074, 3066, + 3079, 3069, 3071, 3076, 3080, 3068, 3073, 3079, 3075, 3083, + 3081, 3082, 3087, 3077, 3070, 3073, 3083, 3074, 3077, 3087, + 3075, 3084, 3089, 3076, 3078, 3088, 3080, 3079, 3090, 3084, + 3091, 3080, 3081, 3082, 3088, 3092, 3083, 3081, 3082, 3087, + 3093, 3095, 3091, 3094, 3092, 3102, 3089, 3103, 3084, 3089, + 3096, 3098, 3088, 3095, 3099, 3090, 0, 3091, 3100, 3094, + + 3101, 3103, 3092, 3098, 3108, 0, 3099, 3093, 3095, 0, + 3094, 0, 3102, 3096, 3103, 3105, 3106, 3096, 3098, 3100, + 3107, 3099, 3112, 3101, 3110, 3100, 3113, 3101, 3111, 3105, + 3106, 3108, 3107, 3113, 3109, 3109, 3112, 3111, 3114, 3115, + 3117, 3119, 3105, 3106, 3110, 3116, 3114, 3107, 3109, 3112, + 3121, 3110, 3116, 3113, 3122, 3111, 3119, 3120, 3115, 3123, + 3125, 3109, 3109, 3124, 0, 3114, 3115, 3117, 3119, 3126, + 3127, 3124, 3116, 3121, 3128, 3120, 3130, 3121, 3129, 3131, + 3122, 3122, 3137, 3130, 3120, 3128, 3123, 3125, 3127, 3133, + 3124, 3126, 3138, 3129, 3139, 3133, 3126, 3127, 3140, 3139, + + 3141, 3128, 3144, 3130, 3142, 3129, 3131, 3147, 3137, 3137, + 3138, 3151, 3143, 0, 3141, 3145, 3133, 3146, 3142, 3138, + 3144, 3139, 0, 3148, 3149, 3140, 3143, 3141, 3157, 3144, + 3148, 3142, 3154, 3145, 3147, 3146, 3149, 3159, 3151, 3143, + 3156, 3157, 3145, 3158, 3146, 3160, 3164, 3167, 3161, 3162, + 3148, 3149, 3165, 3160, 3154, 3157, 3159, 3170, 3164, 3154, + 3165, 3168, 3156, 3171, 3159, 3158, 3161, 3156, 3162, 3167, + 3158, 3172, 3160, 3164, 3167, 3161, 3162, 3169, 3172, 3165, + 3173, 3174, 0, 3168, 3170, 3177, 3176, 3175, 3168, 3169, + 3171, 3178, 3180, 3174, 3176, 3179, 3181, 3182, 3172, 3183, + + 3190, 3180, 3173, 3184, 3169, 3181, 3187, 3173, 3174, 3175, + 3191, 3178, 3177, 3176, 3175, 3185, 3189, 3179, 3178, 3180, + 3195, 3183, 3179, 3181, 3188, 3184, 3183, 3190, 3185, 3182, + 3184, 3194, 3187, 3187, 3195, 3196, 3188, 3191, 3189, 3197, + 3198, 3199, 3185, 3189, 0, 0, 3199, 3195, 3196, 3200, + 3201, 3188, 3202, 3194, 3203, 3204, 0, 3207, 3194, 3211, + 3212, 3205, 3196, 3206, 3198, 3202, 3197, 3198, 3208, 0, + 3209, 3200, 3201, 3199, 3213, 3207, 3200, 3201, 3204, 3202, + 3208, 3210, 3204, 3205, 3207, 3206, 3203, 3210, 3205, 3209, + 3206, 3211, 3212, 3215, 3214, 3208, 3213, 3209, 3217, 3219, + + 3218, 3213, 3221, 0, 3226, 0, 3223, 0, 3210, 3214, + 3224, 0, 3225, 3226, 3230, 3233, 3227, 3221, 3217, 0, + 3215, 3214, 3218, 3219, 3228, 3217, 3219, 3218, 3223, 3221, + 3227, 3226, 3224, 3223, 3225, 3229, 3231, 3224, 3232, 3225, + 3230, 3230, 3228, 3227, 3234, 3238, 3237, 3233, 3239, 3242, + 0, 3228, 3243, 3229, 3231, 3237, 3245, 3242, 3246, 3243, + 3244, 3232, 3229, 3231, 3245, 3232, 3234, 3244, 3247, 3239, + 3248, 3234, 3250, 3237, 3251, 3239, 3242, 3238, 3248, 3243, + 3252, 3253, 3254, 3245, 3255, 3246, 3256, 3244, 3247, 3265, + 3250, 3259, 3251, 3253, 3257, 3247, 3255, 3248, 3261, 3250, + + 3254, 3251, 3257, 3259, 3263, 3261, 3252, 3252, 3253, 3254, + 3266, 3255, 3265, 3256, 3268, 3267, 3265, 3267, 3259, 3269, + 3272, 3257, 3271, 3273, 3275, 3261, 3274, 3276, 3263, 3272, + 3271, 3263, 3278, 3277, 3278, 3279, 0, 3266, 3284, 3285, + 3281, 3282, 3267, 0, 0, 3289, 3268, 3272, 3286, 3271, + 3273, 3269, 3277, 3274, 3276, 3282, 3275, 3279, 3281, 3278, + 3277, 3288, 3279, 3285, 3287, 3290, 3285, 3281, 3282, 3292, + 3284, 3286, 3289, 3287, 3288, 3286, 3293, 3290, 3294, 3297, + 3295, 3298, 3300, 3299, 3302, 0, 3304, 3300, 3288, 3295, + 3301, 3287, 3290, 3297, 3298, 3292, 3292, 3305, 3293, 3307, + + 3294, 3299, 3308, 3293, 3310, 3294, 3297, 3295, 3298, 3300, + 3299, 3302, 3301, 3304, 3303, 3309, 3312, 3301, 3303, 3316, + 3314, 3318, 3310, 3315, 3305, 3308, 3307, 3314, 3317, 3308, + 3325, 3310, 3320, 3317, 3316, 3323, 3318, 3309, 3326, 3320, + 3327, 3303, 3309, 3312, 3321, 3315, 3316, 3314, 3318, 3322, + 3315, 3321, 3329, 3328, 3330, 3332, 3322, 3325, 0, 3320, + 3317, 3323, 3323, 3333, 3336, 3326, 3329, 3327, 3330, 3337, + 3338, 3321, 3333, 3340, 3339, 3341, 3322, 3328, 3335, 3329, + 3328, 3330, 3332, 3342, 3344, 3335, 3339, 3345, 3346, 3341, + 3333, 3336, 3342, 3343, 3347, 3337, 3337, 3338, 3351, 3352, + + 3340, 3339, 3341, 3351, 3353, 3335, 3343, 3350, 0, 3361, + 3342, 3344, 3357, 3354, 3350, 3346, 3357, 3347, 3358, 3345, + 3343, 3347, 3356, 3352, 3359, 3358, 3352, 3356, 3360, 3362, + 3351, 3359, 3363, 3365, 3350, 3354, 3353, 0, 3366, 3357, + 3354, 3361, 3364, 3369, 3364, 3358, 3370, 3371, 3374, 3360, + 0, 3359, 3373, 3377, 3356, 3360, 3365, 3376, 0, 3376, + 3365, 3362, 3378, 3380, 3363, 3366, 3382, 3371, 3370, 3364, + 3369, 3373, 3374, 3370, 3371, 3374, 3383, 3377, 3381, 3373, + 3377, 3379, 3379, 3383, 3376, 3380, 3384, 3381, 3378, 3378, + 3380, 3379, 3385, 3382, 3386, 3390, 3387, 3388, 3389, 3384, + + 3395, 3478, 3396, 3383, 3387, 3381, 3389, 3386, 3379, 3379, + 3388, 3392, 3393, 3384, 3390, 3397, 3392, 3393, 3394, 3385, + 3387, 3386, 3390, 3387, 3388, 3389, 3394, 3395, 3396, 3396, + 3398, 3387, 3399, 3478, 3400, 3401, 3404, 3404, 3407, 0, + 0, 3397, 3397, 3392, 3393, 3394, 3401, 3402, 3403, 3405, + 3406, 3407, 0, 0, 3411, 3403, 3398, 3398, 3399, 3399, + 3400, 3400, 3401, 3404, 3408, 3407, 3410, 3405, 3416, 3402, + 3406, 3409, 3411, 3412, 3402, 3403, 3405, 3406, 3413, 3409, + 3412, 3411, 3414, 3417, 3418, 3413, 3408, 3419, 3410, 3414, + 3420, 3408, 3421, 3410, 3422, 3416, 3425, 3423, 3409, 3419, + + 3412, 3427, 3426, 3429, 3431, 3413, 3423, 3434, 3418, 3414, + 3417, 3418, 3428, 3421, 3419, 3432, 3422, 3420, 3428, 3421, + 3433, 3422, 3426, 3425, 3423, 3429, 3435, 3438, 3427, 3426, + 3429, 3431, 3440, 3432, 3434, 3441, 3442, 3443, 3433, 3428, + 3444, 3440, 3432, 3445, 3435, 3438, 0, 3433, 3448, 3446, + 3488, 3445, 3449, 3435, 3438, 3448, 3447, 3449, 3444, 3440, + 3443, 3452, 3441, 3442, 3443, 3446, 3451, 3444, 3447, 3453, + 3445, 3455, 3467, 3454, 0, 3448, 3446, 3456, 3458, 3452, + 3451, 3453, 3488, 3447, 3449, 3454, 3457, 3459, 3452, 3460, + 3466, 3470, 0, 3451, 3455, 3462, 3453, 3468, 3455, 3467, + + 3454, 3460, 3458, 3456, 3456, 3458, 3471, 3462, 3457, 3459, + 3468, 3473, 3466, 3457, 3459, 3475, 3460, 3466, 3470, 3471, + 3473, 3472, 3462, 3472, 3468, 3476, 3477, 3483, 3479, 3483, + 3487, 3485, 3490, 3471, 3484, 3492, 0, 3487, 3473, 3496, + 0, 3492, 3475, 3479, 3477, 3494, 3495, 3490, 3472, 3485, + 0, 3498, 3476, 3477, 3483, 3479, 3484, 3487, 3485, 3490, + 3500, 3484, 3492, 3501, 3502, 3496, 3496, 3494, 3495, 3498, + 3504, 3506, 3494, 3495, 3505, 0, 3507, 3502, 3498, 3507, + 3509, 3510, 3500, 3511, 3506, 3501, 3504, 3500, 3505, 3513, + 3501, 3502, 3514, 3512, 3520, 3517, 3513, 3504, 3506, 3514, + + 3521, 3505, 3507, 3507, 3515, 3516, 3507, 3509, 3510, 0, + 3511, 3512, 3515, 3516, 3522, 3523, 3513, 3517, 3524, 3514, + 3512, 3525, 3517, 3526, 3528, 3530, 3520, 3521, 3527, 3533, + 3525, 3515, 3516, 3538, 3527, 3529, 3522, 3523, 3526, 3536, + 3535, 3522, 3523, 3537, 3529, 3524, 3528, 3532, 3525, 3532, + 3526, 3528, 3545, 0, 0, 3527, 3533, 3530, 3563, 3538, + 3538, 3536, 3529, 3535, 3539, 3537, 3536, 3535, 3540, 3541, + 3537, 3543, 3539, 3547, 3532, 3548, 3549, 3552, 3543, 3545, + 3540, 3541, 3550, 3551, 3553, 3563, 3555, 3547, 3552, 3548, + 3549, 3539, 3553, 3554, 0, 3540, 3541, 3559, 3543, 3556, + + 3547, 3551, 3548, 3549, 3552, 3550, 3556, 3557, 3555, 3550, + 3551, 3553, 3554, 3555, 3558, 3560, 3561, 3562, 3562, 3564, + 3554, 3558, 3557, 3559, 3559, 3561, 3556, 3565, 3571, 3572, + 3573, 3568, 3569, 3560, 3557, 3565, 3568, 3578, 3577, 3583, + 3580, 3558, 3560, 3561, 3562, 3569, 3564, 3575, 3585, 3571, + 3577, 3580, 3588, 3575, 3565, 3571, 3572, 3573, 3581, 3569, + 3584, 3583, 3591, 3568, 3578, 3577, 3583, 3580, 3590, 3581, + 3585, 3584, 3592, 3589, 3575, 3585, 3592, 3593, 3597, 3588, + 3589, 3594, 0, 3596, 3598, 3581, 3590, 3584, 3600, 3594, + 3598, 3597, 3599, 3601, 3591, 3590, 3600, 3602, 3599, 3592, + + 3589, 3603, 3607, 3604, 3593, 3597, 3601, 3605, 3594, 3596, + 3596, 3598, 3604, 3605, 3606, 3600, 3609, 3612, 3611, 3599, + 3601, 3602, 3626, 3606, 3602, 3611, 0, 3603, 3603, 3607, + 3604, 3613, 3616, 3618, 3605, 3617, 3617, 3616, 3619, 3620, + 3621, 3606, 3622, 3625, 0, 3611, 3624, 3621, 3609, 3612, + 3625, 3620, 3623, 3613, 3626, 3627, 3628, 3630, 3613, 3616, + 3618, 3622, 3617, 3627, 3624, 3619, 3620, 3621, 3623, 3622, + 3625, 3628, 3631, 3624, 3629, 3632, 3633, 3634, 3641, 3623, + 3637, 3629, 3627, 3628, 3630, 3635, 3631, 3636, 3622, 3634, + 3645, 3642, 3646, 3641, 3644, 3649, 3647, 3632, 3642, 3631, + + 0, 3629, 3632, 3633, 3634, 3641, 3637, 3637, 3643, 3635, + 3652, 3636, 3635, 3653, 3636, 3643, 3644, 3650, 3642, 3646, + 3647, 3644, 3645, 3647, 3654, 3655, 3650, 3649, 3656, 3657, + 3657, 3658, 3652, 3655, 3660, 3643, 3661, 3652, 3664, 3657, + 3653, 3662, 3665, 3662, 3650, 3661, 3654, 3669, 3663, 3660, + 3665, 3654, 3655, 3666, 3667, 3670, 3657, 3657, 3658, 3671, + 3656, 3660, 3663, 3661, 3666, 3664, 3672, 3674, 3662, 3665, + 3673, 3675, 3667, 3676, 3669, 3663, 3677, 3678, 3679, 3680, + 3666, 3667, 3670, 3673, 3679, 3681, 3671, 3683, 3672, 3674, + 3682, 3682, 0, 3672, 3674, 3678, 3684, 3673, 3675, 3681, + + 3676, 3687, 3688, 3677, 3678, 3679, 3680, 3690, 3691, 3695, + 3703, 3697, 3681, 3688, 3694, 3695, 3697, 3682, 3684, 3683, + 3698, 3700, 3694, 3684, 3699, 3698, 3700, 3701, 3687, 3688, + 3704, 3704, 3699, 3706, 3690, 3691, 3695, 3703, 3697, 3710, + 3709, 3694, 3705, 3713, 0, 3708, 3706, 3698, 3700, 3711, + 3705, 3699, 3708, 3701, 3701, 3712, 3711, 3704, 3709, 3716, + 3706, 3714, 3712, 3717, 3715, 3722, 3710, 3709, 0, 3705, + 3713, 3715, 3708, 3718, 3716, 3719, 3711, 3724, 3721, 3725, + 3718, 3726, 3712, 3723, 3714, 3724, 3716, 3721, 3714, 3730, + 3723, 3715, 3732, 3729, 3734, 3717, 3733, 3722, 3719, 3729, + + 3718, 3725, 3719, 3726, 3724, 3721, 3725, 3734, 3726, 3735, + 3723, 3736, 3737, 3738, 0, 3739, 3730, 3741, 3733, 3732, + 3729, 3734, 3742, 3733, 3744, 0, 3736, 3746, 3741, 3742, + 3745, 3737, 3752, 3748, 3746, 3749, 3747, 3739, 3736, 3737, + 3738, 3735, 3739, 3747, 3741, 3754, 3750, 3744, 0, 3742, + 3749, 3744, 3745, 3752, 3746, 3748, 3751, 3745, 3755, 3752, + 3748, 3750, 3749, 3747, 3754, 3751, 3755, 3756, 3757, 3759, + 3760, 3763, 3754, 3750, 3756, 3757, 3761, 3761, 3759, 3765, + 3766, 3760, 3762, 3751, 3767, 3755, 3761, 3766, 3762, 0, + 3768, 3771, 3770, 3763, 3756, 3757, 3759, 3760, 3763, 3770, + + 3772, 3765, 3776, 3761, 3761, 3777, 3765, 3766, 3778, 3762, + 3782, 3783, 3768, 3785, 3772, 3771, 3767, 3768, 3771, 3770, + 3786, 3788, 3782, 3793, 3790, 3797, 3787, 3772, 0, 3776, + 3803, 3778, 3777, 3783, 3787, 3778, 3790, 3782, 3783, 3799, + 3785, 3794, 3786, 3796, 3796, 3798, 3798, 3786, 3788, 3794, + 3793, 3790, 3797, 3787, 3801, 3802, 3804, 3803, 3805, 3807, + 3808, 3810, 3799, 3811, 3812, 3804, 3799, 3814, 3794, 0, + 3813, 3805, 3796, 3802, 3798, 3815, 3801, 3816, 3813, 3819, + 3820, 3801, 3802, 3804, 3817, 3805, 3807, 3808, 0, 3813, + 3827, 3817, 3818, 3810, 3814, 3811, 3812, 3813, 3826, 3818, + + 3821, 3819, 3815, 3816, 3816, 3813, 3819, 3820, 3822, 3821, + 3825, 3817, 3825, 3827, 3828, 3822, 3829, 3827, 3826, 3818, + 3831, 3833, 3834, 3832, 3835, 3826, 3838, 3821, 3829, 3831, + 3832, 3837, 3828, 3839, 3836, 3822, 3840, 3825, 0, 3846, + 3841, 3828, 3842, 3829, 3834, 3841, 3833, 3831, 3833, 3834, + 3832, 3835, 3836, 3838, 3842, 3843, 3844, 3837, 3837, 3844, + 3839, 3836, 3847, 3840, 3847, 3845, 3848, 3841, 3850, 3842, + 3845, 3846, 3851, 3849, 3844, 3853, 3852, 3843, 3848, 3849, + 3854, 0, 3843, 3844, 3852, 0, 3844, 3855, 3856, 3847, + 3850, 3857, 3858, 3848, 3851, 3850, 3862, 3845, 3859, 3851, + + 3849, 3864, 3853, 3852, 3858, 3866, 3867, 3869, 3855, 3863, + 3871, 3872, 3854, 3873, 3855, 3856, 3869, 3874, 3857, 3858, + 3859, 3875, 3863, 3862, 3867, 3859, 3877, 3878, 3864, 3879, + 3880, 3883, 3866, 3867, 3869, 3884, 3863, 3871, 3872, 3887, + 3873, 3881, 3881, 3888, 3874, 3891, 3887, 0, 3875, 3883, + 3888, 3889, 3890, 3877, 3878, 3894, 3879, 3880, 3883, 3891, + 3896, 3899, 3884, 3895, 3890, 3900, 3887, 3902, 3881, 3897, + 3888, 3891, 3891, 3899, 3889, 3896, 3897, 3901, 3889, 3890, + 3909, 3895, 3894, 3903, 3904, 3901, 3891, 3896, 3899, 3906, + 3895, 3905, 3900, 3907, 3902, 3903, 3897, 3908, 3904, 3912, + + 3916, 3907, 3911, 0, 3901, 3924, 3905, 3909, 3917, 3918, + 3903, 3904, 3908, 3920, 3911, 3906, 3906, 3917, 3905, 3921, + 3907, 3923, 3916, 0, 3908, 3925, 3912, 3916, 3921, 3911, + 3919, 3919, 3926, 3918, 3927, 3917, 3918, 3924, 3925, 3920, + 3920, 3928, 3927, 3931, 3929, 3923, 3921, 3932, 3923, 3935, + 3928, 3936, 3925, 3938, 3926, 3929, 0, 3919, 3957, 3926, + 3952, 3927, 3942, 3936, 3931, 3932, 3941, 3941, 3928, 3942, + 3931, 3929, 3935, 3953, 3932, 0, 3935, 3955, 3936, 3938, + 3938, 3956, 3952, 3957, 3958, 3957, 3963, 3952, 3962, 3942, + 3959, 3959, 3958, 3941, 3960, 3955, 3964, 3953, 3959, 3956, + + 3953, 3965, 3962, 3960, 3955, 3967, 3969, 3970, 3956, 3972, + 3969, 3958, 3971, 3963, 3973, 3962, 3972, 3959, 3959, 3974, + 3978, 3960, 3979, 3964, 3976, 3970, 3979, 3980, 3965, 0, + 3982, 3974, 3967, 3969, 3970, 3971, 3972, 3976, 3981, 3971, + 3984, 3973, 3986, 3980, 3983, 3985, 3974, 3988, 0, 3979, + 3986, 3976, 3978, 3987, 3980, 3982, 3983, 3982, 3988, 3985, + 3981, 3989, 3987, 3989, 3990, 3981, 3984, 3984, 3991, 3986, + 3992, 3983, 3985, 3994, 3988, 3995, 3990, 3993, 3998, 3994, + 3987, 3996, 3999, 4002, 3997, 3992, 3991, 4000, 3989, 3999, + 3995, 3990, 3997, 4001, 4007, 3991, 0, 3992, 4005, 3993, + + 3994, 4000, 3995, 3996, 3993, 3998, 4003, 4001, 3996, 3999, + 4002, 3997, 4006, 4003, 4000, 4004, 4007, 4005, 4012, 4006, + 4001, 4007, 4013, 4004, 4014, 4005, 4015, 4018, 4017, 4013, + 4021, 4012, 4020, 4003, 4019, 4022, 4024, 0, 4023, 4006, + 4025, 4030, 4004, 4024, 4015, 4012, 4023, 4026, 4027, 4013, + 0, 4014, 4017, 4015, 4018, 4017, 4019, 4021, 4020, 4020, + 4029, 4019, 4022, 4024, 4025, 4023, 4028, 4025, 4028, 4026, + 4027, 4031, 4029, 4030, 4026, 4027, 4032, 4033, 4034, 4035, + 4036, 4037, 4038, 4040, 4031, 0, 4035, 4029, 4044, 4041, + 4042, 4032, 4045, 4028, 4046, 4047, 4045, 4050, 4031, 4033, + + 0, 4048, 4052, 4032, 4033, 4034, 4035, 4036, 4037, 4038, + 4040, 4041, 4042, 4048, 4052, 4044, 4041, 4042, 4049, 4045, + 4053, 4046, 4047, 4056, 4050, 4059, 4049, 4055, 4048, 4052, + 4055, 4060, 4056, 4062, 4061, 4063, 4053, 4064, 4065, 0, + 0, 4062, 0, 4069, 4068, 4049, 4071, 4053, 4066, 0, + 4056, 4065, 4059, 4061, 4055, 4067, 4076, 4060, 4060, 4086, + 4062, 4061, 4066, 4067, 4077, 4065, 4068, 4063, 4076, 4064, + 4069, 4068, 4079, 4071, 4082, 4066, 4077, 4085, 4083, 4088, + 4082, 4087, 4067, 4076, 4079, 4083, 4086, 4090, 4091, 4092, + 4085, 4077, 4087, 4093, 4090, 4094, 4096, 4092, 4098, 4079, + + 0, 4082, 4088, 4095, 4085, 4083, 4088, 4093, 4087, 4094, + 4091, 4095, 4097, 4101, 4090, 4091, 4092, 4103, 4096, 4101, + 4093, 4102, 4094, 4096, 4104, 4098, 4103, 4102, 4105, 4108, + 4095, 4104, 4109, 4106, 4097, 4110, 4111, 4105, 4112, 4097, + 4101, 4106, 4116, 4117, 4103, 4113, 4119, 4108, 4102, 4114, + 4116, 4104, 4115, 4119, 4120, 4105, 4108, 4110, 4122, 4109, + 4106, 4120, 4110, 4121, 4112, 4112, 4123, 4113, 4111, 4116, + 4124, 4114, 4113, 4119, 4115, 4117, 4114, 4127, 4125, 4115, + 4132, 4120, 4129, 4128, 4130, 4122, 4121, 4125, 4123, 4135, + 4121, 4128, 4130, 4123, 4134, 4131, 4136, 4124, 4133, 4137, + + 4127, 4139, 4129, 4131, 4127, 4125, 4133, 4141, 4134, 4129, + 4128, 4130, 4132, 4142, 4143, 4144, 4135, 4143, 0, 4147, + 0, 4134, 4131, 4136, 4148, 4133, 4137, 4139, 4139, 4141, + 4145, 4146, 4143, 4147, 4141, 4153, 4154, 4144, 4145, 4146, + 4142, 4143, 4144, 4149, 4143, 4157, 4147, 4156, 4156, 4153, + 4148, 4148, 4158, 0, 4159, 0, 4160, 4145, 4146, 4154, + 4158, 4163, 4153, 4154, 4161, 4149, 4164, 4162, 4165, 4163, + 4149, 4157, 4157, 4167, 4156, 4166, 4168, 0, 0, 4158, + 4159, 4159, 4160, 4160, 4169, 4170, 4161, 4162, 4163, 4176, + 0, 4161, 4172, 4164, 4162, 4165, 0, 4166, 4167, 4171, + + 4167, 4173, 4166, 4168, 4169, 4170, 4183, 4171, 4179, 4173, + 4177, 4169, 4170, 4181, 4172, 4182, 4176, 4180, 4177, 4172, + 4185, 4181, 0, 4182, 4188, 4189, 4171, 0, 4173, 4192, + 4179, 4193, 4183, 4183, 4190, 4179, 0, 4177, 4186, 4180, + 4181, 4187, 4182, 4194, 4180, 4196, 4186, 4185, 0, 4187, + 4188, 4188, 4189, 4199, 4190, 4202, 4192, 4203, 4193, 0, + 0, 4190, 0, 4194, 0, 4186, 4200, 4196, 4187, 4201, + 4194, 0, 4196, 0, 4200, 4199, 0, 4201, 0, 0, + 4199, 0, 4202, 0, 4203, 0, 0, 0, 0, 0, + 0, 0, 0, 4200, 0, 0, 4201, 4207, 4207, 4207, + + 4207, 4207, 4207, 4207, 4208, 4208, 4208, 4208, 4208, 4208, + 4208, 4209, 4209, 4209, 4209, 4209, 4209, 4209, 4210, 4210, + 4210, 4210, 4210, 4210, 4210, 4211, 4211, 4211, 4211, 4211, + 4211, 4211, 4212, 4212, 4212, 4212, 4212, 4212, 4212, 4213, + 4213, 4213, 4213, 4213, 4213, 4213, 4215, 4215, 0, 4215, + 4215, 4215, 4215, 4216, 4216, 0, 0, 0, 4216, 4216, + 4217, 4217, 0, 0, 4217, 0, 4217, 4218, 0, 0, + 0, 0, 0, 4218, 4219, 4219, 0, 0, 0, 4219, + 4219, 4220, 0, 0, 0, 0, 0, 4220, 4221, 4221, + 0, 4221, 4221, 4221, 4221, 4222, 0, 0, 0, 0, + + 0, 4222, 4223, 4223, 0, 0, 0, 4223, 4223, 4224, + 4224, 0, 4224, 4224, 4224, 4224, 4206, 4206, 4206, 4206, + 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, + 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, + 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, + 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, + 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, + 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, 4206, + 4206, 4206, 4206 + } ; + +static yy_state_type yy_last_accepting_state; +static char *yy_last_accepting_cpos; + +extern int yy_flex_debug; +int yy_flex_debug = 0; + +/* The intent behind this definition is that it'll catch + * any uses of REJECT which flex missed. + */ +#define REJECT reject_used_but_not_detected +static int yy_more_flag = 0; +static int yy_more_len = 0; +#define yymore() ((yy_more_flag) = 1) +#define YY_MORE_ADJ (yy_more_len) +#define YY_RESTORE_YY_MORE_OFFSET +char *yytext; +#line 1 "util/configlexer.lex" +#line 2 "util/configlexer.lex" +/* + * configlexer.lex - lexical analyzer for unbound config file + * + * Copyright (c) 2001-2006, NLnet Labs. All rights reserved + * + * See LICENSE for the license. + * + */ + +/* because flex keeps having sign-unsigned compare problems that are unfixed*/ +#if defined(__clang__)||(defined(__GNUC__)&&((__GNUC__ >4)||(defined(__GNUC_MINOR__)&&(__GNUC__ ==4)&&(__GNUC_MINOR__ >=2)))) +#pragma GCC diagnostic ignored "-Wsign-compare" +#endif + +#include <strings.h> +#ifdef HAVE_GLOB_H +# include <glob.h> +#endif + +#include "util/config_file.h" +#include "util/configparser.h" +void ub_c_error(const char *message); + +#if 0 +#define LEXOUT(s) printf s /* used ONLY when debugging */ +#else +#define LEXOUT(s) +#endif + +/** avoid warning in about fwrite return value */ +#define ECHO ub_c_error_msg("syntax error at text: %s", yytext) + +/** A parser variable, this is a statement in the config file which is + * of the form variable: value1 value2 ... nargs is the number of values. */ +#define YDVAR(nargs, var) \ + num_args=(nargs); \ + LEXOUT(("v(%s%d) ", yytext, num_args)); \ + if(num_args > 0) { BEGIN(val); } \ + return (var); + +struct inc_state { + char* filename; + int line; + YY_BUFFER_STATE buffer; + struct inc_state* next; + int inc_toplevel; +}; +static struct inc_state* config_include_stack = NULL; +static int inc_depth = 0; +static int inc_prev = 0; +static int num_args = 0; +static int inc_toplevel = 0; + +void init_cfg_parse(void) +{ + config_include_stack = NULL; + inc_depth = 0; + inc_prev = 0; + num_args = 0; + inc_toplevel = 0; +} + +static void config_start_include(const char* filename, int toplevel) +{ + FILE *input; + struct inc_state* s; + char* nm; + if(inc_depth+1 > 100000) { + ub_c_error_msg("too many include files"); + return; + } + if(*filename == '\0') { + ub_c_error_msg("empty include file name"); + return; + } + s = (struct inc_state*)malloc(sizeof(*s)); + if(!s) { + ub_c_error_msg("include %s: malloc failure", filename); + return; + } + if(cfg_parser->chroot && strncmp(filename, cfg_parser->chroot, + strlen(cfg_parser->chroot)) == 0) { + filename += strlen(cfg_parser->chroot); + } + nm = strdup(filename); + if(!nm) { + ub_c_error_msg("include %s: strdup failure", filename); + free(s); + return; + } + input = fopen(filename, "r"); + if(!input) { + ub_c_error_msg("cannot open include file '%s': %s", + filename, strerror(errno)); + free(s); + free(nm); + return; + } + LEXOUT(("switch_to_include_file(%s)\n", filename)); + inc_depth++; + s->filename = cfg_parser->filename; + s->line = cfg_parser->line; + s->buffer = YY_CURRENT_BUFFER; + s->inc_toplevel = inc_toplevel; + s->next = config_include_stack; + config_include_stack = s; + cfg_parser->filename = nm; + cfg_parser->line = 1; + inc_toplevel = toplevel; + yy_switch_to_buffer(yy_create_buffer(input, YY_BUF_SIZE)); +} + +static void config_start_include_glob(const char* filename, int toplevel) +{ + + /* check for wildcards */ +#ifdef HAVE_GLOB + glob_t g; + int i, r, flags; + if(!(!strchr(filename, '*') && !strchr(filename, '?') && !strchr(filename, '[') && + !strchr(filename, '{') && !strchr(filename, '~'))) { + flags = 0 +#ifdef GLOB_ERR + | GLOB_ERR +#endif + /* do not set GLOB_NOSORT so the results are sorted + and in a predictable order. */ +#ifdef GLOB_BRACE + | GLOB_BRACE +#endif +#ifdef GLOB_TILDE + | GLOB_TILDE +#endif + ; + memset(&g, 0, sizeof(g)); + if(cfg_parser->chroot && strncmp(filename, cfg_parser->chroot, + strlen(cfg_parser->chroot)) == 0) { + filename += strlen(cfg_parser->chroot); + } + r = glob(filename, flags, NULL, &g); + if(r) { + /* some error */ + globfree(&g); + if(r == GLOB_NOMATCH) + return; /* no matches for pattern */ + config_start_include(filename, toplevel); /* let original deal with it */ + return; + } + /* process files found, if any */ + for(i=(int)g.gl_pathc-1; i>=0; i--) { + config_start_include(g.gl_pathv[i], toplevel); + } + globfree(&g); + return; + } +#endif /* HAVE_GLOB */ + + config_start_include(filename, toplevel); +} + +static void config_end_include(void) +{ + struct inc_state* s = config_include_stack; + --inc_depth; + if(!s) return; + free(cfg_parser->filename); + cfg_parser->filename = s->filename; + cfg_parser->line = s->line; + yy_delete_buffer(YY_CURRENT_BUFFER); + yy_switch_to_buffer(s->buffer); + config_include_stack = s->next; + inc_toplevel = s->inc_toplevel; + free(s); +} + +#ifndef yy_set_bol /* compat definition, for flex 2.4.6 */ +#define yy_set_bol(at_bol) \ + { \ + if ( ! yy_current_buffer ) \ + yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ + yy_current_buffer->yy_ch_buf[0] = ((at_bol)?'\n':' '); \ + } +#endif + +#line 4680 "<stdout>" +#define YY_NO_INPUT 1 +#line 190 "util/configlexer.lex" +#ifndef YY_NO_UNPUT +#define YY_NO_UNPUT 1 +#endif +#ifndef YY_NO_INPUT +#define YY_NO_INPUT 1 +#endif +#line 4689 "<stdout>" + +#line 4691 "<stdout>" + +#define INITIAL 0 +#define quotedstring 1 +#define singlequotedstr 2 +#define include 3 +#define include_quoted 4 +#define val 5 +#define include_toplevel 6 +#define include_toplevel_quoted 7 + +#ifndef YY_NO_UNISTD_H +/* Special case for "unistd.h", since it is non-ANSI. We include it way + * down here because we want the user's section 1 to have been scanned first. + * The user has a chance to override it with an option. + */ +#include <unistd.h> +#endif + +#ifndef YY_EXTRA_TYPE +#define YY_EXTRA_TYPE void * +#endif + +static int yy_init_globals ( void ); + +/* Accessor methods to globals. + These are made visible to non-reentrant scanners for convenience. */ + +int yylex_destroy ( void ); + +int yyget_debug ( void ); + +void yyset_debug ( int debug_flag ); + +YY_EXTRA_TYPE yyget_extra ( void ); + +void yyset_extra ( YY_EXTRA_TYPE user_defined ); + +FILE *yyget_in ( void ); + +void yyset_in ( FILE * _in_str ); + +FILE *yyget_out ( void ); + +void yyset_out ( FILE * _out_str ); + + int yyget_leng ( void ); + +char *yyget_text ( void ); + +int yyget_lineno ( void ); + +void yyset_lineno ( int _line_number ); + +/* Macros after this point can all be overridden by user definitions in + * section 1. + */ + +#ifndef YY_SKIP_YYWRAP +#ifdef __cplusplus +extern "C" int yywrap ( void ); +#else +extern int yywrap ( void ); +#endif +#endif + +#ifndef YY_NO_UNPUT + +#endif + +#ifndef yytext_ptr +static void yy_flex_strncpy ( char *, const char *, int ); +#endif + +#ifdef YY_NEED_STRLEN +static int yy_flex_strlen ( const char * ); +#endif + +#ifndef YY_NO_INPUT +#ifdef __cplusplus +static int yyinput ( void ); +#else +static int input ( void ); +#endif + +#endif + +/* Amount of stuff to slurp up with each read. */ +#ifndef YY_READ_BUF_SIZE +#ifdef __ia64__ +/* On IA-64, the buffer size is 16k, not 8k */ +#define YY_READ_BUF_SIZE 16384 +#else +#define YY_READ_BUF_SIZE 8192 +#endif /* __ia64__ */ +#endif + +/* Copy whatever the last rule matched to the standard output. */ +#ifndef ECHO +/* This used to be an fputs(), but since the string might contain NUL's, + * we now use fwrite(). + */ +#define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0) +#endif + +/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, + * is returned in "result". + */ +#ifndef YY_INPUT +#define YY_INPUT(buf,result,max_size) \ + if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ + { \ + int c = '*'; \ + int n; \ + for ( n = 0; n < max_size && \ + (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ + buf[n] = (char) c; \ + if ( c == '\n' ) \ + buf[n++] = (char) c; \ + if ( c == EOF && ferror( yyin ) ) \ + YY_FATAL_ERROR( "input in flex scanner failed" ); \ + result = n; \ + } \ + else \ + { \ + errno=0; \ + while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \ + { \ + if( errno != EINTR) \ + { \ + YY_FATAL_ERROR( "input in flex scanner failed" ); \ + break; \ + } \ + errno=0; \ + clearerr(yyin); \ + } \ + }\ +\ + +#endif + +/* No semi-colon after return; correct usage is to write "yyterminate();" - + * we don't want an extra ';' after the "return" because that will cause + * some compilers to complain about unreachable statements. + */ +#ifndef yyterminate +#define yyterminate() return YY_NULL +#endif + +/* Number of entries by which start-condition stack grows. */ +#ifndef YY_START_STACK_INCR +#define YY_START_STACK_INCR 25 +#endif + +/* Report a fatal error. */ +#ifndef YY_FATAL_ERROR +#define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) +#endif + +/* end tables serialization structures and prototypes */ + +/* Default declaration of generated scanner - a define so the user can + * easily add parameters. + */ +#ifndef YY_DECL +#define YY_DECL_IS_OURS 1 + +extern int yylex (void); + +#define YY_DECL int yylex (void) +#endif /* !YY_DECL */ + +/* Code executed at the beginning of each rule, after yytext and yyleng + * have been set up. + */ +#ifndef YY_USER_ACTION +#define YY_USER_ACTION +#endif + +/* Code executed at the end of each rule. */ +#ifndef YY_BREAK +#define YY_BREAK /*LINTED*/break; +#endif + +#define YY_RULE_SETUP \ + YY_USER_ACTION + +/** The main scanner function which does all the work. + */ +YY_DECL +{ + yy_state_type yy_current_state; + char *yy_cp, *yy_bp; + int yy_act; + + if ( !(yy_init) ) + { + (yy_init) = 1; + +#ifdef YY_USER_INIT + YY_USER_INIT; +#endif + + if ( ! (yy_start) ) + (yy_start) = 1; /* first start state */ + + if ( ! yyin ) + yyin = stdin; + + if ( ! yyout ) + yyout = stdout; + + if ( ! YY_CURRENT_BUFFER ) { + yyensure_buffer_stack (); + YY_CURRENT_BUFFER_LVALUE = + yy_create_buffer( yyin, YY_BUF_SIZE ); + } + + yy_load_buffer_state( ); + } + + { +#line 210 "util/configlexer.lex" + +#line 4915 "<stdout>" + + while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ + { + (yy_more_len) = 0; + if ( (yy_more_flag) ) + { + (yy_more_len) = (int) ((yy_c_buf_p) - (yytext_ptr)); + (yy_more_flag) = 0; + } + yy_cp = (yy_c_buf_p); + + /* Support of yytext. */ + *yy_cp = (yy_hold_char); + + /* yy_bp points to the position in yy_ch_buf of the start of + * the current run. + */ + yy_bp = yy_cp; + + yy_current_state = (yy_start); +yy_match: + do + { + YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ; + if ( yy_accept[yy_current_state] ) + { + (yy_last_accepting_state) = yy_current_state; + (yy_last_accepting_cpos) = yy_cp; + } + while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) + { + yy_current_state = (int) yy_def[yy_current_state]; + if ( yy_current_state >= 4207 ) + yy_c = yy_meta[yy_c]; + } + yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; + ++yy_cp; + } + while ( yy_base[yy_current_state] != 12017 ); + +yy_find_action: + yy_act = yy_accept[yy_current_state]; + if ( yy_act == 0 ) + { /* have to back up */ + yy_cp = (yy_last_accepting_cpos); + yy_current_state = (yy_last_accepting_state); + yy_act = yy_accept[yy_current_state]; + } + + YY_DO_BEFORE_ACTION; + +do_action: /* This label is used only to access EOF actions. */ + + switch ( yy_act ) + { /* beginning of action switch */ + case 0: /* must back up */ + /* undo the effects of YY_DO_BEFORE_ACTION */ + *yy_cp = (yy_hold_char); + yy_cp = (yy_last_accepting_cpos); + yy_current_state = (yy_last_accepting_state); + goto yy_find_action; + +case 1: +YY_RULE_SETUP +#line 211 "util/configlexer.lex" +{ + LEXOUT(("SP ")); /* ignore */ } + YY_BREAK +case 2: +YY_RULE_SETUP +#line 213 "util/configlexer.lex" +{ + /* note that flex makes the longest match and '.' is any but not nl */ + LEXOUT(("comment(%s) ", yytext)); /* ignore */ } + YY_BREAK +case 3: +YY_RULE_SETUP +#line 216 "util/configlexer.lex" +{ YDVAR(0, VAR_SERVER) } + YY_BREAK +case 4: +YY_RULE_SETUP +#line 217 "util/configlexer.lex" +{ YDVAR(1, VAR_QNAME_MINIMISATION) } + YY_BREAK +case 5: +YY_RULE_SETUP +#line 218 "util/configlexer.lex" +{ YDVAR(1, VAR_QNAME_MINIMISATION_STRICT) } + YY_BREAK +case 6: +YY_RULE_SETUP +#line 219 "util/configlexer.lex" +{ YDVAR(1, VAR_NUM_THREADS) } + YY_BREAK +case 7: +YY_RULE_SETUP +#line 220 "util/configlexer.lex" +{ YDVAR(1, VAR_VERBOSITY) } + YY_BREAK +case 8: +YY_RULE_SETUP +#line 221 "util/configlexer.lex" +{ YDVAR(1, VAR_PORT) } + YY_BREAK +case 9: +YY_RULE_SETUP +#line 222 "util/configlexer.lex" +{ YDVAR(1, VAR_OUTGOING_RANGE) } + YY_BREAK +case 10: +YY_RULE_SETUP +#line 223 "util/configlexer.lex" +{ YDVAR(1, VAR_OUTGOING_PORT_PERMIT) } + YY_BREAK +case 11: +YY_RULE_SETUP +#line 224 "util/configlexer.lex" +{ YDVAR(1, VAR_OUTGOING_PORT_AVOID) } + YY_BREAK +case 12: +YY_RULE_SETUP +#line 225 "util/configlexer.lex" +{ YDVAR(1, VAR_OUTGOING_NUM_TCP) } + YY_BREAK +case 13: +YY_RULE_SETUP +#line 226 "util/configlexer.lex" +{ YDVAR(1, VAR_INCOMING_NUM_TCP) } + YY_BREAK +case 14: +YY_RULE_SETUP +#line 227 "util/configlexer.lex" +{ YDVAR(1, VAR_DO_IP4) } + YY_BREAK +case 15: +YY_RULE_SETUP +#line 228 "util/configlexer.lex" +{ YDVAR(1, VAR_DO_IP6) } + YY_BREAK +case 16: +YY_RULE_SETUP +#line 229 "util/configlexer.lex" +{ YDVAR(1, VAR_DO_NAT64) } + YY_BREAK +case 17: +YY_RULE_SETUP +#line 230 "util/configlexer.lex" +{ YDVAR(1, VAR_PREFER_IP4) } + YY_BREAK +case 18: +YY_RULE_SETUP +#line 231 "util/configlexer.lex" +{ YDVAR(1, VAR_PREFER_IP6) } + YY_BREAK +case 19: +YY_RULE_SETUP +#line 232 "util/configlexer.lex" +{ YDVAR(1, VAR_DO_UDP) } + YY_BREAK +case 20: +YY_RULE_SETUP +#line 233 "util/configlexer.lex" +{ YDVAR(1, VAR_DO_TCP) } + YY_BREAK +case 21: +YY_RULE_SETUP +#line 234 "util/configlexer.lex" +{ YDVAR(1, VAR_TCP_UPSTREAM) } + YY_BREAK +case 22: +YY_RULE_SETUP +#line 235 "util/configlexer.lex" +{ YDVAR(1, VAR_TCP_MSS) } + YY_BREAK +case 23: +YY_RULE_SETUP +#line 236 "util/configlexer.lex" +{ YDVAR(1, VAR_OUTGOING_TCP_MSS) } + YY_BREAK +case 24: +YY_RULE_SETUP +#line 237 "util/configlexer.lex" +{ YDVAR(1, VAR_TCP_IDLE_TIMEOUT) } + YY_BREAK +case 25: +YY_RULE_SETUP +#line 238 "util/configlexer.lex" +{ YDVAR(1, VAR_MAX_REUSE_TCP_QUERIES) } + YY_BREAK +case 26: +YY_RULE_SETUP +#line 239 "util/configlexer.lex" +{ YDVAR(1, VAR_TCP_REUSE_TIMEOUT) } + YY_BREAK +case 27: +YY_RULE_SETUP +#line 240 "util/configlexer.lex" +{ YDVAR(1, VAR_TCP_AUTH_QUERY_TIMEOUT) } + YY_BREAK +case 28: +YY_RULE_SETUP +#line 241 "util/configlexer.lex" +{ YDVAR(1, VAR_EDNS_TCP_KEEPALIVE) } + YY_BREAK +case 29: +YY_RULE_SETUP +#line 242 "util/configlexer.lex" +{ YDVAR(1, VAR_EDNS_TCP_KEEPALIVE_TIMEOUT) } + YY_BREAK +case 30: +YY_RULE_SETUP +#line 243 "util/configlexer.lex" +{ YDVAR(1, VAR_SOCK_QUEUE_TIMEOUT) } + YY_BREAK +case 31: +YY_RULE_SETUP +#line 244 "util/configlexer.lex" +{ YDVAR(1, VAR_SSL_UPSTREAM) } + YY_BREAK +case 32: +YY_RULE_SETUP +#line 245 "util/configlexer.lex" +{ YDVAR(1, VAR_SSL_UPSTREAM) } + YY_BREAK +case 33: +YY_RULE_SETUP +#line 246 "util/configlexer.lex" +{ YDVAR(1, VAR_SSL_SERVICE_KEY) } + YY_BREAK +case 34: +YY_RULE_SETUP +#line 247 "util/configlexer.lex" +{ YDVAR(1, VAR_SSL_SERVICE_KEY) } + YY_BREAK +case 35: +YY_RULE_SETUP +#line 248 "util/configlexer.lex" +{ YDVAR(1, VAR_SSL_SERVICE_PEM) } + YY_BREAK +case 36: +YY_RULE_SETUP +#line 249 "util/configlexer.lex" +{ YDVAR(1, VAR_SSL_SERVICE_PEM) } + YY_BREAK +case 37: +YY_RULE_SETUP +#line 250 "util/configlexer.lex" +{ YDVAR(1, VAR_SSL_PORT) } + YY_BREAK +case 38: +YY_RULE_SETUP +#line 251 "util/configlexer.lex" +{ YDVAR(1, VAR_SSL_PORT) } + YY_BREAK +case 39: +YY_RULE_SETUP +#line 252 "util/configlexer.lex" +{ YDVAR(1, VAR_TLS_CERT_BUNDLE) } + YY_BREAK +case 40: +YY_RULE_SETUP +#line 253 "util/configlexer.lex" +{ YDVAR(1, VAR_TLS_CERT_BUNDLE) } + YY_BREAK +case 41: +YY_RULE_SETUP +#line 254 "util/configlexer.lex" +{ YDVAR(1, VAR_TLS_WIN_CERT) } + YY_BREAK +case 42: +YY_RULE_SETUP +#line 255 "util/configlexer.lex" +{ YDVAR(1, VAR_TLS_WIN_CERT) } + YY_BREAK +case 43: +YY_RULE_SETUP +#line 256 "util/configlexer.lex" +{ YDVAR(1, VAR_TLS_ADDITIONAL_PORT) } + YY_BREAK +case 44: +YY_RULE_SETUP +#line 257 "util/configlexer.lex" +{ YDVAR(1, VAR_TLS_ADDITIONAL_PORT) } + YY_BREAK +case 45: +YY_RULE_SETUP +#line 258 "util/configlexer.lex" +{ YDVAR(1, VAR_TLS_ADDITIONAL_PORT) } + YY_BREAK +case 46: +YY_RULE_SETUP +#line 259 "util/configlexer.lex" +{ YDVAR(1, VAR_TLS_ADDITIONAL_PORT) } + YY_BREAK +case 47: +YY_RULE_SETUP +#line 260 "util/configlexer.lex" +{ YDVAR(1, VAR_TLS_SESSION_TICKET_KEYS) } + YY_BREAK +case 48: +YY_RULE_SETUP +#line 261 "util/configlexer.lex" +{ YDVAR(1, VAR_TLS_CIPHERS) } + YY_BREAK +case 49: +YY_RULE_SETUP +#line 262 "util/configlexer.lex" +{ YDVAR(1, VAR_TLS_CIPHERSUITES) } + YY_BREAK +case 50: +YY_RULE_SETUP +#line 263 "util/configlexer.lex" +{ YDVAR(1, VAR_TLS_USE_SNI) } + YY_BREAK +case 51: +YY_RULE_SETUP +#line 264 "util/configlexer.lex" +{ YDVAR(1, VAR_TLS_PROTOCOLS) } + YY_BREAK +case 52: +YY_RULE_SETUP +#line 265 "util/configlexer.lex" +{ YDVAR(1, VAR_HTTPS_PORT) } + YY_BREAK +case 53: +YY_RULE_SETUP +#line 266 "util/configlexer.lex" +{ YDVAR(1, VAR_HTTP_ENDPOINT) } + YY_BREAK +case 54: +YY_RULE_SETUP +#line 267 "util/configlexer.lex" +{ YDVAR(1, VAR_HTTP_MAX_STREAMS) } + YY_BREAK +case 55: +YY_RULE_SETUP +#line 268 "util/configlexer.lex" +{ YDVAR(1, VAR_HTTP_QUERY_BUFFER_SIZE) } + YY_BREAK +case 56: +YY_RULE_SETUP +#line 269 "util/configlexer.lex" +{ YDVAR(1, VAR_HTTP_RESPONSE_BUFFER_SIZE) } + YY_BREAK +case 57: +YY_RULE_SETUP +#line 270 "util/configlexer.lex" +{ YDVAR(1, VAR_HTTP_NODELAY) } + YY_BREAK +case 58: +YY_RULE_SETUP +#line 271 "util/configlexer.lex" +{ YDVAR(1, VAR_HTTP_NOTLS_DOWNSTREAM) } + YY_BREAK +case 59: +YY_RULE_SETUP +#line 272 "util/configlexer.lex" +{ YDVAR(1, VAR_QUIC_PORT) } + YY_BREAK +case 60: +YY_RULE_SETUP +#line 273 "util/configlexer.lex" +{ YDVAR(1, VAR_QUIC_SIZE) } + YY_BREAK +case 61: +YY_RULE_SETUP +#line 274 "util/configlexer.lex" +{ YDVAR(1, VAR_USE_SYSTEMD) } + YY_BREAK +case 62: +YY_RULE_SETUP +#line 275 "util/configlexer.lex" +{ YDVAR(1, VAR_DO_DAEMONIZE) } + YY_BREAK +case 63: +YY_RULE_SETUP +#line 276 "util/configlexer.lex" +{ YDVAR(1, VAR_INTERFACE) } + YY_BREAK +case 64: +YY_RULE_SETUP +#line 277 "util/configlexer.lex" +{ YDVAR(1, VAR_INTERFACE) } + YY_BREAK +case 65: +YY_RULE_SETUP +#line 278 "util/configlexer.lex" +{ YDVAR(1, VAR_OUTGOING_INTERFACE) } + YY_BREAK +case 66: +YY_RULE_SETUP +#line 279 "util/configlexer.lex" +{ YDVAR(1, VAR_INTERFACE_AUTOMATIC) } + YY_BREAK +case 67: +YY_RULE_SETUP +#line 280 "util/configlexer.lex" +{ YDVAR(1, VAR_INTERFACE_AUTOMATIC_PORTS) } + YY_BREAK +case 68: +YY_RULE_SETUP +#line 281 "util/configlexer.lex" +{ YDVAR(1, VAR_SO_RCVBUF) } + YY_BREAK +case 69: +YY_RULE_SETUP +#line 282 "util/configlexer.lex" +{ YDVAR(1, VAR_SO_SNDBUF) } + YY_BREAK +case 70: +YY_RULE_SETUP +#line 283 "util/configlexer.lex" +{ YDVAR(1, VAR_SO_REUSEPORT) } + YY_BREAK +case 71: +YY_RULE_SETUP +#line 284 "util/configlexer.lex" +{ YDVAR(1, VAR_IP_TRANSPARENT) } + YY_BREAK +case 72: +YY_RULE_SETUP +#line 285 "util/configlexer.lex" +{ YDVAR(1, VAR_IP_FREEBIND) } + YY_BREAK +case 73: +YY_RULE_SETUP +#line 286 "util/configlexer.lex" +{ YDVAR(1, VAR_IP_DSCP) } + YY_BREAK +case 74: +YY_RULE_SETUP +#line 287 "util/configlexer.lex" +{ YDVAR(1, VAR_CHROOT) } + YY_BREAK +case 75: +YY_RULE_SETUP +#line 288 "util/configlexer.lex" +{ YDVAR(1, VAR_USERNAME) } + YY_BREAK +case 76: +YY_RULE_SETUP +#line 289 "util/configlexer.lex" +{ YDVAR(1, VAR_DIRECTORY) } + YY_BREAK +case 77: +YY_RULE_SETUP +#line 290 "util/configlexer.lex" +{ YDVAR(1, VAR_LOGFILE) } + YY_BREAK +case 78: +YY_RULE_SETUP +#line 291 "util/configlexer.lex" +{ YDVAR(1, VAR_PIDFILE) } + YY_BREAK +case 79: +YY_RULE_SETUP +#line 292 "util/configlexer.lex" +{ YDVAR(1, VAR_ROOT_HINTS) } + YY_BREAK +case 80: +YY_RULE_SETUP +#line 293 "util/configlexer.lex" +{ YDVAR(1, VAR_STREAM_WAIT_SIZE) } + YY_BREAK +case 81: +YY_RULE_SETUP +#line 294 "util/configlexer.lex" +{ YDVAR(1, VAR_EDNS_BUFFER_SIZE) } + YY_BREAK +case 82: +YY_RULE_SETUP +#line 295 "util/configlexer.lex" +{ YDVAR(1, VAR_MSG_BUFFER_SIZE) } + YY_BREAK +case 83: +YY_RULE_SETUP +#line 296 "util/configlexer.lex" +{ YDVAR(1, VAR_MSG_CACHE_SIZE) } + YY_BREAK +case 84: +YY_RULE_SETUP +#line 297 "util/configlexer.lex" +{ YDVAR(1, VAR_MSG_CACHE_SLABS) } + YY_BREAK +case 85: +YY_RULE_SETUP +#line 298 "util/configlexer.lex" +{ YDVAR(1, VAR_RRSET_CACHE_SIZE) } + YY_BREAK +case 86: +YY_RULE_SETUP +#line 299 "util/configlexer.lex" +{ YDVAR(1, VAR_RRSET_CACHE_SLABS) } + YY_BREAK +case 87: +YY_RULE_SETUP +#line 300 "util/configlexer.lex" +{ YDVAR(1, VAR_CACHE_MAX_TTL) } + YY_BREAK +case 88: +YY_RULE_SETUP +#line 301 "util/configlexer.lex" +{ YDVAR(1, VAR_CACHE_MAX_NEGATIVE_TTL) } + YY_BREAK +case 89: +YY_RULE_SETUP +#line 302 "util/configlexer.lex" +{ YDVAR(1, VAR_CACHE_MIN_NEGATIVE_TTL) } + YY_BREAK +case 90: +YY_RULE_SETUP +#line 303 "util/configlexer.lex" +{ YDVAR(1, VAR_CACHE_MIN_TTL) } + YY_BREAK +case 91: +YY_RULE_SETUP +#line 304 "util/configlexer.lex" +{ YDVAR(1, VAR_INFRA_HOST_TTL) } + YY_BREAK +case 92: +YY_RULE_SETUP +#line 305 "util/configlexer.lex" +{ YDVAR(1, VAR_INFRA_LAME_TTL) } + YY_BREAK +case 93: +YY_RULE_SETUP +#line 306 "util/configlexer.lex" +{ YDVAR(1, VAR_INFRA_CACHE_SLABS) } + YY_BREAK +case 94: +YY_RULE_SETUP +#line 307 "util/configlexer.lex" +{ YDVAR(1, VAR_INFRA_CACHE_NUMHOSTS) } + YY_BREAK +case 95: +YY_RULE_SETUP +#line 308 "util/configlexer.lex" +{ YDVAR(1, VAR_INFRA_CACHE_LAME_SIZE) } + YY_BREAK +case 96: +YY_RULE_SETUP +#line 309 "util/configlexer.lex" +{ YDVAR(1, VAR_INFRA_CACHE_MIN_RTT) } + YY_BREAK +case 97: +YY_RULE_SETUP +#line 310 "util/configlexer.lex" +{ YDVAR(1, VAR_INFRA_CACHE_MAX_RTT) } + YY_BREAK +case 98: +YY_RULE_SETUP +#line 311 "util/configlexer.lex" +{ YDVAR(1, VAR_INFRA_KEEP_PROBING) } + YY_BREAK +case 99: +YY_RULE_SETUP +#line 312 "util/configlexer.lex" +{ YDVAR(1, VAR_NUM_QUERIES_PER_THREAD) } + YY_BREAK +case 100: +YY_RULE_SETUP +#line 313 "util/configlexer.lex" +{ YDVAR(1, VAR_JOSTLE_TIMEOUT) } + YY_BREAK +case 101: +YY_RULE_SETUP +#line 314 "util/configlexer.lex" +{ YDVAR(1, VAR_DELAY_CLOSE) } + YY_BREAK +case 102: +YY_RULE_SETUP +#line 315 "util/configlexer.lex" +{ YDVAR(1, VAR_UDP_CONNECT) } + YY_BREAK +case 103: +YY_RULE_SETUP +#line 316 "util/configlexer.lex" +{ YDVAR(1, VAR_TARGET_FETCH_POLICY) } + YY_BREAK +case 104: +YY_RULE_SETUP +#line 317 "util/configlexer.lex" +{ YDVAR(1, VAR_HARDEN_SHORT_BUFSIZE) } + YY_BREAK +case 105: +YY_RULE_SETUP +#line 318 "util/configlexer.lex" +{ YDVAR(1, VAR_HARDEN_LARGE_QUERIES) } + YY_BREAK +case 106: +YY_RULE_SETUP +#line 319 "util/configlexer.lex" +{ YDVAR(1, VAR_HARDEN_GLUE) } + YY_BREAK +case 107: +YY_RULE_SETUP +#line 320 "util/configlexer.lex" +{ YDVAR(1, VAR_HARDEN_UNVERIFIED_GLUE) } + YY_BREAK +case 108: +YY_RULE_SETUP +#line 321 "util/configlexer.lex" +{ YDVAR(1, VAR_HARDEN_DNSSEC_STRIPPED) } + YY_BREAK +case 109: +YY_RULE_SETUP +#line 322 "util/configlexer.lex" +{ YDVAR(1, VAR_HARDEN_BELOW_NXDOMAIN) } + YY_BREAK +case 110: +YY_RULE_SETUP +#line 323 "util/configlexer.lex" +{ YDVAR(1, VAR_HARDEN_REFERRAL_PATH) } + YY_BREAK +case 111: +YY_RULE_SETUP +#line 324 "util/configlexer.lex" +{ YDVAR(1, VAR_HARDEN_ALGO_DOWNGRADE) } + YY_BREAK +case 112: +YY_RULE_SETUP +#line 325 "util/configlexer.lex" +{ YDVAR(1, VAR_HARDEN_UNKNOWN_ADDITIONAL) } + YY_BREAK +case 113: +YY_RULE_SETUP +#line 326 "util/configlexer.lex" +{ YDVAR(1, VAR_USE_CAPS_FOR_ID) } + YY_BREAK +case 114: +YY_RULE_SETUP +#line 327 "util/configlexer.lex" +{ YDVAR(1, VAR_CAPS_WHITELIST) } + YY_BREAK +case 115: +YY_RULE_SETUP +#line 328 "util/configlexer.lex" +{ YDVAR(1, VAR_CAPS_WHITELIST) } + YY_BREAK +case 116: +YY_RULE_SETUP +#line 329 "util/configlexer.lex" +{ YDVAR(1, VAR_UNWANTED_REPLY_THRESHOLD) } + YY_BREAK +case 117: +YY_RULE_SETUP +#line 330 "util/configlexer.lex" +{ YDVAR(1, VAR_PRIVATE_ADDRESS) } + YY_BREAK +case 118: +YY_RULE_SETUP +#line 331 "util/configlexer.lex" +{ YDVAR(1, VAR_PRIVATE_DOMAIN) } + YY_BREAK +case 119: +YY_RULE_SETUP +#line 332 "util/configlexer.lex" +{ YDVAR(1, VAR_PREFETCH_KEY) } + YY_BREAK +case 120: +YY_RULE_SETUP +#line 333 "util/configlexer.lex" +{ YDVAR(1, VAR_PREFETCH) } + YY_BREAK +case 121: +YY_RULE_SETUP +#line 334 "util/configlexer.lex" +{ YDVAR(1, VAR_DENY_ANY) } + YY_BREAK +case 122: +YY_RULE_SETUP +#line 335 "util/configlexer.lex" +{ YDVAR(0, VAR_STUB_ZONE) } + YY_BREAK +case 123: +YY_RULE_SETUP +#line 336 "util/configlexer.lex" +{ YDVAR(1, VAR_NAME) } + YY_BREAK +case 124: +YY_RULE_SETUP +#line 337 "util/configlexer.lex" +{ YDVAR(1, VAR_STUB_ADDR) } + YY_BREAK +case 125: +YY_RULE_SETUP +#line 338 "util/configlexer.lex" +{ YDVAR(1, VAR_STUB_HOST) } + YY_BREAK +case 126: +YY_RULE_SETUP +#line 339 "util/configlexer.lex" +{ YDVAR(1, VAR_STUB_PRIME) } + YY_BREAK +case 127: +YY_RULE_SETUP +#line 340 "util/configlexer.lex" +{ YDVAR(1, VAR_STUB_FIRST) } + YY_BREAK +case 128: +YY_RULE_SETUP +#line 341 "util/configlexer.lex" +{ YDVAR(1, VAR_STUB_NO_CACHE) } + YY_BREAK +case 129: +YY_RULE_SETUP +#line 342 "util/configlexer.lex" +{ YDVAR(1, VAR_STUB_SSL_UPSTREAM) } + YY_BREAK +case 130: +YY_RULE_SETUP +#line 343 "util/configlexer.lex" +{ YDVAR(1, VAR_STUB_SSL_UPSTREAM) } + YY_BREAK +case 131: +YY_RULE_SETUP +#line 344 "util/configlexer.lex" +{ YDVAR(1, VAR_STUB_TCP_UPSTREAM) } + YY_BREAK +case 132: +YY_RULE_SETUP +#line 345 "util/configlexer.lex" +{ YDVAR(0, VAR_FORWARD_ZONE) } + YY_BREAK +case 133: +YY_RULE_SETUP +#line 346 "util/configlexer.lex" +{ YDVAR(1, VAR_FORWARD_ADDR) } + YY_BREAK +case 134: +YY_RULE_SETUP +#line 347 "util/configlexer.lex" +{ YDVAR(1, VAR_FORWARD_HOST) } + YY_BREAK +case 135: +YY_RULE_SETUP +#line 348 "util/configlexer.lex" +{ YDVAR(1, VAR_FORWARD_FIRST) } + YY_BREAK +case 136: +YY_RULE_SETUP +#line 349 "util/configlexer.lex" +{ YDVAR(1, VAR_FORWARD_NO_CACHE) } + YY_BREAK +case 137: +YY_RULE_SETUP +#line 350 "util/configlexer.lex" +{ YDVAR(1, VAR_FORWARD_SSL_UPSTREAM) } + YY_BREAK +case 138: +YY_RULE_SETUP +#line 351 "util/configlexer.lex" +{ YDVAR(1, VAR_FORWARD_SSL_UPSTREAM) } + YY_BREAK +case 139: +YY_RULE_SETUP +#line 352 "util/configlexer.lex" +{ YDVAR(1, VAR_FORWARD_TCP_UPSTREAM) } + YY_BREAK +case 140: +YY_RULE_SETUP +#line 353 "util/configlexer.lex" +{ YDVAR(0, VAR_AUTH_ZONE) } + YY_BREAK +case 141: +YY_RULE_SETUP +#line 354 "util/configlexer.lex" +{ YDVAR(0, VAR_RPZ) } + YY_BREAK +case 142: +YY_RULE_SETUP +#line 355 "util/configlexer.lex" +{ YDVAR(1, VAR_TAGS) } + YY_BREAK +case 143: +YY_RULE_SETUP +#line 356 "util/configlexer.lex" +{ YDVAR(1, VAR_RPZ_ACTION_OVERRIDE) } + YY_BREAK +case 144: +YY_RULE_SETUP +#line 357 "util/configlexer.lex" +{ YDVAR(1, VAR_RPZ_CNAME_OVERRIDE) } + YY_BREAK +case 145: +YY_RULE_SETUP +#line 358 "util/configlexer.lex" +{ YDVAR(1, VAR_RPZ_LOG) } + YY_BREAK +case 146: +YY_RULE_SETUP +#line 359 "util/configlexer.lex" +{ YDVAR(1, VAR_RPZ_LOG_NAME) } + YY_BREAK +case 147: +YY_RULE_SETUP +#line 360 "util/configlexer.lex" +{ YDVAR(1, VAR_RPZ_SIGNAL_NXDOMAIN_RA) } + YY_BREAK +case 148: +YY_RULE_SETUP +#line 361 "util/configlexer.lex" +{ YDVAR(1, VAR_ZONEFILE) } + YY_BREAK +case 149: +YY_RULE_SETUP +#line 362 "util/configlexer.lex" +{ YDVAR(1, VAR_MASTER) } + YY_BREAK +case 150: +YY_RULE_SETUP +#line 363 "util/configlexer.lex" +{ YDVAR(1, VAR_MASTER) } + YY_BREAK +case 151: +YY_RULE_SETUP +#line 364 "util/configlexer.lex" +{ YDVAR(1, VAR_URL) } + YY_BREAK +case 152: +YY_RULE_SETUP +#line 365 "util/configlexer.lex" +{ YDVAR(1, VAR_ALLOW_NOTIFY) } + YY_BREAK +case 153: +YY_RULE_SETUP +#line 366 "util/configlexer.lex" +{ YDVAR(1, VAR_FOR_DOWNSTREAM) } + YY_BREAK +case 154: +YY_RULE_SETUP +#line 367 "util/configlexer.lex" +{ YDVAR(1, VAR_FOR_UPSTREAM) } + YY_BREAK +case 155: +YY_RULE_SETUP +#line 368 "util/configlexer.lex" +{ YDVAR(1, VAR_FALLBACK_ENABLED) } + YY_BREAK +case 156: +YY_RULE_SETUP +#line 369 "util/configlexer.lex" +{ YDVAR(0, VAR_VIEW) } + YY_BREAK +case 157: +YY_RULE_SETUP +#line 370 "util/configlexer.lex" +{ YDVAR(1, VAR_VIEW_FIRST) } + YY_BREAK +case 158: +YY_RULE_SETUP +#line 371 "util/configlexer.lex" +{ YDVAR(1, VAR_DO_NOT_QUERY_ADDRESS) } + YY_BREAK +case 159: +YY_RULE_SETUP +#line 372 "util/configlexer.lex" +{ YDVAR(1, VAR_DO_NOT_QUERY_LOCALHOST) } + YY_BREAK +case 160: +YY_RULE_SETUP +#line 373 "util/configlexer.lex" +{ YDVAR(2, VAR_ACCESS_CONTROL) } + YY_BREAK +case 161: +YY_RULE_SETUP +#line 374 "util/configlexer.lex" +{ YDVAR(2, VAR_INTERFACE_ACTION) } + YY_BREAK +case 162: +YY_RULE_SETUP +#line 375 "util/configlexer.lex" +{ YDVAR(1, VAR_SEND_CLIENT_SUBNET) } + YY_BREAK +case 163: +YY_RULE_SETUP +#line 376 "util/configlexer.lex" +{ YDVAR(1, VAR_CLIENT_SUBNET_ZONE) } + YY_BREAK +case 164: +YY_RULE_SETUP +#line 377 "util/configlexer.lex" +{ YDVAR(1, VAR_CLIENT_SUBNET_ALWAYS_FORWARD) } + YY_BREAK +case 165: +YY_RULE_SETUP +#line 378 "util/configlexer.lex" +{ YDVAR(1, VAR_CLIENT_SUBNET_OPCODE) } + YY_BREAK +case 166: +YY_RULE_SETUP +#line 379 "util/configlexer.lex" +{ YDVAR(1, VAR_MAX_CLIENT_SUBNET_IPV4) } + YY_BREAK +case 167: +YY_RULE_SETUP +#line 380 "util/configlexer.lex" +{ YDVAR(1, VAR_MAX_CLIENT_SUBNET_IPV6) } + YY_BREAK +case 168: +YY_RULE_SETUP +#line 381 "util/configlexer.lex" +{ YDVAR(1, VAR_MIN_CLIENT_SUBNET_IPV4) } + YY_BREAK +case 169: +YY_RULE_SETUP +#line 382 "util/configlexer.lex" +{ YDVAR(1, VAR_MIN_CLIENT_SUBNET_IPV6) } + YY_BREAK +case 170: +YY_RULE_SETUP +#line 383 "util/configlexer.lex" +{ YDVAR(1, VAR_MAX_ECS_TREE_SIZE_IPV4) } + YY_BREAK +case 171: +YY_RULE_SETUP +#line 384 "util/configlexer.lex" +{ YDVAR(1, VAR_MAX_ECS_TREE_SIZE_IPV6) } + YY_BREAK +case 172: +YY_RULE_SETUP +#line 385 "util/configlexer.lex" +{ YDVAR(1, VAR_HIDE_IDENTITY) } + YY_BREAK +case 173: +YY_RULE_SETUP +#line 386 "util/configlexer.lex" +{ YDVAR(1, VAR_HIDE_VERSION) } + YY_BREAK +case 174: +YY_RULE_SETUP +#line 387 "util/configlexer.lex" +{ YDVAR(1, VAR_HIDE_TRUSTANCHOR) } + YY_BREAK +case 175: +YY_RULE_SETUP +#line 388 "util/configlexer.lex" +{ YDVAR(1, VAR_HIDE_HTTP_USER_AGENT) } + YY_BREAK +case 176: +YY_RULE_SETUP +#line 389 "util/configlexer.lex" +{ YDVAR(1, VAR_IDENTITY) } + YY_BREAK +case 177: +YY_RULE_SETUP +#line 390 "util/configlexer.lex" +{ YDVAR(1, VAR_VERSION) } + YY_BREAK +case 178: +YY_RULE_SETUP +#line 391 "util/configlexer.lex" +{ YDVAR(1, VAR_HTTP_USER_AGENT) } + YY_BREAK +case 179: +YY_RULE_SETUP +#line 392 "util/configlexer.lex" +{ YDVAR(1, VAR_MODULE_CONF) } + YY_BREAK +case 180: +YY_RULE_SETUP +#line 393 "util/configlexer.lex" +{ YDVAR(1, VAR_DLV_ANCHOR) } + YY_BREAK +case 181: +YY_RULE_SETUP +#line 394 "util/configlexer.lex" +{ YDVAR(1, VAR_DLV_ANCHOR_FILE) } + YY_BREAK +case 182: +YY_RULE_SETUP +#line 395 "util/configlexer.lex" +{ YDVAR(1, VAR_TRUST_ANCHOR_FILE) } + YY_BREAK +case 183: +YY_RULE_SETUP +#line 396 "util/configlexer.lex" +{ YDVAR(1, VAR_AUTO_TRUST_ANCHOR_FILE) } + YY_BREAK +case 184: +YY_RULE_SETUP +#line 397 "util/configlexer.lex" +{ YDVAR(1, VAR_TRUSTED_KEYS_FILE) } + YY_BREAK +case 185: +YY_RULE_SETUP +#line 398 "util/configlexer.lex" +{ YDVAR(1, VAR_TRUST_ANCHOR) } + YY_BREAK +case 186: +YY_RULE_SETUP +#line 399 "util/configlexer.lex" +{ YDVAR(1, VAR_TRUST_ANCHOR_SIGNALING) } + YY_BREAK +case 187: +YY_RULE_SETUP +#line 400 "util/configlexer.lex" +{ YDVAR(1, VAR_ROOT_KEY_SENTINEL) } + YY_BREAK +case 188: +YY_RULE_SETUP +#line 401 "util/configlexer.lex" +{ YDVAR(1, VAR_VAL_OVERRIDE_DATE) } + YY_BREAK +case 189: +YY_RULE_SETUP +#line 402 "util/configlexer.lex" +{ YDVAR(1, VAR_VAL_SIG_SKEW_MIN) } + YY_BREAK +case 190: +YY_RULE_SETUP +#line 403 "util/configlexer.lex" +{ YDVAR(1, VAR_VAL_SIG_SKEW_MAX) } + YY_BREAK +case 191: +YY_RULE_SETUP +#line 404 "util/configlexer.lex" +{ YDVAR(1, VAR_VAL_MAX_RESTART) } + YY_BREAK +case 192: +YY_RULE_SETUP +#line 405 "util/configlexer.lex" +{ YDVAR(1, VAR_BOGUS_TTL) } + YY_BREAK +case 193: +YY_RULE_SETUP +#line 406 "util/configlexer.lex" +{ YDVAR(1, VAR_VAL_CLEAN_ADDITIONAL) } + YY_BREAK +case 194: +YY_RULE_SETUP +#line 407 "util/configlexer.lex" +{ YDVAR(1, VAR_VAL_PERMISSIVE_MODE) } + YY_BREAK +case 195: +YY_RULE_SETUP +#line 408 "util/configlexer.lex" +{ YDVAR(1, VAR_AGGRESSIVE_NSEC) } + YY_BREAK +case 196: +YY_RULE_SETUP +#line 409 "util/configlexer.lex" +{ YDVAR(1, VAR_IGNORE_CD_FLAG) } + YY_BREAK +case 197: +YY_RULE_SETUP +#line 410 "util/configlexer.lex" +{ YDVAR(1, VAR_DISABLE_EDNS_DO) } + YY_BREAK +case 198: +YY_RULE_SETUP +#line 411 "util/configlexer.lex" +{ YDVAR(1, VAR_SERVE_EXPIRED) } + YY_BREAK +case 199: +YY_RULE_SETUP +#line 412 "util/configlexer.lex" +{ YDVAR(1, VAR_SERVE_EXPIRED_TTL) } + YY_BREAK +case 200: +YY_RULE_SETUP +#line 413 "util/configlexer.lex" +{ YDVAR(1, VAR_SERVE_EXPIRED_TTL_RESET) } + YY_BREAK +case 201: +YY_RULE_SETUP +#line 414 "util/configlexer.lex" +{ YDVAR(1, VAR_SERVE_EXPIRED_REPLY_TTL) } + YY_BREAK +case 202: +YY_RULE_SETUP +#line 415 "util/configlexer.lex" +{ YDVAR(1, VAR_SERVE_EXPIRED_CLIENT_TIMEOUT) } + YY_BREAK +case 203: +YY_RULE_SETUP +#line 416 "util/configlexer.lex" +{ YDVAR(1, VAR_EDE_SERVE_EXPIRED) } + YY_BREAK +case 204: +YY_RULE_SETUP +#line 417 "util/configlexer.lex" +{ YDVAR(1, VAR_SERVE_ORIGINAL_TTL) } + YY_BREAK +case 205: +YY_RULE_SETUP +#line 418 "util/configlexer.lex" +{ YDVAR(1, VAR_FAKE_DSA) } + YY_BREAK +case 206: +YY_RULE_SETUP +#line 419 "util/configlexer.lex" +{ YDVAR(1, VAR_FAKE_SHA1) } + YY_BREAK +case 207: +YY_RULE_SETUP +#line 420 "util/configlexer.lex" +{ YDVAR(1, VAR_VAL_LOG_LEVEL) } + YY_BREAK +case 208: +YY_RULE_SETUP +#line 421 "util/configlexer.lex" +{ YDVAR(1, VAR_KEY_CACHE_SIZE) } + YY_BREAK +case 209: +YY_RULE_SETUP +#line 422 "util/configlexer.lex" +{ YDVAR(1, VAR_KEY_CACHE_SLABS) } + YY_BREAK +case 210: +YY_RULE_SETUP +#line 423 "util/configlexer.lex" +{ YDVAR(1, VAR_NEG_CACHE_SIZE) } + YY_BREAK +case 211: +YY_RULE_SETUP +#line 424 "util/configlexer.lex" +{ + YDVAR(1, VAR_VAL_NSEC3_KEYSIZE_ITERATIONS) } + YY_BREAK +case 212: +YY_RULE_SETUP +#line 426 "util/configlexer.lex" +{ YDVAR(1, VAR_ZONEMD_PERMISSIVE_MODE) } + YY_BREAK +case 213: +YY_RULE_SETUP +#line 427 "util/configlexer.lex" +{ YDVAR(1, VAR_ZONEMD_CHECK) } + YY_BREAK +case 214: +YY_RULE_SETUP +#line 428 "util/configlexer.lex" +{ YDVAR(1, VAR_ZONEMD_REJECT_ABSENCE) } + YY_BREAK +case 215: +YY_RULE_SETUP +#line 429 "util/configlexer.lex" +{ YDVAR(1, VAR_ADD_HOLDDOWN) } + YY_BREAK +case 216: +YY_RULE_SETUP +#line 430 "util/configlexer.lex" +{ YDVAR(1, VAR_DEL_HOLDDOWN) } + YY_BREAK +case 217: +YY_RULE_SETUP +#line 431 "util/configlexer.lex" +{ YDVAR(1, VAR_KEEP_MISSING) } + YY_BREAK +case 218: +YY_RULE_SETUP +#line 432 "util/configlexer.lex" +{ YDVAR(1, VAR_PERMIT_SMALL_HOLDDOWN) } + YY_BREAK +case 219: +YY_RULE_SETUP +#line 433 "util/configlexer.lex" +{ YDVAR(1, VAR_USE_SYSLOG) } + YY_BREAK +case 220: +YY_RULE_SETUP +#line 434 "util/configlexer.lex" +{ YDVAR(1, VAR_LOG_IDENTITY) } + YY_BREAK +case 221: +YY_RULE_SETUP +#line 435 "util/configlexer.lex" +{ YDVAR(1, VAR_LOG_TIME_ASCII) } + YY_BREAK +case 222: +YY_RULE_SETUP +#line 436 "util/configlexer.lex" +{ YDVAR(1, VAR_LOG_TIME_ISO) } + YY_BREAK +case 223: +YY_RULE_SETUP +#line 437 "util/configlexer.lex" +{ YDVAR(1, VAR_LOG_QUERIES) } + YY_BREAK +case 224: +YY_RULE_SETUP +#line 438 "util/configlexer.lex" +{ YDVAR(1, VAR_LOG_REPLIES) } + YY_BREAK +case 225: +YY_RULE_SETUP +#line 439 "util/configlexer.lex" +{ YDVAR(1, VAR_LOG_TAG_QUERYREPLY) } + YY_BREAK +case 226: +YY_RULE_SETUP +#line 440 "util/configlexer.lex" +{ YDVAR(1, VAR_LOG_LOCAL_ACTIONS) } + YY_BREAK +case 227: +YY_RULE_SETUP +#line 441 "util/configlexer.lex" +{ YDVAR(1, VAR_LOG_SERVFAIL) } + YY_BREAK +case 228: +YY_RULE_SETUP +#line 442 "util/configlexer.lex" +{ YDVAR(1, VAR_LOG_DESTADDR) } + YY_BREAK +case 229: +YY_RULE_SETUP +#line 443 "util/configlexer.lex" +{ YDVAR(1, VAR_LOG_THREAD_ID) } + YY_BREAK +case 230: +YY_RULE_SETUP +#line 444 "util/configlexer.lex" +{ YDVAR(2, VAR_LOCAL_ZONE) } + YY_BREAK +case 231: +YY_RULE_SETUP +#line 445 "util/configlexer.lex" +{ YDVAR(1, VAR_LOCAL_DATA) } + YY_BREAK +case 232: +YY_RULE_SETUP +#line 446 "util/configlexer.lex" +{ YDVAR(1, VAR_LOCAL_DATA_PTR) } + YY_BREAK +case 233: +YY_RULE_SETUP +#line 447 "util/configlexer.lex" +{ YDVAR(1, VAR_UNBLOCK_LAN_ZONES) } + YY_BREAK +case 234: +YY_RULE_SETUP +#line 448 "util/configlexer.lex" +{ YDVAR(1, VAR_INSECURE_LAN_ZONES) } + YY_BREAK +case 235: +YY_RULE_SETUP +#line 449 "util/configlexer.lex" +{ YDVAR(1, VAR_STATISTICS_INTERVAL) } + YY_BREAK +case 236: +YY_RULE_SETUP +#line 450 "util/configlexer.lex" +{ YDVAR(1, VAR_STATISTICS_CUMULATIVE) } + YY_BREAK +case 237: +YY_RULE_SETUP +#line 451 "util/configlexer.lex" +{ YDVAR(1, VAR_EXTENDED_STATISTICS) } + YY_BREAK +case 238: +YY_RULE_SETUP +#line 452 "util/configlexer.lex" +{ YDVAR(1, VAR_STATISTICS_INHIBIT_ZERO) } + YY_BREAK +case 239: +YY_RULE_SETUP +#line 453 "util/configlexer.lex" +{ YDVAR(1, VAR_SHM_ENABLE) } + YY_BREAK +case 240: +YY_RULE_SETUP +#line 454 "util/configlexer.lex" +{ YDVAR(1, VAR_SHM_KEY) } + YY_BREAK +case 241: +YY_RULE_SETUP +#line 455 "util/configlexer.lex" +{ YDVAR(0, VAR_REMOTE_CONTROL) } + YY_BREAK +case 242: +YY_RULE_SETUP +#line 456 "util/configlexer.lex" +{ YDVAR(1, VAR_CONTROL_ENABLE) } + YY_BREAK +case 243: +YY_RULE_SETUP +#line 457 "util/configlexer.lex" +{ YDVAR(1, VAR_CONTROL_INTERFACE) } + YY_BREAK +case 244: +YY_RULE_SETUP +#line 458 "util/configlexer.lex" +{ YDVAR(1, VAR_CONTROL_PORT) } + YY_BREAK +case 245: +YY_RULE_SETUP +#line 459 "util/configlexer.lex" +{ YDVAR(1, VAR_CONTROL_USE_CERT) } + YY_BREAK +case 246: +YY_RULE_SETUP +#line 460 "util/configlexer.lex" +{ YDVAR(1, VAR_SERVER_KEY_FILE) } + YY_BREAK +case 247: +YY_RULE_SETUP +#line 461 "util/configlexer.lex" +{ YDVAR(1, VAR_SERVER_CERT_FILE) } + YY_BREAK +case 248: +YY_RULE_SETUP +#line 462 "util/configlexer.lex" +{ YDVAR(1, VAR_CONTROL_KEY_FILE) } + YY_BREAK +case 249: +YY_RULE_SETUP +#line 463 "util/configlexer.lex" +{ YDVAR(1, VAR_CONTROL_CERT_FILE) } + YY_BREAK +case 250: +YY_RULE_SETUP +#line 464 "util/configlexer.lex" +{ YDVAR(1, VAR_PYTHON_SCRIPT) } + YY_BREAK +case 251: +YY_RULE_SETUP +#line 465 "util/configlexer.lex" +{ YDVAR(0, VAR_PYTHON) } + YY_BREAK +case 252: +YY_RULE_SETUP +#line 466 "util/configlexer.lex" +{ YDVAR(1, VAR_DYNLIB_FILE) } + YY_BREAK +case 253: +YY_RULE_SETUP +#line 467 "util/configlexer.lex" +{ YDVAR(0, VAR_DYNLIB) } + YY_BREAK +case 254: +YY_RULE_SETUP +#line 468 "util/configlexer.lex" +{ YDVAR(1, VAR_DOMAIN_INSECURE) } + YY_BREAK +case 255: +YY_RULE_SETUP +#line 469 "util/configlexer.lex" +{ YDVAR(1, VAR_MINIMAL_RESPONSES) } + YY_BREAK +case 256: +YY_RULE_SETUP +#line 470 "util/configlexer.lex" +{ YDVAR(1, VAR_RRSET_ROUNDROBIN) } + YY_BREAK +case 257: +YY_RULE_SETUP +#line 471 "util/configlexer.lex" +{ YDVAR(1, VAR_UNKNOWN_SERVER_TIME_LIMIT) } + YY_BREAK +case 258: +YY_RULE_SETUP +#line 472 "util/configlexer.lex" +{ YDVAR(1, VAR_DISCARD_TIMEOUT) } + YY_BREAK +case 259: +YY_RULE_SETUP +#line 473 "util/configlexer.lex" +{ YDVAR(1, VAR_WAIT_LIMIT) } + YY_BREAK +case 260: +YY_RULE_SETUP +#line 474 "util/configlexer.lex" +{ YDVAR(1, VAR_WAIT_LIMIT_COOKIE) } + YY_BREAK +case 261: +YY_RULE_SETUP +#line 475 "util/configlexer.lex" +{ YDVAR(2, VAR_WAIT_LIMIT_NETBLOCK) } + YY_BREAK +case 262: +YY_RULE_SETUP +#line 476 "util/configlexer.lex" +{ YDVAR(2, VAR_WAIT_LIMIT_COOKIE_NETBLOCK) } + YY_BREAK +case 263: +YY_RULE_SETUP +#line 477 "util/configlexer.lex" +{ YDVAR(1, VAR_MAX_UDP_SIZE) } + YY_BREAK +case 264: +YY_RULE_SETUP +#line 478 "util/configlexer.lex" +{ YDVAR(1, VAR_DNS64_PREFIX) } + YY_BREAK +case 265: +YY_RULE_SETUP +#line 479 "util/configlexer.lex" +{ YDVAR(1, VAR_DNS64_SYNTHALL) } + YY_BREAK +case 266: +YY_RULE_SETUP +#line 480 "util/configlexer.lex" +{ YDVAR(1, VAR_DNS64_IGNORE_AAAA) } + YY_BREAK +case 267: +YY_RULE_SETUP +#line 481 "util/configlexer.lex" +{ YDVAR(1, VAR_NAT64_PREFIX) } + YY_BREAK +case 268: +YY_RULE_SETUP +#line 482 "util/configlexer.lex" +{ YDVAR(1, VAR_DEFINE_TAG) } + YY_BREAK +case 269: +YY_RULE_SETUP +#line 483 "util/configlexer.lex" +{ YDVAR(2, VAR_LOCAL_ZONE_TAG) } + YY_BREAK +case 270: +YY_RULE_SETUP +#line 484 "util/configlexer.lex" +{ YDVAR(2, VAR_ACCESS_CONTROL_TAG) } + YY_BREAK +case 271: +YY_RULE_SETUP +#line 485 "util/configlexer.lex" +{ YDVAR(3, VAR_ACCESS_CONTROL_TAG_ACTION) } + YY_BREAK +case 272: +YY_RULE_SETUP +#line 486 "util/configlexer.lex" +{ YDVAR(3, VAR_ACCESS_CONTROL_TAG_DATA) } + YY_BREAK +case 273: +YY_RULE_SETUP +#line 487 "util/configlexer.lex" +{ YDVAR(2, VAR_ACCESS_CONTROL_VIEW) } + YY_BREAK +case 274: +YY_RULE_SETUP +#line 488 "util/configlexer.lex" +{ YDVAR(2, VAR_INTERFACE_TAG) } + YY_BREAK +case 275: +YY_RULE_SETUP +#line 489 "util/configlexer.lex" +{ YDVAR(3, VAR_INTERFACE_TAG_ACTION) } + YY_BREAK +case 276: +YY_RULE_SETUP +#line 490 "util/configlexer.lex" +{ YDVAR(3, VAR_INTERFACE_TAG_DATA) } + YY_BREAK +case 277: +YY_RULE_SETUP +#line 491 "util/configlexer.lex" +{ YDVAR(2, VAR_INTERFACE_VIEW) } + YY_BREAK +case 278: +YY_RULE_SETUP +#line 492 "util/configlexer.lex" +{ YDVAR(3, VAR_LOCAL_ZONE_OVERRIDE) } + YY_BREAK +case 279: +YY_RULE_SETUP +#line 493 "util/configlexer.lex" +{ YDVAR(0, VAR_DNSTAP) } + YY_BREAK +case 280: +YY_RULE_SETUP +#line 494 "util/configlexer.lex" +{ YDVAR(1, VAR_DNSTAP_ENABLE) } + YY_BREAK +case 281: +YY_RULE_SETUP +#line 495 "util/configlexer.lex" +{ YDVAR(1, VAR_DNSTAP_BIDIRECTIONAL) } + YY_BREAK +case 282: +YY_RULE_SETUP +#line 496 "util/configlexer.lex" +{ YDVAR(1, VAR_DNSTAP_SOCKET_PATH) } + YY_BREAK +case 283: +YY_RULE_SETUP +#line 497 "util/configlexer.lex" +{ YDVAR(1, VAR_DNSTAP_IP) } + YY_BREAK +case 284: +YY_RULE_SETUP +#line 498 "util/configlexer.lex" +{ YDVAR(1, VAR_DNSTAP_TLS) } + YY_BREAK +case 285: +YY_RULE_SETUP +#line 499 "util/configlexer.lex" +{ YDVAR(1, VAR_DNSTAP_TLS_SERVER_NAME) } + YY_BREAK +case 286: +YY_RULE_SETUP +#line 500 "util/configlexer.lex" +{ YDVAR(1, VAR_DNSTAP_TLS_CERT_BUNDLE) } + YY_BREAK +case 287: +YY_RULE_SETUP +#line 501 "util/configlexer.lex" +{ + YDVAR(1, VAR_DNSTAP_TLS_CLIENT_KEY_FILE) } + YY_BREAK +case 288: +YY_RULE_SETUP +#line 503 "util/configlexer.lex" +{ + YDVAR(1, VAR_DNSTAP_TLS_CLIENT_CERT_FILE) } + YY_BREAK +case 289: +YY_RULE_SETUP +#line 505 "util/configlexer.lex" +{ YDVAR(1, VAR_DNSTAP_SEND_IDENTITY) } + YY_BREAK +case 290: +YY_RULE_SETUP +#line 506 "util/configlexer.lex" +{ YDVAR(1, VAR_DNSTAP_SEND_VERSION) } + YY_BREAK +case 291: +YY_RULE_SETUP +#line 507 "util/configlexer.lex" +{ YDVAR(1, VAR_DNSTAP_IDENTITY) } + YY_BREAK +case 292: +YY_RULE_SETUP +#line 508 "util/configlexer.lex" +{ YDVAR(1, VAR_DNSTAP_VERSION) } + YY_BREAK +case 293: +YY_RULE_SETUP +#line 509 "util/configlexer.lex" +{ + YDVAR(1, VAR_DNSTAP_LOG_RESOLVER_QUERY_MESSAGES) } + YY_BREAK +case 294: +YY_RULE_SETUP +#line 511 "util/configlexer.lex" +{ + YDVAR(1, VAR_DNSTAP_LOG_RESOLVER_RESPONSE_MESSAGES) } + YY_BREAK +case 295: +YY_RULE_SETUP +#line 513 "util/configlexer.lex" +{ + YDVAR(1, VAR_DNSTAP_LOG_CLIENT_QUERY_MESSAGES) } + YY_BREAK +case 296: +YY_RULE_SETUP +#line 515 "util/configlexer.lex" +{ + YDVAR(1, VAR_DNSTAP_LOG_CLIENT_RESPONSE_MESSAGES) } + YY_BREAK +case 297: +YY_RULE_SETUP +#line 517 "util/configlexer.lex" +{ + YDVAR(1, VAR_DNSTAP_LOG_FORWARDER_QUERY_MESSAGES) } + YY_BREAK +case 298: +YY_RULE_SETUP +#line 519 "util/configlexer.lex" +{ + YDVAR(1, VAR_DNSTAP_LOG_FORWARDER_RESPONSE_MESSAGES) } + YY_BREAK +case 299: +YY_RULE_SETUP +#line 521 "util/configlexer.lex" +{ YDVAR(1, VAR_DNSTAP_SAMPLE_RATE) } + YY_BREAK +case 300: +YY_RULE_SETUP +#line 522 "util/configlexer.lex" +{ YDVAR(1, VAR_DISABLE_DNSSEC_LAME_CHECK) } + YY_BREAK +case 301: +YY_RULE_SETUP +#line 523 "util/configlexer.lex" +{ YDVAR(1, VAR_IP_RATELIMIT) } + YY_BREAK +case 302: +YY_RULE_SETUP +#line 524 "util/configlexer.lex" +{ YDVAR(1, VAR_IP_RATELIMIT_COOKIE) } + YY_BREAK +case 303: +YY_RULE_SETUP +#line 525 "util/configlexer.lex" +{ YDVAR(1, VAR_RATELIMIT) } + YY_BREAK +case 304: +YY_RULE_SETUP +#line 526 "util/configlexer.lex" +{ YDVAR(1, VAR_IP_RATELIMIT_SLABS) } + YY_BREAK +case 305: +YY_RULE_SETUP +#line 527 "util/configlexer.lex" +{ YDVAR(1, VAR_RATELIMIT_SLABS) } + YY_BREAK +case 306: +YY_RULE_SETUP +#line 528 "util/configlexer.lex" +{ YDVAR(1, VAR_IP_RATELIMIT_SIZE) } + YY_BREAK +case 307: +YY_RULE_SETUP +#line 529 "util/configlexer.lex" +{ YDVAR(1, VAR_RATELIMIT_SIZE) } + YY_BREAK +case 308: +YY_RULE_SETUP +#line 530 "util/configlexer.lex" +{ YDVAR(2, VAR_RATELIMIT_FOR_DOMAIN) } + YY_BREAK +case 309: +YY_RULE_SETUP +#line 531 "util/configlexer.lex" +{ YDVAR(2, VAR_RATELIMIT_BELOW_DOMAIN) } + YY_BREAK +case 310: +YY_RULE_SETUP +#line 532 "util/configlexer.lex" +{ YDVAR(1, VAR_IP_RATELIMIT_FACTOR) } + YY_BREAK +case 311: +YY_RULE_SETUP +#line 533 "util/configlexer.lex" +{ YDVAR(1, VAR_RATELIMIT_FACTOR) } + YY_BREAK +case 312: +YY_RULE_SETUP +#line 534 "util/configlexer.lex" +{ YDVAR(1, VAR_IP_RATELIMIT_BACKOFF) } + YY_BREAK +case 313: +YY_RULE_SETUP +#line 535 "util/configlexer.lex" +{ YDVAR(1, VAR_RATELIMIT_BACKOFF) } + YY_BREAK +case 314: +YY_RULE_SETUP +#line 536 "util/configlexer.lex" +{ YDVAR(1, VAR_OUTBOUND_MSG_RETRY) } + YY_BREAK +case 315: +YY_RULE_SETUP +#line 537 "util/configlexer.lex" +{ YDVAR(1, VAR_MAX_SENT_COUNT) } + YY_BREAK +case 316: +YY_RULE_SETUP +#line 538 "util/configlexer.lex" +{ YDVAR(1, VAR_MAX_QUERY_RESTARTS) } + YY_BREAK +case 317: +YY_RULE_SETUP +#line 539 "util/configlexer.lex" +{ YDVAR(1, VAR_LOW_RTT) } + YY_BREAK +case 318: +YY_RULE_SETUP +#line 540 "util/configlexer.lex" +{ YDVAR(1, VAR_FAST_SERVER_NUM) } + YY_BREAK +case 319: +YY_RULE_SETUP +#line 541 "util/configlexer.lex" +{ YDVAR(1, VAR_FAST_SERVER_PERMIL) } + YY_BREAK +case 320: +YY_RULE_SETUP +#line 542 "util/configlexer.lex" +{ YDVAR(1, VAR_FAST_SERVER_PERMIL) } + YY_BREAK +case 321: +YY_RULE_SETUP +#line 543 "util/configlexer.lex" +{ YDVAR(1, VAR_FAST_SERVER_PERMIL) } + YY_BREAK +case 322: +YY_RULE_SETUP +#line 544 "util/configlexer.lex" +{ YDVAR(2, VAR_RESPONSE_IP_TAG) } + YY_BREAK +case 323: +YY_RULE_SETUP +#line 545 "util/configlexer.lex" +{ YDVAR(2, VAR_RESPONSE_IP) } + YY_BREAK +case 324: +YY_RULE_SETUP +#line 546 "util/configlexer.lex" +{ YDVAR(2, VAR_RESPONSE_IP_DATA) } + YY_BREAK +case 325: +YY_RULE_SETUP +#line 547 "util/configlexer.lex" +{ YDVAR(0, VAR_DNSCRYPT) } + YY_BREAK +case 326: +YY_RULE_SETUP +#line 548 "util/configlexer.lex" +{ YDVAR(1, VAR_DNSCRYPT_ENABLE) } + YY_BREAK +case 327: +YY_RULE_SETUP +#line 549 "util/configlexer.lex" +{ YDVAR(1, VAR_DNSCRYPT_PORT) } + YY_BREAK +case 328: +YY_RULE_SETUP +#line 550 "util/configlexer.lex" +{ YDVAR(1, VAR_DNSCRYPT_PROVIDER) } + YY_BREAK +case 329: +YY_RULE_SETUP +#line 551 "util/configlexer.lex" +{ YDVAR(1, VAR_DNSCRYPT_SECRET_KEY) } + YY_BREAK +case 330: +YY_RULE_SETUP +#line 552 "util/configlexer.lex" +{ YDVAR(1, VAR_DNSCRYPT_PROVIDER_CERT) } + YY_BREAK +case 331: +YY_RULE_SETUP +#line 553 "util/configlexer.lex" +{ YDVAR(1, VAR_DNSCRYPT_PROVIDER_CERT_ROTATED) } + YY_BREAK +case 332: +YY_RULE_SETUP +#line 554 "util/configlexer.lex" +{ + YDVAR(1, VAR_DNSCRYPT_SHARED_SECRET_CACHE_SIZE) } + YY_BREAK +case 333: +YY_RULE_SETUP +#line 556 "util/configlexer.lex" +{ + YDVAR(1, VAR_DNSCRYPT_SHARED_SECRET_CACHE_SLABS) } + YY_BREAK +case 334: +YY_RULE_SETUP +#line 558 "util/configlexer.lex" +{ YDVAR(1, VAR_DNSCRYPT_NONCE_CACHE_SIZE) } + YY_BREAK +case 335: +YY_RULE_SETUP +#line 559 "util/configlexer.lex" +{ YDVAR(1, VAR_DNSCRYPT_NONCE_CACHE_SLABS) } + YY_BREAK +case 336: +YY_RULE_SETUP +#line 560 "util/configlexer.lex" +{ YDVAR(1, VAR_PAD_RESPONSES) } + YY_BREAK +case 337: +YY_RULE_SETUP +#line 561 "util/configlexer.lex" +{ YDVAR(1, VAR_PAD_RESPONSES_BLOCK_SIZE) } + YY_BREAK +case 338: +YY_RULE_SETUP +#line 562 "util/configlexer.lex" +{ YDVAR(1, VAR_PAD_QUERIES) } + YY_BREAK +case 339: +YY_RULE_SETUP +#line 563 "util/configlexer.lex" +{ YDVAR(1, VAR_PAD_QUERIES_BLOCK_SIZE) } + YY_BREAK +case 340: +YY_RULE_SETUP +#line 564 "util/configlexer.lex" +{ YDVAR(1, VAR_IPSECMOD_ENABLED) } + YY_BREAK +case 341: +YY_RULE_SETUP +#line 565 "util/configlexer.lex" +{ YDVAR(1, VAR_IPSECMOD_IGNORE_BOGUS) } + YY_BREAK +case 342: +YY_RULE_SETUP +#line 566 "util/configlexer.lex" +{ YDVAR(1, VAR_IPSECMOD_HOOK) } + YY_BREAK +case 343: +YY_RULE_SETUP +#line 567 "util/configlexer.lex" +{ YDVAR(1, VAR_IPSECMOD_MAX_TTL) } + YY_BREAK +case 344: +YY_RULE_SETUP +#line 568 "util/configlexer.lex" +{ YDVAR(1, VAR_IPSECMOD_WHITELIST) } + YY_BREAK +case 345: +YY_RULE_SETUP +#line 569 "util/configlexer.lex" +{ YDVAR(1, VAR_IPSECMOD_WHITELIST) } + YY_BREAK +case 346: +YY_RULE_SETUP +#line 570 "util/configlexer.lex" +{ YDVAR(1, VAR_IPSECMOD_STRICT) } + YY_BREAK +case 347: +YY_RULE_SETUP +#line 571 "util/configlexer.lex" +{ YDVAR(0, VAR_CACHEDB) } + YY_BREAK +case 348: +YY_RULE_SETUP +#line 572 "util/configlexer.lex" +{ YDVAR(1, VAR_CACHEDB_BACKEND) } + YY_BREAK +case 349: +YY_RULE_SETUP +#line 573 "util/configlexer.lex" +{ YDVAR(1, VAR_CACHEDB_SECRETSEED) } + YY_BREAK +case 350: +YY_RULE_SETUP +#line 574 "util/configlexer.lex" +{ YDVAR(1, VAR_CACHEDB_NO_STORE) } + YY_BREAK +case 351: +YY_RULE_SETUP +#line 575 "util/configlexer.lex" +{ YDVAR(1, VAR_CACHEDB_CHECK_WHEN_SERVE_EXPIRED) } + YY_BREAK +case 352: +YY_RULE_SETUP +#line 576 "util/configlexer.lex" +{ YDVAR(1, VAR_CACHEDB_REDISHOST) } + YY_BREAK +case 353: +YY_RULE_SETUP +#line 577 "util/configlexer.lex" +{ YDVAR(1, VAR_CACHEDB_REDISREPLICAHOST) } + YY_BREAK +case 354: +YY_RULE_SETUP +#line 578 "util/configlexer.lex" +{ YDVAR(1, VAR_CACHEDB_REDISPORT) } + YY_BREAK +case 355: +YY_RULE_SETUP +#line 579 "util/configlexer.lex" +{ YDVAR(1, VAR_CACHEDB_REDISREPLICAPORT) } + YY_BREAK +case 356: +YY_RULE_SETUP +#line 580 "util/configlexer.lex" +{ YDVAR(1, VAR_CACHEDB_REDISPATH) } + YY_BREAK +case 357: +YY_RULE_SETUP +#line 581 "util/configlexer.lex" +{ YDVAR(1, VAR_CACHEDB_REDISREPLICAPATH) } + YY_BREAK +case 358: +YY_RULE_SETUP +#line 582 "util/configlexer.lex" +{ YDVAR(1, VAR_CACHEDB_REDISPASSWORD) } + YY_BREAK +case 359: +YY_RULE_SETUP +#line 583 "util/configlexer.lex" +{ YDVAR(1, VAR_CACHEDB_REDISREPLICAPASSWORD) } + YY_BREAK +case 360: +YY_RULE_SETUP +#line 584 "util/configlexer.lex" +{ YDVAR(1, VAR_CACHEDB_REDISTIMEOUT) } + YY_BREAK +case 361: +YY_RULE_SETUP +#line 585 "util/configlexer.lex" +{ YDVAR(1, VAR_CACHEDB_REDISREPLICATIMEOUT) } + YY_BREAK +case 362: +YY_RULE_SETUP +#line 586 "util/configlexer.lex" +{ YDVAR(1, VAR_CACHEDB_REDISCOMMANDTIMEOUT) } + YY_BREAK +case 363: +YY_RULE_SETUP +#line 587 "util/configlexer.lex" +{ YDVAR(1, VAR_CACHEDB_REDISREPLICACOMMANDTIMEOUT) } + YY_BREAK +case 364: +YY_RULE_SETUP +#line 588 "util/configlexer.lex" +{ YDVAR(1, VAR_CACHEDB_REDISCONNECTTIMEOUT) } + YY_BREAK +case 365: +YY_RULE_SETUP +#line 589 "util/configlexer.lex" +{ YDVAR(1, VAR_CACHEDB_REDISREPLICACONNECTTIMEOUT) } + YY_BREAK +case 366: +YY_RULE_SETUP +#line 590 "util/configlexer.lex" +{ YDVAR(1, VAR_CACHEDB_REDISEXPIRERECORDS) } + YY_BREAK +case 367: +YY_RULE_SETUP +#line 591 "util/configlexer.lex" +{ YDVAR(1, VAR_CACHEDB_REDISLOGICALDB) } + YY_BREAK +case 368: +YY_RULE_SETUP +#line 592 "util/configlexer.lex" +{ YDVAR(1, VAR_CACHEDB_REDISREPLICALOGICALDB) } + YY_BREAK +case 369: +YY_RULE_SETUP +#line 593 "util/configlexer.lex" +{ YDVAR(0, VAR_IPSET) } + YY_BREAK +case 370: +YY_RULE_SETUP +#line 594 "util/configlexer.lex" +{ YDVAR(1, VAR_IPSET_NAME_V4) } + YY_BREAK +case 371: +YY_RULE_SETUP +#line 595 "util/configlexer.lex" +{ YDVAR(1, VAR_IPSET_NAME_V6) } + YY_BREAK +case 372: +YY_RULE_SETUP +#line 596 "util/configlexer.lex" +{ YDVAR(1, VAR_UDP_UPSTREAM_WITHOUT_DOWNSTREAM) } + YY_BREAK +case 373: +YY_RULE_SETUP +#line 597 "util/configlexer.lex" +{ YDVAR(2, VAR_TCP_CONNECTION_LIMIT) } + YY_BREAK +case 374: +YY_RULE_SETUP +#line 598 "util/configlexer.lex" +{ YDVAR(1, VAR_ANSWER_COOKIE ) } + YY_BREAK +case 375: +YY_RULE_SETUP +#line 599 "util/configlexer.lex" +{ YDVAR(1, VAR_COOKIE_SECRET) } + YY_BREAK +case 376: +YY_RULE_SETUP +#line 600 "util/configlexer.lex" +{ YDVAR(1, VAR_COOKIE_SECRET_FILE) } + YY_BREAK +case 377: +YY_RULE_SETUP +#line 601 "util/configlexer.lex" +{ YDVAR(2, VAR_EDNS_CLIENT_STRING) } + YY_BREAK +case 378: +YY_RULE_SETUP +#line 602 "util/configlexer.lex" +{ YDVAR(1, VAR_EDNS_CLIENT_STRING_OPCODE) } + YY_BREAK +case 379: +YY_RULE_SETUP +#line 603 "util/configlexer.lex" +{ YDVAR(1, VAR_NSID ) } + YY_BREAK +case 380: +YY_RULE_SETUP +#line 604 "util/configlexer.lex" +{ YDVAR(1, VAR_EDE ) } + YY_BREAK +case 381: +YY_RULE_SETUP +#line 605 "util/configlexer.lex" +{ YDVAR(1, VAR_DNS_ERROR_REPORTING ) } + YY_BREAK +case 382: +YY_RULE_SETUP +#line 606 "util/configlexer.lex" +{ YDVAR(1, VAR_PROXY_PROTOCOL_PORT) } + YY_BREAK +case 383: +YY_RULE_SETUP +#line 607 "util/configlexer.lex" +{ YDVAR(1, VAR_ITER_SCRUB_NS) } + YY_BREAK +case 384: +YY_RULE_SETUP +#line 608 "util/configlexer.lex" +{ YDVAR(1, VAR_ITER_SCRUB_CNAME) } + YY_BREAK +case 385: +YY_RULE_SETUP +#line 609 "util/configlexer.lex" +{ YDVAR(1, VAR_ITER_SCRUB_RRSIG) } + YY_BREAK +case 386: +YY_RULE_SETUP +#line 610 "util/configlexer.lex" +{ YDVAR(1, VAR_MAX_GLOBAL_QUOTA) } + YY_BREAK +case 387: +YY_RULE_SETUP +#line 611 "util/configlexer.lex" +{ YDVAR(1, VAR_VAL_VALIDATION_ATTEMPTS) } + YY_BREAK +case 388: +YY_RULE_SETUP +#line 612 "util/configlexer.lex" +{ YDVAR(1, VAR_VAL_HASH_ATTEMPTS) } + YY_BREAK +case 389: +YY_RULE_SETUP +#line 613 "util/configlexer.lex" +{ YDVAR(1, VAR_MAX_TRANSFER_SIZE) } + YY_BREAK +case 390: +YY_RULE_SETUP +#line 614 "util/configlexer.lex" +{ YDVAR(1, VAR_MAX_TRANSFER_TIME) } + YY_BREAK +case 391: +YY_RULE_SETUP +#line 615 "util/configlexer.lex" +{ YDVAR(1, VAR_ITER_SCRUB_PROMISCUOUS) } + YY_BREAK +case 392: +/* rule 392 can match eol */ +YY_RULE_SETUP +#line 616 "util/configlexer.lex" +{ LEXOUT(("NL\n")); cfg_parser->line++; } + YY_BREAK +/* Quoted strings. Strip leading and ending quotes */ +case 393: +YY_RULE_SETUP +#line 619 "util/configlexer.lex" +{ BEGIN(quotedstring); LEXOUT(("QS ")); } + YY_BREAK +case YY_STATE_EOF(quotedstring): +#line 620 "util/configlexer.lex" +{ + yyerror("EOF inside quoted string"); + if(--num_args == 0) { BEGIN(INITIAL); } + else { BEGIN(val); } +} + YY_BREAK +case 394: +YY_RULE_SETUP +#line 625 "util/configlexer.lex" +{ LEXOUT(("STR(%s) ", yytext)); yymore(); } + YY_BREAK +case 395: +/* rule 395 can match eol */ +YY_RULE_SETUP +#line 626 "util/configlexer.lex" +{ yyerror("newline inside quoted string, no end \""); + cfg_parser->line++; BEGIN(INITIAL); } + YY_BREAK +case 396: +YY_RULE_SETUP +#line 628 "util/configlexer.lex" +{ + LEXOUT(("QE ")); + if(--num_args == 0) { BEGIN(INITIAL); } + else { BEGIN(val); } + yytext[yyleng - 1] = '\0'; + yylval.str = strdup(yytext); + if(!yylval.str) + yyerror("out of memory"); + return STRING_ARG; +} + YY_BREAK +/* Single Quoted strings. Strip leading and ending quotes */ +case 397: +YY_RULE_SETUP +#line 640 "util/configlexer.lex" +{ BEGIN(singlequotedstr); LEXOUT(("SQS ")); } + YY_BREAK +case YY_STATE_EOF(singlequotedstr): +#line 641 "util/configlexer.lex" +{ + yyerror("EOF inside quoted string"); + if(--num_args == 0) { BEGIN(INITIAL); } + else { BEGIN(val); } +} + YY_BREAK +case 398: +YY_RULE_SETUP +#line 646 "util/configlexer.lex" +{ LEXOUT(("STR(%s) ", yytext)); yymore(); } + YY_BREAK +case 399: +/* rule 399 can match eol */ +YY_RULE_SETUP +#line 647 "util/configlexer.lex" +{ yyerror("newline inside quoted string, no end '"); + cfg_parser->line++; BEGIN(INITIAL); } + YY_BREAK +case 400: +YY_RULE_SETUP +#line 649 "util/configlexer.lex" +{ + LEXOUT(("SQE ")); + if(--num_args == 0) { BEGIN(INITIAL); } + else { BEGIN(val); } + yytext[yyleng - 1] = '\0'; + yylval.str = strdup(yytext); + if(!yylval.str) + yyerror("out of memory"); + return STRING_ARG; +} + YY_BREAK +/* include: directive */ +case 401: +YY_RULE_SETUP +#line 661 "util/configlexer.lex" +{ + LEXOUT(("v(%s) ", yytext)); inc_prev = YYSTATE; BEGIN(include); } + YY_BREAK +case YY_STATE_EOF(include): +#line 663 "util/configlexer.lex" +{ + yyerror("EOF inside include directive"); + BEGIN(inc_prev); +} + YY_BREAK +case 402: +YY_RULE_SETUP +#line 667 "util/configlexer.lex" +{ LEXOUT(("ISP ")); /* ignore */ } + YY_BREAK +case 403: +/* rule 403 can match eol */ +YY_RULE_SETUP +#line 668 "util/configlexer.lex" +{ LEXOUT(("NL\n")); cfg_parser->line++;} + YY_BREAK +case 404: +YY_RULE_SETUP +#line 669 "util/configlexer.lex" +{ LEXOUT(("IQS ")); BEGIN(include_quoted); } + YY_BREAK +case 405: +YY_RULE_SETUP +#line 670 "util/configlexer.lex" +{ + LEXOUT(("Iunquotedstr(%s) ", yytext)); + config_start_include_glob(yytext, 0); + BEGIN(inc_prev); +} + YY_BREAK +case YY_STATE_EOF(include_quoted): +#line 675 "util/configlexer.lex" +{ + yyerror("EOF inside quoted string"); + BEGIN(inc_prev); +} + YY_BREAK +case 406: +YY_RULE_SETUP +#line 679 "util/configlexer.lex" +{ LEXOUT(("ISTR(%s) ", yytext)); yymore(); } + YY_BREAK +case 407: +/* rule 407 can match eol */ +YY_RULE_SETUP +#line 680 "util/configlexer.lex" +{ yyerror("newline before \" in include name"); + cfg_parser->line++; BEGIN(inc_prev); } + YY_BREAK +case 408: +YY_RULE_SETUP +#line 682 "util/configlexer.lex" +{ + LEXOUT(("IQE ")); + yytext[yyleng - 1] = '\0'; + config_start_include_glob(yytext, 0); + BEGIN(inc_prev); +} + YY_BREAK +case YY_STATE_EOF(INITIAL): +case YY_STATE_EOF(val): +#line 688 "util/configlexer.lex" +{ + LEXOUT(("LEXEOF ")); + yy_set_bol(1); /* Set beginning of line, so "^" rules match. */ + if (!config_include_stack) { + yyterminate(); + } else { + int prev_toplevel = inc_toplevel; + fclose(yyin); + config_end_include(); + if(prev_toplevel) return (VAR_FORCE_TOPLEVEL); + } +} + YY_BREAK +/* include-toplevel: directive */ +case 409: +YY_RULE_SETUP +#line 702 "util/configlexer.lex" +{ + LEXOUT(("v(%s) ", yytext)); inc_prev = YYSTATE; BEGIN(include_toplevel); +} + YY_BREAK +case YY_STATE_EOF(include_toplevel): +#line 705 "util/configlexer.lex" +{ + yyerror("EOF inside include_toplevel directive"); + BEGIN(inc_prev); +} + YY_BREAK +case 410: +YY_RULE_SETUP +#line 709 "util/configlexer.lex" +{ LEXOUT(("ITSP ")); /* ignore */ } + YY_BREAK +case 411: +/* rule 411 can match eol */ +YY_RULE_SETUP +#line 710 "util/configlexer.lex" +{ LEXOUT(("NL\n")); cfg_parser->line++; } + YY_BREAK +case 412: +YY_RULE_SETUP +#line 711 "util/configlexer.lex" +{ LEXOUT(("ITQS ")); BEGIN(include_toplevel_quoted); } + YY_BREAK +case 413: +YY_RULE_SETUP +#line 712 "util/configlexer.lex" +{ + LEXOUT(("ITunquotedstr(%s) ", yytext)); + config_start_include_glob(yytext, 1); + BEGIN(inc_prev); + return (VAR_FORCE_TOPLEVEL); +} + YY_BREAK +case YY_STATE_EOF(include_toplevel_quoted): +#line 718 "util/configlexer.lex" +{ + yyerror("EOF inside quoted string"); + BEGIN(inc_prev); +} + YY_BREAK +case 414: +YY_RULE_SETUP +#line 722 "util/configlexer.lex" +{ LEXOUT(("ITSTR(%s) ", yytext)); yymore(); } + YY_BREAK +case 415: +/* rule 415 can match eol */ +YY_RULE_SETUP +#line 723 "util/configlexer.lex" +{ + yyerror("newline before \" in include name"); + cfg_parser->line++; BEGIN(inc_prev); +} + YY_BREAK +case 416: +YY_RULE_SETUP +#line 727 "util/configlexer.lex" +{ + LEXOUT(("ITQE ")); + yytext[yyleng - 1] = '\0'; + config_start_include_glob(yytext, 1); + BEGIN(inc_prev); + return (VAR_FORCE_TOPLEVEL); +} + YY_BREAK +case 417: +YY_RULE_SETUP +#line 735 "util/configlexer.lex" +{ LEXOUT(("unquotedstr(%s) ", yytext)); + if(--num_args == 0) { BEGIN(INITIAL); } + yylval.str = strdup(yytext); return STRING_ARG; } + YY_BREAK +case 418: +YY_RULE_SETUP +#line 739 "util/configlexer.lex" +{ + ub_c_error_msg("unknown keyword '%s'", yytext); + } + YY_BREAK +case 419: +YY_RULE_SETUP +#line 743 "util/configlexer.lex" +{ + ub_c_error_msg("stray '%s'", yytext); + } + YY_BREAK +case 420: +YY_RULE_SETUP +#line 747 "util/configlexer.lex" +ECHO; + YY_BREAK +#line 7216 "<stdout>" + + case YY_END_OF_BUFFER: + { + /* Amount of text matched not including the EOB char. */ + int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; + + /* Undo the effects of YY_DO_BEFORE_ACTION. */ + *yy_cp = (yy_hold_char); + YY_RESTORE_YY_MORE_OFFSET + + if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) + { + /* We're scanning a new file or input source. It's + * possible that this happened because the user + * just pointed yyin at a new source and called + * yylex(). If so, then we have to assure + * consistency between YY_CURRENT_BUFFER and our + * globals. Here is the right place to do so, because + * this is the first action (other than possibly a + * back-up) that will match for the new input source. + */ + (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; + YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; + YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; + } + + /* Note that here we test for yy_c_buf_p "<=" to the position + * of the first EOB in the buffer, since yy_c_buf_p will + * already have been incremented past the NUL character + * (since all states make transitions on EOB to the + * end-of-buffer state). Contrast this with the test + * in input(). + */ + if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) + { /* This was really a NUL. */ + yy_state_type yy_next_state; + + (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; + + yy_current_state = yy_get_previous_state( ); + + /* Okay, we're now positioned to make the NUL + * transition. We couldn't have + * yy_get_previous_state() go ahead and do it + * for us because it doesn't know how to deal + * with the possibility of jamming (and we don't + * want to build jamming into it because then it + * will run more slowly). + */ + + yy_next_state = yy_try_NUL_trans( yy_current_state ); + + yy_bp = (yytext_ptr) + YY_MORE_ADJ; + + if ( yy_next_state ) + { + /* Consume the NUL. */ + yy_cp = ++(yy_c_buf_p); + yy_current_state = yy_next_state; + goto yy_match; + } + + else + { + yy_cp = (yy_c_buf_p); + goto yy_find_action; + } + } + + else switch ( yy_get_next_buffer( ) ) + { + case EOB_ACT_END_OF_FILE: + { + (yy_did_buffer_switch_on_eof) = 0; + + if ( yywrap( ) ) + { + /* Note: because we've taken care in + * yy_get_next_buffer() to have set up + * yytext, we can now set up + * yy_c_buf_p so that if some total + * hoser (like flex itself) wants to + * call the scanner after we return the + * YY_NULL, it'll still work - another + * YY_NULL will get returned. + */ + (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; + + yy_act = YY_STATE_EOF(YY_START); + goto do_action; + } + + else + { + if ( ! (yy_did_buffer_switch_on_eof) ) + YY_NEW_FILE; + } + break; + } + + case EOB_ACT_CONTINUE_SCAN: + (yy_c_buf_p) = + (yytext_ptr) + yy_amount_of_matched_text; + + yy_current_state = yy_get_previous_state( ); + + yy_cp = (yy_c_buf_p); + yy_bp = (yytext_ptr) + YY_MORE_ADJ; + goto yy_match; + + case EOB_ACT_LAST_MATCH: + (yy_c_buf_p) = + &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; + + yy_current_state = yy_get_previous_state( ); + + yy_cp = (yy_c_buf_p); + yy_bp = (yytext_ptr) + YY_MORE_ADJ; + goto yy_find_action; + } + break; + } + + default: + YY_FATAL_ERROR( + "fatal flex scanner internal error--no action found" ); + } /* end of action switch */ + } /* end of scanning one token */ + } /* end of user's declarations */ +} /* end of yylex */ + +/* yy_get_next_buffer - try to read in a new buffer + * + * Returns a code representing an action: + * EOB_ACT_LAST_MATCH - + * EOB_ACT_CONTINUE_SCAN - continue scanning from current position + * EOB_ACT_END_OF_FILE - end of file + */ +static int yy_get_next_buffer (void) +{ + char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; + char *source = (yytext_ptr); + int number_to_move, i; + int ret_val; + + if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) + YY_FATAL_ERROR( + "fatal flex scanner internal error--end of buffer missed" ); + + if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) + { /* Don't try to fill the buffer, so this is an EOF. */ + if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) + { + /* We matched a single character, the EOB, so + * treat this as a final EOF. + */ + return EOB_ACT_END_OF_FILE; + } + + else + { + /* We matched some text prior to the EOB, first + * process it. + */ + return EOB_ACT_LAST_MATCH; + } + } + + /* Try to read more data. */ + + /* First move last chars to start of buffer. */ + number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr) - 1); + + for ( i = 0; i < number_to_move; ++i ) + *(dest++) = *(source++); + + if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) + /* don't do the read, it's not guaranteed to return an EOF, + * just force an EOF + */ + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; + + else + { + int num_to_read = + YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; + + while ( num_to_read <= 0 ) + { /* Not enough room in the buffer - grow it. */ + + /* just a shorter name for the current buffer */ + YY_BUFFER_STATE b = YY_CURRENT_BUFFER_LVALUE; + + int yy_c_buf_p_offset = + (int) ((yy_c_buf_p) - b->yy_ch_buf); + + if ( b->yy_is_our_buffer ) + { + int new_size = b->yy_buf_size * 2; + + if ( new_size <= 0 ) + b->yy_buf_size += b->yy_buf_size / 8; + else + b->yy_buf_size *= 2; + + b->yy_ch_buf = (char *) + /* Include room in for 2 EOB chars. */ + yyrealloc( (void *) b->yy_ch_buf, + (yy_size_t) (b->yy_buf_size + 2) ); + } + else + /* Can't grow it, we don't own it. */ + b->yy_ch_buf = NULL; + + if ( ! b->yy_ch_buf ) + YY_FATAL_ERROR( + "fatal error - scanner input buffer overflow" ); + + (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset]; + + num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - + number_to_move - 1; + + } + + if ( num_to_read > YY_READ_BUF_SIZE ) + num_to_read = YY_READ_BUF_SIZE; + + /* Read in more data. */ + YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), + (yy_n_chars), num_to_read ); + + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); + } + + if ( (yy_n_chars) == 0 ) + { + if ( number_to_move == YY_MORE_ADJ ) + { + ret_val = EOB_ACT_END_OF_FILE; + yyrestart( yyin ); + } + + else + { + ret_val = EOB_ACT_LAST_MATCH; + YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = + YY_BUFFER_EOF_PENDING; + } + } + + else + ret_val = EOB_ACT_CONTINUE_SCAN; + + if (((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { + /* Extend the array by 50%, plus the number we really need. */ + int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); + YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc( + (void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size ); + if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) + YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); + /* "- 2" to take care of EOB's */ + YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2); + } + + (yy_n_chars) += number_to_move; + YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; + YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; + + (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; + + return ret_val; +} + +/* yy_get_previous_state - get the state just before the EOB char was reached */ + + static yy_state_type yy_get_previous_state (void) +{ + yy_state_type yy_current_state; + char *yy_cp; + + yy_current_state = (yy_start); + + for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) + { + YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); + if ( yy_accept[yy_current_state] ) + { + (yy_last_accepting_state) = yy_current_state; + (yy_last_accepting_cpos) = yy_cp; + } + while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) + { + yy_current_state = (int) yy_def[yy_current_state]; + if ( yy_current_state >= 4207 ) + yy_c = yy_meta[yy_c]; + } + yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; + } + + return yy_current_state; +} + +/* yy_try_NUL_trans - try to make a transition on the NUL character + * + * synopsis + * next_state = yy_try_NUL_trans( current_state ); + */ + static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) +{ + int yy_is_jam; + char *yy_cp = (yy_c_buf_p); + + YY_CHAR yy_c = 1; + if ( yy_accept[yy_current_state] ) + { + (yy_last_accepting_state) = yy_current_state; + (yy_last_accepting_cpos) = yy_cp; + } + while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) + { + yy_current_state = (int) yy_def[yy_current_state]; + if ( yy_current_state >= 4207 ) + yy_c = yy_meta[yy_c]; + } + yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; + yy_is_jam = (yy_current_state == 4206); + + return yy_is_jam ? 0 : yy_current_state; +} + +#ifndef YY_NO_UNPUT + +#endif + +#ifndef YY_NO_INPUT +#ifdef __cplusplus + static int yyinput (void) +#else + static int input (void) +#endif + +{ + int c; + + *(yy_c_buf_p) = (yy_hold_char); + + if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) + { + /* yy_c_buf_p now points to the character we want to return. + * If this occurs *before* the EOB characters, then it's a + * valid NUL; if not, then we've hit the end of the buffer. + */ + if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) + /* This was really a NUL. */ + *(yy_c_buf_p) = '\0'; + + else + { /* need more input */ + int offset = (int) ((yy_c_buf_p) - (yytext_ptr)); + ++(yy_c_buf_p); + + switch ( yy_get_next_buffer( ) ) + { + case EOB_ACT_LAST_MATCH: + /* This happens because yy_g_n_b() + * sees that we've accumulated a + * token and flags that we need to + * try matching the token before + * proceeding. But for input(), + * there's no matching to consider. + * So convert the EOB_ACT_LAST_MATCH + * to EOB_ACT_END_OF_FILE. + */ + + /* Reset buffer status. */ + yyrestart( yyin ); + + /*FALLTHROUGH*/ + + case EOB_ACT_END_OF_FILE: + { + if ( yywrap( ) ) + return 0; + + if ( ! (yy_did_buffer_switch_on_eof) ) + YY_NEW_FILE; +#ifdef __cplusplus + return yyinput(); +#else + return input(); +#endif + } + + case EOB_ACT_CONTINUE_SCAN: + (yy_c_buf_p) = (yytext_ptr) + offset; + break; + } + } + } + + c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ + *(yy_c_buf_p) = '\0'; /* preserve yytext */ + (yy_hold_char) = *++(yy_c_buf_p); + + return c; +} +#endif /* ifndef YY_NO_INPUT */ + +/** Immediately switch to a different input stream. + * @param input_file A readable stream. + * + * @note This function does not reset the start condition to @c INITIAL . + */ + void yyrestart (FILE * input_file ) +{ + + if ( ! YY_CURRENT_BUFFER ){ + yyensure_buffer_stack (); + YY_CURRENT_BUFFER_LVALUE = + yy_create_buffer( yyin, YY_BUF_SIZE ); + } + + yy_init_buffer( YY_CURRENT_BUFFER, input_file ); + yy_load_buffer_state( ); +} + +/** Switch to a different input buffer. + * @param new_buffer The new input buffer. + * + */ + void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) +{ + + /* TODO. We should be able to replace this entire function body + * with + * yypop_buffer_state(); + * yypush_buffer_state(new_buffer); + */ + yyensure_buffer_stack (); + if ( YY_CURRENT_BUFFER == new_buffer ) + return; + + if ( YY_CURRENT_BUFFER ) + { + /* Flush out information for old buffer. */ + *(yy_c_buf_p) = (yy_hold_char); + YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); + } + + YY_CURRENT_BUFFER_LVALUE = new_buffer; + yy_load_buffer_state( ); + + /* We don't actually know whether we did this switch during + * EOF (yywrap()) processing, but the only time this flag + * is looked at is after yywrap() is called, so it's safe + * to go ahead and always set it. + */ + (yy_did_buffer_switch_on_eof) = 1; +} + +static void yy_load_buffer_state (void) +{ + (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; + (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; + yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; + (yy_hold_char) = *(yy_c_buf_p); +} + +/** Allocate and initialize an input buffer state. + * @param file A readable stream. + * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. + * + * @return the allocated buffer state. + */ + YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) +{ + YY_BUFFER_STATE b; + + b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) ); + if ( ! b ) + YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); + + b->yy_buf_size = size; + + /* yy_ch_buf has to be 2 characters longer than the size given because + * we need to put in 2 end-of-buffer characters. + */ + b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) ); + if ( ! b->yy_ch_buf ) + YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); + + b->yy_is_our_buffer = 1; + + yy_init_buffer( b, file ); + + return b; +} + +/** Destroy the buffer. + * @param b a buffer created with yy_create_buffer() + * + */ + void yy_delete_buffer (YY_BUFFER_STATE b ) +{ + + if ( ! b ) + return; + + if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ + YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; + + if ( b->yy_is_our_buffer ) + yyfree( (void *) b->yy_ch_buf ); + + yyfree( (void *) b ); +} + +/* Initializes or reinitializes a buffer. + * This function is sometimes called more than once on the same buffer, + * such as during a yyrestart() or at EOF. + */ + static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) + +{ + int oerrno = errno; + + yy_flush_buffer( b ); + + b->yy_input_file = file; + b->yy_fill_buffer = 1; + + /* If b is the current buffer, then yy_init_buffer was _probably_ + * called from yyrestart() or through yy_get_next_buffer. + * In that case, we don't want to reset the lineno or column. + */ + if (b != YY_CURRENT_BUFFER){ + b->yy_bs_lineno = 1; + b->yy_bs_column = 0; + } + + b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; + + errno = oerrno; +} + +/** Discard all buffered characters. On the next scan, YY_INPUT will be called. + * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. + * + */ + void yy_flush_buffer (YY_BUFFER_STATE b ) +{ + if ( ! b ) + return; + + b->yy_n_chars = 0; + + /* We always need two end-of-buffer characters. The first causes + * a transition to the end-of-buffer state. The second causes + * a jam in that state. + */ + b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; + b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; + + b->yy_buf_pos = &b->yy_ch_buf[0]; + + b->yy_at_bol = 1; + b->yy_buffer_status = YY_BUFFER_NEW; + + if ( b == YY_CURRENT_BUFFER ) + yy_load_buffer_state( ); +} + +/** Pushes the new state onto the stack. The new state becomes + * the current state. This function will allocate the stack + * if necessary. + * @param new_buffer The new state. + * + */ +void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) +{ + if (new_buffer == NULL) + return; + + yyensure_buffer_stack(); + + /* This block is copied from yy_switch_to_buffer. */ + if ( YY_CURRENT_BUFFER ) + { + /* Flush out information for old buffer. */ + *(yy_c_buf_p) = (yy_hold_char); + YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); + } + + /* Only push if top exists. Otherwise, replace top. */ + if (YY_CURRENT_BUFFER) + (yy_buffer_stack_top)++; + YY_CURRENT_BUFFER_LVALUE = new_buffer; + + /* copied from yy_switch_to_buffer. */ + yy_load_buffer_state( ); + (yy_did_buffer_switch_on_eof) = 1; +} + +/** Removes and deletes the top of the stack, if present. + * The next element becomes the new top. + * + */ +void yypop_buffer_state (void) +{ + if (!YY_CURRENT_BUFFER) + return; + + yy_delete_buffer(YY_CURRENT_BUFFER ); + YY_CURRENT_BUFFER_LVALUE = NULL; + if ((yy_buffer_stack_top) > 0) + --(yy_buffer_stack_top); + + if (YY_CURRENT_BUFFER) { + yy_load_buffer_state( ); + (yy_did_buffer_switch_on_eof) = 1; + } +} + +/* Allocates the stack if it does not exist. + * Guarantees space for at least one push. + */ +static void yyensure_buffer_stack (void) +{ + yy_size_t num_to_alloc; + + if (!(yy_buffer_stack)) { + + /* First allocation is just for 2 elements, since we don't know if this + * scanner will even need a stack. We use 2 instead of 1 to avoid an + * immediate realloc on the next call. + */ + num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */ + (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc + (num_to_alloc * sizeof(struct yy_buffer_state*) + ); + if ( ! (yy_buffer_stack) ) + YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); + + memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); + + (yy_buffer_stack_max) = num_to_alloc; + (yy_buffer_stack_top) = 0; + return; + } + + if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ + + /* Increase the buffer to prepare for a possible push. */ + yy_size_t grow_size = 8 /* arbitrary grow size */; + + num_to_alloc = (yy_buffer_stack_max) + grow_size; + (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc + ((yy_buffer_stack), + num_to_alloc * sizeof(struct yy_buffer_state*) + ); + if ( ! (yy_buffer_stack) ) + YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); + + /* zero only the new slots.*/ + memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); + (yy_buffer_stack_max) = num_to_alloc; + } +} + +/** Setup the input buffer state to scan directly from a user-specified character buffer. + * @param base the character buffer + * @param size the size in bytes of the character buffer + * + * @return the newly allocated buffer state object. + */ +YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) +{ + YY_BUFFER_STATE b; + + if ( size < 2 || + base[size-2] != YY_END_OF_BUFFER_CHAR || + base[size-1] != YY_END_OF_BUFFER_CHAR ) + /* They forgot to leave room for the EOB's. */ + return NULL; + + b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) ); + if ( ! b ) + YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); + + b->yy_buf_size = (int) (size - 2); /* "- 2" to take care of EOB's */ + b->yy_buf_pos = b->yy_ch_buf = base; + b->yy_is_our_buffer = 0; + b->yy_input_file = NULL; + b->yy_n_chars = b->yy_buf_size; + b->yy_is_interactive = 0; + b->yy_at_bol = 1; + b->yy_fill_buffer = 0; + b->yy_buffer_status = YY_BUFFER_NEW; + + yy_switch_to_buffer( b ); + + return b; +} + +/** Setup the input buffer state to scan a string. The next call to yylex() will + * scan from a @e copy of @a str. + * @param yystr a NUL-terminated string to scan + * + * @return the newly allocated buffer state object. + * @note If you want to scan bytes that may contain NUL values, then use + * yy_scan_bytes() instead. + */ +YY_BUFFER_STATE yy_scan_string (const char * yystr ) +{ + + return yy_scan_bytes( yystr, (int) strlen(yystr) ); +} + +/** Setup the input buffer state to scan the given bytes. The next call to yylex() will + * scan from a @e copy of @a bytes. + * @param yybytes the byte buffer to scan + * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes. + * + * @return the newly allocated buffer state object. + */ +YY_BUFFER_STATE yy_scan_bytes (const char * yybytes, int _yybytes_len ) +{ + YY_BUFFER_STATE b; + char *buf; + yy_size_t n; + int i; + + /* Get memory for full buffer, including space for trailing EOB's. */ + n = (yy_size_t) (_yybytes_len + 2); + buf = (char *) yyalloc( n ); + if ( ! buf ) + YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); + + for ( i = 0; i < _yybytes_len; ++i ) + buf[i] = yybytes[i]; + + buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; + + b = yy_scan_buffer( buf, n ); + if ( ! b ) + YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); + + /* It's okay to grow etc. this buffer, and we should throw it + * away when we're done. + */ + b->yy_is_our_buffer = 1; + + return b; +} + +#ifndef YY_EXIT_FAILURE +#define YY_EXIT_FAILURE 2 +#endif + +static void yynoreturn yy_fatal_error (const char* msg ) +{ + fprintf( stderr, "%s\n", msg ); + exit( YY_EXIT_FAILURE ); +} + +/* Redefine yyless() so it works in section 3 code. */ + +#undef yyless +#define yyless(n) \ + do \ + { \ + /* Undo effects of setting up yytext. */ \ + int yyless_macro_arg = (n); \ + YY_LESS_LINENO(yyless_macro_arg);\ + yytext[yyleng] = (yy_hold_char); \ + (yy_c_buf_p) = yytext + yyless_macro_arg; \ + (yy_hold_char) = *(yy_c_buf_p); \ + *(yy_c_buf_p) = '\0'; \ + yyleng = yyless_macro_arg; \ + } \ + while ( 0 ) + +/* Accessor methods (get/set functions) to struct members. */ + +/** Get the current line number. + * + */ +int yyget_lineno (void) +{ + + return yylineno; +} + +/** Get the input stream. + * + */ +FILE *yyget_in (void) +{ + return yyin; +} + +/** Get the output stream. + * + */ +FILE *yyget_out (void) +{ + return yyout; +} + +/** Get the length of the current token. + * + */ +int yyget_leng (void) +{ + return yyleng; +} + +/** Get the current token. + * + */ + +char *yyget_text (void) +{ + return yytext; +} + +/** Set the current line number. + * @param _line_number line number + * + */ +void yyset_lineno (int _line_number ) +{ + + yylineno = _line_number; +} + +/** Set the input stream. This does not discard the current + * input buffer. + * @param _in_str A readable stream. + * + * @see yy_switch_to_buffer + */ +void yyset_in (FILE * _in_str ) +{ + yyin = _in_str ; +} + +void yyset_out (FILE * _out_str ) +{ + yyout = _out_str ; +} + +int yyget_debug (void) +{ + return yy_flex_debug; +} + +void yyset_debug (int _bdebug ) +{ + yy_flex_debug = _bdebug ; +} + +static int yy_init_globals (void) +{ + /* Initialization is the same as for the non-reentrant scanner. + * This function is called from yylex_destroy(), so don't allocate here. + */ + + (yy_buffer_stack) = NULL; + (yy_buffer_stack_top) = 0; + (yy_buffer_stack_max) = 0; + (yy_c_buf_p) = NULL; + (yy_init) = 0; + (yy_start) = 0; + +/* Defined in main.c */ +#ifdef YY_STDINIT + yyin = stdin; + yyout = stdout; +#else + yyin = NULL; + yyout = NULL; +#endif + + /* For future reference: Set errno on error, since we are called by + * yylex_init() + */ + return 0; +} + +/* yylex_destroy is for both reentrant and non-reentrant scanners. */ +int yylex_destroy (void) +{ + + /* Pop the buffer stack, destroying each element. */ + while(YY_CURRENT_BUFFER){ + yy_delete_buffer( YY_CURRENT_BUFFER ); + YY_CURRENT_BUFFER_LVALUE = NULL; + yypop_buffer_state(); + } + + /* Destroy the stack itself. */ + yyfree((yy_buffer_stack) ); + (yy_buffer_stack) = NULL; + + /* Reset the globals. This is important in a non-reentrant scanner so the next time + * yylex() is called, initialization will occur. */ + yy_init_globals( ); + + return 0; +} + +/* + * Internal utility routines. + */ + +#ifndef yytext_ptr +static void yy_flex_strncpy (char* s1, const char * s2, int n ) +{ + + int i; + for ( i = 0; i < n; ++i ) + s1[i] = s2[i]; +} +#endif + +#ifdef YY_NEED_STRLEN +static int yy_flex_strlen (const char * s ) +{ + int n; + for ( n = 0; s[n]; ++n ) + ; + + return n; +} +#endif + +void *yyalloc (yy_size_t size ) +{ + return malloc(size); +} + +void *yyrealloc (void * ptr, yy_size_t size ) +{ + + /* The cast to (char *) in the following accommodates both + * implementations that use char* generic pointers, and those + * that use void* generic pointers. It works with the latter + * because both ANSI C and C++ allow castless assignment from + * any pointer type to void*, and deal with argument conversions + * as though doing an assignment. + */ + return realloc(ptr, size); +} + +void yyfree (void * ptr ) +{ + free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ +} + +#define YYTABLES_NAME "yytables" + +#line 747 "util/configlexer.lex" + + diff --git a/util/configparser.c b/util/configparser.c new file mode 100644 index 00000000..e6f28d12 --- /dev/null +++ b/util/configparser.c @@ -0,0 +1,8391 @@ +/* A Bison parser, made by GNU Bison 3.8.2. */ + +/* Bison implementation for Yacc-like parsers in C + + Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation, + Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. */ + +/* As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + + This special exception was added by the Free Software Foundation in + version 2.2 of Bison. */ + +/* C LALR(1) parser skeleton written by Richard Stallman, by + simplifying the original so-called "semantic" parser. */ + +/* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual, + especially those whose name start with YY_ or yy_. They are + private implementation details that can be changed or removed. */ + +/* All symbols defined below should begin with yy or YY, to avoid + infringing on user name space. This should be done even for local + variables, as they might otherwise be expanded by user macros. + There are some unavoidable exceptions within include files to + define necessary library symbols; they are noted "INFRINGES ON + USER NAME SPACE" below. */ + +/* Identify Bison output, and Bison version. */ +#define YYBISON 30802 + +/* Bison version string. */ +#define YYBISON_VERSION "3.8.2" + +/* Skeleton name. */ +#define YYSKELETON_NAME "yacc.c" + +/* Pure parsers. */ +#define YYPURE 0 + +/* Push parsers. */ +#define YYPUSH 0 + +/* Pull parsers. */ +#define YYPULL 1 + + + + +/* First part of user prologue. */ +#line 38 "util/configparser.y" + +#include "config.h" + +#include <stdarg.h> +#include <stdio.h> +#include <string.h> +#include <stdlib.h> +#include <assert.h> + +#include "util/configyyrename.h" +#include "util/config_file.h" +#include "util/net_help.h" +#include "sldns/str2wire.h" + +int ub_c_lex(void); +void ub_c_error(const char *message); + +static void validate_respip_action(const char* action); +static void validate_acl_action(const char* action); + +/* these need to be global, otherwise they cannot be used inside yacc */ +extern struct config_parser_state* cfg_parser; + +#if 0 +#define OUTYY(s) printf s /* used ONLY when debugging */ +#else +#define OUTYY(s) +#endif + + +#line 102 "util/configparser.c" + +# ifndef YY_CAST +# ifdef __cplusplus +# define YY_CAST(Type, Val) static_cast<Type> (Val) +# define YY_REINTERPRET_CAST(Type, Val) reinterpret_cast<Type> (Val) +# else +# define YY_CAST(Type, Val) ((Type) (Val)) +# define YY_REINTERPRET_CAST(Type, Val) ((Type) (Val)) +# endif +# endif +# ifndef YY_NULLPTR +# if defined __cplusplus +# if 201103L <= __cplusplus +# define YY_NULLPTR nullptr +# else +# define YY_NULLPTR 0 +# endif +# else +# define YY_NULLPTR ((void*)0) +# endif +# endif + +#include "configparser.h" +/* Symbol kind. */ +enum yysymbol_kind_t +{ + YYSYMBOL_YYEMPTY = -2, + YYSYMBOL_YYEOF = 0, /* "end of file" */ + YYSYMBOL_YYerror = 1, /* error */ + YYSYMBOL_YYUNDEF = 2, /* "invalid token" */ + YYSYMBOL_SPACE = 3, /* SPACE */ + YYSYMBOL_LETTER = 4, /* LETTER */ + YYSYMBOL_NEWLINE = 5, /* NEWLINE */ + YYSYMBOL_COMMENT = 6, /* COMMENT */ + YYSYMBOL_COLON = 7, /* COLON */ + YYSYMBOL_ANY = 8, /* ANY */ + YYSYMBOL_ZONESTR = 9, /* ZONESTR */ + YYSYMBOL_STRING_ARG = 10, /* STRING_ARG */ + YYSYMBOL_VAR_FORCE_TOPLEVEL = 11, /* VAR_FORCE_TOPLEVEL */ + YYSYMBOL_VAR_SERVER = 12, /* VAR_SERVER */ + YYSYMBOL_VAR_VERBOSITY = 13, /* VAR_VERBOSITY */ + YYSYMBOL_VAR_NUM_THREADS = 14, /* VAR_NUM_THREADS */ + YYSYMBOL_VAR_PORT = 15, /* VAR_PORT */ + YYSYMBOL_VAR_OUTGOING_RANGE = 16, /* VAR_OUTGOING_RANGE */ + YYSYMBOL_VAR_INTERFACE = 17, /* VAR_INTERFACE */ + YYSYMBOL_VAR_PREFER_IP4 = 18, /* VAR_PREFER_IP4 */ + YYSYMBOL_VAR_DO_IP4 = 19, /* VAR_DO_IP4 */ + YYSYMBOL_VAR_DO_IP6 = 20, /* VAR_DO_IP6 */ + YYSYMBOL_VAR_DO_NAT64 = 21, /* VAR_DO_NAT64 */ + YYSYMBOL_VAR_PREFER_IP6 = 22, /* VAR_PREFER_IP6 */ + YYSYMBOL_VAR_DO_UDP = 23, /* VAR_DO_UDP */ + YYSYMBOL_VAR_DO_TCP = 24, /* VAR_DO_TCP */ + YYSYMBOL_VAR_TCP_MSS = 25, /* VAR_TCP_MSS */ + YYSYMBOL_VAR_OUTGOING_TCP_MSS = 26, /* VAR_OUTGOING_TCP_MSS */ + YYSYMBOL_VAR_TCP_IDLE_TIMEOUT = 27, /* VAR_TCP_IDLE_TIMEOUT */ + YYSYMBOL_VAR_EDNS_TCP_KEEPALIVE = 28, /* VAR_EDNS_TCP_KEEPALIVE */ + YYSYMBOL_VAR_EDNS_TCP_KEEPALIVE_TIMEOUT = 29, /* VAR_EDNS_TCP_KEEPALIVE_TIMEOUT */ + YYSYMBOL_VAR_SOCK_QUEUE_TIMEOUT = 30, /* VAR_SOCK_QUEUE_TIMEOUT */ + YYSYMBOL_VAR_CHROOT = 31, /* VAR_CHROOT */ + YYSYMBOL_VAR_USERNAME = 32, /* VAR_USERNAME */ + YYSYMBOL_VAR_DIRECTORY = 33, /* VAR_DIRECTORY */ + YYSYMBOL_VAR_LOGFILE = 34, /* VAR_LOGFILE */ + YYSYMBOL_VAR_PIDFILE = 35, /* VAR_PIDFILE */ + YYSYMBOL_VAR_MSG_CACHE_SIZE = 36, /* VAR_MSG_CACHE_SIZE */ + YYSYMBOL_VAR_MSG_CACHE_SLABS = 37, /* VAR_MSG_CACHE_SLABS */ + YYSYMBOL_VAR_NUM_QUERIES_PER_THREAD = 38, /* VAR_NUM_QUERIES_PER_THREAD */ + YYSYMBOL_VAR_RRSET_CACHE_SIZE = 39, /* VAR_RRSET_CACHE_SIZE */ + YYSYMBOL_VAR_RRSET_CACHE_SLABS = 40, /* VAR_RRSET_CACHE_SLABS */ + YYSYMBOL_VAR_OUTGOING_NUM_TCP = 41, /* VAR_OUTGOING_NUM_TCP */ + YYSYMBOL_VAR_INFRA_HOST_TTL = 42, /* VAR_INFRA_HOST_TTL */ + YYSYMBOL_VAR_INFRA_LAME_TTL = 43, /* VAR_INFRA_LAME_TTL */ + YYSYMBOL_VAR_INFRA_CACHE_SLABS = 44, /* VAR_INFRA_CACHE_SLABS */ + YYSYMBOL_VAR_INFRA_CACHE_NUMHOSTS = 45, /* VAR_INFRA_CACHE_NUMHOSTS */ + YYSYMBOL_VAR_INFRA_CACHE_LAME_SIZE = 46, /* VAR_INFRA_CACHE_LAME_SIZE */ + YYSYMBOL_VAR_NAME = 47, /* VAR_NAME */ + YYSYMBOL_VAR_STUB_ZONE = 48, /* VAR_STUB_ZONE */ + YYSYMBOL_VAR_STUB_HOST = 49, /* VAR_STUB_HOST */ + YYSYMBOL_VAR_STUB_ADDR = 50, /* VAR_STUB_ADDR */ + YYSYMBOL_VAR_TARGET_FETCH_POLICY = 51, /* VAR_TARGET_FETCH_POLICY */ + YYSYMBOL_VAR_HARDEN_SHORT_BUFSIZE = 52, /* VAR_HARDEN_SHORT_BUFSIZE */ + YYSYMBOL_VAR_HARDEN_LARGE_QUERIES = 53, /* VAR_HARDEN_LARGE_QUERIES */ + YYSYMBOL_VAR_FORWARD_ZONE = 54, /* VAR_FORWARD_ZONE */ + YYSYMBOL_VAR_FORWARD_HOST = 55, /* VAR_FORWARD_HOST */ + YYSYMBOL_VAR_FORWARD_ADDR = 56, /* VAR_FORWARD_ADDR */ + YYSYMBOL_VAR_DO_NOT_QUERY_ADDRESS = 57, /* VAR_DO_NOT_QUERY_ADDRESS */ + YYSYMBOL_VAR_HIDE_IDENTITY = 58, /* VAR_HIDE_IDENTITY */ + YYSYMBOL_VAR_HIDE_VERSION = 59, /* VAR_HIDE_VERSION */ + YYSYMBOL_VAR_IDENTITY = 60, /* VAR_IDENTITY */ + YYSYMBOL_VAR_VERSION = 61, /* VAR_VERSION */ + YYSYMBOL_VAR_HARDEN_GLUE = 62, /* VAR_HARDEN_GLUE */ + YYSYMBOL_VAR_MODULE_CONF = 63, /* VAR_MODULE_CONF */ + YYSYMBOL_VAR_TRUST_ANCHOR_FILE = 64, /* VAR_TRUST_ANCHOR_FILE */ + YYSYMBOL_VAR_TRUST_ANCHOR = 65, /* VAR_TRUST_ANCHOR */ + YYSYMBOL_VAR_VAL_OVERRIDE_DATE = 66, /* VAR_VAL_OVERRIDE_DATE */ + YYSYMBOL_VAR_BOGUS_TTL = 67, /* VAR_BOGUS_TTL */ + YYSYMBOL_VAR_VAL_CLEAN_ADDITIONAL = 68, /* VAR_VAL_CLEAN_ADDITIONAL */ + YYSYMBOL_VAR_VAL_PERMISSIVE_MODE = 69, /* VAR_VAL_PERMISSIVE_MODE */ + YYSYMBOL_VAR_INCOMING_NUM_TCP = 70, /* VAR_INCOMING_NUM_TCP */ + YYSYMBOL_VAR_MSG_BUFFER_SIZE = 71, /* VAR_MSG_BUFFER_SIZE */ + YYSYMBOL_VAR_KEY_CACHE_SIZE = 72, /* VAR_KEY_CACHE_SIZE */ + YYSYMBOL_VAR_KEY_CACHE_SLABS = 73, /* VAR_KEY_CACHE_SLABS */ + YYSYMBOL_VAR_TRUSTED_KEYS_FILE = 74, /* VAR_TRUSTED_KEYS_FILE */ + YYSYMBOL_VAR_VAL_NSEC3_KEYSIZE_ITERATIONS = 75, /* VAR_VAL_NSEC3_KEYSIZE_ITERATIONS */ + YYSYMBOL_VAR_USE_SYSLOG = 76, /* VAR_USE_SYSLOG */ + YYSYMBOL_VAR_OUTGOING_INTERFACE = 77, /* VAR_OUTGOING_INTERFACE */ + YYSYMBOL_VAR_ROOT_HINTS = 78, /* VAR_ROOT_HINTS */ + YYSYMBOL_VAR_DO_NOT_QUERY_LOCALHOST = 79, /* VAR_DO_NOT_QUERY_LOCALHOST */ + YYSYMBOL_VAR_CACHE_MAX_TTL = 80, /* VAR_CACHE_MAX_TTL */ + YYSYMBOL_VAR_HARDEN_DNSSEC_STRIPPED = 81, /* VAR_HARDEN_DNSSEC_STRIPPED */ + YYSYMBOL_VAR_ACCESS_CONTROL = 82, /* VAR_ACCESS_CONTROL */ + YYSYMBOL_VAR_LOCAL_ZONE = 83, /* VAR_LOCAL_ZONE */ + YYSYMBOL_VAR_LOCAL_DATA = 84, /* VAR_LOCAL_DATA */ + YYSYMBOL_VAR_INTERFACE_AUTOMATIC = 85, /* VAR_INTERFACE_AUTOMATIC */ + YYSYMBOL_VAR_STATISTICS_INTERVAL = 86, /* VAR_STATISTICS_INTERVAL */ + YYSYMBOL_VAR_DO_DAEMONIZE = 87, /* VAR_DO_DAEMONIZE */ + YYSYMBOL_VAR_USE_CAPS_FOR_ID = 88, /* VAR_USE_CAPS_FOR_ID */ + YYSYMBOL_VAR_STATISTICS_CUMULATIVE = 89, /* VAR_STATISTICS_CUMULATIVE */ + YYSYMBOL_VAR_OUTGOING_PORT_PERMIT = 90, /* VAR_OUTGOING_PORT_PERMIT */ + YYSYMBOL_VAR_OUTGOING_PORT_AVOID = 91, /* VAR_OUTGOING_PORT_AVOID */ + YYSYMBOL_VAR_DLV_ANCHOR_FILE = 92, /* VAR_DLV_ANCHOR_FILE */ + YYSYMBOL_VAR_DLV_ANCHOR = 93, /* VAR_DLV_ANCHOR */ + YYSYMBOL_VAR_NEG_CACHE_SIZE = 94, /* VAR_NEG_CACHE_SIZE */ + YYSYMBOL_VAR_HARDEN_REFERRAL_PATH = 95, /* VAR_HARDEN_REFERRAL_PATH */ + YYSYMBOL_VAR_PRIVATE_ADDRESS = 96, /* VAR_PRIVATE_ADDRESS */ + YYSYMBOL_VAR_PRIVATE_DOMAIN = 97, /* VAR_PRIVATE_DOMAIN */ + YYSYMBOL_VAR_REMOTE_CONTROL = 98, /* VAR_REMOTE_CONTROL */ + YYSYMBOL_VAR_CONTROL_ENABLE = 99, /* VAR_CONTROL_ENABLE */ + YYSYMBOL_VAR_CONTROL_INTERFACE = 100, /* VAR_CONTROL_INTERFACE */ + YYSYMBOL_VAR_CONTROL_PORT = 101, /* VAR_CONTROL_PORT */ + YYSYMBOL_VAR_SERVER_KEY_FILE = 102, /* VAR_SERVER_KEY_FILE */ + YYSYMBOL_VAR_SERVER_CERT_FILE = 103, /* VAR_SERVER_CERT_FILE */ + YYSYMBOL_VAR_CONTROL_KEY_FILE = 104, /* VAR_CONTROL_KEY_FILE */ + YYSYMBOL_VAR_CONTROL_CERT_FILE = 105, /* VAR_CONTROL_CERT_FILE */ + YYSYMBOL_VAR_CONTROL_USE_CERT = 106, /* VAR_CONTROL_USE_CERT */ + YYSYMBOL_VAR_TCP_REUSE_TIMEOUT = 107, /* VAR_TCP_REUSE_TIMEOUT */ + YYSYMBOL_VAR_MAX_REUSE_TCP_QUERIES = 108, /* VAR_MAX_REUSE_TCP_QUERIES */ + YYSYMBOL_VAR_EXTENDED_STATISTICS = 109, /* VAR_EXTENDED_STATISTICS */ + YYSYMBOL_VAR_LOCAL_DATA_PTR = 110, /* VAR_LOCAL_DATA_PTR */ + YYSYMBOL_VAR_JOSTLE_TIMEOUT = 111, /* VAR_JOSTLE_TIMEOUT */ + YYSYMBOL_VAR_STUB_PRIME = 112, /* VAR_STUB_PRIME */ + YYSYMBOL_VAR_UNWANTED_REPLY_THRESHOLD = 113, /* VAR_UNWANTED_REPLY_THRESHOLD */ + YYSYMBOL_VAR_LOG_TIME_ASCII = 114, /* VAR_LOG_TIME_ASCII */ + YYSYMBOL_VAR_DOMAIN_INSECURE = 115, /* VAR_DOMAIN_INSECURE */ + YYSYMBOL_VAR_PYTHON = 116, /* VAR_PYTHON */ + YYSYMBOL_VAR_PYTHON_SCRIPT = 117, /* VAR_PYTHON_SCRIPT */ + YYSYMBOL_VAR_VAL_SIG_SKEW_MIN = 118, /* VAR_VAL_SIG_SKEW_MIN */ + YYSYMBOL_VAR_VAL_SIG_SKEW_MAX = 119, /* VAR_VAL_SIG_SKEW_MAX */ + YYSYMBOL_VAR_VAL_MAX_RESTART = 120, /* VAR_VAL_MAX_RESTART */ + YYSYMBOL_VAR_CACHE_MIN_TTL = 121, /* VAR_CACHE_MIN_TTL */ + YYSYMBOL_VAR_VAL_LOG_LEVEL = 122, /* VAR_VAL_LOG_LEVEL */ + YYSYMBOL_VAR_AUTO_TRUST_ANCHOR_FILE = 123, /* VAR_AUTO_TRUST_ANCHOR_FILE */ + YYSYMBOL_VAR_KEEP_MISSING = 124, /* VAR_KEEP_MISSING */ + YYSYMBOL_VAR_ADD_HOLDDOWN = 125, /* VAR_ADD_HOLDDOWN */ + YYSYMBOL_VAR_DEL_HOLDDOWN = 126, /* VAR_DEL_HOLDDOWN */ + YYSYMBOL_VAR_SO_RCVBUF = 127, /* VAR_SO_RCVBUF */ + YYSYMBOL_VAR_EDNS_BUFFER_SIZE = 128, /* VAR_EDNS_BUFFER_SIZE */ + YYSYMBOL_VAR_PREFETCH = 129, /* VAR_PREFETCH */ + YYSYMBOL_VAR_PREFETCH_KEY = 130, /* VAR_PREFETCH_KEY */ + YYSYMBOL_VAR_SO_SNDBUF = 131, /* VAR_SO_SNDBUF */ + YYSYMBOL_VAR_SO_REUSEPORT = 132, /* VAR_SO_REUSEPORT */ + YYSYMBOL_VAR_HARDEN_BELOW_NXDOMAIN = 133, /* VAR_HARDEN_BELOW_NXDOMAIN */ + YYSYMBOL_VAR_IGNORE_CD_FLAG = 134, /* VAR_IGNORE_CD_FLAG */ + YYSYMBOL_VAR_LOG_QUERIES = 135, /* VAR_LOG_QUERIES */ + YYSYMBOL_VAR_LOG_REPLIES = 136, /* VAR_LOG_REPLIES */ + YYSYMBOL_VAR_LOG_LOCAL_ACTIONS = 137, /* VAR_LOG_LOCAL_ACTIONS */ + YYSYMBOL_VAR_TCP_UPSTREAM = 138, /* VAR_TCP_UPSTREAM */ + YYSYMBOL_VAR_SSL_UPSTREAM = 139, /* VAR_SSL_UPSTREAM */ + YYSYMBOL_VAR_TCP_AUTH_QUERY_TIMEOUT = 140, /* VAR_TCP_AUTH_QUERY_TIMEOUT */ + YYSYMBOL_VAR_SSL_SERVICE_KEY = 141, /* VAR_SSL_SERVICE_KEY */ + YYSYMBOL_VAR_SSL_SERVICE_PEM = 142, /* VAR_SSL_SERVICE_PEM */ + YYSYMBOL_VAR_SSL_PORT = 143, /* VAR_SSL_PORT */ + YYSYMBOL_VAR_FORWARD_FIRST = 144, /* VAR_FORWARD_FIRST */ + YYSYMBOL_VAR_STUB_SSL_UPSTREAM = 145, /* VAR_STUB_SSL_UPSTREAM */ + YYSYMBOL_VAR_FORWARD_SSL_UPSTREAM = 146, /* VAR_FORWARD_SSL_UPSTREAM */ + YYSYMBOL_VAR_TLS_CERT_BUNDLE = 147, /* VAR_TLS_CERT_BUNDLE */ + YYSYMBOL_VAR_STUB_TCP_UPSTREAM = 148, /* VAR_STUB_TCP_UPSTREAM */ + YYSYMBOL_VAR_FORWARD_TCP_UPSTREAM = 149, /* VAR_FORWARD_TCP_UPSTREAM */ + YYSYMBOL_VAR_HTTPS_PORT = 150, /* VAR_HTTPS_PORT */ + YYSYMBOL_VAR_HTTP_ENDPOINT = 151, /* VAR_HTTP_ENDPOINT */ + YYSYMBOL_VAR_HTTP_MAX_STREAMS = 152, /* VAR_HTTP_MAX_STREAMS */ + YYSYMBOL_VAR_HTTP_QUERY_BUFFER_SIZE = 153, /* VAR_HTTP_QUERY_BUFFER_SIZE */ + YYSYMBOL_VAR_HTTP_RESPONSE_BUFFER_SIZE = 154, /* VAR_HTTP_RESPONSE_BUFFER_SIZE */ + YYSYMBOL_VAR_HTTP_NODELAY = 155, /* VAR_HTTP_NODELAY */ + YYSYMBOL_VAR_HTTP_NOTLS_DOWNSTREAM = 156, /* VAR_HTTP_NOTLS_DOWNSTREAM */ + YYSYMBOL_VAR_STUB_FIRST = 157, /* VAR_STUB_FIRST */ + YYSYMBOL_VAR_MINIMAL_RESPONSES = 158, /* VAR_MINIMAL_RESPONSES */ + YYSYMBOL_VAR_RRSET_ROUNDROBIN = 159, /* VAR_RRSET_ROUNDROBIN */ + YYSYMBOL_VAR_MAX_UDP_SIZE = 160, /* VAR_MAX_UDP_SIZE */ + YYSYMBOL_VAR_DELAY_CLOSE = 161, /* VAR_DELAY_CLOSE */ + YYSYMBOL_VAR_UDP_CONNECT = 162, /* VAR_UDP_CONNECT */ + YYSYMBOL_VAR_UNBLOCK_LAN_ZONES = 163, /* VAR_UNBLOCK_LAN_ZONES */ + YYSYMBOL_VAR_INSECURE_LAN_ZONES = 164, /* VAR_INSECURE_LAN_ZONES */ + YYSYMBOL_VAR_INFRA_CACHE_MIN_RTT = 165, /* VAR_INFRA_CACHE_MIN_RTT */ + YYSYMBOL_VAR_INFRA_CACHE_MAX_RTT = 166, /* VAR_INFRA_CACHE_MAX_RTT */ + YYSYMBOL_VAR_INFRA_KEEP_PROBING = 167, /* VAR_INFRA_KEEP_PROBING */ + YYSYMBOL_VAR_DNS64_PREFIX = 168, /* VAR_DNS64_PREFIX */ + YYSYMBOL_VAR_DNS64_SYNTHALL = 169, /* VAR_DNS64_SYNTHALL */ + YYSYMBOL_VAR_DNS64_IGNORE_AAAA = 170, /* VAR_DNS64_IGNORE_AAAA */ + YYSYMBOL_VAR_NAT64_PREFIX = 171, /* VAR_NAT64_PREFIX */ + YYSYMBOL_VAR_DNSTAP = 172, /* VAR_DNSTAP */ + YYSYMBOL_VAR_DNSTAP_ENABLE = 173, /* VAR_DNSTAP_ENABLE */ + YYSYMBOL_VAR_DNSTAP_SOCKET_PATH = 174, /* VAR_DNSTAP_SOCKET_PATH */ + YYSYMBOL_VAR_DNSTAP_IP = 175, /* VAR_DNSTAP_IP */ + YYSYMBOL_VAR_DNSTAP_TLS = 176, /* VAR_DNSTAP_TLS */ + YYSYMBOL_VAR_DNSTAP_TLS_SERVER_NAME = 177, /* VAR_DNSTAP_TLS_SERVER_NAME */ + YYSYMBOL_VAR_DNSTAP_TLS_CERT_BUNDLE = 178, /* VAR_DNSTAP_TLS_CERT_BUNDLE */ + YYSYMBOL_VAR_DNSTAP_TLS_CLIENT_KEY_FILE = 179, /* VAR_DNSTAP_TLS_CLIENT_KEY_FILE */ + YYSYMBOL_VAR_DNSTAP_TLS_CLIENT_CERT_FILE = 180, /* VAR_DNSTAP_TLS_CLIENT_CERT_FILE */ + YYSYMBOL_VAR_DNSTAP_SEND_IDENTITY = 181, /* VAR_DNSTAP_SEND_IDENTITY */ + YYSYMBOL_VAR_DNSTAP_SEND_VERSION = 182, /* VAR_DNSTAP_SEND_VERSION */ + YYSYMBOL_VAR_DNSTAP_BIDIRECTIONAL = 183, /* VAR_DNSTAP_BIDIRECTIONAL */ + YYSYMBOL_VAR_DNSTAP_IDENTITY = 184, /* VAR_DNSTAP_IDENTITY */ + YYSYMBOL_VAR_DNSTAP_VERSION = 185, /* VAR_DNSTAP_VERSION */ + YYSYMBOL_VAR_DNSTAP_LOG_RESOLVER_QUERY_MESSAGES = 186, /* VAR_DNSTAP_LOG_RESOLVER_QUERY_MESSAGES */ + YYSYMBOL_VAR_DNSTAP_LOG_RESOLVER_RESPONSE_MESSAGES = 187, /* VAR_DNSTAP_LOG_RESOLVER_RESPONSE_MESSAGES */ + YYSYMBOL_VAR_DNSTAP_LOG_CLIENT_QUERY_MESSAGES = 188, /* VAR_DNSTAP_LOG_CLIENT_QUERY_MESSAGES */ + YYSYMBOL_VAR_DNSTAP_LOG_CLIENT_RESPONSE_MESSAGES = 189, /* VAR_DNSTAP_LOG_CLIENT_RESPONSE_MESSAGES */ + YYSYMBOL_VAR_DNSTAP_LOG_FORWARDER_QUERY_MESSAGES = 190, /* VAR_DNSTAP_LOG_FORWARDER_QUERY_MESSAGES */ + YYSYMBOL_VAR_DNSTAP_LOG_FORWARDER_RESPONSE_MESSAGES = 191, /* VAR_DNSTAP_LOG_FORWARDER_RESPONSE_MESSAGES */ + YYSYMBOL_VAR_DNSTAP_SAMPLE_RATE = 192, /* VAR_DNSTAP_SAMPLE_RATE */ + YYSYMBOL_VAR_RESPONSE_IP_TAG = 193, /* VAR_RESPONSE_IP_TAG */ + YYSYMBOL_VAR_RESPONSE_IP = 194, /* VAR_RESPONSE_IP */ + YYSYMBOL_VAR_RESPONSE_IP_DATA = 195, /* VAR_RESPONSE_IP_DATA */ + YYSYMBOL_VAR_HARDEN_ALGO_DOWNGRADE = 196, /* VAR_HARDEN_ALGO_DOWNGRADE */ + YYSYMBOL_VAR_IP_TRANSPARENT = 197, /* VAR_IP_TRANSPARENT */ + YYSYMBOL_VAR_IP_DSCP = 198, /* VAR_IP_DSCP */ + YYSYMBOL_VAR_DISABLE_DNSSEC_LAME_CHECK = 199, /* VAR_DISABLE_DNSSEC_LAME_CHECK */ + YYSYMBOL_VAR_IP_RATELIMIT = 200, /* VAR_IP_RATELIMIT */ + YYSYMBOL_VAR_IP_RATELIMIT_SLABS = 201, /* VAR_IP_RATELIMIT_SLABS */ + YYSYMBOL_VAR_IP_RATELIMIT_SIZE = 202, /* VAR_IP_RATELIMIT_SIZE */ + YYSYMBOL_VAR_RATELIMIT = 203, /* VAR_RATELIMIT */ + YYSYMBOL_VAR_RATELIMIT_SLABS = 204, /* VAR_RATELIMIT_SLABS */ + YYSYMBOL_VAR_RATELIMIT_SIZE = 205, /* VAR_RATELIMIT_SIZE */ + YYSYMBOL_VAR_OUTBOUND_MSG_RETRY = 206, /* VAR_OUTBOUND_MSG_RETRY */ + YYSYMBOL_VAR_MAX_SENT_COUNT = 207, /* VAR_MAX_SENT_COUNT */ + YYSYMBOL_VAR_MAX_QUERY_RESTARTS = 208, /* VAR_MAX_QUERY_RESTARTS */ + YYSYMBOL_VAR_RATELIMIT_FOR_DOMAIN = 209, /* VAR_RATELIMIT_FOR_DOMAIN */ + YYSYMBOL_VAR_RATELIMIT_BELOW_DOMAIN = 210, /* VAR_RATELIMIT_BELOW_DOMAIN */ + YYSYMBOL_VAR_IP_RATELIMIT_FACTOR = 211, /* VAR_IP_RATELIMIT_FACTOR */ + YYSYMBOL_VAR_RATELIMIT_FACTOR = 212, /* VAR_RATELIMIT_FACTOR */ + YYSYMBOL_VAR_IP_RATELIMIT_BACKOFF = 213, /* VAR_IP_RATELIMIT_BACKOFF */ + YYSYMBOL_VAR_RATELIMIT_BACKOFF = 214, /* VAR_RATELIMIT_BACKOFF */ + YYSYMBOL_VAR_SEND_CLIENT_SUBNET = 215, /* VAR_SEND_CLIENT_SUBNET */ + YYSYMBOL_VAR_CLIENT_SUBNET_ZONE = 216, /* VAR_CLIENT_SUBNET_ZONE */ + YYSYMBOL_VAR_CLIENT_SUBNET_ALWAYS_FORWARD = 217, /* VAR_CLIENT_SUBNET_ALWAYS_FORWARD */ + YYSYMBOL_VAR_CLIENT_SUBNET_OPCODE = 218, /* VAR_CLIENT_SUBNET_OPCODE */ + YYSYMBOL_VAR_MAX_CLIENT_SUBNET_IPV4 = 219, /* VAR_MAX_CLIENT_SUBNET_IPV4 */ + YYSYMBOL_VAR_MAX_CLIENT_SUBNET_IPV6 = 220, /* VAR_MAX_CLIENT_SUBNET_IPV6 */ + YYSYMBOL_VAR_MIN_CLIENT_SUBNET_IPV4 = 221, /* VAR_MIN_CLIENT_SUBNET_IPV4 */ + YYSYMBOL_VAR_MIN_CLIENT_SUBNET_IPV6 = 222, /* VAR_MIN_CLIENT_SUBNET_IPV6 */ + YYSYMBOL_VAR_MAX_ECS_TREE_SIZE_IPV4 = 223, /* VAR_MAX_ECS_TREE_SIZE_IPV4 */ + YYSYMBOL_VAR_MAX_ECS_TREE_SIZE_IPV6 = 224, /* VAR_MAX_ECS_TREE_SIZE_IPV6 */ + YYSYMBOL_VAR_CAPS_WHITELIST = 225, /* VAR_CAPS_WHITELIST */ + YYSYMBOL_VAR_CACHE_MAX_NEGATIVE_TTL = 226, /* VAR_CACHE_MAX_NEGATIVE_TTL */ + YYSYMBOL_VAR_PERMIT_SMALL_HOLDDOWN = 227, /* VAR_PERMIT_SMALL_HOLDDOWN */ + YYSYMBOL_VAR_CACHE_MIN_NEGATIVE_TTL = 228, /* VAR_CACHE_MIN_NEGATIVE_TTL */ + YYSYMBOL_VAR_QNAME_MINIMISATION = 229, /* VAR_QNAME_MINIMISATION */ + YYSYMBOL_VAR_QNAME_MINIMISATION_STRICT = 230, /* VAR_QNAME_MINIMISATION_STRICT */ + YYSYMBOL_VAR_IP_FREEBIND = 231, /* VAR_IP_FREEBIND */ + YYSYMBOL_VAR_DEFINE_TAG = 232, /* VAR_DEFINE_TAG */ + YYSYMBOL_VAR_LOCAL_ZONE_TAG = 233, /* VAR_LOCAL_ZONE_TAG */ + YYSYMBOL_VAR_ACCESS_CONTROL_TAG = 234, /* VAR_ACCESS_CONTROL_TAG */ + YYSYMBOL_VAR_LOCAL_ZONE_OVERRIDE = 235, /* VAR_LOCAL_ZONE_OVERRIDE */ + YYSYMBOL_VAR_ACCESS_CONTROL_TAG_ACTION = 236, /* VAR_ACCESS_CONTROL_TAG_ACTION */ + YYSYMBOL_VAR_ACCESS_CONTROL_TAG_DATA = 237, /* VAR_ACCESS_CONTROL_TAG_DATA */ + YYSYMBOL_VAR_VIEW = 238, /* VAR_VIEW */ + YYSYMBOL_VAR_ACCESS_CONTROL_VIEW = 239, /* VAR_ACCESS_CONTROL_VIEW */ + YYSYMBOL_VAR_VIEW_FIRST = 240, /* VAR_VIEW_FIRST */ + YYSYMBOL_VAR_SERVE_EXPIRED = 241, /* VAR_SERVE_EXPIRED */ + YYSYMBOL_VAR_SERVE_EXPIRED_TTL = 242, /* VAR_SERVE_EXPIRED_TTL */ + YYSYMBOL_VAR_SERVE_EXPIRED_TTL_RESET = 243, /* VAR_SERVE_EXPIRED_TTL_RESET */ + YYSYMBOL_VAR_SERVE_EXPIRED_REPLY_TTL = 244, /* VAR_SERVE_EXPIRED_REPLY_TTL */ + YYSYMBOL_VAR_SERVE_EXPIRED_CLIENT_TIMEOUT = 245, /* VAR_SERVE_EXPIRED_CLIENT_TIMEOUT */ + YYSYMBOL_VAR_EDE_SERVE_EXPIRED = 246, /* VAR_EDE_SERVE_EXPIRED */ + YYSYMBOL_VAR_SERVE_ORIGINAL_TTL = 247, /* VAR_SERVE_ORIGINAL_TTL */ + YYSYMBOL_VAR_FAKE_DSA = 248, /* VAR_FAKE_DSA */ + YYSYMBOL_VAR_FAKE_SHA1 = 249, /* VAR_FAKE_SHA1 */ + YYSYMBOL_VAR_LOG_IDENTITY = 250, /* VAR_LOG_IDENTITY */ + YYSYMBOL_VAR_HIDE_TRUSTANCHOR = 251, /* VAR_HIDE_TRUSTANCHOR */ + YYSYMBOL_VAR_HIDE_HTTP_USER_AGENT = 252, /* VAR_HIDE_HTTP_USER_AGENT */ + YYSYMBOL_VAR_HTTP_USER_AGENT = 253, /* VAR_HTTP_USER_AGENT */ + YYSYMBOL_VAR_TRUST_ANCHOR_SIGNALING = 254, /* VAR_TRUST_ANCHOR_SIGNALING */ + YYSYMBOL_VAR_AGGRESSIVE_NSEC = 255, /* VAR_AGGRESSIVE_NSEC */ + YYSYMBOL_VAR_USE_SYSTEMD = 256, /* VAR_USE_SYSTEMD */ + YYSYMBOL_VAR_SHM_ENABLE = 257, /* VAR_SHM_ENABLE */ + YYSYMBOL_VAR_SHM_KEY = 258, /* VAR_SHM_KEY */ + YYSYMBOL_VAR_ROOT_KEY_SENTINEL = 259, /* VAR_ROOT_KEY_SENTINEL */ + YYSYMBOL_VAR_DNSCRYPT = 260, /* VAR_DNSCRYPT */ + YYSYMBOL_VAR_DNSCRYPT_ENABLE = 261, /* VAR_DNSCRYPT_ENABLE */ + YYSYMBOL_VAR_DNSCRYPT_PORT = 262, /* VAR_DNSCRYPT_PORT */ + YYSYMBOL_VAR_DNSCRYPT_PROVIDER = 263, /* VAR_DNSCRYPT_PROVIDER */ + YYSYMBOL_VAR_DNSCRYPT_SECRET_KEY = 264, /* VAR_DNSCRYPT_SECRET_KEY */ + YYSYMBOL_VAR_DNSCRYPT_PROVIDER_CERT = 265, /* VAR_DNSCRYPT_PROVIDER_CERT */ + YYSYMBOL_VAR_DNSCRYPT_PROVIDER_CERT_ROTATED = 266, /* VAR_DNSCRYPT_PROVIDER_CERT_ROTATED */ + YYSYMBOL_VAR_DNSCRYPT_SHARED_SECRET_CACHE_SIZE = 267, /* VAR_DNSCRYPT_SHARED_SECRET_CACHE_SIZE */ + YYSYMBOL_VAR_DNSCRYPT_SHARED_SECRET_CACHE_SLABS = 268, /* VAR_DNSCRYPT_SHARED_SECRET_CACHE_SLABS */ + YYSYMBOL_VAR_DNSCRYPT_NONCE_CACHE_SIZE = 269, /* VAR_DNSCRYPT_NONCE_CACHE_SIZE */ + YYSYMBOL_VAR_DNSCRYPT_NONCE_CACHE_SLABS = 270, /* VAR_DNSCRYPT_NONCE_CACHE_SLABS */ + YYSYMBOL_VAR_PAD_RESPONSES = 271, /* VAR_PAD_RESPONSES */ + YYSYMBOL_VAR_PAD_RESPONSES_BLOCK_SIZE = 272, /* VAR_PAD_RESPONSES_BLOCK_SIZE */ + YYSYMBOL_VAR_PAD_QUERIES = 273, /* VAR_PAD_QUERIES */ + YYSYMBOL_VAR_PAD_QUERIES_BLOCK_SIZE = 274, /* VAR_PAD_QUERIES_BLOCK_SIZE */ + YYSYMBOL_VAR_IPSECMOD_ENABLED = 275, /* VAR_IPSECMOD_ENABLED */ + YYSYMBOL_VAR_IPSECMOD_HOOK = 276, /* VAR_IPSECMOD_HOOK */ + YYSYMBOL_VAR_IPSECMOD_IGNORE_BOGUS = 277, /* VAR_IPSECMOD_IGNORE_BOGUS */ + YYSYMBOL_VAR_IPSECMOD_MAX_TTL = 278, /* VAR_IPSECMOD_MAX_TTL */ + YYSYMBOL_VAR_IPSECMOD_WHITELIST = 279, /* VAR_IPSECMOD_WHITELIST */ + YYSYMBOL_VAR_IPSECMOD_STRICT = 280, /* VAR_IPSECMOD_STRICT */ + YYSYMBOL_VAR_CACHEDB = 281, /* VAR_CACHEDB */ + YYSYMBOL_VAR_CACHEDB_BACKEND = 282, /* VAR_CACHEDB_BACKEND */ + YYSYMBOL_VAR_CACHEDB_SECRETSEED = 283, /* VAR_CACHEDB_SECRETSEED */ + YYSYMBOL_VAR_CACHEDB_REDISHOST = 284, /* VAR_CACHEDB_REDISHOST */ + YYSYMBOL_VAR_CACHEDB_REDISREPLICAHOST = 285, /* VAR_CACHEDB_REDISREPLICAHOST */ + YYSYMBOL_VAR_CACHEDB_REDISPORT = 286, /* VAR_CACHEDB_REDISPORT */ + YYSYMBOL_VAR_CACHEDB_REDISREPLICAPORT = 287, /* VAR_CACHEDB_REDISREPLICAPORT */ + YYSYMBOL_VAR_CACHEDB_REDISTIMEOUT = 288, /* VAR_CACHEDB_REDISTIMEOUT */ + YYSYMBOL_VAR_CACHEDB_REDISREPLICATIMEOUT = 289, /* VAR_CACHEDB_REDISREPLICATIMEOUT */ + YYSYMBOL_VAR_CACHEDB_REDISEXPIRERECORDS = 290, /* VAR_CACHEDB_REDISEXPIRERECORDS */ + YYSYMBOL_VAR_CACHEDB_REDISPATH = 291, /* VAR_CACHEDB_REDISPATH */ + YYSYMBOL_VAR_CACHEDB_REDISREPLICAPATH = 292, /* VAR_CACHEDB_REDISREPLICAPATH */ + YYSYMBOL_VAR_CACHEDB_REDISPASSWORD = 293, /* VAR_CACHEDB_REDISPASSWORD */ + YYSYMBOL_VAR_CACHEDB_REDISREPLICAPASSWORD = 294, /* VAR_CACHEDB_REDISREPLICAPASSWORD */ + YYSYMBOL_VAR_CACHEDB_REDISLOGICALDB = 295, /* VAR_CACHEDB_REDISLOGICALDB */ + YYSYMBOL_VAR_CACHEDB_REDISREPLICALOGICALDB = 296, /* VAR_CACHEDB_REDISREPLICALOGICALDB */ + YYSYMBOL_VAR_CACHEDB_REDISCOMMANDTIMEOUT = 297, /* VAR_CACHEDB_REDISCOMMANDTIMEOUT */ + YYSYMBOL_VAR_CACHEDB_REDISREPLICACOMMANDTIMEOUT = 298, /* VAR_CACHEDB_REDISREPLICACOMMANDTIMEOUT */ + YYSYMBOL_VAR_CACHEDB_REDISCONNECTTIMEOUT = 299, /* VAR_CACHEDB_REDISCONNECTTIMEOUT */ + YYSYMBOL_VAR_CACHEDB_REDISREPLICACONNECTTIMEOUT = 300, /* VAR_CACHEDB_REDISREPLICACONNECTTIMEOUT */ + YYSYMBOL_VAR_UDP_UPSTREAM_WITHOUT_DOWNSTREAM = 301, /* VAR_UDP_UPSTREAM_WITHOUT_DOWNSTREAM */ + YYSYMBOL_VAR_FOR_UPSTREAM = 302, /* VAR_FOR_UPSTREAM */ + YYSYMBOL_VAR_AUTH_ZONE = 303, /* VAR_AUTH_ZONE */ + YYSYMBOL_VAR_ZONEFILE = 304, /* VAR_ZONEFILE */ + YYSYMBOL_VAR_MASTER = 305, /* VAR_MASTER */ + YYSYMBOL_VAR_URL = 306, /* VAR_URL */ + YYSYMBOL_VAR_FOR_DOWNSTREAM = 307, /* VAR_FOR_DOWNSTREAM */ + YYSYMBOL_VAR_FALLBACK_ENABLED = 308, /* VAR_FALLBACK_ENABLED */ + YYSYMBOL_VAR_TLS_ADDITIONAL_PORT = 309, /* VAR_TLS_ADDITIONAL_PORT */ + YYSYMBOL_VAR_LOW_RTT = 310, /* VAR_LOW_RTT */ + YYSYMBOL_VAR_LOW_RTT_PERMIL = 311, /* VAR_LOW_RTT_PERMIL */ + YYSYMBOL_VAR_FAST_SERVER_PERMIL = 312, /* VAR_FAST_SERVER_PERMIL */ + YYSYMBOL_VAR_FAST_SERVER_NUM = 313, /* VAR_FAST_SERVER_NUM */ + YYSYMBOL_VAR_ALLOW_NOTIFY = 314, /* VAR_ALLOW_NOTIFY */ + YYSYMBOL_VAR_TLS_WIN_CERT = 315, /* VAR_TLS_WIN_CERT */ + YYSYMBOL_VAR_TCP_CONNECTION_LIMIT = 316, /* VAR_TCP_CONNECTION_LIMIT */ + YYSYMBOL_VAR_ANSWER_COOKIE = 317, /* VAR_ANSWER_COOKIE */ + YYSYMBOL_VAR_COOKIE_SECRET = 318, /* VAR_COOKIE_SECRET */ + YYSYMBOL_VAR_IP_RATELIMIT_COOKIE = 319, /* VAR_IP_RATELIMIT_COOKIE */ + YYSYMBOL_VAR_FORWARD_NO_CACHE = 320, /* VAR_FORWARD_NO_CACHE */ + YYSYMBOL_VAR_STUB_NO_CACHE = 321, /* VAR_STUB_NO_CACHE */ + YYSYMBOL_VAR_LOG_SERVFAIL = 322, /* VAR_LOG_SERVFAIL */ + YYSYMBOL_VAR_DENY_ANY = 323, /* VAR_DENY_ANY */ + YYSYMBOL_VAR_UNKNOWN_SERVER_TIME_LIMIT = 324, /* VAR_UNKNOWN_SERVER_TIME_LIMIT */ + YYSYMBOL_VAR_LOG_TAG_QUERYREPLY = 325, /* VAR_LOG_TAG_QUERYREPLY */ + YYSYMBOL_VAR_DISCARD_TIMEOUT = 326, /* VAR_DISCARD_TIMEOUT */ + YYSYMBOL_VAR_WAIT_LIMIT = 327, /* VAR_WAIT_LIMIT */ + YYSYMBOL_VAR_WAIT_LIMIT_COOKIE = 328, /* VAR_WAIT_LIMIT_COOKIE */ + YYSYMBOL_VAR_WAIT_LIMIT_NETBLOCK = 329, /* VAR_WAIT_LIMIT_NETBLOCK */ + YYSYMBOL_VAR_WAIT_LIMIT_COOKIE_NETBLOCK = 330, /* VAR_WAIT_LIMIT_COOKIE_NETBLOCK */ + YYSYMBOL_VAR_STREAM_WAIT_SIZE = 331, /* VAR_STREAM_WAIT_SIZE */ + YYSYMBOL_VAR_TLS_CIPHERS = 332, /* VAR_TLS_CIPHERS */ + YYSYMBOL_VAR_TLS_CIPHERSUITES = 333, /* VAR_TLS_CIPHERSUITES */ + YYSYMBOL_VAR_TLS_USE_SNI = 334, /* VAR_TLS_USE_SNI */ + YYSYMBOL_VAR_TLS_PROTOCOLS = 335, /* VAR_TLS_PROTOCOLS */ + YYSYMBOL_VAR_IPSET = 336, /* VAR_IPSET */ + YYSYMBOL_VAR_IPSET_NAME_V4 = 337, /* VAR_IPSET_NAME_V4 */ + YYSYMBOL_VAR_IPSET_NAME_V6 = 338, /* VAR_IPSET_NAME_V6 */ + YYSYMBOL_VAR_TLS_SESSION_TICKET_KEYS = 339, /* VAR_TLS_SESSION_TICKET_KEYS */ + YYSYMBOL_VAR_RPZ = 340, /* VAR_RPZ */ + YYSYMBOL_VAR_TAGS = 341, /* VAR_TAGS */ + YYSYMBOL_VAR_RPZ_ACTION_OVERRIDE = 342, /* VAR_RPZ_ACTION_OVERRIDE */ + YYSYMBOL_VAR_RPZ_CNAME_OVERRIDE = 343, /* VAR_RPZ_CNAME_OVERRIDE */ + YYSYMBOL_VAR_RPZ_LOG = 344, /* VAR_RPZ_LOG */ + YYSYMBOL_VAR_RPZ_LOG_NAME = 345, /* VAR_RPZ_LOG_NAME */ + YYSYMBOL_VAR_DYNLIB = 346, /* VAR_DYNLIB */ + YYSYMBOL_VAR_DYNLIB_FILE = 347, /* VAR_DYNLIB_FILE */ + YYSYMBOL_VAR_EDNS_CLIENT_STRING = 348, /* VAR_EDNS_CLIENT_STRING */ + YYSYMBOL_VAR_EDNS_CLIENT_STRING_OPCODE = 349, /* VAR_EDNS_CLIENT_STRING_OPCODE */ + YYSYMBOL_VAR_NSID = 350, /* VAR_NSID */ + YYSYMBOL_VAR_ZONEMD_PERMISSIVE_MODE = 351, /* VAR_ZONEMD_PERMISSIVE_MODE */ + YYSYMBOL_VAR_ZONEMD_CHECK = 352, /* VAR_ZONEMD_CHECK */ + YYSYMBOL_VAR_ZONEMD_REJECT_ABSENCE = 353, /* VAR_ZONEMD_REJECT_ABSENCE */ + YYSYMBOL_VAR_RPZ_SIGNAL_NXDOMAIN_RA = 354, /* VAR_RPZ_SIGNAL_NXDOMAIN_RA */ + YYSYMBOL_VAR_INTERFACE_AUTOMATIC_PORTS = 355, /* VAR_INTERFACE_AUTOMATIC_PORTS */ + YYSYMBOL_VAR_EDE = 356, /* VAR_EDE */ + YYSYMBOL_VAR_DNS_ERROR_REPORTING = 357, /* VAR_DNS_ERROR_REPORTING */ + YYSYMBOL_VAR_INTERFACE_ACTION = 358, /* VAR_INTERFACE_ACTION */ + YYSYMBOL_VAR_INTERFACE_VIEW = 359, /* VAR_INTERFACE_VIEW */ + YYSYMBOL_VAR_INTERFACE_TAG = 360, /* VAR_INTERFACE_TAG */ + YYSYMBOL_VAR_INTERFACE_TAG_ACTION = 361, /* VAR_INTERFACE_TAG_ACTION */ + YYSYMBOL_VAR_INTERFACE_TAG_DATA = 362, /* VAR_INTERFACE_TAG_DATA */ + YYSYMBOL_VAR_QUIC_PORT = 363, /* VAR_QUIC_PORT */ + YYSYMBOL_VAR_QUIC_SIZE = 364, /* VAR_QUIC_SIZE */ + YYSYMBOL_VAR_PROXY_PROTOCOL_PORT = 365, /* VAR_PROXY_PROTOCOL_PORT */ + YYSYMBOL_VAR_STATISTICS_INHIBIT_ZERO = 366, /* VAR_STATISTICS_INHIBIT_ZERO */ + YYSYMBOL_VAR_HARDEN_UNKNOWN_ADDITIONAL = 367, /* VAR_HARDEN_UNKNOWN_ADDITIONAL */ + YYSYMBOL_VAR_DISABLE_EDNS_DO = 368, /* VAR_DISABLE_EDNS_DO */ + YYSYMBOL_VAR_CACHEDB_NO_STORE = 369, /* VAR_CACHEDB_NO_STORE */ + YYSYMBOL_VAR_LOG_DESTADDR = 370, /* VAR_LOG_DESTADDR */ + YYSYMBOL_VAR_CACHEDB_CHECK_WHEN_SERVE_EXPIRED = 371, /* VAR_CACHEDB_CHECK_WHEN_SERVE_EXPIRED */ + YYSYMBOL_VAR_COOKIE_SECRET_FILE = 372, /* VAR_COOKIE_SECRET_FILE */ + YYSYMBOL_VAR_ITER_SCRUB_NS = 373, /* VAR_ITER_SCRUB_NS */ + YYSYMBOL_VAR_ITER_SCRUB_CNAME = 374, /* VAR_ITER_SCRUB_CNAME */ + YYSYMBOL_VAR_ITER_SCRUB_RRSIG = 375, /* VAR_ITER_SCRUB_RRSIG */ + YYSYMBOL_VAR_MAX_TRANSFER_SIZE = 376, /* VAR_MAX_TRANSFER_SIZE */ + YYSYMBOL_VAR_MAX_TRANSFER_TIME = 377, /* VAR_MAX_TRANSFER_TIME */ + YYSYMBOL_VAR_MAX_GLOBAL_QUOTA = 378, /* VAR_MAX_GLOBAL_QUOTA */ + YYSYMBOL_VAR_HARDEN_UNVERIFIED_GLUE = 379, /* VAR_HARDEN_UNVERIFIED_GLUE */ + YYSYMBOL_VAR_LOG_TIME_ISO = 380, /* VAR_LOG_TIME_ISO */ + YYSYMBOL_VAR_VAL_VALIDATION_ATTEMPTS = 381, /* VAR_VAL_VALIDATION_ATTEMPTS */ + YYSYMBOL_VAR_VAL_HASH_ATTEMPTS = 382, /* VAR_VAL_HASH_ATTEMPTS */ + YYSYMBOL_VAR_ITER_SCRUB_PROMISCUOUS = 383, /* VAR_ITER_SCRUB_PROMISCUOUS */ + YYSYMBOL_VAR_LOG_THREAD_ID = 384, /* VAR_LOG_THREAD_ID */ + YYSYMBOL_YYACCEPT = 385, /* $accept */ + YYSYMBOL_toplevelvars = 386, /* toplevelvars */ + YYSYMBOL_toplevelvar = 387, /* toplevelvar */ + YYSYMBOL_force_toplevel = 388, /* force_toplevel */ + YYSYMBOL_serverstart = 389, /* serverstart */ + YYSYMBOL_contents_server = 390, /* contents_server */ + YYSYMBOL_content_server = 391, /* content_server */ + YYSYMBOL_stub_clause = 392, /* stub_clause */ + YYSYMBOL_stubstart = 393, /* stubstart */ + YYSYMBOL_contents_stub = 394, /* contents_stub */ + YYSYMBOL_content_stub = 395, /* content_stub */ + YYSYMBOL_forward_clause = 396, /* forward_clause */ + YYSYMBOL_forwardstart = 397, /* forwardstart */ + YYSYMBOL_contents_forward = 398, /* contents_forward */ + YYSYMBOL_content_forward = 399, /* content_forward */ + YYSYMBOL_view_clause = 400, /* view_clause */ + YYSYMBOL_viewstart = 401, /* viewstart */ + YYSYMBOL_contents_view = 402, /* contents_view */ + YYSYMBOL_content_view = 403, /* content_view */ + YYSYMBOL_authstart = 404, /* authstart */ + YYSYMBOL_contents_auth = 405, /* contents_auth */ + YYSYMBOL_content_auth = 406, /* content_auth */ + YYSYMBOL_rpz_tag = 407, /* rpz_tag */ + YYSYMBOL_rpz_action_override = 408, /* rpz_action_override */ + YYSYMBOL_rpz_cname_override = 409, /* rpz_cname_override */ + YYSYMBOL_rpz_log = 410, /* rpz_log */ + YYSYMBOL_rpz_log_name = 411, /* rpz_log_name */ + YYSYMBOL_rpz_signal_nxdomain_ra = 412, /* rpz_signal_nxdomain_ra */ + YYSYMBOL_rpzstart = 413, /* rpzstart */ + YYSYMBOL_contents_rpz = 414, /* contents_rpz */ + YYSYMBOL_content_rpz = 415, /* content_rpz */ + YYSYMBOL_server_num_threads = 416, /* server_num_threads */ + YYSYMBOL_server_verbosity = 417, /* server_verbosity */ + YYSYMBOL_server_statistics_interval = 418, /* server_statistics_interval */ + YYSYMBOL_server_statistics_cumulative = 419, /* server_statistics_cumulative */ + YYSYMBOL_server_extended_statistics = 420, /* server_extended_statistics */ + YYSYMBOL_server_statistics_inhibit_zero = 421, /* server_statistics_inhibit_zero */ + YYSYMBOL_server_shm_enable = 422, /* server_shm_enable */ + YYSYMBOL_server_shm_key = 423, /* server_shm_key */ + YYSYMBOL_server_port = 424, /* server_port */ + YYSYMBOL_server_send_client_subnet = 425, /* server_send_client_subnet */ + YYSYMBOL_server_client_subnet_zone = 426, /* server_client_subnet_zone */ + YYSYMBOL_server_client_subnet_always_forward = 427, /* server_client_subnet_always_forward */ + YYSYMBOL_server_client_subnet_opcode = 428, /* server_client_subnet_opcode */ + YYSYMBOL_server_max_client_subnet_ipv4 = 429, /* server_max_client_subnet_ipv4 */ + YYSYMBOL_server_max_client_subnet_ipv6 = 430, /* server_max_client_subnet_ipv6 */ + YYSYMBOL_server_min_client_subnet_ipv4 = 431, /* server_min_client_subnet_ipv4 */ + YYSYMBOL_server_min_client_subnet_ipv6 = 432, /* server_min_client_subnet_ipv6 */ + YYSYMBOL_server_max_ecs_tree_size_ipv4 = 433, /* server_max_ecs_tree_size_ipv4 */ + YYSYMBOL_server_max_ecs_tree_size_ipv6 = 434, /* server_max_ecs_tree_size_ipv6 */ + YYSYMBOL_server_interface = 435, /* server_interface */ + YYSYMBOL_server_outgoing_interface = 436, /* server_outgoing_interface */ + YYSYMBOL_server_outgoing_range = 437, /* server_outgoing_range */ + YYSYMBOL_server_outgoing_port_permit = 438, /* server_outgoing_port_permit */ + YYSYMBOL_server_outgoing_port_avoid = 439, /* server_outgoing_port_avoid */ + YYSYMBOL_server_outgoing_num_tcp = 440, /* server_outgoing_num_tcp */ + YYSYMBOL_server_incoming_num_tcp = 441, /* server_incoming_num_tcp */ + YYSYMBOL_server_interface_automatic = 442, /* server_interface_automatic */ + YYSYMBOL_server_interface_automatic_ports = 443, /* server_interface_automatic_ports */ + YYSYMBOL_server_do_ip4 = 444, /* server_do_ip4 */ + YYSYMBOL_server_do_ip6 = 445, /* server_do_ip6 */ + YYSYMBOL_server_do_nat64 = 446, /* server_do_nat64 */ + YYSYMBOL_server_do_udp = 447, /* server_do_udp */ + YYSYMBOL_server_do_tcp = 448, /* server_do_tcp */ + YYSYMBOL_server_prefer_ip4 = 449, /* server_prefer_ip4 */ + YYSYMBOL_server_prefer_ip6 = 450, /* server_prefer_ip6 */ + YYSYMBOL_server_tcp_mss = 451, /* server_tcp_mss */ + YYSYMBOL_server_outgoing_tcp_mss = 452, /* server_outgoing_tcp_mss */ + YYSYMBOL_server_tcp_idle_timeout = 453, /* server_tcp_idle_timeout */ + YYSYMBOL_server_max_reuse_tcp_queries = 454, /* server_max_reuse_tcp_queries */ + YYSYMBOL_server_tcp_reuse_timeout = 455, /* server_tcp_reuse_timeout */ + YYSYMBOL_server_tcp_auth_query_timeout = 456, /* server_tcp_auth_query_timeout */ + YYSYMBOL_server_tcp_keepalive = 457, /* server_tcp_keepalive */ + YYSYMBOL_server_tcp_keepalive_timeout = 458, /* server_tcp_keepalive_timeout */ + YYSYMBOL_server_sock_queue_timeout = 459, /* server_sock_queue_timeout */ + YYSYMBOL_server_tcp_upstream = 460, /* server_tcp_upstream */ + YYSYMBOL_server_udp_upstream_without_downstream = 461, /* server_udp_upstream_without_downstream */ + YYSYMBOL_server_ssl_upstream = 462, /* server_ssl_upstream */ + YYSYMBOL_server_ssl_service_key = 463, /* server_ssl_service_key */ + YYSYMBOL_server_ssl_service_pem = 464, /* server_ssl_service_pem */ + YYSYMBOL_server_ssl_port = 465, /* server_ssl_port */ + YYSYMBOL_server_tls_cert_bundle = 466, /* server_tls_cert_bundle */ + YYSYMBOL_server_tls_win_cert = 467, /* server_tls_win_cert */ + YYSYMBOL_server_tls_additional_port = 468, /* server_tls_additional_port */ + YYSYMBOL_server_tls_ciphers = 469, /* server_tls_ciphers */ + YYSYMBOL_server_tls_ciphersuites = 470, /* server_tls_ciphersuites */ + YYSYMBOL_server_tls_session_ticket_keys = 471, /* server_tls_session_ticket_keys */ + YYSYMBOL_server_tls_use_sni = 472, /* server_tls_use_sni */ + YYSYMBOL_server_tls_protocols = 473, /* server_tls_protocols */ + YYSYMBOL_server_https_port = 474, /* server_https_port */ + YYSYMBOL_server_http_endpoint = 475, /* server_http_endpoint */ + YYSYMBOL_server_http_max_streams = 476, /* server_http_max_streams */ + YYSYMBOL_server_http_query_buffer_size = 477, /* server_http_query_buffer_size */ + YYSYMBOL_server_http_response_buffer_size = 478, /* server_http_response_buffer_size */ + YYSYMBOL_server_http_nodelay = 479, /* server_http_nodelay */ + YYSYMBOL_server_http_notls_downstream = 480, /* server_http_notls_downstream */ + YYSYMBOL_server_quic_port = 481, /* server_quic_port */ + YYSYMBOL_server_quic_size = 482, /* server_quic_size */ + YYSYMBOL_server_use_systemd = 483, /* server_use_systemd */ + YYSYMBOL_server_do_daemonize = 484, /* server_do_daemonize */ + YYSYMBOL_server_use_syslog = 485, /* server_use_syslog */ + YYSYMBOL_server_log_time_ascii = 486, /* server_log_time_ascii */ + YYSYMBOL_server_log_time_iso = 487, /* server_log_time_iso */ + YYSYMBOL_server_log_queries = 488, /* server_log_queries */ + YYSYMBOL_server_log_replies = 489, /* server_log_replies */ + YYSYMBOL_server_log_tag_queryreply = 490, /* server_log_tag_queryreply */ + YYSYMBOL_server_log_servfail = 491, /* server_log_servfail */ + YYSYMBOL_server_log_destaddr = 492, /* server_log_destaddr */ + YYSYMBOL_server_log_thread_id = 493, /* server_log_thread_id */ + YYSYMBOL_server_log_local_actions = 494, /* server_log_local_actions */ + YYSYMBOL_server_chroot = 495, /* server_chroot */ + YYSYMBOL_server_username = 496, /* server_username */ + YYSYMBOL_server_directory = 497, /* server_directory */ + YYSYMBOL_server_logfile = 498, /* server_logfile */ + YYSYMBOL_server_pidfile = 499, /* server_pidfile */ + YYSYMBOL_server_root_hints = 500, /* server_root_hints */ + YYSYMBOL_server_dlv_anchor_file = 501, /* server_dlv_anchor_file */ + YYSYMBOL_server_dlv_anchor = 502, /* server_dlv_anchor */ + YYSYMBOL_server_auto_trust_anchor_file = 503, /* server_auto_trust_anchor_file */ + YYSYMBOL_server_trust_anchor_file = 504, /* server_trust_anchor_file */ + YYSYMBOL_server_trusted_keys_file = 505, /* server_trusted_keys_file */ + YYSYMBOL_server_trust_anchor = 506, /* server_trust_anchor */ + YYSYMBOL_server_trust_anchor_signaling = 507, /* server_trust_anchor_signaling */ + YYSYMBOL_server_root_key_sentinel = 508, /* server_root_key_sentinel */ + YYSYMBOL_server_domain_insecure = 509, /* server_domain_insecure */ + YYSYMBOL_server_hide_identity = 510, /* server_hide_identity */ + YYSYMBOL_server_hide_version = 511, /* server_hide_version */ + YYSYMBOL_server_hide_trustanchor = 512, /* server_hide_trustanchor */ + YYSYMBOL_server_hide_http_user_agent = 513, /* server_hide_http_user_agent */ + YYSYMBOL_server_identity = 514, /* server_identity */ + YYSYMBOL_server_version = 515, /* server_version */ + YYSYMBOL_server_http_user_agent = 516, /* server_http_user_agent */ + YYSYMBOL_server_nsid = 517, /* server_nsid */ + YYSYMBOL_server_so_rcvbuf = 518, /* server_so_rcvbuf */ + YYSYMBOL_server_so_sndbuf = 519, /* server_so_sndbuf */ + YYSYMBOL_server_so_reuseport = 520, /* server_so_reuseport */ + YYSYMBOL_server_ip_transparent = 521, /* server_ip_transparent */ + YYSYMBOL_server_ip_freebind = 522, /* server_ip_freebind */ + YYSYMBOL_server_ip_dscp = 523, /* server_ip_dscp */ + YYSYMBOL_server_stream_wait_size = 524, /* server_stream_wait_size */ + YYSYMBOL_server_edns_buffer_size = 525, /* server_edns_buffer_size */ + YYSYMBOL_server_msg_buffer_size = 526, /* server_msg_buffer_size */ + YYSYMBOL_server_msg_cache_size = 527, /* server_msg_cache_size */ + YYSYMBOL_server_msg_cache_slabs = 528, /* server_msg_cache_slabs */ + YYSYMBOL_server_num_queries_per_thread = 529, /* server_num_queries_per_thread */ + YYSYMBOL_server_jostle_timeout = 530, /* server_jostle_timeout */ + YYSYMBOL_server_delay_close = 531, /* server_delay_close */ + YYSYMBOL_server_udp_connect = 532, /* server_udp_connect */ + YYSYMBOL_server_unblock_lan_zones = 533, /* server_unblock_lan_zones */ + YYSYMBOL_server_insecure_lan_zones = 534, /* server_insecure_lan_zones */ + YYSYMBOL_server_rrset_cache_size = 535, /* server_rrset_cache_size */ + YYSYMBOL_server_rrset_cache_slabs = 536, /* server_rrset_cache_slabs */ + YYSYMBOL_server_infra_host_ttl = 537, /* server_infra_host_ttl */ + YYSYMBOL_server_infra_lame_ttl = 538, /* server_infra_lame_ttl */ + YYSYMBOL_server_infra_cache_numhosts = 539, /* server_infra_cache_numhosts */ + YYSYMBOL_server_infra_cache_lame_size = 540, /* server_infra_cache_lame_size */ + YYSYMBOL_server_infra_cache_slabs = 541, /* server_infra_cache_slabs */ + YYSYMBOL_server_infra_cache_min_rtt = 542, /* server_infra_cache_min_rtt */ + YYSYMBOL_server_infra_cache_max_rtt = 543, /* server_infra_cache_max_rtt */ + YYSYMBOL_server_infra_keep_probing = 544, /* server_infra_keep_probing */ + YYSYMBOL_server_target_fetch_policy = 545, /* server_target_fetch_policy */ + YYSYMBOL_server_harden_short_bufsize = 546, /* server_harden_short_bufsize */ + YYSYMBOL_server_harden_large_queries = 547, /* server_harden_large_queries */ + YYSYMBOL_server_harden_glue = 548, /* server_harden_glue */ + YYSYMBOL_server_harden_unverified_glue = 549, /* server_harden_unverified_glue */ + YYSYMBOL_server_harden_dnssec_stripped = 550, /* server_harden_dnssec_stripped */ + YYSYMBOL_server_harden_below_nxdomain = 551, /* server_harden_below_nxdomain */ + YYSYMBOL_server_harden_referral_path = 552, /* server_harden_referral_path */ + YYSYMBOL_server_harden_algo_downgrade = 553, /* server_harden_algo_downgrade */ + YYSYMBOL_server_harden_unknown_additional = 554, /* server_harden_unknown_additional */ + YYSYMBOL_server_use_caps_for_id = 555, /* server_use_caps_for_id */ + YYSYMBOL_server_caps_whitelist = 556, /* server_caps_whitelist */ + YYSYMBOL_server_private_address = 557, /* server_private_address */ + YYSYMBOL_server_private_domain = 558, /* server_private_domain */ + YYSYMBOL_server_prefetch = 559, /* server_prefetch */ + YYSYMBOL_server_prefetch_key = 560, /* server_prefetch_key */ + YYSYMBOL_server_deny_any = 561, /* server_deny_any */ + YYSYMBOL_server_unwanted_reply_threshold = 562, /* server_unwanted_reply_threshold */ + YYSYMBOL_server_do_not_query_address = 563, /* server_do_not_query_address */ + YYSYMBOL_server_do_not_query_localhost = 564, /* server_do_not_query_localhost */ + YYSYMBOL_server_access_control = 565, /* server_access_control */ + YYSYMBOL_server_interface_action = 566, /* server_interface_action */ + YYSYMBOL_server_module_conf = 567, /* server_module_conf */ + YYSYMBOL_server_val_override_date = 568, /* server_val_override_date */ + YYSYMBOL_server_val_sig_skew_min = 569, /* server_val_sig_skew_min */ + YYSYMBOL_server_val_sig_skew_max = 570, /* server_val_sig_skew_max */ + YYSYMBOL_server_val_max_restart = 571, /* server_val_max_restart */ + YYSYMBOL_server_cache_max_ttl = 572, /* server_cache_max_ttl */ + YYSYMBOL_server_cache_max_negative_ttl = 573, /* server_cache_max_negative_ttl */ + YYSYMBOL_server_cache_min_negative_ttl = 574, /* server_cache_min_negative_ttl */ + YYSYMBOL_server_cache_min_ttl = 575, /* server_cache_min_ttl */ + YYSYMBOL_server_bogus_ttl = 576, /* server_bogus_ttl */ + YYSYMBOL_server_val_clean_additional = 577, /* server_val_clean_additional */ + YYSYMBOL_server_val_permissive_mode = 578, /* server_val_permissive_mode */ + YYSYMBOL_server_aggressive_nsec = 579, /* server_aggressive_nsec */ + YYSYMBOL_server_ignore_cd_flag = 580, /* server_ignore_cd_flag */ + YYSYMBOL_server_disable_edns_do = 581, /* server_disable_edns_do */ + YYSYMBOL_server_serve_expired = 582, /* server_serve_expired */ + YYSYMBOL_server_serve_expired_ttl = 583, /* server_serve_expired_ttl */ + YYSYMBOL_server_serve_expired_ttl_reset = 584, /* server_serve_expired_ttl_reset */ + YYSYMBOL_server_serve_expired_reply_ttl = 585, /* server_serve_expired_reply_ttl */ + YYSYMBOL_server_serve_expired_client_timeout = 586, /* server_serve_expired_client_timeout */ + YYSYMBOL_server_ede_serve_expired = 587, /* server_ede_serve_expired */ + YYSYMBOL_server_serve_original_ttl = 588, /* server_serve_original_ttl */ + YYSYMBOL_server_fake_dsa = 589, /* server_fake_dsa */ + YYSYMBOL_server_fake_sha1 = 590, /* server_fake_sha1 */ + YYSYMBOL_server_val_log_level = 591, /* server_val_log_level */ + YYSYMBOL_server_val_nsec3_keysize_iterations = 592, /* server_val_nsec3_keysize_iterations */ + YYSYMBOL_server_zonemd_permissive_mode = 593, /* server_zonemd_permissive_mode */ + YYSYMBOL_server_add_holddown = 594, /* server_add_holddown */ + YYSYMBOL_server_del_holddown = 595, /* server_del_holddown */ + YYSYMBOL_server_keep_missing = 596, /* server_keep_missing */ + YYSYMBOL_server_permit_small_holddown = 597, /* server_permit_small_holddown */ + YYSYMBOL_server_key_cache_size = 598, /* server_key_cache_size */ + YYSYMBOL_server_key_cache_slabs = 599, /* server_key_cache_slabs */ + YYSYMBOL_server_neg_cache_size = 600, /* server_neg_cache_size */ + YYSYMBOL_server_local_zone = 601, /* server_local_zone */ + YYSYMBOL_server_local_data = 602, /* server_local_data */ + YYSYMBOL_server_local_data_ptr = 603, /* server_local_data_ptr */ + YYSYMBOL_server_minimal_responses = 604, /* server_minimal_responses */ + YYSYMBOL_server_rrset_roundrobin = 605, /* server_rrset_roundrobin */ + YYSYMBOL_server_unknown_server_time_limit = 606, /* server_unknown_server_time_limit */ + YYSYMBOL_server_discard_timeout = 607, /* server_discard_timeout */ + YYSYMBOL_server_wait_limit = 608, /* server_wait_limit */ + YYSYMBOL_server_wait_limit_cookie = 609, /* server_wait_limit_cookie */ + YYSYMBOL_server_wait_limit_netblock = 610, /* server_wait_limit_netblock */ + YYSYMBOL_server_wait_limit_cookie_netblock = 611, /* server_wait_limit_cookie_netblock */ + YYSYMBOL_server_max_udp_size = 612, /* server_max_udp_size */ + YYSYMBOL_server_dns64_prefix = 613, /* server_dns64_prefix */ + YYSYMBOL_server_dns64_synthall = 614, /* server_dns64_synthall */ + YYSYMBOL_server_dns64_ignore_aaaa = 615, /* server_dns64_ignore_aaaa */ + YYSYMBOL_server_nat64_prefix = 616, /* server_nat64_prefix */ + YYSYMBOL_server_define_tag = 617, /* server_define_tag */ + YYSYMBOL_server_local_zone_tag = 618, /* server_local_zone_tag */ + YYSYMBOL_server_access_control_tag = 619, /* server_access_control_tag */ + YYSYMBOL_server_access_control_tag_action = 620, /* server_access_control_tag_action */ + YYSYMBOL_server_access_control_tag_data = 621, /* server_access_control_tag_data */ + YYSYMBOL_server_local_zone_override = 622, /* server_local_zone_override */ + YYSYMBOL_server_access_control_view = 623, /* server_access_control_view */ + YYSYMBOL_server_interface_tag = 624, /* server_interface_tag */ + YYSYMBOL_server_interface_tag_action = 625, /* server_interface_tag_action */ + YYSYMBOL_server_interface_tag_data = 626, /* server_interface_tag_data */ + YYSYMBOL_server_interface_view = 627, /* server_interface_view */ + YYSYMBOL_server_response_ip_tag = 628, /* server_response_ip_tag */ + YYSYMBOL_server_ip_ratelimit = 629, /* server_ip_ratelimit */ + YYSYMBOL_server_ip_ratelimit_cookie = 630, /* server_ip_ratelimit_cookie */ + YYSYMBOL_server_ratelimit = 631, /* server_ratelimit */ + YYSYMBOL_server_ip_ratelimit_size = 632, /* server_ip_ratelimit_size */ + YYSYMBOL_server_ratelimit_size = 633, /* server_ratelimit_size */ + YYSYMBOL_server_ip_ratelimit_slabs = 634, /* server_ip_ratelimit_slabs */ + YYSYMBOL_server_ratelimit_slabs = 635, /* server_ratelimit_slabs */ + YYSYMBOL_server_ratelimit_for_domain = 636, /* server_ratelimit_for_domain */ + YYSYMBOL_server_ratelimit_below_domain = 637, /* server_ratelimit_below_domain */ + YYSYMBOL_server_ip_ratelimit_factor = 638, /* server_ip_ratelimit_factor */ + YYSYMBOL_server_ratelimit_factor = 639, /* server_ratelimit_factor */ + YYSYMBOL_server_ip_ratelimit_backoff = 640, /* server_ip_ratelimit_backoff */ + YYSYMBOL_server_ratelimit_backoff = 641, /* server_ratelimit_backoff */ + YYSYMBOL_server_outbound_msg_retry = 642, /* server_outbound_msg_retry */ + YYSYMBOL_server_max_sent_count = 643, /* server_max_sent_count */ + YYSYMBOL_server_max_query_restarts = 644, /* server_max_query_restarts */ + YYSYMBOL_server_low_rtt = 645, /* server_low_rtt */ + YYSYMBOL_server_fast_server_num = 646, /* server_fast_server_num */ + YYSYMBOL_server_fast_server_permil = 647, /* server_fast_server_permil */ + YYSYMBOL_server_qname_minimisation = 648, /* server_qname_minimisation */ + YYSYMBOL_server_qname_minimisation_strict = 649, /* server_qname_minimisation_strict */ + YYSYMBOL_server_pad_responses = 650, /* server_pad_responses */ + YYSYMBOL_server_pad_responses_block_size = 651, /* server_pad_responses_block_size */ + YYSYMBOL_server_pad_queries = 652, /* server_pad_queries */ + YYSYMBOL_server_pad_queries_block_size = 653, /* server_pad_queries_block_size */ + YYSYMBOL_server_ipsecmod_enabled = 654, /* server_ipsecmod_enabled */ + YYSYMBOL_server_ipsecmod_ignore_bogus = 655, /* server_ipsecmod_ignore_bogus */ + YYSYMBOL_server_ipsecmod_hook = 656, /* server_ipsecmod_hook */ + YYSYMBOL_server_ipsecmod_max_ttl = 657, /* server_ipsecmod_max_ttl */ + YYSYMBOL_server_ipsecmod_whitelist = 658, /* server_ipsecmod_whitelist */ + YYSYMBOL_server_ipsecmod_strict = 659, /* server_ipsecmod_strict */ + YYSYMBOL_server_edns_client_string = 660, /* server_edns_client_string */ + YYSYMBOL_server_edns_client_string_opcode = 661, /* server_edns_client_string_opcode */ + YYSYMBOL_server_ede = 662, /* server_ede */ + YYSYMBOL_server_dns_error_reporting = 663, /* server_dns_error_reporting */ + YYSYMBOL_server_proxy_protocol_port = 664, /* server_proxy_protocol_port */ + YYSYMBOL_stub_name = 665, /* stub_name */ + YYSYMBOL_stub_host = 666, /* stub_host */ + YYSYMBOL_stub_addr = 667, /* stub_addr */ + YYSYMBOL_stub_first = 668, /* stub_first */ + YYSYMBOL_stub_no_cache = 669, /* stub_no_cache */ + YYSYMBOL_stub_ssl_upstream = 670, /* stub_ssl_upstream */ + YYSYMBOL_stub_tcp_upstream = 671, /* stub_tcp_upstream */ + YYSYMBOL_stub_prime = 672, /* stub_prime */ + YYSYMBOL_forward_name = 673, /* forward_name */ + YYSYMBOL_forward_host = 674, /* forward_host */ + YYSYMBOL_forward_addr = 675, /* forward_addr */ + YYSYMBOL_forward_first = 676, /* forward_first */ + YYSYMBOL_forward_no_cache = 677, /* forward_no_cache */ + YYSYMBOL_forward_ssl_upstream = 678, /* forward_ssl_upstream */ + YYSYMBOL_forward_tcp_upstream = 679, /* forward_tcp_upstream */ + YYSYMBOL_auth_name = 680, /* auth_name */ + YYSYMBOL_auth_zonefile = 681, /* auth_zonefile */ + YYSYMBOL_auth_master = 682, /* auth_master */ + YYSYMBOL_auth_url = 683, /* auth_url */ + YYSYMBOL_auth_allow_notify = 684, /* auth_allow_notify */ + YYSYMBOL_auth_zonemd_check = 685, /* auth_zonemd_check */ + YYSYMBOL_auth_zonemd_reject_absence = 686, /* auth_zonemd_reject_absence */ + YYSYMBOL_auth_for_downstream = 687, /* auth_for_downstream */ + YYSYMBOL_auth_for_upstream = 688, /* auth_for_upstream */ + YYSYMBOL_auth_fallback_enabled = 689, /* auth_fallback_enabled */ + YYSYMBOL_auth_max_transfer_size = 690, /* auth_max_transfer_size */ + YYSYMBOL_auth_max_transfer_time = 691, /* auth_max_transfer_time */ + YYSYMBOL_view_name = 692, /* view_name */ + YYSYMBOL_view_local_zone = 693, /* view_local_zone */ + YYSYMBOL_view_response_ip = 694, /* view_response_ip */ + YYSYMBOL_view_response_ip_data = 695, /* view_response_ip_data */ + YYSYMBOL_view_local_data = 696, /* view_local_data */ + YYSYMBOL_view_local_data_ptr = 697, /* view_local_data_ptr */ + YYSYMBOL_view_first = 698, /* view_first */ + YYSYMBOL_rcstart = 699, /* rcstart */ + YYSYMBOL_contents_rc = 700, /* contents_rc */ + YYSYMBOL_content_rc = 701, /* content_rc */ + YYSYMBOL_rc_control_enable = 702, /* rc_control_enable */ + YYSYMBOL_rc_control_port = 703, /* rc_control_port */ + YYSYMBOL_rc_control_interface = 704, /* rc_control_interface */ + YYSYMBOL_rc_control_use_cert = 705, /* rc_control_use_cert */ + YYSYMBOL_rc_server_key_file = 706, /* rc_server_key_file */ + YYSYMBOL_rc_server_cert_file = 707, /* rc_server_cert_file */ + YYSYMBOL_rc_control_key_file = 708, /* rc_control_key_file */ + YYSYMBOL_rc_control_cert_file = 709, /* rc_control_cert_file */ + YYSYMBOL_dtstart = 710, /* dtstart */ + YYSYMBOL_contents_dt = 711, /* contents_dt */ + YYSYMBOL_content_dt = 712, /* content_dt */ + YYSYMBOL_dt_dnstap_enable = 713, /* dt_dnstap_enable */ + YYSYMBOL_dt_dnstap_bidirectional = 714, /* dt_dnstap_bidirectional */ + YYSYMBOL_dt_dnstap_socket_path = 715, /* dt_dnstap_socket_path */ + YYSYMBOL_dt_dnstap_ip = 716, /* dt_dnstap_ip */ + YYSYMBOL_dt_dnstap_tls = 717, /* dt_dnstap_tls */ + YYSYMBOL_dt_dnstap_tls_server_name = 718, /* dt_dnstap_tls_server_name */ + YYSYMBOL_dt_dnstap_tls_cert_bundle = 719, /* dt_dnstap_tls_cert_bundle */ + YYSYMBOL_dt_dnstap_tls_client_key_file = 720, /* dt_dnstap_tls_client_key_file */ + YYSYMBOL_dt_dnstap_tls_client_cert_file = 721, /* dt_dnstap_tls_client_cert_file */ + YYSYMBOL_dt_dnstap_send_identity = 722, /* dt_dnstap_send_identity */ + YYSYMBOL_dt_dnstap_send_version = 723, /* dt_dnstap_send_version */ + YYSYMBOL_dt_dnstap_identity = 724, /* dt_dnstap_identity */ + YYSYMBOL_dt_dnstap_version = 725, /* dt_dnstap_version */ + YYSYMBOL_dt_dnstap_log_resolver_query_messages = 726, /* dt_dnstap_log_resolver_query_messages */ + YYSYMBOL_dt_dnstap_log_resolver_response_messages = 727, /* dt_dnstap_log_resolver_response_messages */ + YYSYMBOL_dt_dnstap_log_client_query_messages = 728, /* dt_dnstap_log_client_query_messages */ + YYSYMBOL_dt_dnstap_log_client_response_messages = 729, /* dt_dnstap_log_client_response_messages */ + YYSYMBOL_dt_dnstap_log_forwarder_query_messages = 730, /* dt_dnstap_log_forwarder_query_messages */ + YYSYMBOL_dt_dnstap_log_forwarder_response_messages = 731, /* dt_dnstap_log_forwarder_response_messages */ + YYSYMBOL_dt_dnstap_sample_rate = 732, /* dt_dnstap_sample_rate */ + YYSYMBOL_pythonstart = 733, /* pythonstart */ + YYSYMBOL_contents_py = 734, /* contents_py */ + YYSYMBOL_content_py = 735, /* content_py */ + YYSYMBOL_py_script = 736, /* py_script */ + YYSYMBOL_dynlibstart = 737, /* dynlibstart */ + YYSYMBOL_contents_dl = 738, /* contents_dl */ + YYSYMBOL_content_dl = 739, /* content_dl */ + YYSYMBOL_dl_file = 740, /* dl_file */ + YYSYMBOL_server_disable_dnssec_lame_check = 741, /* server_disable_dnssec_lame_check */ + YYSYMBOL_server_log_identity = 742, /* server_log_identity */ + YYSYMBOL_server_response_ip = 743, /* server_response_ip */ + YYSYMBOL_server_response_ip_data = 744, /* server_response_ip_data */ + YYSYMBOL_dnscstart = 745, /* dnscstart */ + YYSYMBOL_contents_dnsc = 746, /* contents_dnsc */ + YYSYMBOL_content_dnsc = 747, /* content_dnsc */ + YYSYMBOL_dnsc_dnscrypt_enable = 748, /* dnsc_dnscrypt_enable */ + YYSYMBOL_dnsc_dnscrypt_port = 749, /* dnsc_dnscrypt_port */ + YYSYMBOL_dnsc_dnscrypt_provider = 750, /* dnsc_dnscrypt_provider */ + YYSYMBOL_dnsc_dnscrypt_provider_cert = 751, /* dnsc_dnscrypt_provider_cert */ + YYSYMBOL_dnsc_dnscrypt_provider_cert_rotated = 752, /* dnsc_dnscrypt_provider_cert_rotated */ + YYSYMBOL_dnsc_dnscrypt_secret_key = 753, /* dnsc_dnscrypt_secret_key */ + YYSYMBOL_dnsc_dnscrypt_shared_secret_cache_size = 754, /* dnsc_dnscrypt_shared_secret_cache_size */ + YYSYMBOL_dnsc_dnscrypt_shared_secret_cache_slabs = 755, /* dnsc_dnscrypt_shared_secret_cache_slabs */ + YYSYMBOL_dnsc_dnscrypt_nonce_cache_size = 756, /* dnsc_dnscrypt_nonce_cache_size */ + YYSYMBOL_dnsc_dnscrypt_nonce_cache_slabs = 757, /* dnsc_dnscrypt_nonce_cache_slabs */ + YYSYMBOL_cachedbstart = 758, /* cachedbstart */ + YYSYMBOL_contents_cachedb = 759, /* contents_cachedb */ + YYSYMBOL_content_cachedb = 760, /* content_cachedb */ + YYSYMBOL_cachedb_backend_name = 761, /* cachedb_backend_name */ + YYSYMBOL_cachedb_secret_seed = 762, /* cachedb_secret_seed */ + YYSYMBOL_cachedb_no_store = 763, /* cachedb_no_store */ + YYSYMBOL_cachedb_check_when_serve_expired = 764, /* cachedb_check_when_serve_expired */ + YYSYMBOL_redis_server_host = 765, /* redis_server_host */ + YYSYMBOL_redis_replica_server_host = 766, /* redis_replica_server_host */ + YYSYMBOL_redis_server_port = 767, /* redis_server_port */ + YYSYMBOL_redis_replica_server_port = 768, /* redis_replica_server_port */ + YYSYMBOL_redis_server_path = 769, /* redis_server_path */ + YYSYMBOL_redis_replica_server_path = 770, /* redis_replica_server_path */ + YYSYMBOL_redis_server_password = 771, /* redis_server_password */ + YYSYMBOL_redis_replica_server_password = 772, /* redis_replica_server_password */ + YYSYMBOL_redis_timeout = 773, /* redis_timeout */ + YYSYMBOL_redis_replica_timeout = 774, /* redis_replica_timeout */ + YYSYMBOL_redis_command_timeout = 775, /* redis_command_timeout */ + YYSYMBOL_redis_replica_command_timeout = 776, /* redis_replica_command_timeout */ + YYSYMBOL_redis_connect_timeout = 777, /* redis_connect_timeout */ + YYSYMBOL_redis_replica_connect_timeout = 778, /* redis_replica_connect_timeout */ + YYSYMBOL_redis_expire_records = 779, /* redis_expire_records */ + YYSYMBOL_redis_logical_db = 780, /* redis_logical_db */ + YYSYMBOL_redis_replica_logical_db = 781, /* redis_replica_logical_db */ + YYSYMBOL_server_tcp_connection_limit = 782, /* server_tcp_connection_limit */ + YYSYMBOL_server_answer_cookie = 783, /* server_answer_cookie */ + YYSYMBOL_server_cookie_secret = 784, /* server_cookie_secret */ + YYSYMBOL_server_cookie_secret_file = 785, /* server_cookie_secret_file */ + YYSYMBOL_server_iter_scrub_ns = 786, /* server_iter_scrub_ns */ + YYSYMBOL_server_iter_scrub_cname = 787, /* server_iter_scrub_cname */ + YYSYMBOL_server_iter_scrub_rrsig = 788, /* server_iter_scrub_rrsig */ + YYSYMBOL_server_max_global_quota = 789, /* server_max_global_quota */ + YYSYMBOL_server_iter_scrub_promiscuous = 790, /* server_iter_scrub_promiscuous */ + YYSYMBOL_server_val_validation_attempts = 791, /* server_val_validation_attempts */ + YYSYMBOL_server_val_hash_attempts = 792, /* server_val_hash_attempts */ + YYSYMBOL_ipsetstart = 793, /* ipsetstart */ + YYSYMBOL_contents_ipset = 794, /* contents_ipset */ + YYSYMBOL_content_ipset = 795, /* content_ipset */ + YYSYMBOL_ipset_name_v4 = 796, /* ipset_name_v4 */ + YYSYMBOL_ipset_name_v6 = 797 /* ipset_name_v6 */ +}; +typedef enum yysymbol_kind_t yysymbol_kind_t; + + + + +#ifdef short +# undef short +#endif + +/* On compilers that do not define __PTRDIFF_MAX__ etc., make sure + <limits.h> and (if available) <stdint.h> are included + so that the code can choose integer types of a good width. */ + +#ifndef __PTRDIFF_MAX__ +# include <limits.h> /* INFRINGES ON USER NAME SPACE */ +# if defined __STDC_VERSION__ && 199901 <= __STDC_VERSION__ +# include <stdint.h> /* INFRINGES ON USER NAME SPACE */ +# define YY_STDINT_H +# endif +#endif + +/* Narrow types that promote to a signed type and that can represent a + signed or unsigned integer of at least N bits. In tables they can + save space and decrease cache pressure. Promoting to a signed type + helps avoid bugs in integer arithmetic. */ + +#ifdef __INT_LEAST8_MAX__ +typedef __INT_LEAST8_TYPE__ yytype_int8; +#elif defined YY_STDINT_H +typedef int_least8_t yytype_int8; +#else +typedef signed char yytype_int8; +#endif + +#ifdef __INT_LEAST16_MAX__ +typedef __INT_LEAST16_TYPE__ yytype_int16; +#elif defined YY_STDINT_H +typedef int_least16_t yytype_int16; +#else +typedef short yytype_int16; +#endif + +/* Work around bug in HP-UX 11.23, which defines these macros + incorrectly for preprocessor constants. This workaround can likely + be removed in 2023, as HPE has promised support for HP-UX 11.23 + (aka HP-UX 11i v2) only through the end of 2022; see Table 2 of + <https://h20195.www2.hpe.com/V2/getpdf.aspx/4AA4-7673ENW.pdf>. */ +#ifdef __hpux +# undef UINT_LEAST8_MAX +# undef UINT_LEAST16_MAX +# define UINT_LEAST8_MAX 255 +# define UINT_LEAST16_MAX 65535 +#endif + +#if defined __UINT_LEAST8_MAX__ && __UINT_LEAST8_MAX__ <= __INT_MAX__ +typedef __UINT_LEAST8_TYPE__ yytype_uint8; +#elif (!defined __UINT_LEAST8_MAX__ && defined YY_STDINT_H \ + && UINT_LEAST8_MAX <= INT_MAX) +typedef uint_least8_t yytype_uint8; +#elif !defined __UINT_LEAST8_MAX__ && UCHAR_MAX <= INT_MAX +typedef unsigned char yytype_uint8; +#else +typedef short yytype_uint8; +#endif + +#if defined __UINT_LEAST16_MAX__ && __UINT_LEAST16_MAX__ <= __INT_MAX__ +typedef __UINT_LEAST16_TYPE__ yytype_uint16; +#elif (!defined __UINT_LEAST16_MAX__ && defined YY_STDINT_H \ + && UINT_LEAST16_MAX <= INT_MAX) +typedef uint_least16_t yytype_uint16; +#elif !defined __UINT_LEAST16_MAX__ && USHRT_MAX <= INT_MAX +typedef unsigned short yytype_uint16; +#else +typedef int yytype_uint16; +#endif + +#ifndef YYPTRDIFF_T +# if defined __PTRDIFF_TYPE__ && defined __PTRDIFF_MAX__ +# define YYPTRDIFF_T __PTRDIFF_TYPE__ +# define YYPTRDIFF_MAXIMUM __PTRDIFF_MAX__ +# elif defined PTRDIFF_MAX +# ifndef ptrdiff_t +# include <stddef.h> /* INFRINGES ON USER NAME SPACE */ +# endif +# define YYPTRDIFF_T ptrdiff_t +# define YYPTRDIFF_MAXIMUM PTRDIFF_MAX +# else +# define YYPTRDIFF_T long +# define YYPTRDIFF_MAXIMUM LONG_MAX +# endif +#endif + +#ifndef YYSIZE_T +# ifdef __SIZE_TYPE__ +# define YYSIZE_T __SIZE_TYPE__ +# elif defined size_t +# define YYSIZE_T size_t +# elif defined __STDC_VERSION__ && 199901 <= __STDC_VERSION__ +# include <stddef.h> /* INFRINGES ON USER NAME SPACE */ +# define YYSIZE_T size_t +# else +# define YYSIZE_T unsigned +# endif +#endif + +#define YYSIZE_MAXIMUM \ + YY_CAST (YYPTRDIFF_T, \ + (YYPTRDIFF_MAXIMUM < YY_CAST (YYSIZE_T, -1) \ + ? YYPTRDIFF_MAXIMUM \ + : YY_CAST (YYSIZE_T, -1))) + +#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X)) + + +/* Stored state numbers (used for stacks). */ +typedef yytype_int16 yy_state_t; + +/* State numbers in computations. */ +typedef int yy_state_fast_t; + +#ifndef YY_ +# if defined YYENABLE_NLS && YYENABLE_NLS +# if ENABLE_NLS +# include <libintl.h> /* INFRINGES ON USER NAME SPACE */ +# define YY_(Msgid) dgettext ("bison-runtime", Msgid) +# endif +# endif +# ifndef YY_ +# define YY_(Msgid) Msgid +# endif +#endif + + +#ifndef YY_ATTRIBUTE_PURE +# if defined __GNUC__ && 2 < __GNUC__ + (96 <= __GNUC_MINOR__) +# define YY_ATTRIBUTE_PURE __attribute__ ((__pure__)) +# else +# define YY_ATTRIBUTE_PURE +# endif +#endif + +#ifndef YY_ATTRIBUTE_UNUSED +# if defined __GNUC__ && 2 < __GNUC__ + (7 <= __GNUC_MINOR__) +# define YY_ATTRIBUTE_UNUSED __attribute__ ((__unused__)) +# else +# define YY_ATTRIBUTE_UNUSED +# endif +#endif + +/* Suppress unused-variable warnings by "using" E. */ +#if ! defined lint || defined __GNUC__ +# define YY_USE(E) ((void) (E)) +#else +# define YY_USE(E) /* empty */ +#endif + +/* Suppress an incorrect diagnostic about yylval being uninitialized. */ +#if defined __GNUC__ && ! defined __ICC && 406 <= __GNUC__ * 100 + __GNUC_MINOR__ +# if __GNUC__ * 100 + __GNUC_MINOR__ < 407 +# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \ + _Pragma ("GCC diagnostic push") \ + _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"") +# else +# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \ + _Pragma ("GCC diagnostic push") \ + _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"") \ + _Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"") +# endif +# define YY_IGNORE_MAYBE_UNINITIALIZED_END \ + _Pragma ("GCC diagnostic pop") +#else +# define YY_INITIAL_VALUE(Value) Value +#endif +#ifndef YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN +# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN +# define YY_IGNORE_MAYBE_UNINITIALIZED_END +#endif +#ifndef YY_INITIAL_VALUE +# define YY_INITIAL_VALUE(Value) /* Nothing. */ +#endif + +#if defined __cplusplus && defined __GNUC__ && ! defined __ICC && 6 <= __GNUC__ +# define YY_IGNORE_USELESS_CAST_BEGIN \ + _Pragma ("GCC diagnostic push") \ + _Pragma ("GCC diagnostic ignored \"-Wuseless-cast\"") +# define YY_IGNORE_USELESS_CAST_END \ + _Pragma ("GCC diagnostic pop") +#endif +#ifndef YY_IGNORE_USELESS_CAST_BEGIN +# define YY_IGNORE_USELESS_CAST_BEGIN +# define YY_IGNORE_USELESS_CAST_END +#endif + + +#define YY_ASSERT(E) ((void) (0 && (E))) + +#if !defined yyoverflow + +/* The parser invokes alloca or malloc; define the necessary symbols. */ + +# ifdef YYSTACK_USE_ALLOCA +# if YYSTACK_USE_ALLOCA +# ifdef __GNUC__ +# define YYSTACK_ALLOC __builtin_alloca +# elif defined __BUILTIN_VA_ARG_INCR +# include <alloca.h> /* INFRINGES ON USER NAME SPACE */ +# elif defined _AIX +# define YYSTACK_ALLOC __alloca +# elif defined _MSC_VER +# include <malloc.h> /* INFRINGES ON USER NAME SPACE */ +# define alloca _alloca +# else +# define YYSTACK_ALLOC alloca +# if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS +# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */ + /* Use EXIT_SUCCESS as a witness for stdlib.h. */ +# ifndef EXIT_SUCCESS +# define EXIT_SUCCESS 0 +# endif +# endif +# endif +# endif +# endif + +# ifdef YYSTACK_ALLOC + /* Pacify GCC's 'empty if-body' warning. */ +# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0) +# ifndef YYSTACK_ALLOC_MAXIMUM + /* The OS might guarantee only one guard page at the bottom of the stack, + and a page size can be as small as 4096 bytes. So we cannot safely + invoke alloca (N) if N exceeds 4096. Use a slightly smaller number + to allow for a few compiler-allocated temporary stack slots. */ +# define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */ +# endif +# else +# define YYSTACK_ALLOC YYMALLOC +# define YYSTACK_FREE YYFREE +# ifndef YYSTACK_ALLOC_MAXIMUM +# define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM +# endif +# if (defined __cplusplus && ! defined EXIT_SUCCESS \ + && ! ((defined YYMALLOC || defined malloc) \ + && (defined YYFREE || defined free))) +# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */ +# ifndef EXIT_SUCCESS +# define EXIT_SUCCESS 0 +# endif +# endif +# ifndef YYMALLOC +# define YYMALLOC malloc +# if ! defined malloc && ! defined EXIT_SUCCESS +void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ +# endif +# endif +# ifndef YYFREE +# define YYFREE free +# if ! defined free && ! defined EXIT_SUCCESS +void free (void *); /* INFRINGES ON USER NAME SPACE */ +# endif +# endif +# endif +#endif /* !defined yyoverflow */ + +#if (! defined yyoverflow \ + && (! defined __cplusplus \ + || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) + +/* A type that is properly aligned for any stack member. */ +union yyalloc +{ + yy_state_t yyss_alloc; + YYSTYPE yyvs_alloc; +}; + +/* The size of the maximum gap between one aligned stack and the next. */ +# define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1) + +/* The size of an array large to enough to hold all stacks, each with + N elements. */ +# define YYSTACK_BYTES(N) \ + ((N) * (YYSIZEOF (yy_state_t) + YYSIZEOF (YYSTYPE)) \ + + YYSTACK_GAP_MAXIMUM) + +# define YYCOPY_NEEDED 1 + +/* Relocate STACK from its old location to the new one. The + local variables YYSIZE and YYSTACKSIZE give the old and new number of + elements in the stack, and YYPTR gives the new location of the + stack. Advance YYPTR to a properly aligned location for the next + stack. */ +# define YYSTACK_RELOCATE(Stack_alloc, Stack) \ + do \ + { \ + YYPTRDIFF_T yynewbytes; \ + YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \ + Stack = &yyptr->Stack_alloc; \ + yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \ + yyptr += yynewbytes / YYSIZEOF (*yyptr); \ + } \ + while (0) + +#endif + +#if defined YYCOPY_NEEDED && YYCOPY_NEEDED +/* Copy COUNT objects from SRC to DST. The source and destination do + not overlap. */ +# ifndef YYCOPY +# if defined __GNUC__ && 1 < __GNUC__ +# define YYCOPY(Dst, Src, Count) \ + __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src))) +# else +# define YYCOPY(Dst, Src, Count) \ + do \ + { \ + YYPTRDIFF_T yyi; \ + for (yyi = 0; yyi < (Count); yyi++) \ + (Dst)[yyi] = (Src)[yyi]; \ + } \ + while (0) +# endif +# endif +#endif /* !YYCOPY_NEEDED */ + +/* YYFINAL -- State number of the termination state. */ +#define YYFINAL 2 +/* YYLAST -- Last index in YYTABLE. */ +#define YYLAST 825 + +/* YYNTOKENS -- Number of terminals. */ +#define YYNTOKENS 385 +/* YYNNTS -- Number of nonterminals. */ +#define YYNNTS 413 +/* YYNRULES -- Number of rules. */ +#define YYNRULES 802 +/* YYNSTATES -- Number of states. */ +#define YYNSTATES 1200 + +/* YYMAXUTOK -- Last valid token kind. */ +#define YYMAXUTOK 639 + + +/* YYTRANSLATE(TOKEN-NUM) -- Symbol number corresponding to TOKEN-NUM + as returned by yylex, with out-of-bounds checking. */ +#define YYTRANSLATE(YYX) \ + (0 <= (YYX) && (YYX) <= YYMAXUTOK \ + ? YY_CAST (yysymbol_kind_t, yytranslate[YYX]) \ + : YYSYMBOL_YYUNDEF) + +/* YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to TOKEN-NUM + as returned by yylex. */ +static const yytype_int16 yytranslate[] = +{ + 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 1, 2, 3, 4, + 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, + 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, + 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, + 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, + 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, + 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, + 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, + 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, + 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, + 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, + 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, + 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, + 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, + 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, + 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, + 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, + 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, + 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, + 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, + 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, + 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, + 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, + 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, + 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, + 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, + 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, + 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, + 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, + 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, + 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, + 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, + 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, + 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, + 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, + 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, + 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, + 375, 376, 377, 378, 379, 380, 381, 382, 383, 384 +}; + +#if YYDEBUG +/* YYRLINE[YYN] -- Source line where rule number YYN was defined. */ +static const yytype_int16 yyrline[] = +{ + 0, 225, 225, 225, 226, 226, 227, 227, 228, 228, + 228, 229, 229, 230, 230, 231, 231, 232, 234, 241, + 247, 248, 249, 249, 249, 250, 250, 251, 251, 251, + 252, 252, 252, 253, 253, 253, 254, 254, 255, 256, + 256, 256, 257, 257, 257, 258, 258, 259, 259, 260, + 260, 261, 261, 262, 262, 263, 263, 264, 264, 265, + 265, 266, 266, 266, 267, 267, 268, 268, 268, 269, + 269, 269, 270, 270, 271, 271, 272, 272, 273, 273, + 274, 274, 274, 275, 275, 276, 276, 277, 277, 277, + 278, 278, 279, 279, 280, 280, 281, 281, 281, 282, + 282, 283, 283, 284, 284, 285, 285, 286, 286, 287, + 287, 288, 288, 289, 289, 290, 290, 290, 291, 291, + 291, 292, 292, 292, 293, 293, 293, 293, 294, 294, + 295, 295, 295, 296, 296, 296, 297, 297, 298, 298, + 299, 299, 299, 300, 300, 300, 301, 301, 302, 302, + 302, 303, 304, 304, 304, 305, 305, 305, 306, 306, + 307, 307, 308, 308, 309, 310, 310, 311, 311, 312, + 312, 313, 313, 314, 314, 315, 315, 316, 316, 317, + 317, 318, 318, 319, 319, 320, 321, 321, 322, 322, + 322, 323, 323, 324, 324, 325, 325, 326, 326, 326, + 327, 327, 328, 329, 329, 330, 330, 331, 332, 332, + 333, 333, 334, 334, 334, 335, 335, 336, 336, 336, + 337, 337, 337, 338, 338, 339, 340, 340, 341, 341, + 342, 342, 343, 343, 344, 344, 344, 345, 345, 345, + 346, 346, 346, 347, 347, 348, 348, 348, 349, 349, + 350, 350, 351, 351, 352, 352, 352, 353, 353, 353, + 354, 354, 355, 355, 356, 356, 357, 357, 358, 358, + 359, 360, 360, 361, 361, 362, 362, 363, 363, 363, + 364, 365, 365, 366, 366, 366, 368, 376, 390, 391, + 392, 392, 392, 392, 392, 393, 393, 393, 395, 403, + 417, 418, 419, 419, 419, 419, 420, 420, 420, 422, + 430, 444, 445, 446, 446, 446, 446, 447, 447, 447, + 449, 472, 473, 474, 474, 474, 474, 475, 475, 475, + 476, 476, 476, 477, 477, 480, 499, 516, 524, 534, + 541, 551, 572, 573, 574, 574, 574, 574, 574, 575, + 575, 575, 576, 576, 576, 576, 577, 577, 579, 588, + 597, 608, 617, 626, 635, 644, 655, 664, 676, 690, + 705, 716, 733, 750, 767, 784, 799, 814, 827, 842, + 851, 860, 869, 878, 887, 896, 903, 912, 921, 930, + 939, 948, 957, 966, 975, 984, 997, 1008, 1019, 1030, + 1039, 1052, 1065, 1074, 1083, 1092, 1099, 1106, 1115, 1122, + 1131, 1139, 1146, 1153, 1161, 1170, 1179, 1187, 1205, 1213, + 1221, 1229, 1237, 1245, 1261, 1268, 1277, 1286, 1300, 1309, + 1318, 1327, 1336, 1345, 1354, 1363, 1372, 1381, 1388, 1395, + 1421, 1429, 1436, 1443, 1450, 1457, 1465, 1473, 1481, 1488, + 1499, 1510, 1517, 1526, 1535, 1544, 1553, 1560, 1567, 1574, + 1590, 1598, 1606, 1616, 1626, 1636, 1650, 1658, 1671, 1682, + 1690, 1703, 1712, 1721, 1730, 1739, 1749, 1759, 1767, 1780, + 1789, 1797, 1806, 1814, 1827, 1836, 1845, 1855, 1862, 1872, + 1882, 1892, 1902, 1912, 1922, 1932, 1942, 1952, 1962, 1969, + 1976, 1983, 1992, 2001, 2010, 2019, 2026, 2036, 2044, 2053, + 2060, 2078, 2091, 2104, 2117, 2126, 2135, 2144, 2153, 2162, + 2172, 2182, 2193, 2202, 2211, 2220, 2229, 2238, 2247, 2256, + 2265, 2274, 2287, 2300, 2309, 2316, 2325, 2334, 2343, 2352, + 2362, 2370, 2383, 2391, 2455, 2462, 2477, 2487, 2497, 2504, + 2511, 2518, 2525, 2539, 2553, 2560, 2567, 2576, 2584, 2591, + 2605, 2626, 2647, 2659, 2671, 2683, 2692, 2713, 2725, 2737, + 2746, 2767, 2776, 2785, 2794, 2802, 2810, 2823, 2836, 2850, + 2864, 2873, 2882, 2892, 2902, 2911, 2920, 2929, 2935, 2944, + 2953, 2963, 2973, 2983, 2992, 3002, 3011, 3024, 3037, 3049, + 3063, 3075, 3089, 3097, 3108, 3117, 3126, 3133, 3143, 3150, + 3157, 3166, 3175, 3185, 3195, 3205, 3215, 3222, 3229, 3238, + 3247, 3257, 3267, 3277, 3284, 3291, 3298, 3306, 3316, 3326, + 3336, 3346, 3356, 3364, 3373, 3383, 3442, 3451, 3459, 3467, + 3482, 3491, 3497, 3498, 3499, 3499, 3499, 3500, 3500, 3500, + 3501, 3501, 3503, 3513, 3522, 3529, 3536, 3543, 3550, 3557, + 3564, 3570, 3571, 3572, 3572, 3572, 3573, 3573, 3573, 3574, + 3575, 3575, 3576, 3576, 3577, 3577, 3578, 3579, 3580, 3581, + 3582, 3583, 3584, 3586, 3595, 3605, 3612, 3619, 3628, 3635, + 3642, 3649, 3656, 3665, 3674, 3681, 3688, 3698, 3708, 3718, + 3728, 3738, 3748, 3759, 3765, 3766, 3767, 3769, 3776, 3782, + 3783, 3784, 3786, 3793, 3803, 3810, 3819, 3827, 3833, 3834, + 3836, 3836, 3836, 3837, 3837, 3838, 3839, 3840, 3841, 3842, + 3844, 3853, 3862, 3869, 3880, 3887, 3898, 3906, 3919, 3927, + 3940, 3946, 3947, 3948, 3948, 3949, 3949, 3950, 3950, 3951, + 3951, 3952, 3952, 3953, 3953, 3954, 3954, 3955, 3955, 3956, + 3956, 3957, 3957, 3958, 3960, 3972, 3984, 3997, 4010, 4022, + 4034, 4049, 4064, 4076, 4088, 4100, 4112, 4125, 4138, 4151, + 4164, 4177, 4190, 4203, 4218, 4233, 4244, 4253, 4269, 4276, + 4285, 4294, 4303, 4312, 4322, 4331, 4340, 4346, 4347, 4348, + 4348, 4350, 4365 +}; +#endif + +/** Accessing symbol of state STATE. */ +#define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State]) + +#if YYDEBUG || 0 +/* The user-facing name of the symbol whose (internal) number is + YYSYMBOL. No bounds checking. */ +static const char *yysymbol_name (yysymbol_kind_t yysymbol) YY_ATTRIBUTE_UNUSED; + +/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. + First, the terminals, then, starting at YYNTOKENS, nonterminals. */ +static const char *const yytname[] = +{ + "\"end of file\"", "error", "\"invalid token\"", "SPACE", "LETTER", + "NEWLINE", "COMMENT", "COLON", "ANY", "ZONESTR", "STRING_ARG", + "VAR_FORCE_TOPLEVEL", "VAR_SERVER", "VAR_VERBOSITY", "VAR_NUM_THREADS", + "VAR_PORT", "VAR_OUTGOING_RANGE", "VAR_INTERFACE", "VAR_PREFER_IP4", + "VAR_DO_IP4", "VAR_DO_IP6", "VAR_DO_NAT64", "VAR_PREFER_IP6", + "VAR_DO_UDP", "VAR_DO_TCP", "VAR_TCP_MSS", "VAR_OUTGOING_TCP_MSS", + "VAR_TCP_IDLE_TIMEOUT", "VAR_EDNS_TCP_KEEPALIVE", + "VAR_EDNS_TCP_KEEPALIVE_TIMEOUT", "VAR_SOCK_QUEUE_TIMEOUT", "VAR_CHROOT", + "VAR_USERNAME", "VAR_DIRECTORY", "VAR_LOGFILE", "VAR_PIDFILE", + "VAR_MSG_CACHE_SIZE", "VAR_MSG_CACHE_SLABS", + "VAR_NUM_QUERIES_PER_THREAD", "VAR_RRSET_CACHE_SIZE", + "VAR_RRSET_CACHE_SLABS", "VAR_OUTGOING_NUM_TCP", "VAR_INFRA_HOST_TTL", + "VAR_INFRA_LAME_TTL", "VAR_INFRA_CACHE_SLABS", + "VAR_INFRA_CACHE_NUMHOSTS", "VAR_INFRA_CACHE_LAME_SIZE", "VAR_NAME", + "VAR_STUB_ZONE", "VAR_STUB_HOST", "VAR_STUB_ADDR", + "VAR_TARGET_FETCH_POLICY", "VAR_HARDEN_SHORT_BUFSIZE", + "VAR_HARDEN_LARGE_QUERIES", "VAR_FORWARD_ZONE", "VAR_FORWARD_HOST", + "VAR_FORWARD_ADDR", "VAR_DO_NOT_QUERY_ADDRESS", "VAR_HIDE_IDENTITY", + "VAR_HIDE_VERSION", "VAR_IDENTITY", "VAR_VERSION", "VAR_HARDEN_GLUE", + "VAR_MODULE_CONF", "VAR_TRUST_ANCHOR_FILE", "VAR_TRUST_ANCHOR", + "VAR_VAL_OVERRIDE_DATE", "VAR_BOGUS_TTL", "VAR_VAL_CLEAN_ADDITIONAL", + "VAR_VAL_PERMISSIVE_MODE", "VAR_INCOMING_NUM_TCP", "VAR_MSG_BUFFER_SIZE", + "VAR_KEY_CACHE_SIZE", "VAR_KEY_CACHE_SLABS", "VAR_TRUSTED_KEYS_FILE", + "VAR_VAL_NSEC3_KEYSIZE_ITERATIONS", "VAR_USE_SYSLOG", + "VAR_OUTGOING_INTERFACE", "VAR_ROOT_HINTS", "VAR_DO_NOT_QUERY_LOCALHOST", + "VAR_CACHE_MAX_TTL", "VAR_HARDEN_DNSSEC_STRIPPED", "VAR_ACCESS_CONTROL", + "VAR_LOCAL_ZONE", "VAR_LOCAL_DATA", "VAR_INTERFACE_AUTOMATIC", + "VAR_STATISTICS_INTERVAL", "VAR_DO_DAEMONIZE", "VAR_USE_CAPS_FOR_ID", + "VAR_STATISTICS_CUMULATIVE", "VAR_OUTGOING_PORT_PERMIT", + "VAR_OUTGOING_PORT_AVOID", "VAR_DLV_ANCHOR_FILE", "VAR_DLV_ANCHOR", + "VAR_NEG_CACHE_SIZE", "VAR_HARDEN_REFERRAL_PATH", "VAR_PRIVATE_ADDRESS", + "VAR_PRIVATE_DOMAIN", "VAR_REMOTE_CONTROL", "VAR_CONTROL_ENABLE", + "VAR_CONTROL_INTERFACE", "VAR_CONTROL_PORT", "VAR_SERVER_KEY_FILE", + "VAR_SERVER_CERT_FILE", "VAR_CONTROL_KEY_FILE", "VAR_CONTROL_CERT_FILE", + "VAR_CONTROL_USE_CERT", "VAR_TCP_REUSE_TIMEOUT", + "VAR_MAX_REUSE_TCP_QUERIES", "VAR_EXTENDED_STATISTICS", + "VAR_LOCAL_DATA_PTR", "VAR_JOSTLE_TIMEOUT", "VAR_STUB_PRIME", + "VAR_UNWANTED_REPLY_THRESHOLD", "VAR_LOG_TIME_ASCII", + "VAR_DOMAIN_INSECURE", "VAR_PYTHON", "VAR_PYTHON_SCRIPT", + "VAR_VAL_SIG_SKEW_MIN", "VAR_VAL_SIG_SKEW_MAX", "VAR_VAL_MAX_RESTART", + "VAR_CACHE_MIN_TTL", "VAR_VAL_LOG_LEVEL", "VAR_AUTO_TRUST_ANCHOR_FILE", + "VAR_KEEP_MISSING", "VAR_ADD_HOLDDOWN", "VAR_DEL_HOLDDOWN", + "VAR_SO_RCVBUF", "VAR_EDNS_BUFFER_SIZE", "VAR_PREFETCH", + "VAR_PREFETCH_KEY", "VAR_SO_SNDBUF", "VAR_SO_REUSEPORT", + "VAR_HARDEN_BELOW_NXDOMAIN", "VAR_IGNORE_CD_FLAG", "VAR_LOG_QUERIES", + "VAR_LOG_REPLIES", "VAR_LOG_LOCAL_ACTIONS", "VAR_TCP_UPSTREAM", + "VAR_SSL_UPSTREAM", "VAR_TCP_AUTH_QUERY_TIMEOUT", "VAR_SSL_SERVICE_KEY", + "VAR_SSL_SERVICE_PEM", "VAR_SSL_PORT", "VAR_FORWARD_FIRST", + "VAR_STUB_SSL_UPSTREAM", "VAR_FORWARD_SSL_UPSTREAM", + "VAR_TLS_CERT_BUNDLE", "VAR_STUB_TCP_UPSTREAM", + "VAR_FORWARD_TCP_UPSTREAM", "VAR_HTTPS_PORT", "VAR_HTTP_ENDPOINT", + "VAR_HTTP_MAX_STREAMS", "VAR_HTTP_QUERY_BUFFER_SIZE", + "VAR_HTTP_RESPONSE_BUFFER_SIZE", "VAR_HTTP_NODELAY", + "VAR_HTTP_NOTLS_DOWNSTREAM", "VAR_STUB_FIRST", "VAR_MINIMAL_RESPONSES", + "VAR_RRSET_ROUNDROBIN", "VAR_MAX_UDP_SIZE", "VAR_DELAY_CLOSE", + "VAR_UDP_CONNECT", "VAR_UNBLOCK_LAN_ZONES", "VAR_INSECURE_LAN_ZONES", + "VAR_INFRA_CACHE_MIN_RTT", "VAR_INFRA_CACHE_MAX_RTT", + "VAR_INFRA_KEEP_PROBING", "VAR_DNS64_PREFIX", "VAR_DNS64_SYNTHALL", + "VAR_DNS64_IGNORE_AAAA", "VAR_NAT64_PREFIX", "VAR_DNSTAP", + "VAR_DNSTAP_ENABLE", "VAR_DNSTAP_SOCKET_PATH", "VAR_DNSTAP_IP", + "VAR_DNSTAP_TLS", "VAR_DNSTAP_TLS_SERVER_NAME", + "VAR_DNSTAP_TLS_CERT_BUNDLE", "VAR_DNSTAP_TLS_CLIENT_KEY_FILE", + "VAR_DNSTAP_TLS_CLIENT_CERT_FILE", "VAR_DNSTAP_SEND_IDENTITY", + "VAR_DNSTAP_SEND_VERSION", "VAR_DNSTAP_BIDIRECTIONAL", + "VAR_DNSTAP_IDENTITY", "VAR_DNSTAP_VERSION", + "VAR_DNSTAP_LOG_RESOLVER_QUERY_MESSAGES", + "VAR_DNSTAP_LOG_RESOLVER_RESPONSE_MESSAGES", + "VAR_DNSTAP_LOG_CLIENT_QUERY_MESSAGES", + "VAR_DNSTAP_LOG_CLIENT_RESPONSE_MESSAGES", + "VAR_DNSTAP_LOG_FORWARDER_QUERY_MESSAGES", + "VAR_DNSTAP_LOG_FORWARDER_RESPONSE_MESSAGES", "VAR_DNSTAP_SAMPLE_RATE", + "VAR_RESPONSE_IP_TAG", "VAR_RESPONSE_IP", "VAR_RESPONSE_IP_DATA", + "VAR_HARDEN_ALGO_DOWNGRADE", "VAR_IP_TRANSPARENT", "VAR_IP_DSCP", + "VAR_DISABLE_DNSSEC_LAME_CHECK", "VAR_IP_RATELIMIT", + "VAR_IP_RATELIMIT_SLABS", "VAR_IP_RATELIMIT_SIZE", "VAR_RATELIMIT", + "VAR_RATELIMIT_SLABS", "VAR_RATELIMIT_SIZE", "VAR_OUTBOUND_MSG_RETRY", + "VAR_MAX_SENT_COUNT", "VAR_MAX_QUERY_RESTARTS", + "VAR_RATELIMIT_FOR_DOMAIN", "VAR_RATELIMIT_BELOW_DOMAIN", + "VAR_IP_RATELIMIT_FACTOR", "VAR_RATELIMIT_FACTOR", + "VAR_IP_RATELIMIT_BACKOFF", "VAR_RATELIMIT_BACKOFF", + "VAR_SEND_CLIENT_SUBNET", "VAR_CLIENT_SUBNET_ZONE", + "VAR_CLIENT_SUBNET_ALWAYS_FORWARD", "VAR_CLIENT_SUBNET_OPCODE", + "VAR_MAX_CLIENT_SUBNET_IPV4", "VAR_MAX_CLIENT_SUBNET_IPV6", + "VAR_MIN_CLIENT_SUBNET_IPV4", "VAR_MIN_CLIENT_SUBNET_IPV6", + "VAR_MAX_ECS_TREE_SIZE_IPV4", "VAR_MAX_ECS_TREE_SIZE_IPV6", + "VAR_CAPS_WHITELIST", "VAR_CACHE_MAX_NEGATIVE_TTL", + "VAR_PERMIT_SMALL_HOLDDOWN", "VAR_CACHE_MIN_NEGATIVE_TTL", + "VAR_QNAME_MINIMISATION", "VAR_QNAME_MINIMISATION_STRICT", + "VAR_IP_FREEBIND", "VAR_DEFINE_TAG", "VAR_LOCAL_ZONE_TAG", + "VAR_ACCESS_CONTROL_TAG", "VAR_LOCAL_ZONE_OVERRIDE", + "VAR_ACCESS_CONTROL_TAG_ACTION", "VAR_ACCESS_CONTROL_TAG_DATA", + "VAR_VIEW", "VAR_ACCESS_CONTROL_VIEW", "VAR_VIEW_FIRST", + "VAR_SERVE_EXPIRED", "VAR_SERVE_EXPIRED_TTL", + "VAR_SERVE_EXPIRED_TTL_RESET", "VAR_SERVE_EXPIRED_REPLY_TTL", + "VAR_SERVE_EXPIRED_CLIENT_TIMEOUT", "VAR_EDE_SERVE_EXPIRED", + "VAR_SERVE_ORIGINAL_TTL", "VAR_FAKE_DSA", "VAR_FAKE_SHA1", + "VAR_LOG_IDENTITY", "VAR_HIDE_TRUSTANCHOR", "VAR_HIDE_HTTP_USER_AGENT", + "VAR_HTTP_USER_AGENT", "VAR_TRUST_ANCHOR_SIGNALING", + "VAR_AGGRESSIVE_NSEC", "VAR_USE_SYSTEMD", "VAR_SHM_ENABLE", + "VAR_SHM_KEY", "VAR_ROOT_KEY_SENTINEL", "VAR_DNSCRYPT", + "VAR_DNSCRYPT_ENABLE", "VAR_DNSCRYPT_PORT", "VAR_DNSCRYPT_PROVIDER", + "VAR_DNSCRYPT_SECRET_KEY", "VAR_DNSCRYPT_PROVIDER_CERT", + "VAR_DNSCRYPT_PROVIDER_CERT_ROTATED", + "VAR_DNSCRYPT_SHARED_SECRET_CACHE_SIZE", + "VAR_DNSCRYPT_SHARED_SECRET_CACHE_SLABS", + "VAR_DNSCRYPT_NONCE_CACHE_SIZE", "VAR_DNSCRYPT_NONCE_CACHE_SLABS", + "VAR_PAD_RESPONSES", "VAR_PAD_RESPONSES_BLOCK_SIZE", "VAR_PAD_QUERIES", + "VAR_PAD_QUERIES_BLOCK_SIZE", "VAR_IPSECMOD_ENABLED", + "VAR_IPSECMOD_HOOK", "VAR_IPSECMOD_IGNORE_BOGUS", "VAR_IPSECMOD_MAX_TTL", + "VAR_IPSECMOD_WHITELIST", "VAR_IPSECMOD_STRICT", "VAR_CACHEDB", + "VAR_CACHEDB_BACKEND", "VAR_CACHEDB_SECRETSEED", "VAR_CACHEDB_REDISHOST", + "VAR_CACHEDB_REDISREPLICAHOST", "VAR_CACHEDB_REDISPORT", + "VAR_CACHEDB_REDISREPLICAPORT", "VAR_CACHEDB_REDISTIMEOUT", + "VAR_CACHEDB_REDISREPLICATIMEOUT", "VAR_CACHEDB_REDISEXPIRERECORDS", + "VAR_CACHEDB_REDISPATH", "VAR_CACHEDB_REDISREPLICAPATH", + "VAR_CACHEDB_REDISPASSWORD", "VAR_CACHEDB_REDISREPLICAPASSWORD", + "VAR_CACHEDB_REDISLOGICALDB", "VAR_CACHEDB_REDISREPLICALOGICALDB", + "VAR_CACHEDB_REDISCOMMANDTIMEOUT", + "VAR_CACHEDB_REDISREPLICACOMMANDTIMEOUT", + "VAR_CACHEDB_REDISCONNECTTIMEOUT", + "VAR_CACHEDB_REDISREPLICACONNECTTIMEOUT", + "VAR_UDP_UPSTREAM_WITHOUT_DOWNSTREAM", "VAR_FOR_UPSTREAM", + "VAR_AUTH_ZONE", "VAR_ZONEFILE", "VAR_MASTER", "VAR_URL", + "VAR_FOR_DOWNSTREAM", "VAR_FALLBACK_ENABLED", "VAR_TLS_ADDITIONAL_PORT", + "VAR_LOW_RTT", "VAR_LOW_RTT_PERMIL", "VAR_FAST_SERVER_PERMIL", + "VAR_FAST_SERVER_NUM", "VAR_ALLOW_NOTIFY", "VAR_TLS_WIN_CERT", + "VAR_TCP_CONNECTION_LIMIT", "VAR_ANSWER_COOKIE", "VAR_COOKIE_SECRET", + "VAR_IP_RATELIMIT_COOKIE", "VAR_FORWARD_NO_CACHE", "VAR_STUB_NO_CACHE", + "VAR_LOG_SERVFAIL", "VAR_DENY_ANY", "VAR_UNKNOWN_SERVER_TIME_LIMIT", + "VAR_LOG_TAG_QUERYREPLY", "VAR_DISCARD_TIMEOUT", "VAR_WAIT_LIMIT", + "VAR_WAIT_LIMIT_COOKIE", "VAR_WAIT_LIMIT_NETBLOCK", + "VAR_WAIT_LIMIT_COOKIE_NETBLOCK", "VAR_STREAM_WAIT_SIZE", + "VAR_TLS_CIPHERS", "VAR_TLS_CIPHERSUITES", "VAR_TLS_USE_SNI", + "VAR_TLS_PROTOCOLS", "VAR_IPSET", "VAR_IPSET_NAME_V4", + "VAR_IPSET_NAME_V6", "VAR_TLS_SESSION_TICKET_KEYS", "VAR_RPZ", + "VAR_TAGS", "VAR_RPZ_ACTION_OVERRIDE", "VAR_RPZ_CNAME_OVERRIDE", + "VAR_RPZ_LOG", "VAR_RPZ_LOG_NAME", "VAR_DYNLIB", "VAR_DYNLIB_FILE", + "VAR_EDNS_CLIENT_STRING", "VAR_EDNS_CLIENT_STRING_OPCODE", "VAR_NSID", + "VAR_ZONEMD_PERMISSIVE_MODE", "VAR_ZONEMD_CHECK", + "VAR_ZONEMD_REJECT_ABSENCE", "VAR_RPZ_SIGNAL_NXDOMAIN_RA", + "VAR_INTERFACE_AUTOMATIC_PORTS", "VAR_EDE", "VAR_DNS_ERROR_REPORTING", + "VAR_INTERFACE_ACTION", "VAR_INTERFACE_VIEW", "VAR_INTERFACE_TAG", + "VAR_INTERFACE_TAG_ACTION", "VAR_INTERFACE_TAG_DATA", "VAR_QUIC_PORT", + "VAR_QUIC_SIZE", "VAR_PROXY_PROTOCOL_PORT", + "VAR_STATISTICS_INHIBIT_ZERO", "VAR_HARDEN_UNKNOWN_ADDITIONAL", + "VAR_DISABLE_EDNS_DO", "VAR_CACHEDB_NO_STORE", "VAR_LOG_DESTADDR", + "VAR_CACHEDB_CHECK_WHEN_SERVE_EXPIRED", "VAR_COOKIE_SECRET_FILE", + "VAR_ITER_SCRUB_NS", "VAR_ITER_SCRUB_CNAME", "VAR_ITER_SCRUB_RRSIG", + "VAR_MAX_TRANSFER_SIZE", "VAR_MAX_TRANSFER_TIME", "VAR_MAX_GLOBAL_QUOTA", + "VAR_HARDEN_UNVERIFIED_GLUE", "VAR_LOG_TIME_ISO", + "VAR_VAL_VALIDATION_ATTEMPTS", "VAR_VAL_HASH_ATTEMPTS", + "VAR_ITER_SCRUB_PROMISCUOUS", "VAR_LOG_THREAD_ID", "$accept", + "toplevelvars", "toplevelvar", "force_toplevel", "serverstart", + "contents_server", "content_server", "stub_clause", "stubstart", + "contents_stub", "content_stub", "forward_clause", "forwardstart", + "contents_forward", "content_forward", "view_clause", "viewstart", + "contents_view", "content_view", "authstart", "contents_auth", + "content_auth", "rpz_tag", "rpz_action_override", "rpz_cname_override", + "rpz_log", "rpz_log_name", "rpz_signal_nxdomain_ra", "rpzstart", + "contents_rpz", "content_rpz", "server_num_threads", "server_verbosity", + "server_statistics_interval", "server_statistics_cumulative", + "server_extended_statistics", "server_statistics_inhibit_zero", + "server_shm_enable", "server_shm_key", "server_port", + "server_send_client_subnet", "server_client_subnet_zone", + "server_client_subnet_always_forward", "server_client_subnet_opcode", + "server_max_client_subnet_ipv4", "server_max_client_subnet_ipv6", + "server_min_client_subnet_ipv4", "server_min_client_subnet_ipv6", + "server_max_ecs_tree_size_ipv4", "server_max_ecs_tree_size_ipv6", + "server_interface", "server_outgoing_interface", "server_outgoing_range", + "server_outgoing_port_permit", "server_outgoing_port_avoid", + "server_outgoing_num_tcp", "server_incoming_num_tcp", + "server_interface_automatic", "server_interface_automatic_ports", + "server_do_ip4", "server_do_ip6", "server_do_nat64", "server_do_udp", + "server_do_tcp", "server_prefer_ip4", "server_prefer_ip6", + "server_tcp_mss", "server_outgoing_tcp_mss", "server_tcp_idle_timeout", + "server_max_reuse_tcp_queries", "server_tcp_reuse_timeout", + "server_tcp_auth_query_timeout", "server_tcp_keepalive", + "server_tcp_keepalive_timeout", "server_sock_queue_timeout", + "server_tcp_upstream", "server_udp_upstream_without_downstream", + "server_ssl_upstream", "server_ssl_service_key", + "server_ssl_service_pem", "server_ssl_port", "server_tls_cert_bundle", + "server_tls_win_cert", "server_tls_additional_port", + "server_tls_ciphers", "server_tls_ciphersuites", + "server_tls_session_ticket_keys", "server_tls_use_sni", + "server_tls_protocols", "server_https_port", "server_http_endpoint", + "server_http_max_streams", "server_http_query_buffer_size", + "server_http_response_buffer_size", "server_http_nodelay", + "server_http_notls_downstream", "server_quic_port", "server_quic_size", + "server_use_systemd", "server_do_daemonize", "server_use_syslog", + "server_log_time_ascii", "server_log_time_iso", "server_log_queries", + "server_log_replies", "server_log_tag_queryreply", "server_log_servfail", + "server_log_destaddr", "server_log_thread_id", + "server_log_local_actions", "server_chroot", "server_username", + "server_directory", "server_logfile", "server_pidfile", + "server_root_hints", "server_dlv_anchor_file", "server_dlv_anchor", + "server_auto_trust_anchor_file", "server_trust_anchor_file", + "server_trusted_keys_file", "server_trust_anchor", + "server_trust_anchor_signaling", "server_root_key_sentinel", + "server_domain_insecure", "server_hide_identity", "server_hide_version", + "server_hide_trustanchor", "server_hide_http_user_agent", + "server_identity", "server_version", "server_http_user_agent", + "server_nsid", "server_so_rcvbuf", "server_so_sndbuf", + "server_so_reuseport", "server_ip_transparent", "server_ip_freebind", + "server_ip_dscp", "server_stream_wait_size", "server_edns_buffer_size", + "server_msg_buffer_size", "server_msg_cache_size", + "server_msg_cache_slabs", "server_num_queries_per_thread", + "server_jostle_timeout", "server_delay_close", "server_udp_connect", + "server_unblock_lan_zones", "server_insecure_lan_zones", + "server_rrset_cache_size", "server_rrset_cache_slabs", + "server_infra_host_ttl", "server_infra_lame_ttl", + "server_infra_cache_numhosts", "server_infra_cache_lame_size", + "server_infra_cache_slabs", "server_infra_cache_min_rtt", + "server_infra_cache_max_rtt", "server_infra_keep_probing", + "server_target_fetch_policy", "server_harden_short_bufsize", + "server_harden_large_queries", "server_harden_glue", + "server_harden_unverified_glue", "server_harden_dnssec_stripped", + "server_harden_below_nxdomain", "server_harden_referral_path", + "server_harden_algo_downgrade", "server_harden_unknown_additional", + "server_use_caps_for_id", "server_caps_whitelist", + "server_private_address", "server_private_domain", "server_prefetch", + "server_prefetch_key", "server_deny_any", + "server_unwanted_reply_threshold", "server_do_not_query_address", + "server_do_not_query_localhost", "server_access_control", + "server_interface_action", "server_module_conf", + "server_val_override_date", "server_val_sig_skew_min", + "server_val_sig_skew_max", "server_val_max_restart", + "server_cache_max_ttl", "server_cache_max_negative_ttl", + "server_cache_min_negative_ttl", "server_cache_min_ttl", + "server_bogus_ttl", "server_val_clean_additional", + "server_val_permissive_mode", "server_aggressive_nsec", + "server_ignore_cd_flag", "server_disable_edns_do", + "server_serve_expired", "server_serve_expired_ttl", + "server_serve_expired_ttl_reset", "server_serve_expired_reply_ttl", + "server_serve_expired_client_timeout", "server_ede_serve_expired", + "server_serve_original_ttl", "server_fake_dsa", "server_fake_sha1", + "server_val_log_level", "server_val_nsec3_keysize_iterations", + "server_zonemd_permissive_mode", "server_add_holddown", + "server_del_holddown", "server_keep_missing", + "server_permit_small_holddown", "server_key_cache_size", + "server_key_cache_slabs", "server_neg_cache_size", "server_local_zone", + "server_local_data", "server_local_data_ptr", "server_minimal_responses", + "server_rrset_roundrobin", "server_unknown_server_time_limit", + "server_discard_timeout", "server_wait_limit", + "server_wait_limit_cookie", "server_wait_limit_netblock", + "server_wait_limit_cookie_netblock", "server_max_udp_size", + "server_dns64_prefix", "server_dns64_synthall", + "server_dns64_ignore_aaaa", "server_nat64_prefix", "server_define_tag", + "server_local_zone_tag", "server_access_control_tag", + "server_access_control_tag_action", "server_access_control_tag_data", + "server_local_zone_override", "server_access_control_view", + "server_interface_tag", "server_interface_tag_action", + "server_interface_tag_data", "server_interface_view", + "server_response_ip_tag", "server_ip_ratelimit", + "server_ip_ratelimit_cookie", "server_ratelimit", + "server_ip_ratelimit_size", "server_ratelimit_size", + "server_ip_ratelimit_slabs", "server_ratelimit_slabs", + "server_ratelimit_for_domain", "server_ratelimit_below_domain", + "server_ip_ratelimit_factor", "server_ratelimit_factor", + "server_ip_ratelimit_backoff", "server_ratelimit_backoff", + "server_outbound_msg_retry", "server_max_sent_count", + "server_max_query_restarts", "server_low_rtt", "server_fast_server_num", + "server_fast_server_permil", "server_qname_minimisation", + "server_qname_minimisation_strict", "server_pad_responses", + "server_pad_responses_block_size", "server_pad_queries", + "server_pad_queries_block_size", "server_ipsecmod_enabled", + "server_ipsecmod_ignore_bogus", "server_ipsecmod_hook", + "server_ipsecmod_max_ttl", "server_ipsecmod_whitelist", + "server_ipsecmod_strict", "server_edns_client_string", + "server_edns_client_string_opcode", "server_ede", + "server_dns_error_reporting", "server_proxy_protocol_port", "stub_name", + "stub_host", "stub_addr", "stub_first", "stub_no_cache", + "stub_ssl_upstream", "stub_tcp_upstream", "stub_prime", "forward_name", + "forward_host", "forward_addr", "forward_first", "forward_no_cache", + "forward_ssl_upstream", "forward_tcp_upstream", "auth_name", + "auth_zonefile", "auth_master", "auth_url", "auth_allow_notify", + "auth_zonemd_check", "auth_zonemd_reject_absence", "auth_for_downstream", + "auth_for_upstream", "auth_fallback_enabled", "auth_max_transfer_size", + "auth_max_transfer_time", "view_name", "view_local_zone", + "view_response_ip", "view_response_ip_data", "view_local_data", + "view_local_data_ptr", "view_first", "rcstart", "contents_rc", + "content_rc", "rc_control_enable", "rc_control_port", + "rc_control_interface", "rc_control_use_cert", "rc_server_key_file", + "rc_server_cert_file", "rc_control_key_file", "rc_control_cert_file", + "dtstart", "contents_dt", "content_dt", "dt_dnstap_enable", + "dt_dnstap_bidirectional", "dt_dnstap_socket_path", "dt_dnstap_ip", + "dt_dnstap_tls", "dt_dnstap_tls_server_name", + "dt_dnstap_tls_cert_bundle", "dt_dnstap_tls_client_key_file", + "dt_dnstap_tls_client_cert_file", "dt_dnstap_send_identity", + "dt_dnstap_send_version", "dt_dnstap_identity", "dt_dnstap_version", + "dt_dnstap_log_resolver_query_messages", + "dt_dnstap_log_resolver_response_messages", + "dt_dnstap_log_client_query_messages", + "dt_dnstap_log_client_response_messages", + "dt_dnstap_log_forwarder_query_messages", + "dt_dnstap_log_forwarder_response_messages", "dt_dnstap_sample_rate", + "pythonstart", "contents_py", "content_py", "py_script", "dynlibstart", + "contents_dl", "content_dl", "dl_file", + "server_disable_dnssec_lame_check", "server_log_identity", + "server_response_ip", "server_response_ip_data", "dnscstart", + "contents_dnsc", "content_dnsc", "dnsc_dnscrypt_enable", + "dnsc_dnscrypt_port", "dnsc_dnscrypt_provider", + "dnsc_dnscrypt_provider_cert", "dnsc_dnscrypt_provider_cert_rotated", + "dnsc_dnscrypt_secret_key", "dnsc_dnscrypt_shared_secret_cache_size", + "dnsc_dnscrypt_shared_secret_cache_slabs", + "dnsc_dnscrypt_nonce_cache_size", "dnsc_dnscrypt_nonce_cache_slabs", + "cachedbstart", "contents_cachedb", "content_cachedb", + "cachedb_backend_name", "cachedb_secret_seed", "cachedb_no_store", + "cachedb_check_when_serve_expired", "redis_server_host", + "redis_replica_server_host", "redis_server_port", + "redis_replica_server_port", "redis_server_path", + "redis_replica_server_path", "redis_server_password", + "redis_replica_server_password", "redis_timeout", + "redis_replica_timeout", "redis_command_timeout", + "redis_replica_command_timeout", "redis_connect_timeout", + "redis_replica_connect_timeout", "redis_expire_records", + "redis_logical_db", "redis_replica_logical_db", + "server_tcp_connection_limit", "server_answer_cookie", + "server_cookie_secret", "server_cookie_secret_file", + "server_iter_scrub_ns", "server_iter_scrub_cname", + "server_iter_scrub_rrsig", "server_max_global_quota", + "server_iter_scrub_promiscuous", "server_val_validation_attempts", + "server_val_hash_attempts", "ipsetstart", "contents_ipset", + "content_ipset", "ipset_name_v4", "ipset_name_v6", YY_NULLPTR +}; + +static const char * +yysymbol_name (yysymbol_kind_t yysymbol) +{ + return yytname[yysymbol]; +} +#endif + +#define YYPACT_NINF (-311) + +#define yypact_value_is_default(Yyn) \ + ((Yyn) == YYPACT_NINF) + +#define YYTABLE_NINF (-1) + +#define yytable_value_is_error(Yyn) \ + 0 + +/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing + STATE-NUM. */ +static const yytype_int16 yypact[] = +{ + -311, 275, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -13, 227, 234, 280, 114, + 88, -14, 384, -81, -310, -99, 210, -303, 31, 32, + 33, 83, 89, 93, 94, 121, 122, 123, 126, 134, + 149, 150, 162, 163, 164, 165, 166, 167, 168, 169, + 215, 217, 237, 238, 239, 240, 241, 242, 243, 244, + 245, 246, 247, 258, 259, 260, 261, 262, 263, 268, + 269, 270, 272, 273, 274, 281, 282, 283, 284, 285, + 288, 291, 297, 298, 314, 315, 318, 320, 321, 322, + 323, 324, 330, 331, 346, 348, 364, 366, 367, 369, + 371, 372, 375, 376, 377, 378, 379, 386, 387, 388, + 389, 390, 391, 393, 394, 395, 396, 397, 398, 399, + 400, 401, 402, 403, 404, 405, 407, 413, 414, 415, + 416, 417, 424, 425, 426, 427, 428, 429, 430, 431, + 433, 434, 435, 436, 438, 439, 440, 441, 442, 443, + 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, + 458, 459, 460, 461, 462, 463, 466, 467, 468, 469, + 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, + 501, 502, 504, 505, 506, 507, 508, 509, 511, 512, + 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, + 523, 524, 526, 527, 528, 529, 530, 531, 532, 533, + 534, 535, 536, 537, 539, 540, 541, 542, 543, 545, + 567, 570, 572, 573, 574, 575, 576, 577, 578, 579, + 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, + 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, + 600, 602, 603, 604, 606, 607, 608, 609, 610, 612, + 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, + 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, + 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, + 643, 644, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, 645, 646, 647, + 648, 649, 650, 651, 652, -311, -311, -311, -311, -311, + -311, -311, -311, -311, 653, 654, 655, 656, 657, 658, + 659, -311, -311, -311, -311, -311, -311, -311, -311, 660, + 661, 662, 663, 664, 665, 666, -311, -311, -311, -311, + -311, -311, -311, -311, 667, 668, 669, 670, 671, 672, + 673, 674, 675, 676, 677, 678, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, 679, + 680, 681, 682, 683, 684, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + 685, 686, 687, 688, 689, 690, 691, 692, -311, -311, + -311, -311, -311, -311, -311, -311, -311, 693, 694, 695, + 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, + 706, 707, 708, 709, 710, 711, 712, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, 713, -311, + -311, 714, -311, -311, 715, 716, 717, 718, 719, 720, + 721, 722, 723, 724, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, 725, 726, 727, 728, 729, + 730, 731, 732, 733, 734, 735, 736, 737, 738, 739, + 740, 741, 742, 743, 744, 745, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, 746, 747, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, 748, 749, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, 750, 751, 752, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, 753, 754, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, 755, 756, 757, + 758, 759, 760, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, 761, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, 762, + 763, -311, -311, -311, -311, -311, -311, 764, -311, -311, + -311, -311, -311, -311, 765, 766, 767, 768, 769, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, 770, -311, -311, 771, 772, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, 773, + 774, 775, -311, -311, -311, -311, -311, -311, -311, -311, + 776, 777, -311, -311, -311, -311, -311, -311, -311, -311 +}; + +/* YYDEFACT[STATE-NUM] -- Default reduction number in state STATE-NUM. + Performed when YYTABLE does not specify something else to do. Zero + means the default is an error. */ +static const yytype_int16 yydefact[] = +{ + 2, 0, 1, 18, 19, 287, 299, 641, 703, 660, + 310, 717, 740, 320, 796, 341, 708, 3, 17, 21, + 5, 289, 6, 301, 10, 312, 322, 343, 643, 662, + 705, 710, 719, 742, 798, 4, 286, 298, 309, 14, + 15, 8, 9, 7, 16, 11, 12, 13, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 20, 22, 23, 90, 93, 102, 272, 220, + 221, 24, 173, 174, 175, 176, 177, 178, 179, 180, + 181, 182, 39, 81, 25, 94, 95, 50, 74, 89, + 268, 26, 27, 28, 31, 32, 29, 30, 33, 34, + 35, 263, 264, 265, 36, 37, 38, 126, 232, 127, + 130, 131, 132, 234, 239, 235, 251, 252, 253, 257, + 259, 133, 134, 135, 136, 137, 138, 139, 266, 267, + 216, 91, 80, 106, 284, 124, 125, 244, 241, 275, + 129, 128, 40, 41, 42, 43, 44, 82, 96, 97, + 113, 68, 78, 69, 224, 225, 107, 60, 61, 223, + 64, 62, 63, 65, 261, 117, 121, 143, 155, 188, + 158, 250, 118, 75, 45, 46, 47, 104, 144, 145, + 146, 147, 48, 49, 51, 52, 54, 55, 53, 152, + 153, 159, 56, 57, 58, 66, 283, 85, 122, 99, + 154, 273, 92, 183, 100, 101, 119, 120, 242, 105, + 59, 83, 86, 197, 67, 70, 108, 109, 110, 84, + 184, 185, 111, 71, 72, 73, 233, 123, 274, 207, + 208, 209, 210, 211, 212, 213, 214, 222, 112, 79, + 262, 114, 115, 116, 186, 76, 77, 98, 87, 88, + 103, 140, 141, 243, 245, 246, 247, 248, 249, 142, + 148, 149, 150, 151, 189, 190, 192, 194, 195, 193, + 196, 199, 200, 201, 198, 217, 156, 256, 157, 162, + 163, 160, 161, 164, 165, 167, 166, 169, 168, 170, + 171, 172, 236, 238, 237, 187, 202, 203, 204, 205, + 206, 226, 228, 227, 229, 230, 231, 258, 260, 269, + 270, 271, 191, 215, 218, 219, 240, 254, 255, 276, + 277, 278, 282, 279, 285, 280, 281, 0, 0, 0, + 0, 0, 0, 0, 0, 288, 290, 291, 292, 294, + 295, 296, 297, 293, 0, 0, 0, 0, 0, 0, + 0, 300, 302, 303, 304, 305, 306, 307, 308, 0, + 0, 0, 0, 0, 0, 0, 311, 313, 314, 317, + 318, 315, 319, 316, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 321, 323, 324, 325, + 326, 330, 331, 332, 327, 328, 329, 333, 334, 0, + 0, 0, 0, 0, 0, 346, 350, 351, 352, 353, + 354, 342, 344, 345, 347, 348, 349, 355, 356, 357, + 0, 0, 0, 0, 0, 0, 0, 0, 642, 644, + 646, 645, 651, 647, 648, 649, 650, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 661, 663, 665, + 664, 666, 667, 668, 669, 670, 671, 672, 673, 674, + 675, 676, 677, 678, 679, 680, 681, 682, 0, 704, + 706, 0, 709, 711, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 718, 720, 721, 722, 724, 725, + 723, 726, 727, 728, 729, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 741, 743, 744, 761, + 763, 745, 746, 747, 748, 755, 756, 757, 758, 749, + 750, 751, 752, 753, 754, 762, 759, 760, 0, 0, + 797, 799, 800, 359, 358, 366, 379, 377, 391, 386, + 387, 388, 392, 389, 390, 393, 394, 395, 399, 400, + 401, 437, 438, 439, 440, 441, 469, 470, 471, 477, + 478, 382, 479, 480, 483, 481, 482, 487, 488, 489, + 505, 452, 453, 456, 457, 490, 509, 446, 448, 510, + 518, 519, 520, 383, 468, 540, 541, 447, 534, 427, + 378, 442, 506, 514, 492, 0, 0, 544, 384, 360, + 426, 497, 361, 380, 381, 443, 444, 542, 494, 499, + 500, 397, 396, 362, 545, 472, 504, 428, 451, 511, + 512, 513, 517, 533, 445, 538, 536, 537, 460, 467, + 501, 502, 461, 462, 493, 522, 430, 431, 436, 402, + 404, 398, 405, 406, 407, 408, 416, 417, 418, 419, + 420, 421, 422, 546, 547, 554, 473, 474, 475, 476, + 484, 485, 486, 555, 556, 557, 558, 0, 0, 0, + 495, 463, 465, 713, 571, 576, 574, 573, 577, 575, + 584, 585, 586, 0, 0, 580, 581, 582, 583, 367, + 368, 369, 370, 371, 372, 373, 374, 375, 376, 498, + 515, 539, 516, 590, 591, 464, 559, 0, 0, 0, + 0, 0, 0, 524, 525, 526, 527, 528, 529, 530, + 531, 532, 714, 454, 455, 458, 449, 521, 425, 364, + 365, 450, 592, 593, 594, 595, 596, 598, 597, 599, + 600, 601, 403, 410, 587, 589, 588, 409, 0, 786, + 787, 572, 433, 503, 548, 432, 549, 550, 551, 0, + 0, 466, 411, 412, 414, 415, 413, 0, 603, 459, + 535, 385, 604, 605, 0, 0, 0, 0, 0, 423, + 424, 606, 363, 496, 523, 434, 788, 789, 790, 791, + 792, 491, 429, 794, 795, 793, 435, 607, 608, 609, + 614, 612, 613, 610, 611, 615, 616, 617, 618, 620, + 621, 619, 634, 0, 638, 639, 0, 0, 640, 622, + 630, 623, 624, 625, 629, 631, 626, 627, 628, 632, + 633, 335, 336, 337, 338, 339, 340, 652, 654, 653, + 656, 657, 658, 659, 655, 683, 685, 686, 687, 688, + 689, 690, 691, 692, 693, 684, 694, 695, 696, 697, + 698, 699, 700, 701, 702, 707, 712, 730, 731, 732, + 735, 733, 734, 736, 737, 738, 739, 764, 765, 768, + 769, 770, 771, 776, 777, 782, 772, 773, 774, 775, + 783, 784, 778, 779, 780, 781, 766, 767, 801, 802, + 507, 543, 570, 715, 716, 578, 579, 560, 561, 0, + 0, 0, 565, 785, 552, 553, 602, 508, 569, 566, + 0, 0, 635, 636, 637, 564, 562, 563, 567, 568 +}; + +/* YYPGOTO[NTERM-NUM]. */ +static const yytype_int16 yypgoto[] = +{ + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, 778, 779, 780, 781, 782, + -311, -311, 783, -311, -311, 784, 785, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311, -311, -311, -311, -311, -311, -311, -311, + -311, -311, -311 +}; + +/* YYDEFGOTO[NTERM-NUM]. */ +static const yytype_int16 yydefgoto[] = +{ + 0, 1, 17, 18, 19, 35, 312, 20, 21, 36, + 585, 22, 23, 37, 601, 24, 25, 38, 616, 26, + 39, 636, 655, 656, 657, 658, 659, 660, 27, 40, + 661, 313, 314, 315, 316, 317, 318, 319, 320, 321, + 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, + 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, + 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, + 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, + 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, + 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, + 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, + 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, + 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, + 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, + 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, + 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, + 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, + 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, + 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, + 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, + 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, + 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, + 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, + 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, + 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, + 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, + 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, + 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, + 586, 587, 588, 589, 590, 591, 592, 593, 602, 603, + 604, 605, 606, 607, 608, 637, 638, 639, 640, 641, + 642, 643, 644, 645, 646, 647, 648, 617, 618, 619, + 620, 621, 622, 623, 28, 41, 678, 679, 680, 681, + 682, 683, 684, 685, 686, 29, 42, 707, 708, 709, + 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, + 720, 721, 722, 723, 724, 725, 726, 727, 30, 43, + 729, 730, 31, 44, 732, 733, 562, 563, 564, 565, + 32, 45, 744, 745, 746, 747, 748, 749, 750, 751, + 752, 753, 754, 33, 46, 776, 777, 778, 779, 780, + 781, 782, 783, 784, 785, 786, 787, 788, 789, 790, + 791, 792, 793, 794, 795, 796, 797, 566, 567, 568, + 569, 570, 571, 572, 573, 574, 575, 576, 34, 47, + 800, 801, 802 +}; + +/* YYTABLE[YYPACT[STATE-NUM]] -- What to do in state STATE-NUM. If + positive, shift that token. If negative, reduce the rule whose + number is the opposite. If YYTABLE_NINF, syntax error. */ +static const yytype_int16 yytable[] = +{ + 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, + 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, + 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, + 78, 79, 80, 81, 798, 799, 728, 731, 82, 83, + 84, 803, 804, 805, 85, 86, 87, 88, 89, 90, + 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, + 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, + 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, + 121, 122, 123, 124, 125, 670, 671, 672, 673, 674, + 675, 676, 677, 806, 126, 127, 128, 129, 130, 807, + 131, 132, 133, 808, 809, 134, 135, 136, 137, 138, + 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, + 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, + 159, 810, 811, 812, 160, 624, 813, 161, 162, 163, + 164, 165, 166, 167, 814, 168, 169, 170, 171, 172, + 173, 174, 175, 176, 177, 178, 179, 180, 181, 815, + 816, 624, 734, 735, 736, 737, 738, 739, 740, 741, + 742, 743, 817, 818, 819, 820, 821, 822, 823, 824, + 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, + 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, + 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, + 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, + 222, 223, 224, 225, 226, 825, 227, 826, 228, 229, + 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, + 240, 241, 242, 243, 244, 245, 246, 827, 828, 829, + 830, 831, 832, 833, 834, 835, 836, 837, 247, 248, + 249, 250, 251, 252, 253, 254, 255, 256, 838, 839, + 840, 841, 842, 843, 577, 2, 578, 579, 844, 845, + 846, 594, 847, 848, 849, 0, 3, 4, 257, 595, + 596, 850, 851, 852, 853, 854, 258, 259, 855, 260, + 261, 856, 262, 263, 264, 265, 266, 857, 858, 267, + 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, + 278, 279, 280, 5, 859, 860, 281, 609, 861, 6, + 862, 863, 864, 865, 866, 282, 283, 284, 285, 580, + 867, 868, 286, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 869, 300, 870, 301, + 302, 303, 304, 610, 611, 305, 306, 307, 308, 309, + 310, 311, 581, 7, 871, 582, 872, 873, 597, 874, + 598, 875, 876, 599, 583, 877, 878, 879, 880, 881, + 612, 8, 626, 627, 628, 629, 882, 883, 884, 885, + 886, 887, 631, 888, 889, 890, 891, 892, 893, 894, + 895, 896, 897, 898, 899, 900, 625, 901, 626, 627, + 628, 629, 630, 902, 903, 904, 905, 906, 631, 649, + 650, 651, 652, 653, 907, 908, 909, 910, 911, 912, + 913, 914, 654, 915, 916, 917, 918, 9, 919, 920, + 921, 922, 923, 924, 925, 926, 927, 928, 929, 930, + 931, 932, 933, 934, 634, 635, 632, 633, 935, 936, + 937, 938, 939, 940, 613, 614, 941, 942, 943, 944, + 945, 946, 947, 948, 949, 950, 951, 952, 953, 954, + 634, 635, 755, 756, 757, 758, 759, 760, 761, 762, + 763, 764, 765, 766, 767, 768, 769, 770, 771, 772, + 773, 955, 956, 10, 957, 958, 959, 960, 961, 962, + 615, 963, 964, 965, 966, 967, 968, 969, 970, 971, + 972, 973, 974, 975, 976, 11, 977, 978, 979, 980, + 981, 982, 983, 984, 985, 986, 987, 988, 584, 989, + 990, 991, 992, 993, 600, 994, 12, 687, 688, 689, + 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, + 700, 701, 702, 703, 704, 705, 706, 995, 13, 774, + 996, 775, 997, 998, 999, 1000, 1001, 1002, 1003, 1004, + 1005, 1006, 1007, 1008, 1009, 1010, 1011, 1012, 1013, 1014, + 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, + 1025, 14, 1026, 1027, 1028, 15, 1029, 1030, 1031, 1032, + 1033, 16, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, + 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, + 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, + 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, + 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, + 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, + 1092, 1093, 1094, 1095, 1096, 1097, 1098, 1099, 1100, 1101, + 1102, 1103, 1104, 1105, 1106, 1107, 1108, 1109, 1110, 1111, + 1112, 1113, 1114, 1115, 1116, 1117, 1118, 1119, 1120, 1121, + 1122, 1123, 1124, 1125, 1126, 1127, 1128, 1129, 1130, 1131, + 1132, 1133, 1134, 1135, 1136, 1137, 1138, 1139, 1140, 1141, + 1142, 1143, 1144, 1145, 1146, 1147, 1148, 1149, 1150, 1151, + 1152, 1153, 1154, 1155, 1156, 1157, 1158, 1159, 1160, 1161, + 1162, 1163, 1164, 1165, 1166, 1167, 1168, 1169, 1170, 1171, + 1172, 1173, 1174, 1175, 1176, 1177, 1178, 1179, 1180, 1181, + 1182, 1183, 1184, 1185, 1186, 1187, 1188, 1189, 1190, 1191, + 1192, 1193, 1194, 1195, 1196, 1197, 1198, 1199, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 662, 663, + 664, 665, 666, 667, 668, 669 +}; + +static const yytype_int16 yycheck[] = +{ + 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, + 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, + 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, + 43, 44, 45, 46, 337, 338, 117, 347, 51, 52, + 53, 10, 10, 10, 57, 58, 59, 60, 61, 62, + 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, + 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, + 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, + 93, 94, 95, 96, 97, 99, 100, 101, 102, 103, + 104, 105, 106, 10, 107, 108, 109, 110, 111, 10, + 113, 114, 115, 10, 10, 118, 119, 120, 121, 122, + 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, + 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, + 143, 10, 10, 10, 147, 47, 10, 150, 151, 152, + 153, 154, 155, 156, 10, 158, 159, 160, 161, 162, + 163, 164, 165, 166, 167, 168, 169, 170, 171, 10, + 10, 47, 261, 262, 263, 264, 265, 266, 267, 268, + 269, 270, 10, 10, 10, 10, 10, 10, 10, 10, + 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, + 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, + 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, + 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, + 233, 234, 235, 236, 237, 10, 239, 10, 241, 242, + 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, + 253, 254, 255, 256, 257, 258, 259, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 271, 272, + 273, 274, 275, 276, 277, 278, 279, 280, 10, 10, + 10, 10, 10, 10, 47, 0, 49, 50, 10, 10, + 10, 47, 10, 10, 10, -1, 11, 12, 301, 55, + 56, 10, 10, 10, 10, 10, 309, 310, 10, 312, + 313, 10, 315, 316, 317, 318, 319, 10, 10, 322, + 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, + 333, 334, 335, 48, 10, 10, 339, 47, 10, 54, + 10, 10, 10, 10, 10, 348, 349, 350, 351, 112, + 10, 10, 355, 356, 357, 358, 359, 360, 361, 362, + 363, 364, 365, 366, 367, 368, 10, 370, 10, 372, + 373, 374, 375, 83, 84, 378, 379, 380, 381, 382, + 383, 384, 145, 98, 10, 148, 10, 10, 144, 10, + 146, 10, 10, 149, 157, 10, 10, 10, 10, 10, + 110, 116, 304, 305, 306, 307, 10, 10, 10, 10, + 10, 10, 314, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 302, 10, 304, 305, + 306, 307, 308, 10, 10, 10, 10, 10, 314, 341, + 342, 343, 344, 345, 10, 10, 10, 10, 10, 10, + 10, 10, 354, 10, 10, 10, 10, 172, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 376, 377, 352, 353, 10, 10, + 10, 10, 10, 10, 194, 195, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 376, 377, 282, 283, 284, 285, 286, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 300, 10, 10, 238, 10, 10, 10, 10, 10, 10, + 240, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 260, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 321, 10, + 10, 10, 10, 10, 320, 10, 281, 173, 174, 175, + 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, + 186, 187, 188, 189, 190, 191, 192, 10, 303, 369, + 10, 371, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 336, 10, 10, 10, 340, 10, 10, 10, 10, + 10, 346, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 40, 40, + 40, 40, 40, 40, 40, 40 +}; + +/* YYSTOS[STATE-NUM] -- The symbol kind of the accessing symbol of + state STATE-NUM. */ +static const yytype_int16 yystos[] = +{ + 0, 386, 0, 11, 12, 48, 54, 98, 116, 172, + 238, 260, 281, 303, 336, 340, 346, 387, 388, 389, + 392, 393, 396, 397, 400, 401, 404, 413, 699, 710, + 733, 737, 745, 758, 793, 390, 394, 398, 402, 405, + 414, 700, 711, 734, 738, 746, 759, 794, 13, 14, + 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, + 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, + 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, + 45, 46, 51, 52, 53, 57, 58, 59, 60, 61, + 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, + 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, + 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, + 92, 93, 94, 95, 96, 97, 107, 108, 109, 110, + 111, 113, 114, 115, 118, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, + 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, + 147, 150, 151, 152, 153, 154, 155, 156, 158, 159, + 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, + 170, 171, 193, 194, 195, 196, 197, 198, 199, 200, + 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, + 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, + 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, + 231, 232, 233, 234, 235, 236, 237, 239, 241, 242, + 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, + 253, 254, 255, 256, 257, 258, 259, 271, 272, 273, + 274, 275, 276, 277, 278, 279, 280, 301, 309, 310, + 312, 313, 315, 316, 317, 318, 319, 322, 323, 324, + 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, + 335, 339, 348, 349, 350, 351, 355, 356, 357, 358, + 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, + 370, 372, 373, 374, 375, 378, 379, 380, 381, 382, + 383, 384, 391, 416, 417, 418, 419, 420, 421, 422, + 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, + 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, + 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, + 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, + 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, + 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, + 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, + 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, + 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, + 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, + 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, + 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, + 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, + 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, + 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, + 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, + 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, + 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, + 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, + 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, + 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, + 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, + 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, + 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, + 663, 664, 741, 742, 743, 744, 782, 783, 784, 785, + 786, 787, 788, 789, 790, 791, 792, 47, 49, 50, + 112, 145, 148, 157, 321, 395, 665, 666, 667, 668, + 669, 670, 671, 672, 47, 55, 56, 144, 146, 149, + 320, 399, 673, 674, 675, 676, 677, 678, 679, 47, + 83, 84, 110, 194, 195, 240, 403, 692, 693, 694, + 695, 696, 697, 698, 47, 302, 304, 305, 306, 307, + 308, 314, 352, 353, 376, 377, 406, 680, 681, 682, + 683, 684, 685, 686, 687, 688, 689, 690, 691, 341, + 342, 343, 344, 345, 354, 407, 408, 409, 410, 411, + 412, 415, 680, 681, 682, 683, 684, 687, 690, 691, + 99, 100, 101, 102, 103, 104, 105, 106, 701, 702, + 703, 704, 705, 706, 707, 708, 709, 173, 174, 175, + 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, + 186, 187, 188, 189, 190, 191, 192, 712, 713, 714, + 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, + 725, 726, 727, 728, 729, 730, 731, 732, 117, 735, + 736, 347, 739, 740, 261, 262, 263, 264, 265, 266, + 267, 268, 269, 270, 747, 748, 749, 750, 751, 752, + 753, 754, 755, 756, 757, 282, 283, 284, 285, 286, + 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, + 297, 298, 299, 300, 369, 371, 760, 761, 762, 763, + 764, 765, 766, 767, 768, 769, 770, 771, 772, 773, + 774, 775, 776, 777, 778, 779, 780, 781, 337, 338, + 795, 796, 797, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10 +}; + +/* YYR1[RULE-NUM] -- Symbol kind of the left-hand side of rule RULE-NUM. */ +static const yytype_int16 yyr1[] = +{ + 0, 385, 386, 386, 387, 387, 387, 387, 387, 387, + 387, 387, 387, 387, 387, 387, 387, 387, 388, 389, + 390, 390, 391, 391, 391, 391, 391, 391, 391, 391, + 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, + 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, + 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, + 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, + 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, + 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, + 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, + 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, + 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, + 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, + 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, + 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, + 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, + 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, + 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, + 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, + 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, + 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, + 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, + 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, + 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, + 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, + 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, + 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, + 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, + 391, 391, 391, 391, 391, 391, 392, 393, 394, 394, + 395, 395, 395, 395, 395, 395, 395, 395, 396, 397, + 398, 398, 399, 399, 399, 399, 399, 399, 399, 400, + 401, 402, 402, 403, 403, 403, 403, 403, 403, 403, + 404, 405, 405, 406, 406, 406, 406, 406, 406, 406, + 406, 406, 406, 406, 406, 407, 408, 409, 410, 411, + 412, 413, 414, 414, 415, 415, 415, 415, 415, 415, + 415, 415, 415, 415, 415, 415, 415, 415, 416, 417, + 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, + 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, + 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, + 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, + 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, + 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, + 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, + 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, + 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, + 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, + 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, + 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, + 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, + 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, + 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, + 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, + 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, + 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, + 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, + 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, + 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, + 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, + 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, + 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, + 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, + 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, + 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, + 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, + 698, 699, 700, 700, 701, 701, 701, 701, 701, 701, + 701, 701, 702, 703, 704, 705, 706, 707, 708, 709, + 710, 711, 711, 712, 712, 712, 712, 712, 712, 712, + 712, 712, 712, 712, 712, 712, 712, 712, 712, 712, + 712, 712, 712, 713, 714, 715, 716, 717, 718, 719, + 720, 721, 722, 723, 724, 725, 726, 727, 728, 729, + 730, 731, 732, 733, 734, 734, 735, 736, 737, 738, + 738, 739, 740, 741, 742, 743, 744, 745, 746, 746, + 747, 747, 747, 747, 747, 747, 747, 747, 747, 747, + 748, 749, 750, 751, 752, 753, 754, 755, 756, 757, + 758, 759, 759, 760, 760, 760, 760, 760, 760, 760, + 760, 760, 760, 760, 760, 760, 760, 760, 760, 760, + 760, 760, 760, 760, 761, 762, 763, 764, 765, 766, + 767, 768, 769, 770, 771, 772, 773, 774, 775, 776, + 777, 778, 779, 780, 781, 782, 783, 784, 785, 786, + 787, 788, 789, 790, 791, 792, 793, 794, 794, 795, + 795, 796, 797 +}; + +/* YYR2[RULE-NUM] -- Number of symbols on the right-hand side of rule RULE-NUM. */ +static const yytype_int8 yyr2[] = +{ + 0, 2, 0, 2, 2, 1, 1, 2, 2, 2, + 1, 2, 2, 2, 2, 2, 2, 1, 1, 1, + 2, 0, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 2, 1, 2, 0, + 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, + 2, 0, 1, 1, 1, 1, 1, 1, 1, 2, + 1, 2, 0, 1, 1, 1, 1, 1, 1, 1, + 1, 2, 0, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, + 2, 1, 2, 0, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 3, 3, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, + 2, 2, 3, 3, 2, 2, 2, 2, 2, 2, + 3, 3, 4, 4, 4, 3, 3, 4, 4, 3, + 3, 2, 2, 2, 2, 2, 2, 2, 3, 3, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 3, 3, 3, 2, 2, + 2, 1, 2, 0, 1, 1, 1, 1, 1, 1, + 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, + 1, 2, 0, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 1, 2, 0, 1, 2, 1, 2, + 0, 1, 2, 2, 2, 3, 3, 1, 2, 0, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 1, 2, 0, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 1, 2, 0, 1, + 1, 2, 2 +}; + + +enum { YYENOMEM = -2 }; + +#define yyerrok (yyerrstatus = 0) +#define yyclearin (yychar = YYEMPTY) + +#define YYACCEPT goto yyacceptlab +#define YYABORT goto yyabortlab +#define YYERROR goto yyerrorlab +#define YYNOMEM goto yyexhaustedlab + + +#define YYRECOVERING() (!!yyerrstatus) + +#define YYBACKUP(Token, Value) \ + do \ + if (yychar == YYEMPTY) \ + { \ + yychar = (Token); \ + yylval = (Value); \ + YYPOPSTACK (yylen); \ + yystate = *yyssp; \ + goto yybackup; \ + } \ + else \ + { \ + yyerror (YY_("syntax error: cannot back up")); \ + YYERROR; \ + } \ + while (0) + +/* Backward compatibility with an undocumented macro. + Use YYerror or YYUNDEF. */ +#define YYERRCODE YYUNDEF + + +/* Enable debugging if requested. */ +#if YYDEBUG + +# ifndef YYFPRINTF +# include <stdio.h> /* INFRINGES ON USER NAME SPACE */ +# define YYFPRINTF fprintf +# endif + +# define YYDPRINTF(Args) \ +do { \ + if (yydebug) \ + YYFPRINTF Args; \ +} while (0) + + + + +# define YY_SYMBOL_PRINT(Title, Kind, Value, Location) \ +do { \ + if (yydebug) \ + { \ + YYFPRINTF (stderr, "%s ", Title); \ + yy_symbol_print (stderr, \ + Kind, Value); \ + YYFPRINTF (stderr, "\n"); \ + } \ +} while (0) + + +/*-----------------------------------. +| Print this symbol's value on YYO. | +`-----------------------------------*/ + +static void +yy_symbol_value_print (FILE *yyo, + yysymbol_kind_t yykind, YYSTYPE const * const yyvaluep) +{ + FILE *yyoutput = yyo; + YY_USE (yyoutput); + if (!yyvaluep) + return; + YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN + YY_USE (yykind); + YY_IGNORE_MAYBE_UNINITIALIZED_END +} + + +/*---------------------------. +| Print this symbol on YYO. | +`---------------------------*/ + +static void +yy_symbol_print (FILE *yyo, + yysymbol_kind_t yykind, YYSTYPE const * const yyvaluep) +{ + YYFPRINTF (yyo, "%s %s (", + yykind < YYNTOKENS ? "token" : "nterm", yysymbol_name (yykind)); + + yy_symbol_value_print (yyo, yykind, yyvaluep); + YYFPRINTF (yyo, ")"); +} + +/*------------------------------------------------------------------. +| yy_stack_print -- Print the state stack from its BOTTOM up to its | +| TOP (included). | +`------------------------------------------------------------------*/ + +static void +yy_stack_print (yy_state_t *yybottom, yy_state_t *yytop) +{ + YYFPRINTF (stderr, "Stack now"); + for (; yybottom <= yytop; yybottom++) + { + int yybot = *yybottom; + YYFPRINTF (stderr, " %d", yybot); + } + YYFPRINTF (stderr, "\n"); +} + +# define YY_STACK_PRINT(Bottom, Top) \ +do { \ + if (yydebug) \ + yy_stack_print ((Bottom), (Top)); \ +} while (0) + + +/*------------------------------------------------. +| Report that the YYRULE is going to be reduced. | +`------------------------------------------------*/ + +static void +yy_reduce_print (yy_state_t *yyssp, YYSTYPE *yyvsp, + int yyrule) +{ + int yylno = yyrline[yyrule]; + int yynrhs = yyr2[yyrule]; + int yyi; + YYFPRINTF (stderr, "Reducing stack by rule %d (line %d):\n", + yyrule - 1, yylno); + /* The symbols being reduced. */ + for (yyi = 0; yyi < yynrhs; yyi++) + { + YYFPRINTF (stderr, " $%d = ", yyi + 1); + yy_symbol_print (stderr, + YY_ACCESSING_SYMBOL (+yyssp[yyi + 1 - yynrhs]), + &yyvsp[(yyi + 1) - (yynrhs)]); + YYFPRINTF (stderr, "\n"); + } +} + +# define YY_REDUCE_PRINT(Rule) \ +do { \ + if (yydebug) \ + yy_reduce_print (yyssp, yyvsp, Rule); \ +} while (0) + +/* Nonzero means print parse trace. It is left uninitialized so that + multiple parsers can coexist. */ +int yydebug; +#else /* !YYDEBUG */ +# define YYDPRINTF(Args) ((void) 0) +# define YY_SYMBOL_PRINT(Title, Kind, Value, Location) +# define YY_STACK_PRINT(Bottom, Top) +# define YY_REDUCE_PRINT(Rule) +#endif /* !YYDEBUG */ + + +/* YYINITDEPTH -- initial size of the parser's stacks. */ +#ifndef YYINITDEPTH +# define YYINITDEPTH 200 +#endif + +/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only + if the built-in stack extension method is used). + + Do not make this value too large; the results are undefined if + YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH) + evaluated with infinite-precision integer arithmetic. */ + +#ifndef YYMAXDEPTH +# define YYMAXDEPTH 10000 +#endif + + + + + + +/*-----------------------------------------------. +| Release the memory associated to this symbol. | +`-----------------------------------------------*/ + +static void +yydestruct (const char *yymsg, + yysymbol_kind_t yykind, YYSTYPE *yyvaluep) +{ + YY_USE (yyvaluep); + if (!yymsg) + yymsg = "Deleting"; + YY_SYMBOL_PRINT (yymsg, yykind, yyvaluep, yylocationp); + + YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN + YY_USE (yykind); + YY_IGNORE_MAYBE_UNINITIALIZED_END +} + + +/* Lookahead token kind. */ +int yychar; + +/* The semantic value of the lookahead symbol. */ +YYSTYPE yylval; +/* Number of syntax errors so far. */ +int yynerrs; + + + + +/*----------. +| yyparse. | +`----------*/ + +int +yyparse (void) +{ + yy_state_fast_t yystate = 0; + /* Number of tokens to shift before error messages enabled. */ + int yyerrstatus = 0; + + /* Refer to the stacks through separate pointers, to allow yyoverflow + to reallocate them elsewhere. */ + + /* Their size. */ + YYPTRDIFF_T yystacksize = YYINITDEPTH; + + /* The state stack: array, bottom, top. */ + yy_state_t yyssa[YYINITDEPTH]; + yy_state_t *yyss = yyssa; + yy_state_t *yyssp = yyss; + + /* The semantic value stack: array, bottom, top. */ + YYSTYPE yyvsa[YYINITDEPTH]; + YYSTYPE *yyvs = yyvsa; + YYSTYPE *yyvsp = yyvs; + + int yyn; + /* The return value of yyparse. */ + int yyresult; + /* Lookahead symbol kind. */ + yysymbol_kind_t yytoken = YYSYMBOL_YYEMPTY; + /* The variables used to return semantic value and location from the + action routines. */ + YYSTYPE yyval; + + + +#define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) + + /* The number of symbols on the RHS of the reduced rule. + Keep to zero when no symbol should be popped. */ + int yylen = 0; + + YYDPRINTF ((stderr, "Starting parse\n")); + + yychar = YYEMPTY; /* Cause a token to be read. */ + + goto yysetstate; + + +/*------------------------------------------------------------. +| yynewstate -- push a new state, which is found in yystate. | +`------------------------------------------------------------*/ +yynewstate: + /* In all cases, when you get here, the value and location stacks + have just been pushed. So pushing a state here evens the stacks. */ + yyssp++; + + +/*--------------------------------------------------------------------. +| yysetstate -- set current state (the top of the stack) to yystate. | +`--------------------------------------------------------------------*/ +yysetstate: + YYDPRINTF ((stderr, "Entering state %d\n", yystate)); + YY_ASSERT (0 <= yystate && yystate < YYNSTATES); + YY_IGNORE_USELESS_CAST_BEGIN + *yyssp = YY_CAST (yy_state_t, yystate); + YY_IGNORE_USELESS_CAST_END + YY_STACK_PRINT (yyss, yyssp); + + if (yyss + yystacksize - 1 <= yyssp) +#if !defined yyoverflow && !defined YYSTACK_RELOCATE + YYNOMEM; +#else + { + /* Get the current used size of the three stacks, in elements. */ + YYPTRDIFF_T yysize = yyssp - yyss + 1; + +# if defined yyoverflow + { + /* Give user a chance to reallocate the stack. Use copies of + these so that the &'s don't force the real ones into + memory. */ + yy_state_t *yyss1 = yyss; + YYSTYPE *yyvs1 = yyvs; + + /* Each stack pointer address is followed by the size of the + data in use in that stack, in bytes. This used to be a + conditional around just the two extra args, but that might + be undefined if yyoverflow is a macro. */ + yyoverflow (YY_("memory exhausted"), + &yyss1, yysize * YYSIZEOF (*yyssp), + &yyvs1, yysize * YYSIZEOF (*yyvsp), + &yystacksize); + yyss = yyss1; + yyvs = yyvs1; + } +# else /* defined YYSTACK_RELOCATE */ + /* Extend the stack our own way. */ + if (YYMAXDEPTH <= yystacksize) + YYNOMEM; + yystacksize *= 2; + if (YYMAXDEPTH < yystacksize) + yystacksize = YYMAXDEPTH; + + { + yy_state_t *yyss1 = yyss; + union yyalloc *yyptr = + YY_CAST (union yyalloc *, + YYSTACK_ALLOC (YY_CAST (YYSIZE_T, YYSTACK_BYTES (yystacksize)))); + if (! yyptr) + YYNOMEM; + YYSTACK_RELOCATE (yyss_alloc, yyss); + YYSTACK_RELOCATE (yyvs_alloc, yyvs); +# undef YYSTACK_RELOCATE + if (yyss1 != yyssa) + YYSTACK_FREE (yyss1); + } +# endif + + yyssp = yyss + yysize - 1; + yyvsp = yyvs + yysize - 1; + + YY_IGNORE_USELESS_CAST_BEGIN + YYDPRINTF ((stderr, "Stack size increased to %ld\n", + YY_CAST (long, yystacksize))); + YY_IGNORE_USELESS_CAST_END + + if (yyss + yystacksize - 1 <= yyssp) + YYABORT; + } +#endif /* !defined yyoverflow && !defined YYSTACK_RELOCATE */ + + + if (yystate == YYFINAL) + YYACCEPT; + + goto yybackup; + + +/*-----------. +| yybackup. | +`-----------*/ +yybackup: + /* Do appropriate processing given the current state. Read a + lookahead token if we need one and don't already have one. */ + + /* First try to decide what to do without reference to lookahead token. */ + yyn = yypact[yystate]; + if (yypact_value_is_default (yyn)) + goto yydefault; + + /* Not known => get a lookahead token if don't already have one. */ + + /* YYCHAR is either empty, or end-of-input, or a valid lookahead. */ + if (yychar == YYEMPTY) + { + YYDPRINTF ((stderr, "Reading a token\n")); + yychar = yylex (); + } + + if (yychar <= YYEOF) + { + yychar = YYEOF; + yytoken = YYSYMBOL_YYEOF; + YYDPRINTF ((stderr, "Now at end of input.\n")); + } + else if (yychar == YYerror) + { + /* The scanner already issued an error message, process directly + to error recovery. But do not keep the error token as + lookahead, it is too special and may lead us to an endless + loop in error recovery. */ + yychar = YYUNDEF; + yytoken = YYSYMBOL_YYerror; + goto yyerrlab1; + } + else + { + yytoken = YYTRANSLATE (yychar); + YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc); + } + + /* If the proper action on seeing token YYTOKEN is to reduce or to + detect an error, take that action. */ + yyn += yytoken; + if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) + goto yydefault; + yyn = yytable[yyn]; + if (yyn <= 0) + { + if (yytable_value_is_error (yyn)) + goto yyerrlab; + yyn = -yyn; + goto yyreduce; + } + + /* Count tokens shifted since error; after three, turn off error + status. */ + if (yyerrstatus) + yyerrstatus--; + + /* Shift the lookahead token. */ + YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); + yystate = yyn; + YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN + *++yyvsp = yylval; + YY_IGNORE_MAYBE_UNINITIALIZED_END + + /* Discard the shifted token. */ + yychar = YYEMPTY; + goto yynewstate; + + +/*-----------------------------------------------------------. +| yydefault -- do the default action for the current state. | +`-----------------------------------------------------------*/ +yydefault: + yyn = yydefact[yystate]; + if (yyn == 0) + goto yyerrlab; + goto yyreduce; + + +/*-----------------------------. +| yyreduce -- do a reduction. | +`-----------------------------*/ +yyreduce: + /* yyn is the number of a rule to reduce with. */ + yylen = yyr2[yyn]; + + /* If YYLEN is nonzero, implement the default value of the action: + '$$ = $1'. + + Otherwise, the following line sets YYVAL to garbage. + This behavior is undocumented and Bison + users should not rely upon it. Assigning to YYVAL + unconditionally makes the parser a bit smaller, and it avoids a + GCC warning that YYVAL may be used uninitialized. */ + yyval = yyvsp[1-yylen]; + + + YY_REDUCE_PRINT (yyn); + switch (yyn) + { + case 18: /* force_toplevel: VAR_FORCE_TOPLEVEL */ +#line 235 "util/configparser.y" + { + OUTYY(("\nP(force-toplevel)\n")); + cfg_parser->started_toplevel = 0; + } +#line 3077 "util/configparser.c" + break; + + case 19: /* serverstart: VAR_SERVER */ +#line 242 "util/configparser.y" + { + OUTYY(("\nP(server:)\n")); + cfg_parser->started_toplevel = 1; + } +#line 3086 "util/configparser.c" + break; + + case 286: /* stub_clause: stubstart contents_stub */ +#line 369 "util/configparser.y" + { + /* stub end */ + if(cfg_parser->cfg->stubs && + !cfg_parser->cfg->stubs->name) + yyerror("stub-zone without name"); + } +#line 3097 "util/configparser.c" + break; + + case 287: /* stubstart: VAR_STUB_ZONE */ +#line 377 "util/configparser.y" + { + struct config_stub* s; + OUTYY(("\nP(stub_zone:)\n")); + cfg_parser->started_toplevel = 1; + s = (struct config_stub*)calloc(1, sizeof(struct config_stub)); + if(s) { + s->next = cfg_parser->cfg->stubs; + cfg_parser->cfg->stubs = s; + } else { + yyerror("out of memory"); + } + } +#line 3114 "util/configparser.c" + break; + + case 298: /* forward_clause: forwardstart contents_forward */ +#line 396 "util/configparser.y" + { + /* forward end */ + if(cfg_parser->cfg->forwards && + !cfg_parser->cfg->forwards->name) + yyerror("forward-zone without name"); + } +#line 3125 "util/configparser.c" + break; + + case 299: /* forwardstart: VAR_FORWARD_ZONE */ +#line 404 "util/configparser.y" + { + struct config_stub* s; + OUTYY(("\nP(forward_zone:)\n")); + cfg_parser->started_toplevel = 1; + s = (struct config_stub*)calloc(1, sizeof(struct config_stub)); + if(s) { + s->next = cfg_parser->cfg->forwards; + cfg_parser->cfg->forwards = s; + } else { + yyerror("out of memory"); + } + } +#line 3142 "util/configparser.c" + break; + + case 309: /* view_clause: viewstart contents_view */ +#line 423 "util/configparser.y" + { + /* view end */ + if(cfg_parser->cfg->views && + !cfg_parser->cfg->views->name) + yyerror("view without name"); + } +#line 3153 "util/configparser.c" + break; + + case 310: /* viewstart: VAR_VIEW */ +#line 431 "util/configparser.y" + { + struct config_view* s; + OUTYY(("\nP(view:)\n")); + cfg_parser->started_toplevel = 1; + s = (struct config_view*)calloc(1, sizeof(struct config_view)); + if(s) { + s->next = cfg_parser->cfg->views; + cfg_parser->cfg->views = s; + } else { + yyerror("out of memory"); + } + } +#line 3170 "util/configparser.c" + break; + + case 320: /* authstart: VAR_AUTH_ZONE */ +#line 450 "util/configparser.y" + { + struct config_auth* s; + OUTYY(("\nP(auth_zone:)\n")); + cfg_parser->started_toplevel = 1; + s = (struct config_auth*)calloc(1, sizeof(struct config_auth)); + if(s) { + s->next = cfg_parser->cfg->auths; + cfg_parser->cfg->auths = s; + /* defaults for auth zone */ + s->for_downstream = 1; + s->for_upstream = 1; + s->fallback_enabled = 0; + s->zonemd_check = 0; + s->zonemd_reject_absence = 0; + s->isrpz = 0; + s->max_transfer_size = 0; + s->max_transfer_time = 0; + } else { + yyerror("out of memory"); + } + } +#line 3196 "util/configparser.c" + break; + + case 335: /* rpz_tag: VAR_TAGS STRING_ARG */ +#line 481 "util/configparser.y" + { + uint8_t* bitlist; + size_t len = 0; + OUTYY(("P(server_local_zone_tag:%s)\n", (yyvsp[0].str))); + bitlist = config_parse_taglist(cfg_parser->cfg, (yyvsp[0].str), + &len); + free((yyvsp[0].str)); + if(!bitlist) { + yyerror("could not parse tags, (define-tag them first)"); + } + if(bitlist) { + cfg_parser->cfg->auths->rpz_taglist = bitlist; + cfg_parser->cfg->auths->rpz_taglistlen = len; + + } + } +#line 3217 "util/configparser.c" + break; + + case 336: /* rpz_action_override: VAR_RPZ_ACTION_OVERRIDE STRING_ARG */ +#line 500 "util/configparser.y" + { + OUTYY(("P(rpz_action_override:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "nxdomain")!=0 && strcmp((yyvsp[0].str), "nodata")!=0 && + strcmp((yyvsp[0].str), "passthru")!=0 && strcmp((yyvsp[0].str), "drop")!=0 && + strcmp((yyvsp[0].str), "cname")!=0 && strcmp((yyvsp[0].str), "disabled")!=0) { + yyerror("rpz-action-override action: expected nxdomain, " + "nodata, passthru, drop, cname or disabled"); + free((yyvsp[0].str)); + cfg_parser->cfg->auths->rpz_action_override = NULL; + } + else { + cfg_parser->cfg->auths->rpz_action_override = (yyvsp[0].str); + } + } +#line 3236 "util/configparser.c" + break; + + case 337: /* rpz_cname_override: VAR_RPZ_CNAME_OVERRIDE STRING_ARG */ +#line 517 "util/configparser.y" + { + OUTYY(("P(rpz_cname_override:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->auths->rpz_cname); + cfg_parser->cfg->auths->rpz_cname = (yyvsp[0].str); + } +#line 3246 "util/configparser.c" + break; + + case 338: /* rpz_log: VAR_RPZ_LOG STRING_ARG */ +#line 525 "util/configparser.y" + { + OUTYY(("P(rpz_log:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->auths->rpz_log = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 3258 "util/configparser.c" + break; + + case 339: /* rpz_log_name: VAR_RPZ_LOG_NAME STRING_ARG */ +#line 535 "util/configparser.y" + { + OUTYY(("P(rpz_log_name:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->auths->rpz_log_name); + cfg_parser->cfg->auths->rpz_log_name = (yyvsp[0].str); + } +#line 3268 "util/configparser.c" + break; + + case 340: /* rpz_signal_nxdomain_ra: VAR_RPZ_SIGNAL_NXDOMAIN_RA STRING_ARG */ +#line 542 "util/configparser.y" + { + OUTYY(("P(rpz_signal_nxdomain_ra:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->auths->rpz_signal_nxdomain_ra = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 3280 "util/configparser.c" + break; + + case 341: /* rpzstart: VAR_RPZ */ +#line 552 "util/configparser.y" + { + struct config_auth* s; + OUTYY(("\nP(rpz:)\n")); + cfg_parser->started_toplevel = 1; + s = (struct config_auth*)calloc(1, sizeof(struct config_auth)); + if(s) { + s->next = cfg_parser->cfg->auths; + cfg_parser->cfg->auths = s; + /* defaults for RPZ auth zone */ + s->for_downstream = 0; + s->for_upstream = 0; + s->fallback_enabled = 0; + s->isrpz = 1; + s->max_transfer_size = 0; + s->max_transfer_time = 0; + } else { + yyerror("out of memory"); + } + } +#line 3304 "util/configparser.c" + break; + + case 358: /* server_num_threads: VAR_NUM_THREADS STRING_ARG */ +#line 580 "util/configparser.y" + { + OUTYY(("P(server_num_threads:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->num_threads = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 3316 "util/configparser.c" + break; + + case 359: /* server_verbosity: VAR_VERBOSITY STRING_ARG */ +#line 589 "util/configparser.y" + { + OUTYY(("P(server_verbosity:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->verbosity = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 3328 "util/configparser.c" + break; + + case 360: /* server_statistics_interval: VAR_STATISTICS_INTERVAL STRING_ARG */ +#line 598 "util/configparser.y" + { + OUTYY(("P(server_statistics_interval:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "") == 0 || strcmp((yyvsp[0].str), "0") == 0) + cfg_parser->cfg->stat_interval = 0; + else if(atoi((yyvsp[0].str)) == 0) + yyerror("number expected"); + else cfg_parser->cfg->stat_interval = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 3342 "util/configparser.c" + break; + + case 361: /* server_statistics_cumulative: VAR_STATISTICS_CUMULATIVE STRING_ARG */ +#line 609 "util/configparser.y" + { + OUTYY(("P(server_statistics_cumulative:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->stat_cumulative = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 3354 "util/configparser.c" + break; + + case 362: /* server_extended_statistics: VAR_EXTENDED_STATISTICS STRING_ARG */ +#line 618 "util/configparser.y" + { + OUTYY(("P(server_extended_statistics:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->stat_extended = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 3366 "util/configparser.c" + break; + + case 363: /* server_statistics_inhibit_zero: VAR_STATISTICS_INHIBIT_ZERO STRING_ARG */ +#line 627 "util/configparser.y" + { + OUTYY(("P(server_statistics_inhibit_zero:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->stat_inhibit_zero = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 3378 "util/configparser.c" + break; + + case 364: /* server_shm_enable: VAR_SHM_ENABLE STRING_ARG */ +#line 636 "util/configparser.y" + { + OUTYY(("P(server_shm_enable:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->shm_enable = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 3390 "util/configparser.c" + break; + + case 365: /* server_shm_key: VAR_SHM_KEY STRING_ARG */ +#line 645 "util/configparser.y" + { + OUTYY(("P(server_shm_key:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "") == 0 || strcmp((yyvsp[0].str), "0") == 0) + cfg_parser->cfg->shm_key = 0; + else if(atoi((yyvsp[0].str)) == 0) + yyerror("number expected"); + else cfg_parser->cfg->shm_key = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 3404 "util/configparser.c" + break; + + case 366: /* server_port: VAR_PORT STRING_ARG */ +#line 656 "util/configparser.y" + { + OUTYY(("P(server_port:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0) + yyerror("port number expected"); + else cfg_parser->cfg->port = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 3416 "util/configparser.c" + break; + + case 367: /* server_send_client_subnet: VAR_SEND_CLIENT_SUBNET STRING_ARG */ +#line 665 "util/configparser.y" + { + #ifdef CLIENT_SUBNET + OUTYY(("P(server_send_client_subnet:%s)\n", (yyvsp[0].str))); + if(!cfg_strlist_insert(&cfg_parser->cfg->client_subnet, (yyvsp[0].str))) + yyerror("out of memory"); + #else + OUTYY(("P(Compiled without edns subnet option, ignoring)\n")); + free((yyvsp[0].str)); + #endif + } +#line 3431 "util/configparser.c" + break; + + case 368: /* server_client_subnet_zone: VAR_CLIENT_SUBNET_ZONE STRING_ARG */ +#line 677 "util/configparser.y" + { + #ifdef CLIENT_SUBNET + OUTYY(("P(server_client_subnet_zone:%s)\n", (yyvsp[0].str))); + if(!cfg_strlist_insert(&cfg_parser->cfg->client_subnet_zone, + (yyvsp[0].str))) + yyerror("out of memory"); + #else + OUTYY(("P(Compiled without edns subnet option, ignoring)\n")); + free((yyvsp[0].str)); + #endif + } +#line 3447 "util/configparser.c" + break; + + case 369: /* server_client_subnet_always_forward: VAR_CLIENT_SUBNET_ALWAYS_FORWARD STRING_ARG */ +#line 691 "util/configparser.y" + { + #ifdef CLIENT_SUBNET + OUTYY(("P(server_client_subnet_always_forward:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else + cfg_parser->cfg->client_subnet_always_forward = + (strcmp((yyvsp[0].str), "yes")==0); + #else + OUTYY(("P(Compiled without edns subnet option, ignoring)\n")); + #endif + free((yyvsp[0].str)); + } +#line 3465 "util/configparser.c" + break; + + case 370: /* server_client_subnet_opcode: VAR_CLIENT_SUBNET_OPCODE STRING_ARG */ +#line 706 "util/configparser.y" + { + #ifdef CLIENT_SUBNET + OUTYY(("P(client_subnet_opcode:%s)\n", (yyvsp[0].str))); + OUTYY(("P(Deprecated option, ignoring)\n")); + #else + OUTYY(("P(Compiled without edns subnet option, ignoring)\n")); + #endif + free((yyvsp[0].str)); + } +#line 3479 "util/configparser.c" + break; + + case 371: /* server_max_client_subnet_ipv4: VAR_MAX_CLIENT_SUBNET_IPV4 STRING_ARG */ +#line 717 "util/configparser.y" + { + #ifdef CLIENT_SUBNET + OUTYY(("P(max_client_subnet_ipv4:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("IPv4 subnet length expected"); + else if (atoi((yyvsp[0].str)) > 32) + cfg_parser->cfg->max_client_subnet_ipv4 = 32; + else if (atoi((yyvsp[0].str)) < 0) + cfg_parser->cfg->max_client_subnet_ipv4 = 0; + else cfg_parser->cfg->max_client_subnet_ipv4 = (uint8_t)atoi((yyvsp[0].str)); + #else + OUTYY(("P(Compiled without edns subnet option, ignoring)\n")); + #endif + free((yyvsp[0].str)); + } +#line 3499 "util/configparser.c" + break; + + case 372: /* server_max_client_subnet_ipv6: VAR_MAX_CLIENT_SUBNET_IPV6 STRING_ARG */ +#line 734 "util/configparser.y" + { + #ifdef CLIENT_SUBNET + OUTYY(("P(max_client_subnet_ipv6:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("Ipv6 subnet length expected"); + else if (atoi((yyvsp[0].str)) > 128) + cfg_parser->cfg->max_client_subnet_ipv6 = 128; + else if (atoi((yyvsp[0].str)) < 0) + cfg_parser->cfg->max_client_subnet_ipv6 = 0; + else cfg_parser->cfg->max_client_subnet_ipv6 = (uint8_t)atoi((yyvsp[0].str)); + #else + OUTYY(("P(Compiled without edns subnet option, ignoring)\n")); + #endif + free((yyvsp[0].str)); + } +#line 3519 "util/configparser.c" + break; + + case 373: /* server_min_client_subnet_ipv4: VAR_MIN_CLIENT_SUBNET_IPV4 STRING_ARG */ +#line 751 "util/configparser.y" + { + #ifdef CLIENT_SUBNET + OUTYY(("P(min_client_subnet_ipv4:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("IPv4 subnet length expected"); + else if (atoi((yyvsp[0].str)) > 32) + cfg_parser->cfg->min_client_subnet_ipv4 = 32; + else if (atoi((yyvsp[0].str)) < 0) + cfg_parser->cfg->min_client_subnet_ipv4 = 0; + else cfg_parser->cfg->min_client_subnet_ipv4 = (uint8_t)atoi((yyvsp[0].str)); + #else + OUTYY(("P(Compiled without edns subnet option, ignoring)\n")); + #endif + free((yyvsp[0].str)); + } +#line 3539 "util/configparser.c" + break; + + case 374: /* server_min_client_subnet_ipv6: VAR_MIN_CLIENT_SUBNET_IPV6 STRING_ARG */ +#line 768 "util/configparser.y" + { + #ifdef CLIENT_SUBNET + OUTYY(("P(min_client_subnet_ipv6:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("Ipv6 subnet length expected"); + else if (atoi((yyvsp[0].str)) > 128) + cfg_parser->cfg->min_client_subnet_ipv6 = 128; + else if (atoi((yyvsp[0].str)) < 0) + cfg_parser->cfg->min_client_subnet_ipv6 = 0; + else cfg_parser->cfg->min_client_subnet_ipv6 = (uint8_t)atoi((yyvsp[0].str)); + #else + OUTYY(("P(Compiled without edns subnet option, ignoring)\n")); + #endif + free((yyvsp[0].str)); + } +#line 3559 "util/configparser.c" + break; + + case 375: /* server_max_ecs_tree_size_ipv4: VAR_MAX_ECS_TREE_SIZE_IPV4 STRING_ARG */ +#line 785 "util/configparser.y" + { + #ifdef CLIENT_SUBNET + OUTYY(("P(max_ecs_tree_size_ipv4:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("IPv4 ECS tree size expected"); + else if (atoi((yyvsp[0].str)) < 0) + cfg_parser->cfg->max_ecs_tree_size_ipv4 = 0; + else cfg_parser->cfg->max_ecs_tree_size_ipv4 = (uint32_t)atoi((yyvsp[0].str)); + #else + OUTYY(("P(Compiled without edns subnet option, ignoring)\n")); + #endif + free((yyvsp[0].str)); + } +#line 3577 "util/configparser.c" + break; + + case 376: /* server_max_ecs_tree_size_ipv6: VAR_MAX_ECS_TREE_SIZE_IPV6 STRING_ARG */ +#line 800 "util/configparser.y" + { + #ifdef CLIENT_SUBNET + OUTYY(("P(max_ecs_tree_size_ipv6:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("IPv6 ECS tree size expected"); + else if (atoi((yyvsp[0].str)) < 0) + cfg_parser->cfg->max_ecs_tree_size_ipv6 = 0; + else cfg_parser->cfg->max_ecs_tree_size_ipv6 = (uint32_t)atoi((yyvsp[0].str)); + #else + OUTYY(("P(Compiled without edns subnet option, ignoring)\n")); + #endif + free((yyvsp[0].str)); + } +#line 3595 "util/configparser.c" + break; + + case 377: /* server_interface: VAR_INTERFACE STRING_ARG */ +#line 815 "util/configparser.y" + { + OUTYY(("P(server_interface:%s)\n", (yyvsp[0].str))); + if(cfg_parser->cfg->num_ifs == 0) + cfg_parser->cfg->ifs = calloc(1, sizeof(char*)); + else cfg_parser->cfg->ifs = realloc(cfg_parser->cfg->ifs, + (cfg_parser->cfg->num_ifs+1)*sizeof(char*)); + if(!cfg_parser->cfg->ifs) + yyerror("out of memory"); + else + cfg_parser->cfg->ifs[cfg_parser->cfg->num_ifs++] = (yyvsp[0].str); + } +#line 3611 "util/configparser.c" + break; + + case 378: /* server_outgoing_interface: VAR_OUTGOING_INTERFACE STRING_ARG */ +#line 828 "util/configparser.y" + { + OUTYY(("P(server_outgoing_interface:%s)\n", (yyvsp[0].str))); + if(cfg_parser->cfg->num_out_ifs == 0) + cfg_parser->cfg->out_ifs = calloc(1, sizeof(char*)); + else cfg_parser->cfg->out_ifs = realloc( + cfg_parser->cfg->out_ifs, + (cfg_parser->cfg->num_out_ifs+1)*sizeof(char*)); + if(!cfg_parser->cfg->out_ifs) + yyerror("out of memory"); + else + cfg_parser->cfg->out_ifs[ + cfg_parser->cfg->num_out_ifs++] = (yyvsp[0].str); + } +#line 3629 "util/configparser.c" + break; + + case 379: /* server_outgoing_range: VAR_OUTGOING_RANGE STRING_ARG */ +#line 843 "util/configparser.y" + { + OUTYY(("P(server_outgoing_range:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0) + yyerror("number expected"); + else cfg_parser->cfg->outgoing_num_ports = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 3641 "util/configparser.c" + break; + + case 380: /* server_outgoing_port_permit: VAR_OUTGOING_PORT_PERMIT STRING_ARG */ +#line 852 "util/configparser.y" + { + OUTYY(("P(server_outgoing_port_permit:%s)\n", (yyvsp[0].str))); + if(!cfg_mark_ports((yyvsp[0].str), 1, + cfg_parser->cfg->outgoing_avail_ports, 65536)) + yyerror("port number or range (\"low-high\") expected"); + free((yyvsp[0].str)); + } +#line 3653 "util/configparser.c" + break; + + case 381: /* server_outgoing_port_avoid: VAR_OUTGOING_PORT_AVOID STRING_ARG */ +#line 861 "util/configparser.y" + { + OUTYY(("P(server_outgoing_port_avoid:%s)\n", (yyvsp[0].str))); + if(!cfg_mark_ports((yyvsp[0].str), 0, + cfg_parser->cfg->outgoing_avail_ports, 65536)) + yyerror("port number or range (\"low-high\") expected"); + free((yyvsp[0].str)); + } +#line 3665 "util/configparser.c" + break; + + case 382: /* server_outgoing_num_tcp: VAR_OUTGOING_NUM_TCP STRING_ARG */ +#line 870 "util/configparser.y" + { + OUTYY(("P(server_outgoing_num_tcp:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->outgoing_num_tcp = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 3677 "util/configparser.c" + break; + + case 383: /* server_incoming_num_tcp: VAR_INCOMING_NUM_TCP STRING_ARG */ +#line 879 "util/configparser.y" + { + OUTYY(("P(server_incoming_num_tcp:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->incoming_num_tcp = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 3689 "util/configparser.c" + break; + + case 384: /* server_interface_automatic: VAR_INTERFACE_AUTOMATIC STRING_ARG */ +#line 888 "util/configparser.y" + { + OUTYY(("P(server_interface_automatic:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->if_automatic = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 3701 "util/configparser.c" + break; + + case 385: /* server_interface_automatic_ports: VAR_INTERFACE_AUTOMATIC_PORTS STRING_ARG */ +#line 897 "util/configparser.y" + { + OUTYY(("P(server_interface_automatic_ports:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->if_automatic_ports); + cfg_parser->cfg->if_automatic_ports = (yyvsp[0].str); + } +#line 3711 "util/configparser.c" + break; + + case 386: /* server_do_ip4: VAR_DO_IP4 STRING_ARG */ +#line 904 "util/configparser.y" + { + OUTYY(("P(server_do_ip4:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->do_ip4 = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 3723 "util/configparser.c" + break; + + case 387: /* server_do_ip6: VAR_DO_IP6 STRING_ARG */ +#line 913 "util/configparser.y" + { + OUTYY(("P(server_do_ip6:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->do_ip6 = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 3735 "util/configparser.c" + break; + + case 388: /* server_do_nat64: VAR_DO_NAT64 STRING_ARG */ +#line 922 "util/configparser.y" + { + OUTYY(("P(server_do_nat64:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->do_nat64 = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 3747 "util/configparser.c" + break; + + case 389: /* server_do_udp: VAR_DO_UDP STRING_ARG */ +#line 931 "util/configparser.y" + { + OUTYY(("P(server_do_udp:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->do_udp = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 3759 "util/configparser.c" + break; + + case 390: /* server_do_tcp: VAR_DO_TCP STRING_ARG */ +#line 940 "util/configparser.y" + { + OUTYY(("P(server_do_tcp:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->do_tcp = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 3771 "util/configparser.c" + break; + + case 391: /* server_prefer_ip4: VAR_PREFER_IP4 STRING_ARG */ +#line 949 "util/configparser.y" + { + OUTYY(("P(server_prefer_ip4:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->prefer_ip4 = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 3783 "util/configparser.c" + break; + + case 392: /* server_prefer_ip6: VAR_PREFER_IP6 STRING_ARG */ +#line 958 "util/configparser.y" + { + OUTYY(("P(server_prefer_ip6:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->prefer_ip6 = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 3795 "util/configparser.c" + break; + + case 393: /* server_tcp_mss: VAR_TCP_MSS STRING_ARG */ +#line 967 "util/configparser.y" + { + OUTYY(("P(server_tcp_mss:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->tcp_mss = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 3807 "util/configparser.c" + break; + + case 394: /* server_outgoing_tcp_mss: VAR_OUTGOING_TCP_MSS STRING_ARG */ +#line 976 "util/configparser.y" + { + OUTYY(("P(server_outgoing_tcp_mss:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->outgoing_tcp_mss = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 3819 "util/configparser.c" + break; + + case 395: /* server_tcp_idle_timeout: VAR_TCP_IDLE_TIMEOUT STRING_ARG */ +#line 985 "util/configparser.y" + { + OUTYY(("P(server_tcp_idle_timeout:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else if (atoi((yyvsp[0].str)) > 120000) + cfg_parser->cfg->tcp_idle_timeout = 120000; + else if (atoi((yyvsp[0].str)) < 1) + cfg_parser->cfg->tcp_idle_timeout = 1; + else cfg_parser->cfg->tcp_idle_timeout = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 3835 "util/configparser.c" + break; + + case 396: /* server_max_reuse_tcp_queries: VAR_MAX_REUSE_TCP_QUERIES STRING_ARG */ +#line 998 "util/configparser.y" + { + OUTYY(("P(server_max_reuse_tcp_queries:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else if (atoi((yyvsp[0].str)) < 1) + cfg_parser->cfg->max_reuse_tcp_queries = 0; + else cfg_parser->cfg->max_reuse_tcp_queries = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 3849 "util/configparser.c" + break; + + case 397: /* server_tcp_reuse_timeout: VAR_TCP_REUSE_TIMEOUT STRING_ARG */ +#line 1009 "util/configparser.y" + { + OUTYY(("P(server_tcp_reuse_timeout:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else if (atoi((yyvsp[0].str)) < 1) + cfg_parser->cfg->tcp_reuse_timeout = 0; + else cfg_parser->cfg->tcp_reuse_timeout = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 3863 "util/configparser.c" + break; + + case 398: /* server_tcp_auth_query_timeout: VAR_TCP_AUTH_QUERY_TIMEOUT STRING_ARG */ +#line 1020 "util/configparser.y" + { + OUTYY(("P(server_tcp_auth_query_timeout:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else if (atoi((yyvsp[0].str)) < 1) + cfg_parser->cfg->tcp_auth_query_timeout = 0; + else cfg_parser->cfg->tcp_auth_query_timeout = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 3877 "util/configparser.c" + break; + + case 399: /* server_tcp_keepalive: VAR_EDNS_TCP_KEEPALIVE STRING_ARG */ +#line 1031 "util/configparser.y" + { + OUTYY(("P(server_tcp_keepalive:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->do_tcp_keepalive = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 3889 "util/configparser.c" + break; + + case 400: /* server_tcp_keepalive_timeout: VAR_EDNS_TCP_KEEPALIVE_TIMEOUT STRING_ARG */ +#line 1040 "util/configparser.y" + { + OUTYY(("P(server_tcp_keepalive_timeout:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else if (atoi((yyvsp[0].str)) > 6553500) + cfg_parser->cfg->tcp_keepalive_timeout = 6553500; + else if (atoi((yyvsp[0].str)) < 1) + cfg_parser->cfg->tcp_keepalive_timeout = 0; + else cfg_parser->cfg->tcp_keepalive_timeout = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 3905 "util/configparser.c" + break; + + case 401: /* server_sock_queue_timeout: VAR_SOCK_QUEUE_TIMEOUT STRING_ARG */ +#line 1053 "util/configparser.y" + { + OUTYY(("P(server_sock_queue_timeout:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else if (atoi((yyvsp[0].str)) > 6553500) + cfg_parser->cfg->sock_queue_timeout = 6553500; + else if (atoi((yyvsp[0].str)) < 1) + cfg_parser->cfg->sock_queue_timeout = 0; + else cfg_parser->cfg->sock_queue_timeout = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 3921 "util/configparser.c" + break; + + case 402: /* server_tcp_upstream: VAR_TCP_UPSTREAM STRING_ARG */ +#line 1066 "util/configparser.y" + { + OUTYY(("P(server_tcp_upstream:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->tcp_upstream = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 3933 "util/configparser.c" + break; + + case 403: /* server_udp_upstream_without_downstream: VAR_UDP_UPSTREAM_WITHOUT_DOWNSTREAM STRING_ARG */ +#line 1075 "util/configparser.y" + { + OUTYY(("P(server_udp_upstream_without_downstream:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->udp_upstream_without_downstream = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 3945 "util/configparser.c" + break; + + case 404: /* server_ssl_upstream: VAR_SSL_UPSTREAM STRING_ARG */ +#line 1084 "util/configparser.y" + { + OUTYY(("P(server_ssl_upstream:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->ssl_upstream = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 3957 "util/configparser.c" + break; + + case 405: /* server_ssl_service_key: VAR_SSL_SERVICE_KEY STRING_ARG */ +#line 1093 "util/configparser.y" + { + OUTYY(("P(server_ssl_service_key:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->ssl_service_key); + cfg_parser->cfg->ssl_service_key = (yyvsp[0].str); + } +#line 3967 "util/configparser.c" + break; + + case 406: /* server_ssl_service_pem: VAR_SSL_SERVICE_PEM STRING_ARG */ +#line 1100 "util/configparser.y" + { + OUTYY(("P(server_ssl_service_pem:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->ssl_service_pem); + cfg_parser->cfg->ssl_service_pem = (yyvsp[0].str); + } +#line 3977 "util/configparser.c" + break; + + case 407: /* server_ssl_port: VAR_SSL_PORT STRING_ARG */ +#line 1107 "util/configparser.y" + { + OUTYY(("P(server_ssl_port:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0) + yyerror("port number expected"); + else cfg_parser->cfg->ssl_port = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 3989 "util/configparser.c" + break; + + case 408: /* server_tls_cert_bundle: VAR_TLS_CERT_BUNDLE STRING_ARG */ +#line 1116 "util/configparser.y" + { + OUTYY(("P(server_tls_cert_bundle:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->tls_cert_bundle); + cfg_parser->cfg->tls_cert_bundle = (yyvsp[0].str); + } +#line 3999 "util/configparser.c" + break; + + case 409: /* server_tls_win_cert: VAR_TLS_WIN_CERT STRING_ARG */ +#line 1123 "util/configparser.y" + { + OUTYY(("P(server_tls_win_cert:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->tls_win_cert = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 4011 "util/configparser.c" + break; + + case 410: /* server_tls_additional_port: VAR_TLS_ADDITIONAL_PORT STRING_ARG */ +#line 1132 "util/configparser.y" + { + OUTYY(("P(server_tls_additional_port:%s)\n", (yyvsp[0].str))); + if(!cfg_strlist_insert(&cfg_parser->cfg->tls_additional_port, + (yyvsp[0].str))) + yyerror("out of memory"); + } +#line 4022 "util/configparser.c" + break; + + case 411: /* server_tls_ciphers: VAR_TLS_CIPHERS STRING_ARG */ +#line 1140 "util/configparser.y" + { + OUTYY(("P(server_tls_ciphers:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->tls_ciphers); + cfg_parser->cfg->tls_ciphers = (yyvsp[0].str); + } +#line 4032 "util/configparser.c" + break; + + case 412: /* server_tls_ciphersuites: VAR_TLS_CIPHERSUITES STRING_ARG */ +#line 1147 "util/configparser.y" + { + OUTYY(("P(server_tls_ciphersuites:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->tls_ciphersuites); + cfg_parser->cfg->tls_ciphersuites = (yyvsp[0].str); + } +#line 4042 "util/configparser.c" + break; + + case 413: /* server_tls_session_ticket_keys: VAR_TLS_SESSION_TICKET_KEYS STRING_ARG */ +#line 1154 "util/configparser.y" + { + OUTYY(("P(server_tls_session_ticket_keys:%s)\n", (yyvsp[0].str))); + if(!cfg_strlist_append(&cfg_parser->cfg->tls_session_ticket_keys, + (yyvsp[0].str))) + yyerror("out of memory"); + } +#line 4053 "util/configparser.c" + break; + + case 414: /* server_tls_use_sni: VAR_TLS_USE_SNI STRING_ARG */ +#line 1162 "util/configparser.y" + { + OUTYY(("P(server_tls_use_sni:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->tls_use_sni = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 4065 "util/configparser.c" + break; + + case 415: /* server_tls_protocols: VAR_TLS_PROTOCOLS STRING_ARG */ +#line 1171 "util/configparser.y" + { + OUTYY(("P(server_tls_protocols:%s)\n", (yyvsp[0].str))); + if(!cfg_tls_protocols_is_valid((yyvsp[0].str))) + yyerror("tls-protocols: valid values are 'TLSv1.2' and 'TLSv1.3'."); + free(cfg_parser->cfg->tls_protocols); + cfg_parser->cfg->tls_protocols = (yyvsp[0].str); + } +#line 4077 "util/configparser.c" + break; + + case 416: /* server_https_port: VAR_HTTPS_PORT STRING_ARG */ +#line 1180 "util/configparser.y" + { + OUTYY(("P(server_https_port:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0) + yyerror("port number expected"); + else cfg_parser->cfg->https_port = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 4089 "util/configparser.c" + break; + + case 417: /* server_http_endpoint: VAR_HTTP_ENDPOINT STRING_ARG */ +#line 1188 "util/configparser.y" + { + OUTYY(("P(server_http_endpoint:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->http_endpoint); + if((yyvsp[0].str) && (yyvsp[0].str)[0] != '/') { + cfg_parser->cfg->http_endpoint = malloc(strlen((yyvsp[0].str))+2); + if(cfg_parser->cfg->http_endpoint) { + cfg_parser->cfg->http_endpoint[0] = '/'; + memmove(cfg_parser->cfg->http_endpoint+1, (yyvsp[0].str), + strlen((yyvsp[0].str))+1); + } else { + yyerror("out of memory"); + } + free((yyvsp[0].str)); + } else { + cfg_parser->cfg->http_endpoint = (yyvsp[0].str); + } + } +#line 4111 "util/configparser.c" + break; + + case 418: /* server_http_max_streams: VAR_HTTP_MAX_STREAMS STRING_ARG */ +#line 1206 "util/configparser.y" + { + OUTYY(("P(server_http_max_streams:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->http_max_streams = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 4123 "util/configparser.c" + break; + + case 419: /* server_http_query_buffer_size: VAR_HTTP_QUERY_BUFFER_SIZE STRING_ARG */ +#line 1214 "util/configparser.y" + { + OUTYY(("P(server_http_query_buffer_size:%s)\n", (yyvsp[0].str))); + if(!cfg_parse_memsize((yyvsp[0].str), + &cfg_parser->cfg->http_query_buffer_size)) + yyerror("memory size expected"); + free((yyvsp[0].str)); + } +#line 4135 "util/configparser.c" + break; + + case 420: /* server_http_response_buffer_size: VAR_HTTP_RESPONSE_BUFFER_SIZE STRING_ARG */ +#line 1222 "util/configparser.y" + { + OUTYY(("P(server_http_response_buffer_size:%s)\n", (yyvsp[0].str))); + if(!cfg_parse_memsize((yyvsp[0].str), + &cfg_parser->cfg->http_response_buffer_size)) + yyerror("memory size expected"); + free((yyvsp[0].str)); + } +#line 4147 "util/configparser.c" + break; + + case 421: /* server_http_nodelay: VAR_HTTP_NODELAY STRING_ARG */ +#line 1230 "util/configparser.y" + { + OUTYY(("P(server_http_nodelay:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->http_nodelay = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 4159 "util/configparser.c" + break; + + case 422: /* server_http_notls_downstream: VAR_HTTP_NOTLS_DOWNSTREAM STRING_ARG */ +#line 1238 "util/configparser.y" + { + OUTYY(("P(server_http_notls_downstream:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->http_notls_downstream = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 4171 "util/configparser.c" + break; + + case 423: /* server_quic_port: VAR_QUIC_PORT STRING_ARG */ +#line 1246 "util/configparser.y" + { + OUTYY(("P(server_quic_port:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str),"0")!=0) + yyerror("port number expected"); + else { + cfg_parser->cfg->quic_port = atoi((yyvsp[0].str)); +#ifndef HAVE_NGTCP2 + if (cfg_parser->cfg->quic_port != 0) + log_warn("%s:%d: Unbound is not compiled with " + "ngtcp2. This is required to use DNS " + "over QUIC.", cfg_parser->filename, cfg_parser->line); +#endif + } + free((yyvsp[0].str)); + } +#line 4191 "util/configparser.c" + break; + + case 424: /* server_quic_size: VAR_QUIC_SIZE STRING_ARG */ +#line 1262 "util/configparser.y" + { + OUTYY(("P(server_quic_size:%s)\n", (yyvsp[0].str))); + if(!cfg_parse_memsize((yyvsp[0].str), &cfg_parser->cfg->quic_size)) + yyerror("memory size expected"); + free((yyvsp[0].str)); + } +#line 4202 "util/configparser.c" + break; + + case 425: /* server_use_systemd: VAR_USE_SYSTEMD STRING_ARG */ +#line 1269 "util/configparser.y" + { + OUTYY(("P(server_use_systemd:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->use_systemd = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 4214 "util/configparser.c" + break; + + case 426: /* server_do_daemonize: VAR_DO_DAEMONIZE STRING_ARG */ +#line 1278 "util/configparser.y" + { + OUTYY(("P(server_do_daemonize:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->do_daemonize = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 4226 "util/configparser.c" + break; + + case 427: /* server_use_syslog: VAR_USE_SYSLOG STRING_ARG */ +#line 1287 "util/configparser.y" + { + OUTYY(("P(server_use_syslog:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->use_syslog = (strcmp((yyvsp[0].str), "yes")==0); +#if !defined(HAVE_SYSLOG_H) && !defined(UB_ON_WINDOWS) + if(strcmp((yyvsp[0].str), "yes") == 0) + yyerror("no syslog services are available. " + "(reconfigure and compile to add)"); +#endif + free((yyvsp[0].str)); + } +#line 4243 "util/configparser.c" + break; + + case 428: /* server_log_time_ascii: VAR_LOG_TIME_ASCII STRING_ARG */ +#line 1301 "util/configparser.y" + { + OUTYY(("P(server_log_time_ascii:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->log_time_ascii = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 4255 "util/configparser.c" + break; + + case 429: /* server_log_time_iso: VAR_LOG_TIME_ISO STRING_ARG */ +#line 1310 "util/configparser.y" + { + OUTYY(("P(server_log_time_iso:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->log_time_iso = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 4267 "util/configparser.c" + break; + + case 430: /* server_log_queries: VAR_LOG_QUERIES STRING_ARG */ +#line 1319 "util/configparser.y" + { + OUTYY(("P(server_log_queries:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->log_queries = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 4279 "util/configparser.c" + break; + + case 431: /* server_log_replies: VAR_LOG_REPLIES STRING_ARG */ +#line 1328 "util/configparser.y" + { + OUTYY(("P(server_log_replies:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->log_replies = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 4291 "util/configparser.c" + break; + + case 432: /* server_log_tag_queryreply: VAR_LOG_TAG_QUERYREPLY STRING_ARG */ +#line 1337 "util/configparser.y" + { + OUTYY(("P(server_log_tag_queryreply:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->log_tag_queryreply = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 4303 "util/configparser.c" + break; + + case 433: /* server_log_servfail: VAR_LOG_SERVFAIL STRING_ARG */ +#line 1346 "util/configparser.y" + { + OUTYY(("P(server_log_servfail:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->log_servfail = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 4315 "util/configparser.c" + break; + + case 434: /* server_log_destaddr: VAR_LOG_DESTADDR STRING_ARG */ +#line 1355 "util/configparser.y" + { + OUTYY(("P(server_log_destaddr:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->log_destaddr = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 4327 "util/configparser.c" + break; + + case 435: /* server_log_thread_id: VAR_LOG_THREAD_ID STRING_ARG */ +#line 1364 "util/configparser.y" + { + OUTYY(("P(server_log_thread_id:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->log_thread_id = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 4339 "util/configparser.c" + break; + + case 436: /* server_log_local_actions: VAR_LOG_LOCAL_ACTIONS STRING_ARG */ +#line 1373 "util/configparser.y" + { + OUTYY(("P(server_log_local_actions:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->log_local_actions = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 4351 "util/configparser.c" + break; + + case 437: /* server_chroot: VAR_CHROOT STRING_ARG */ +#line 1382 "util/configparser.y" + { + OUTYY(("P(server_chroot:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->chrootdir); + cfg_parser->cfg->chrootdir = (yyvsp[0].str); + } +#line 4361 "util/configparser.c" + break; + + case 438: /* server_username: VAR_USERNAME STRING_ARG */ +#line 1389 "util/configparser.y" + { + OUTYY(("P(server_username:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->username); + cfg_parser->cfg->username = (yyvsp[0].str); + } +#line 4371 "util/configparser.c" + break; + + case 439: /* server_directory: VAR_DIRECTORY STRING_ARG */ +#line 1396 "util/configparser.y" + { + OUTYY(("P(server_directory:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->directory); + cfg_parser->cfg->directory = (yyvsp[0].str); + /* change there right away for includes relative to this */ + if((yyvsp[0].str)[0]) { + char* d; +#ifdef UB_ON_WINDOWS + w_config_adjust_directory(cfg_parser->cfg); +#endif + d = cfg_parser->cfg->directory; + /* adjust directory if we have already chroot, + * like, we reread after sighup */ + if(cfg_parser->chroot && cfg_parser->chroot[0] && + strncmp(d, cfg_parser->chroot, strlen( + cfg_parser->chroot)) == 0) + d += strlen(cfg_parser->chroot); + if(d[0]) { + if(chdir(d)) + log_err("cannot chdir to directory: %s (%s)", + d, strerror(errno)); + } + } + } +#line 4400 "util/configparser.c" + break; + + case 440: /* server_logfile: VAR_LOGFILE STRING_ARG */ +#line 1422 "util/configparser.y" + { + OUTYY(("P(server_logfile:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->logfile); + cfg_parser->cfg->logfile = (yyvsp[0].str); + cfg_parser->cfg->use_syslog = 0; + } +#line 4411 "util/configparser.c" + break; + + case 441: /* server_pidfile: VAR_PIDFILE STRING_ARG */ +#line 1430 "util/configparser.y" + { + OUTYY(("P(server_pidfile:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->pidfile); + cfg_parser->cfg->pidfile = (yyvsp[0].str); + } +#line 4421 "util/configparser.c" + break; + + case 442: /* server_root_hints: VAR_ROOT_HINTS STRING_ARG */ +#line 1437 "util/configparser.y" + { + OUTYY(("P(server_root_hints:%s)\n", (yyvsp[0].str))); + if(!cfg_strlist_insert(&cfg_parser->cfg->root_hints, (yyvsp[0].str))) + yyerror("out of memory"); + } +#line 4431 "util/configparser.c" + break; + + case 443: /* server_dlv_anchor_file: VAR_DLV_ANCHOR_FILE STRING_ARG */ +#line 1444 "util/configparser.y" + { + OUTYY(("P(server_dlv_anchor_file:%s)\n", (yyvsp[0].str))); + log_warn("option dlv-anchor-file ignored: DLV is decommissioned"); + free((yyvsp[0].str)); + } +#line 4441 "util/configparser.c" + break; + + case 444: /* server_dlv_anchor: VAR_DLV_ANCHOR STRING_ARG */ +#line 1451 "util/configparser.y" + { + OUTYY(("P(server_dlv_anchor:%s)\n", (yyvsp[0].str))); + log_warn("option dlv-anchor ignored: DLV is decommissioned"); + free((yyvsp[0].str)); + } +#line 4451 "util/configparser.c" + break; + + case 445: /* server_auto_trust_anchor_file: VAR_AUTO_TRUST_ANCHOR_FILE STRING_ARG */ +#line 1458 "util/configparser.y" + { + OUTYY(("P(server_auto_trust_anchor_file:%s)\n", (yyvsp[0].str))); + if(!cfg_strlist_insert(&cfg_parser->cfg-> + auto_trust_anchor_file_list, (yyvsp[0].str))) + yyerror("out of memory"); + } +#line 4462 "util/configparser.c" + break; + + case 446: /* server_trust_anchor_file: VAR_TRUST_ANCHOR_FILE STRING_ARG */ +#line 1466 "util/configparser.y" + { + OUTYY(("P(server_trust_anchor_file:%s)\n", (yyvsp[0].str))); + if(!cfg_strlist_insert(&cfg_parser->cfg-> + trust_anchor_file_list, (yyvsp[0].str))) + yyerror("out of memory"); + } +#line 4473 "util/configparser.c" + break; + + case 447: /* server_trusted_keys_file: VAR_TRUSTED_KEYS_FILE STRING_ARG */ +#line 1474 "util/configparser.y" + { + OUTYY(("P(server_trusted_keys_file:%s)\n", (yyvsp[0].str))); + if(!cfg_strlist_insert(&cfg_parser->cfg-> + trusted_keys_file_list, (yyvsp[0].str))) + yyerror("out of memory"); + } +#line 4484 "util/configparser.c" + break; + + case 448: /* server_trust_anchor: VAR_TRUST_ANCHOR STRING_ARG */ +#line 1482 "util/configparser.y" + { + OUTYY(("P(server_trust_anchor:%s)\n", (yyvsp[0].str))); + if(!cfg_strlist_insert(&cfg_parser->cfg->trust_anchor_list, (yyvsp[0].str))) + yyerror("out of memory"); + } +#line 4494 "util/configparser.c" + break; + + case 449: /* server_trust_anchor_signaling: VAR_TRUST_ANCHOR_SIGNALING STRING_ARG */ +#line 1489 "util/configparser.y" + { + OUTYY(("P(server_trust_anchor_signaling:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else + cfg_parser->cfg->trust_anchor_signaling = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 4508 "util/configparser.c" + break; + + case 450: /* server_root_key_sentinel: VAR_ROOT_KEY_SENTINEL STRING_ARG */ +#line 1500 "util/configparser.y" + { + OUTYY(("P(server_root_key_sentinel:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else + cfg_parser->cfg->root_key_sentinel = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 4522 "util/configparser.c" + break; + + case 451: /* server_domain_insecure: VAR_DOMAIN_INSECURE STRING_ARG */ +#line 1511 "util/configparser.y" + { + OUTYY(("P(server_domain_insecure:%s)\n", (yyvsp[0].str))); + if(!cfg_strlist_insert(&cfg_parser->cfg->domain_insecure, (yyvsp[0].str))) + yyerror("out of memory"); + } +#line 4532 "util/configparser.c" + break; + + case 452: /* server_hide_identity: VAR_HIDE_IDENTITY STRING_ARG */ +#line 1518 "util/configparser.y" + { + OUTYY(("P(server_hide_identity:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->hide_identity = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 4544 "util/configparser.c" + break; + + case 453: /* server_hide_version: VAR_HIDE_VERSION STRING_ARG */ +#line 1527 "util/configparser.y" + { + OUTYY(("P(server_hide_version:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->hide_version = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 4556 "util/configparser.c" + break; + + case 454: /* server_hide_trustanchor: VAR_HIDE_TRUSTANCHOR STRING_ARG */ +#line 1536 "util/configparser.y" + { + OUTYY(("P(server_hide_trustanchor:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->hide_trustanchor = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 4568 "util/configparser.c" + break; + + case 455: /* server_hide_http_user_agent: VAR_HIDE_HTTP_USER_AGENT STRING_ARG */ +#line 1545 "util/configparser.y" + { + OUTYY(("P(server_hide_user_agent:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->hide_http_user_agent = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 4580 "util/configparser.c" + break; + + case 456: /* server_identity: VAR_IDENTITY STRING_ARG */ +#line 1554 "util/configparser.y" + { + OUTYY(("P(server_identity:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->identity); + cfg_parser->cfg->identity = (yyvsp[0].str); + } +#line 4590 "util/configparser.c" + break; + + case 457: /* server_version: VAR_VERSION STRING_ARG */ +#line 1561 "util/configparser.y" + { + OUTYY(("P(server_version:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->version); + cfg_parser->cfg->version = (yyvsp[0].str); + } +#line 4600 "util/configparser.c" + break; + + case 458: /* server_http_user_agent: VAR_HTTP_USER_AGENT STRING_ARG */ +#line 1568 "util/configparser.y" + { + OUTYY(("P(server_http_user_agent:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->http_user_agent); + cfg_parser->cfg->http_user_agent = (yyvsp[0].str); + } +#line 4610 "util/configparser.c" + break; + + case 459: /* server_nsid: VAR_NSID STRING_ARG */ +#line 1575 "util/configparser.y" + { + OUTYY(("P(server_nsid:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->nsid_cfg_str); + cfg_parser->cfg->nsid_cfg_str = (yyvsp[0].str); + free(cfg_parser->cfg->nsid); + cfg_parser->cfg->nsid = NULL; + cfg_parser->cfg->nsid_len = 0; + if (*(yyvsp[0].str) == 0) + ; /* pass; empty string is not setting nsid */ + else if (!(cfg_parser->cfg->nsid = cfg_parse_nsid( + (yyvsp[0].str), &cfg_parser->cfg->nsid_len))) + yyerror("the NSID must be either a hex string or an " + "ascii character string prepended with ascii_."); + } +#line 4629 "util/configparser.c" + break; + + case 460: /* server_so_rcvbuf: VAR_SO_RCVBUF STRING_ARG */ +#line 1591 "util/configparser.y" + { + OUTYY(("P(server_so_rcvbuf:%s)\n", (yyvsp[0].str))); + if(!cfg_parse_memsize((yyvsp[0].str), &cfg_parser->cfg->so_rcvbuf)) + yyerror("buffer size expected"); + free((yyvsp[0].str)); + } +#line 4640 "util/configparser.c" + break; + + case 461: /* server_so_sndbuf: VAR_SO_SNDBUF STRING_ARG */ +#line 1599 "util/configparser.y" + { + OUTYY(("P(server_so_sndbuf:%s)\n", (yyvsp[0].str))); + if(!cfg_parse_memsize((yyvsp[0].str), &cfg_parser->cfg->so_sndbuf)) + yyerror("buffer size expected"); + free((yyvsp[0].str)); + } +#line 4651 "util/configparser.c" + break; + + case 462: /* server_so_reuseport: VAR_SO_REUSEPORT STRING_ARG */ +#line 1607 "util/configparser.y" + { + OUTYY(("P(server_so_reuseport:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->so_reuseport = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 4664 "util/configparser.c" + break; + + case 463: /* server_ip_transparent: VAR_IP_TRANSPARENT STRING_ARG */ +#line 1617 "util/configparser.y" + { + OUTYY(("P(server_ip_transparent:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->ip_transparent = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 4677 "util/configparser.c" + break; + + case 464: /* server_ip_freebind: VAR_IP_FREEBIND STRING_ARG */ +#line 1627 "util/configparser.y" + { + OUTYY(("P(server_ip_freebind:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->ip_freebind = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 4690 "util/configparser.c" + break; + + case 465: /* server_ip_dscp: VAR_IP_DSCP STRING_ARG */ +#line 1637 "util/configparser.y" + { + OUTYY(("P(server_ip_dscp:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else if (atoi((yyvsp[0].str)) > 63) + yyerror("value too large (max 63)"); + else if (atoi((yyvsp[0].str)) < 0) + yyerror("value too small (min 0)"); + else + cfg_parser->cfg->ip_dscp = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 4707 "util/configparser.c" + break; + + case 466: /* server_stream_wait_size: VAR_STREAM_WAIT_SIZE STRING_ARG */ +#line 1651 "util/configparser.y" + { + OUTYY(("P(server_stream_wait_size:%s)\n", (yyvsp[0].str))); + if(!cfg_parse_memsize((yyvsp[0].str), &cfg_parser->cfg->stream_wait_size)) + yyerror("memory size expected"); + free((yyvsp[0].str)); + } +#line 4718 "util/configparser.c" + break; + + case 467: /* server_edns_buffer_size: VAR_EDNS_BUFFER_SIZE STRING_ARG */ +#line 1659 "util/configparser.y" + { + OUTYY(("P(server_edns_buffer_size:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0) + yyerror("number expected"); + else if (atoi((yyvsp[0].str)) < 12) + yyerror("edns buffer size too small"); + else if (atoi((yyvsp[0].str)) > 65535) + cfg_parser->cfg->edns_buffer_size = 65535; + else cfg_parser->cfg->edns_buffer_size = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 4734 "util/configparser.c" + break; + + case 468: /* server_msg_buffer_size: VAR_MSG_BUFFER_SIZE STRING_ARG */ +#line 1672 "util/configparser.y" + { + OUTYY(("P(server_msg_buffer_size:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0) + yyerror("number expected"); + else if (atoi((yyvsp[0].str)) < 4096) + yyerror("message buffer size too small (use 4096)"); + else cfg_parser->cfg->msg_buffer_size = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 4748 "util/configparser.c" + break; + + case 469: /* server_msg_cache_size: VAR_MSG_CACHE_SIZE STRING_ARG */ +#line 1683 "util/configparser.y" + { + OUTYY(("P(server_msg_cache_size:%s)\n", (yyvsp[0].str))); + if(!cfg_parse_memsize((yyvsp[0].str), &cfg_parser->cfg->msg_cache_size)) + yyerror("memory size expected"); + free((yyvsp[0].str)); + } +#line 4759 "util/configparser.c" + break; + + case 470: /* server_msg_cache_slabs: VAR_MSG_CACHE_SLABS STRING_ARG */ +#line 1691 "util/configparser.y" + { + OUTYY(("P(server_msg_cache_slabs:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0) { + yyerror("number expected"); + } else { + cfg_parser->cfg->msg_cache_slabs = atoi((yyvsp[0].str)); + if(!is_pow2(cfg_parser->cfg->msg_cache_slabs)) + yyerror("must be a power of 2"); + } + free((yyvsp[0].str)); + } +#line 4775 "util/configparser.c" + break; + + case 471: /* server_num_queries_per_thread: VAR_NUM_QUERIES_PER_THREAD STRING_ARG */ +#line 1704 "util/configparser.y" + { + OUTYY(("P(server_num_queries_per_thread:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0) + yyerror("number expected"); + else cfg_parser->cfg->num_queries_per_thread = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 4787 "util/configparser.c" + break; + + case 472: /* server_jostle_timeout: VAR_JOSTLE_TIMEOUT STRING_ARG */ +#line 1713 "util/configparser.y" + { + OUTYY(("P(server_jostle_timeout:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->jostle_time = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 4799 "util/configparser.c" + break; + + case 473: /* server_delay_close: VAR_DELAY_CLOSE STRING_ARG */ +#line 1722 "util/configparser.y" + { + OUTYY(("P(server_delay_close:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->delay_close = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 4811 "util/configparser.c" + break; + + case 474: /* server_udp_connect: VAR_UDP_CONNECT STRING_ARG */ +#line 1731 "util/configparser.y" + { + OUTYY(("P(server_udp_connect:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->udp_connect = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 4823 "util/configparser.c" + break; + + case 475: /* server_unblock_lan_zones: VAR_UNBLOCK_LAN_ZONES STRING_ARG */ +#line 1740 "util/configparser.y" + { + OUTYY(("P(server_unblock_lan_zones:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->unblock_lan_zones = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 4836 "util/configparser.c" + break; + + case 476: /* server_insecure_lan_zones: VAR_INSECURE_LAN_ZONES STRING_ARG */ +#line 1750 "util/configparser.y" + { + OUTYY(("P(server_insecure_lan_zones:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->insecure_lan_zones = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 4849 "util/configparser.c" + break; + + case 477: /* server_rrset_cache_size: VAR_RRSET_CACHE_SIZE STRING_ARG */ +#line 1760 "util/configparser.y" + { + OUTYY(("P(server_rrset_cache_size:%s)\n", (yyvsp[0].str))); + if(!cfg_parse_memsize((yyvsp[0].str), &cfg_parser->cfg->rrset_cache_size)) + yyerror("memory size expected"); + free((yyvsp[0].str)); + } +#line 4860 "util/configparser.c" + break; + + case 478: /* server_rrset_cache_slabs: VAR_RRSET_CACHE_SLABS STRING_ARG */ +#line 1768 "util/configparser.y" + { + OUTYY(("P(server_rrset_cache_slabs:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0) { + yyerror("number expected"); + } else { + cfg_parser->cfg->rrset_cache_slabs = atoi((yyvsp[0].str)); + if(!is_pow2(cfg_parser->cfg->rrset_cache_slabs)) + yyerror("must be a power of 2"); + } + free((yyvsp[0].str)); + } +#line 4876 "util/configparser.c" + break; + + case 479: /* server_infra_host_ttl: VAR_INFRA_HOST_TTL STRING_ARG */ +#line 1781 "util/configparser.y" + { + OUTYY(("P(server_infra_host_ttl:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->host_ttl = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 4888 "util/configparser.c" + break; + + case 480: /* server_infra_lame_ttl: VAR_INFRA_LAME_TTL STRING_ARG */ +#line 1790 "util/configparser.y" + { + OUTYY(("P(server_infra_lame_ttl:%s)\n", (yyvsp[0].str))); + verbose(VERB_DETAIL, "ignored infra-lame-ttl: %s (option " + "removed, use infra-host-ttl)", (yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 4899 "util/configparser.c" + break; + + case 481: /* server_infra_cache_numhosts: VAR_INFRA_CACHE_NUMHOSTS STRING_ARG */ +#line 1798 "util/configparser.y" + { + OUTYY(("P(server_infra_cache_numhosts:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0) + yyerror("number expected"); + else cfg_parser->cfg->infra_cache_numhosts = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 4911 "util/configparser.c" + break; + + case 482: /* server_infra_cache_lame_size: VAR_INFRA_CACHE_LAME_SIZE STRING_ARG */ +#line 1807 "util/configparser.y" + { + OUTYY(("P(server_infra_cache_lame_size:%s)\n", (yyvsp[0].str))); + verbose(VERB_DETAIL, "ignored infra-cache-lame-size: %s " + "(option removed, use infra-cache-numhosts)", (yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 4922 "util/configparser.c" + break; + + case 483: /* server_infra_cache_slabs: VAR_INFRA_CACHE_SLABS STRING_ARG */ +#line 1815 "util/configparser.y" + { + OUTYY(("P(server_infra_cache_slabs:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0) { + yyerror("number expected"); + } else { + cfg_parser->cfg->infra_cache_slabs = atoi((yyvsp[0].str)); + if(!is_pow2(cfg_parser->cfg->infra_cache_slabs)) + yyerror("must be a power of 2"); + } + free((yyvsp[0].str)); + } +#line 4938 "util/configparser.c" + break; + + case 484: /* server_infra_cache_min_rtt: VAR_INFRA_CACHE_MIN_RTT STRING_ARG */ +#line 1828 "util/configparser.y" + { + OUTYY(("P(server_infra_cache_min_rtt:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->infra_cache_min_rtt = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 4950 "util/configparser.c" + break; + + case 485: /* server_infra_cache_max_rtt: VAR_INFRA_CACHE_MAX_RTT STRING_ARG */ +#line 1837 "util/configparser.y" + { + OUTYY(("P(server_infra_cache_max_rtt:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->infra_cache_max_rtt = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 4962 "util/configparser.c" + break; + + case 486: /* server_infra_keep_probing: VAR_INFRA_KEEP_PROBING STRING_ARG */ +#line 1846 "util/configparser.y" + { + OUTYY(("P(server_infra_keep_probing:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->infra_keep_probing = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 4975 "util/configparser.c" + break; + + case 487: /* server_target_fetch_policy: VAR_TARGET_FETCH_POLICY STRING_ARG */ +#line 1856 "util/configparser.y" + { + OUTYY(("P(server_target_fetch_policy:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->target_fetch_policy); + cfg_parser->cfg->target_fetch_policy = (yyvsp[0].str); + } +#line 4985 "util/configparser.c" + break; + + case 488: /* server_harden_short_bufsize: VAR_HARDEN_SHORT_BUFSIZE STRING_ARG */ +#line 1863 "util/configparser.y" + { + OUTYY(("P(server_harden_short_bufsize:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->harden_short_bufsize = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 4998 "util/configparser.c" + break; + + case 489: /* server_harden_large_queries: VAR_HARDEN_LARGE_QUERIES STRING_ARG */ +#line 1873 "util/configparser.y" + { + OUTYY(("P(server_harden_large_queries:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->harden_large_queries = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 5011 "util/configparser.c" + break; + + case 490: /* server_harden_glue: VAR_HARDEN_GLUE STRING_ARG */ +#line 1883 "util/configparser.y" + { + OUTYY(("P(server_harden_glue:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->harden_glue = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 5024 "util/configparser.c" + break; + + case 491: /* server_harden_unverified_glue: VAR_HARDEN_UNVERIFIED_GLUE STRING_ARG */ +#line 1893 "util/configparser.y" + { + OUTYY(("P(server_harden_unverified_glue:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->harden_unverified_glue = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 5037 "util/configparser.c" + break; + + case 492: /* server_harden_dnssec_stripped: VAR_HARDEN_DNSSEC_STRIPPED STRING_ARG */ +#line 1903 "util/configparser.y" + { + OUTYY(("P(server_harden_dnssec_stripped:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->harden_dnssec_stripped = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 5050 "util/configparser.c" + break; + + case 493: /* server_harden_below_nxdomain: VAR_HARDEN_BELOW_NXDOMAIN STRING_ARG */ +#line 1913 "util/configparser.y" + { + OUTYY(("P(server_harden_below_nxdomain:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->harden_below_nxdomain = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 5063 "util/configparser.c" + break; + + case 494: /* server_harden_referral_path: VAR_HARDEN_REFERRAL_PATH STRING_ARG */ +#line 1923 "util/configparser.y" + { + OUTYY(("P(server_harden_referral_path:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->harden_referral_path = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 5076 "util/configparser.c" + break; + + case 495: /* server_harden_algo_downgrade: VAR_HARDEN_ALGO_DOWNGRADE STRING_ARG */ +#line 1933 "util/configparser.y" + { + OUTYY(("P(server_harden_algo_downgrade:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->harden_algo_downgrade = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 5089 "util/configparser.c" + break; + + case 496: /* server_harden_unknown_additional: VAR_HARDEN_UNKNOWN_ADDITIONAL STRING_ARG */ +#line 1943 "util/configparser.y" + { + OUTYY(("P(server_harden_unknown_additional:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->harden_unknown_additional = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 5102 "util/configparser.c" + break; + + case 497: /* server_use_caps_for_id: VAR_USE_CAPS_FOR_ID STRING_ARG */ +#line 1953 "util/configparser.y" + { + OUTYY(("P(server_use_caps_for_id:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->use_caps_bits_for_id = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 5115 "util/configparser.c" + break; + + case 498: /* server_caps_whitelist: VAR_CAPS_WHITELIST STRING_ARG */ +#line 1963 "util/configparser.y" + { + OUTYY(("P(server_caps_whitelist:%s)\n", (yyvsp[0].str))); + if(!cfg_strlist_insert(&cfg_parser->cfg->caps_whitelist, (yyvsp[0].str))) + yyerror("out of memory"); + } +#line 5125 "util/configparser.c" + break; + + case 499: /* server_private_address: VAR_PRIVATE_ADDRESS STRING_ARG */ +#line 1970 "util/configparser.y" + { + OUTYY(("P(server_private_address:%s)\n", (yyvsp[0].str))); + if(!cfg_strlist_insert(&cfg_parser->cfg->private_address, (yyvsp[0].str))) + yyerror("out of memory"); + } +#line 5135 "util/configparser.c" + break; + + case 500: /* server_private_domain: VAR_PRIVATE_DOMAIN STRING_ARG */ +#line 1977 "util/configparser.y" + { + OUTYY(("P(server_private_domain:%s)\n", (yyvsp[0].str))); + if(!cfg_strlist_insert(&cfg_parser->cfg->private_domain, (yyvsp[0].str))) + yyerror("out of memory"); + } +#line 5145 "util/configparser.c" + break; + + case 501: /* server_prefetch: VAR_PREFETCH STRING_ARG */ +#line 1984 "util/configparser.y" + { + OUTYY(("P(server_prefetch:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->prefetch = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 5157 "util/configparser.c" + break; + + case 502: /* server_prefetch_key: VAR_PREFETCH_KEY STRING_ARG */ +#line 1993 "util/configparser.y" + { + OUTYY(("P(server_prefetch_key:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->prefetch_key = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 5169 "util/configparser.c" + break; + + case 503: /* server_deny_any: VAR_DENY_ANY STRING_ARG */ +#line 2002 "util/configparser.y" + { + OUTYY(("P(server_deny_any:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->deny_any = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 5181 "util/configparser.c" + break; + + case 504: /* server_unwanted_reply_threshold: VAR_UNWANTED_REPLY_THRESHOLD STRING_ARG */ +#line 2011 "util/configparser.y" + { + OUTYY(("P(server_unwanted_reply_threshold:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->unwanted_threshold = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 5193 "util/configparser.c" + break; + + case 505: /* server_do_not_query_address: VAR_DO_NOT_QUERY_ADDRESS STRING_ARG */ +#line 2020 "util/configparser.y" + { + OUTYY(("P(server_do_not_query_address:%s)\n", (yyvsp[0].str))); + if(!cfg_strlist_insert(&cfg_parser->cfg->donotqueryaddrs, (yyvsp[0].str))) + yyerror("out of memory"); + } +#line 5203 "util/configparser.c" + break; + + case 506: /* server_do_not_query_localhost: VAR_DO_NOT_QUERY_LOCALHOST STRING_ARG */ +#line 2027 "util/configparser.y" + { + OUTYY(("P(server_do_not_query_localhost:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->donotquery_localhost = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 5216 "util/configparser.c" + break; + + case 507: /* server_access_control: VAR_ACCESS_CONTROL STRING_ARG STRING_ARG */ +#line 2037 "util/configparser.y" + { + OUTYY(("P(server_access_control:%s %s)\n", (yyvsp[-1].str), (yyvsp[0].str))); + validate_acl_action((yyvsp[0].str)); + if(!cfg_str2list_insert(&cfg_parser->cfg->acls, (yyvsp[-1].str), (yyvsp[0].str))) + yyerror("out of memory"); + } +#line 5227 "util/configparser.c" + break; + + case 508: /* server_interface_action: VAR_INTERFACE_ACTION STRING_ARG STRING_ARG */ +#line 2045 "util/configparser.y" + { + OUTYY(("P(server_interface_action:%s %s)\n", (yyvsp[-1].str), (yyvsp[0].str))); + validate_acl_action((yyvsp[0].str)); + if(!cfg_str2list_insert( + &cfg_parser->cfg->interface_actions, (yyvsp[-1].str), (yyvsp[0].str))) + yyerror("out of memory"); + } +#line 5239 "util/configparser.c" + break; + + case 509: /* server_module_conf: VAR_MODULE_CONF STRING_ARG */ +#line 2054 "util/configparser.y" + { + OUTYY(("P(server_module_conf:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->module_conf); + cfg_parser->cfg->module_conf = (yyvsp[0].str); + } +#line 5249 "util/configparser.c" + break; + + case 510: /* server_val_override_date: VAR_VAL_OVERRIDE_DATE STRING_ARG */ +#line 2061 "util/configparser.y" + { + OUTYY(("P(server_val_override_date:%s)\n", (yyvsp[0].str))); + if(*(yyvsp[0].str) == '\0' || strcmp((yyvsp[0].str), "0") == 0) { + cfg_parser->cfg->val_date_override = 0; + } else if(strlen((yyvsp[0].str)) == 14) { + cfg_parser->cfg->val_date_override = + cfg_convert_timeval((yyvsp[0].str)); + if(!cfg_parser->cfg->val_date_override) + yyerror("bad date/time specification"); + } else { + if(atoi((yyvsp[0].str)) == 0) + yyerror("number expected"); + cfg_parser->cfg->val_date_override = atoi((yyvsp[0].str)); + } + free((yyvsp[0].str)); + } +#line 5270 "util/configparser.c" + break; + + case 511: /* server_val_sig_skew_min: VAR_VAL_SIG_SKEW_MIN STRING_ARG */ +#line 2079 "util/configparser.y" + { + OUTYY(("P(server_val_sig_skew_min:%s)\n", (yyvsp[0].str))); + if(*(yyvsp[0].str) == '\0' || strcmp((yyvsp[0].str), "0") == 0) { + cfg_parser->cfg->val_sig_skew_min = 0; + } else { + cfg_parser->cfg->val_sig_skew_min = atoi((yyvsp[0].str)); + if(!cfg_parser->cfg->val_sig_skew_min) + yyerror("number expected"); + } + free((yyvsp[0].str)); + } +#line 5286 "util/configparser.c" + break; + + case 512: /* server_val_sig_skew_max: VAR_VAL_SIG_SKEW_MAX STRING_ARG */ +#line 2092 "util/configparser.y" + { + OUTYY(("P(server_val_sig_skew_max:%s)\n", (yyvsp[0].str))); + if(*(yyvsp[0].str) == '\0' || strcmp((yyvsp[0].str), "0") == 0) { + cfg_parser->cfg->val_sig_skew_max = 0; + } else { + cfg_parser->cfg->val_sig_skew_max = atoi((yyvsp[0].str)); + if(!cfg_parser->cfg->val_sig_skew_max) + yyerror("number expected"); + } + free((yyvsp[0].str)); + } +#line 5302 "util/configparser.c" + break; + + case 513: /* server_val_max_restart: VAR_VAL_MAX_RESTART STRING_ARG */ +#line 2105 "util/configparser.y" + { + OUTYY(("P(server_val_max_restart:%s)\n", (yyvsp[0].str))); + if(*(yyvsp[0].str) == '\0' || strcmp((yyvsp[0].str), "0") == 0) { + cfg_parser->cfg->val_max_restart = 0; + } else { + cfg_parser->cfg->val_max_restart = atoi((yyvsp[0].str)); + if(!cfg_parser->cfg->val_max_restart) + yyerror("number expected"); + } + free((yyvsp[0].str)); + } +#line 5318 "util/configparser.c" + break; + + case 514: /* server_cache_max_ttl: VAR_CACHE_MAX_TTL STRING_ARG */ +#line 2118 "util/configparser.y" + { + OUTYY(("P(server_cache_max_ttl:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->max_ttl = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 5330 "util/configparser.c" + break; + + case 515: /* server_cache_max_negative_ttl: VAR_CACHE_MAX_NEGATIVE_TTL STRING_ARG */ +#line 2127 "util/configparser.y" + { + OUTYY(("P(server_cache_max_negative_ttl:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->max_negative_ttl = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 5342 "util/configparser.c" + break; + + case 516: /* server_cache_min_negative_ttl: VAR_CACHE_MIN_NEGATIVE_TTL STRING_ARG */ +#line 2136 "util/configparser.y" + { + OUTYY(("P(server_cache_min_negative_ttl:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->min_negative_ttl = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 5354 "util/configparser.c" + break; + + case 517: /* server_cache_min_ttl: VAR_CACHE_MIN_TTL STRING_ARG */ +#line 2145 "util/configparser.y" + { + OUTYY(("P(server_cache_min_ttl:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->min_ttl = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 5366 "util/configparser.c" + break; + + case 518: /* server_bogus_ttl: VAR_BOGUS_TTL STRING_ARG */ +#line 2154 "util/configparser.y" + { + OUTYY(("P(server_bogus_ttl:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->bogus_ttl = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 5378 "util/configparser.c" + break; + + case 519: /* server_val_clean_additional: VAR_VAL_CLEAN_ADDITIONAL STRING_ARG */ +#line 2163 "util/configparser.y" + { + OUTYY(("P(server_val_clean_additional:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->val_clean_additional = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 5391 "util/configparser.c" + break; + + case 520: /* server_val_permissive_mode: VAR_VAL_PERMISSIVE_MODE STRING_ARG */ +#line 2173 "util/configparser.y" + { + OUTYY(("P(server_val_permissive_mode:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->val_permissive_mode = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 5404 "util/configparser.c" + break; + + case 521: /* server_aggressive_nsec: VAR_AGGRESSIVE_NSEC STRING_ARG */ +#line 2183 "util/configparser.y" + { + OUTYY(("P(server_aggressive_nsec:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else + cfg_parser->cfg->aggressive_nsec = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 5418 "util/configparser.c" + break; + + case 522: /* server_ignore_cd_flag: VAR_IGNORE_CD_FLAG STRING_ARG */ +#line 2194 "util/configparser.y" + { + OUTYY(("P(server_ignore_cd_flag:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->ignore_cd = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 5430 "util/configparser.c" + break; + + case 523: /* server_disable_edns_do: VAR_DISABLE_EDNS_DO STRING_ARG */ +#line 2203 "util/configparser.y" + { + OUTYY(("P(server_disable_edns_do:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->disable_edns_do = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 5442 "util/configparser.c" + break; + + case 524: /* server_serve_expired: VAR_SERVE_EXPIRED STRING_ARG */ +#line 2212 "util/configparser.y" + { + OUTYY(("P(server_serve_expired:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->serve_expired = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 5454 "util/configparser.c" + break; + + case 525: /* server_serve_expired_ttl: VAR_SERVE_EXPIRED_TTL STRING_ARG */ +#line 2221 "util/configparser.y" + { + OUTYY(("P(server_serve_expired_ttl:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->serve_expired_ttl = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 5466 "util/configparser.c" + break; + + case 526: /* server_serve_expired_ttl_reset: VAR_SERVE_EXPIRED_TTL_RESET STRING_ARG */ +#line 2230 "util/configparser.y" + { + OUTYY(("P(server_serve_expired_ttl_reset:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->serve_expired_ttl_reset = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 5478 "util/configparser.c" + break; + + case 527: /* server_serve_expired_reply_ttl: VAR_SERVE_EXPIRED_REPLY_TTL STRING_ARG */ +#line 2239 "util/configparser.y" + { + OUTYY(("P(server_serve_expired_reply_ttl:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->serve_expired_reply_ttl = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 5490 "util/configparser.c" + break; + + case 528: /* server_serve_expired_client_timeout: VAR_SERVE_EXPIRED_CLIENT_TIMEOUT STRING_ARG */ +#line 2248 "util/configparser.y" + { + OUTYY(("P(server_serve_expired_client_timeout:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->serve_expired_client_timeout = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 5502 "util/configparser.c" + break; + + case 529: /* server_ede_serve_expired: VAR_EDE_SERVE_EXPIRED STRING_ARG */ +#line 2257 "util/configparser.y" + { + OUTYY(("P(server_ede_serve_expired:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->ede_serve_expired = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 5514 "util/configparser.c" + break; + + case 530: /* server_serve_original_ttl: VAR_SERVE_ORIGINAL_TTL STRING_ARG */ +#line 2266 "util/configparser.y" + { + OUTYY(("P(server_serve_original_ttl:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->serve_original_ttl = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 5526 "util/configparser.c" + break; + + case 531: /* server_fake_dsa: VAR_FAKE_DSA STRING_ARG */ +#line 2275 "util/configparser.y" + { + OUTYY(("P(server_fake_dsa:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); +#if defined(HAVE_SSL) || defined(HAVE_NETTLE) + else fake_dsa = (strcmp((yyvsp[0].str), "yes")==0); + if(fake_dsa) + log_warn("test option fake_dsa is enabled"); +#endif + free((yyvsp[0].str)); + } +#line 5542 "util/configparser.c" + break; + + case 532: /* server_fake_sha1: VAR_FAKE_SHA1 STRING_ARG */ +#line 2288 "util/configparser.y" + { + OUTYY(("P(server_fake_sha1:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); +#if defined(HAVE_SSL) || defined(HAVE_NETTLE) + else fake_sha1 = (strcmp((yyvsp[0].str), "yes")==0); + if(fake_sha1) + log_warn("test option fake_sha1 is enabled"); +#endif + free((yyvsp[0].str)); + } +#line 5558 "util/configparser.c" + break; + + case 533: /* server_val_log_level: VAR_VAL_LOG_LEVEL STRING_ARG */ +#line 2301 "util/configparser.y" + { + OUTYY(("P(server_val_log_level:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->val_log_level = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 5570 "util/configparser.c" + break; + + case 534: /* server_val_nsec3_keysize_iterations: VAR_VAL_NSEC3_KEYSIZE_ITERATIONS STRING_ARG */ +#line 2310 "util/configparser.y" + { + OUTYY(("P(server_val_nsec3_keysize_iterations:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->val_nsec3_key_iterations); + cfg_parser->cfg->val_nsec3_key_iterations = (yyvsp[0].str); + } +#line 5580 "util/configparser.c" + break; + + case 535: /* server_zonemd_permissive_mode: VAR_ZONEMD_PERMISSIVE_MODE STRING_ARG */ +#line 2317 "util/configparser.y" + { + OUTYY(("P(server_zonemd_permissive_mode:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->zonemd_permissive_mode = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 5592 "util/configparser.c" + break; + + case 536: /* server_add_holddown: VAR_ADD_HOLDDOWN STRING_ARG */ +#line 2326 "util/configparser.y" + { + OUTYY(("P(server_add_holddown:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->add_holddown = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 5604 "util/configparser.c" + break; + + case 537: /* server_del_holddown: VAR_DEL_HOLDDOWN STRING_ARG */ +#line 2335 "util/configparser.y" + { + OUTYY(("P(server_del_holddown:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->del_holddown = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 5616 "util/configparser.c" + break; + + case 538: /* server_keep_missing: VAR_KEEP_MISSING STRING_ARG */ +#line 2344 "util/configparser.y" + { + OUTYY(("P(server_keep_missing:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->keep_missing = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 5628 "util/configparser.c" + break; + + case 539: /* server_permit_small_holddown: VAR_PERMIT_SMALL_HOLDDOWN STRING_ARG */ +#line 2353 "util/configparser.y" + { + OUTYY(("P(server_permit_small_holddown:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->permit_small_holddown = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 5641 "util/configparser.c" + break; + + case 540: /* server_key_cache_size: VAR_KEY_CACHE_SIZE STRING_ARG */ +#line 2363 "util/configparser.y" + { + OUTYY(("P(server_key_cache_size:%s)\n", (yyvsp[0].str))); + if(!cfg_parse_memsize((yyvsp[0].str), &cfg_parser->cfg->key_cache_size)) + yyerror("memory size expected"); + free((yyvsp[0].str)); + } +#line 5652 "util/configparser.c" + break; + + case 541: /* server_key_cache_slabs: VAR_KEY_CACHE_SLABS STRING_ARG */ +#line 2371 "util/configparser.y" + { + OUTYY(("P(server_key_cache_slabs:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0) { + yyerror("number expected"); + } else { + cfg_parser->cfg->key_cache_slabs = atoi((yyvsp[0].str)); + if(!is_pow2(cfg_parser->cfg->key_cache_slabs)) + yyerror("must be a power of 2"); + } + free((yyvsp[0].str)); + } +#line 5668 "util/configparser.c" + break; + + case 542: /* server_neg_cache_size: VAR_NEG_CACHE_SIZE STRING_ARG */ +#line 2384 "util/configparser.y" + { + OUTYY(("P(server_neg_cache_size:%s)\n", (yyvsp[0].str))); + if(!cfg_parse_memsize((yyvsp[0].str), &cfg_parser->cfg->neg_cache_size)) + yyerror("memory size expected"); + free((yyvsp[0].str)); + } +#line 5679 "util/configparser.c" + break; + + case 543: /* server_local_zone: VAR_LOCAL_ZONE STRING_ARG STRING_ARG */ +#line 2392 "util/configparser.y" + { + OUTYY(("P(server_local_zone:%s %s)\n", (yyvsp[-1].str), (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "static")!=0 && strcmp((yyvsp[0].str), "deny")!=0 && + strcmp((yyvsp[0].str), "refuse")!=0 && strcmp((yyvsp[0].str), "redirect")!=0 && + strcmp((yyvsp[0].str), "transparent")!=0 && strcmp((yyvsp[0].str), "nodefault")!=0 + && strcmp((yyvsp[0].str), "typetransparent")!=0 + && strcmp((yyvsp[0].str), "always_transparent")!=0 + && strcmp((yyvsp[0].str), "block_a")!=0 + && strcmp((yyvsp[0].str), "block_aaaa")!=0 + && strcmp((yyvsp[0].str), "block_a_wdata")!=0 + && strcmp((yyvsp[0].str), "block_aaaa_wdata")!=0 + && strcmp((yyvsp[0].str), "always_refuse")!=0 + && strcmp((yyvsp[0].str), "always_nxdomain")!=0 + && strcmp((yyvsp[0].str), "always_nodata")!=0 + && strcmp((yyvsp[0].str), "always_deny")!=0 + && strcmp((yyvsp[0].str), "always_null")!=0 + && strcmp((yyvsp[0].str), "noview")!=0 + && strcmp((yyvsp[0].str), "inform")!=0 && strcmp((yyvsp[0].str), "inform_deny")!=0 + && strcmp((yyvsp[0].str), "inform_redirect") != 0 + && strcmp((yyvsp[0].str), "ipset") != 0) { + yyerror("local-zone type: expected static, deny, " + "refuse, redirect, transparent, " + "typetransparent, inform, inform_deny, " + "inform_redirect, always_transparent, " + "block_a, block_aaaa, " + "block_a_wdata, block_aaaa_wdata, " + "always_refuse, always_nxdomain, " + "always_nodata, always_deny, always_null, " + "noview, nodefault or ipset"); + free((yyvsp[-1].str)); + free((yyvsp[0].str)); + } else if(strcmp((yyvsp[0].str), "nodefault")==0) { + if(!cfg_strlist_insert(&cfg_parser->cfg-> + local_zones_nodefault, (yyvsp[-1].str))) + yyerror("out of memory"); + free((yyvsp[0].str)); +#ifdef USE_IPSET + } else if(strcmp((yyvsp[0].str), "ipset")==0) { + size_t len = strlen((yyvsp[-1].str)); + /* Make sure to add the trailing dot. + * These are str compared to domain names. */ + if((yyvsp[-1].str)[len-1] != '.') { + char* prev = (yyvsp[-1].str); + if(!((yyvsp[-1].str) = realloc((yyvsp[-1].str), len+2))) { + yyerror("out of memory"); + free(prev); + } else { + (yyvsp[-1].str)[len] = '.'; + (yyvsp[-1].str)[len+1] = 0; + } + } + if(!cfg_strlist_insert(&cfg_parser->cfg-> + local_zones_ipset, (yyvsp[-1].str))) + yyerror("out of memory"); + free((yyvsp[0].str)); +#endif + } else { + if(!cfg_str2list_insert(&cfg_parser->cfg->local_zones, + (yyvsp[-1].str), (yyvsp[0].str))) + yyerror("out of memory"); + } + } +#line 5746 "util/configparser.c" + break; + + case 544: /* server_local_data: VAR_LOCAL_DATA STRING_ARG */ +#line 2456 "util/configparser.y" + { + OUTYY(("P(server_local_data:%s)\n", (yyvsp[0].str))); + if(!cfg_strlist_insert(&cfg_parser->cfg->local_data, (yyvsp[0].str))) + yyerror("out of memory"); + } +#line 5756 "util/configparser.c" + break; + + case 545: /* server_local_data_ptr: VAR_LOCAL_DATA_PTR STRING_ARG */ +#line 2463 "util/configparser.y" + { + char* ptr; + OUTYY(("P(server_local_data_ptr:%s)\n", (yyvsp[0].str))); + ptr = cfg_ptr_reverse((yyvsp[0].str)); + free((yyvsp[0].str)); + if(ptr) { + if(!cfg_strlist_insert(&cfg_parser->cfg-> + local_data, ptr)) + yyerror("out of memory"); + } else { + yyerror("local-data-ptr could not be reversed"); + } + } +#line 5774 "util/configparser.c" + break; + + case 546: /* server_minimal_responses: VAR_MINIMAL_RESPONSES STRING_ARG */ +#line 2478 "util/configparser.y" + { + OUTYY(("P(server_minimal_responses:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->minimal_responses = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 5787 "util/configparser.c" + break; + + case 547: /* server_rrset_roundrobin: VAR_RRSET_ROUNDROBIN STRING_ARG */ +#line 2488 "util/configparser.y" + { + OUTYY(("P(server_rrset_roundrobin:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->rrset_roundrobin = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 5800 "util/configparser.c" + break; + + case 548: /* server_unknown_server_time_limit: VAR_UNKNOWN_SERVER_TIME_LIMIT STRING_ARG */ +#line 2498 "util/configparser.y" + { + OUTYY(("P(server_unknown_server_time_limit:%s)\n", (yyvsp[0].str))); + cfg_parser->cfg->unknown_server_time_limit = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 5810 "util/configparser.c" + break; + + case 549: /* server_discard_timeout: VAR_DISCARD_TIMEOUT STRING_ARG */ +#line 2505 "util/configparser.y" + { + OUTYY(("P(server_discard_timeout:%s)\n", (yyvsp[0].str))); + cfg_parser->cfg->discard_timeout = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 5820 "util/configparser.c" + break; + + case 550: /* server_wait_limit: VAR_WAIT_LIMIT STRING_ARG */ +#line 2512 "util/configparser.y" + { + OUTYY(("P(server_wait_limit:%s)\n", (yyvsp[0].str))); + cfg_parser->cfg->wait_limit = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 5830 "util/configparser.c" + break; + + case 551: /* server_wait_limit_cookie: VAR_WAIT_LIMIT_COOKIE STRING_ARG */ +#line 2519 "util/configparser.y" + { + OUTYY(("P(server_wait_limit_cookie:%s)\n", (yyvsp[0].str))); + cfg_parser->cfg->wait_limit_cookie = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 5840 "util/configparser.c" + break; + + case 552: /* server_wait_limit_netblock: VAR_WAIT_LIMIT_NETBLOCK STRING_ARG STRING_ARG */ +#line 2526 "util/configparser.y" + { + OUTYY(("P(server_wait_limit_netblock:%s %s)\n", (yyvsp[-1].str), (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) { + yyerror("number expected"); + free((yyvsp[-1].str)); + free((yyvsp[0].str)); + } else { + if(!cfg_str2list_insert(&cfg_parser->cfg-> + wait_limit_netblock, (yyvsp[-1].str), (yyvsp[0].str))) + yyerror("out of memory"); + } + } +#line 5857 "util/configparser.c" + break; + + case 553: /* server_wait_limit_cookie_netblock: VAR_WAIT_LIMIT_COOKIE_NETBLOCK STRING_ARG STRING_ARG */ +#line 2540 "util/configparser.y" + { + OUTYY(("P(server_wait_limit_cookie_netblock:%s %s)\n", (yyvsp[-1].str), (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) { + yyerror("number expected"); + free((yyvsp[-1].str)); + free((yyvsp[0].str)); + } else { + if(!cfg_str2list_insert(&cfg_parser->cfg-> + wait_limit_cookie_netblock, (yyvsp[-1].str), (yyvsp[0].str))) + yyerror("out of memory"); + } + } +#line 5874 "util/configparser.c" + break; + + case 554: /* server_max_udp_size: VAR_MAX_UDP_SIZE STRING_ARG */ +#line 2554 "util/configparser.y" + { + OUTYY(("P(server_max_udp_size:%s)\n", (yyvsp[0].str))); + cfg_parser->cfg->max_udp_size = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 5884 "util/configparser.c" + break; + + case 555: /* server_dns64_prefix: VAR_DNS64_PREFIX STRING_ARG */ +#line 2561 "util/configparser.y" + { + OUTYY(("P(dns64_prefix:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->dns64_prefix); + cfg_parser->cfg->dns64_prefix = (yyvsp[0].str); + } +#line 5894 "util/configparser.c" + break; + + case 556: /* server_dns64_synthall: VAR_DNS64_SYNTHALL STRING_ARG */ +#line 2568 "util/configparser.y" + { + OUTYY(("P(server_dns64_synthall:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->dns64_synthall = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 5906 "util/configparser.c" + break; + + case 557: /* server_dns64_ignore_aaaa: VAR_DNS64_IGNORE_AAAA STRING_ARG */ +#line 2577 "util/configparser.y" + { + OUTYY(("P(dns64_ignore_aaaa:%s)\n", (yyvsp[0].str))); + if(!cfg_strlist_insert(&cfg_parser->cfg->dns64_ignore_aaaa, + (yyvsp[0].str))) + yyerror("out of memory"); + } +#line 5917 "util/configparser.c" + break; + + case 558: /* server_nat64_prefix: VAR_NAT64_PREFIX STRING_ARG */ +#line 2585 "util/configparser.y" + { + OUTYY(("P(nat64_prefix:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->nat64_prefix); + cfg_parser->cfg->nat64_prefix = (yyvsp[0].str); + } +#line 5927 "util/configparser.c" + break; + + case 559: /* server_define_tag: VAR_DEFINE_TAG STRING_ARG */ +#line 2592 "util/configparser.y" + { + char* p, *s = (yyvsp[0].str); + OUTYY(("P(server_define_tag:%s)\n", (yyvsp[0].str))); + while((p=strsep(&s, " \t\n")) != NULL) { + if(*p) { + if(!config_add_tag(cfg_parser->cfg, p)) + yyerror("could not define-tag, " + "out of memory"); + } + } + free((yyvsp[0].str)); + } +#line 5944 "util/configparser.c" + break; + + case 560: /* server_local_zone_tag: VAR_LOCAL_ZONE_TAG STRING_ARG STRING_ARG */ +#line 2606 "util/configparser.y" + { + size_t len = 0; + uint8_t* bitlist = config_parse_taglist(cfg_parser->cfg, (yyvsp[0].str), + &len); + free((yyvsp[0].str)); + OUTYY(("P(server_local_zone_tag:%s)\n", (yyvsp[-1].str))); + if(!bitlist) { + yyerror("could not parse tags, (define-tag them first)"); + free((yyvsp[-1].str)); + } + if(bitlist) { + if(!cfg_strbytelist_insert( + &cfg_parser->cfg->local_zone_tags, + (yyvsp[-1].str), bitlist, len)) { + yyerror("out of memory"); + free((yyvsp[-1].str)); + } + } + } +#line 5968 "util/configparser.c" + break; + + case 561: /* server_access_control_tag: VAR_ACCESS_CONTROL_TAG STRING_ARG STRING_ARG */ +#line 2627 "util/configparser.y" + { + size_t len = 0; + uint8_t* bitlist = config_parse_taglist(cfg_parser->cfg, (yyvsp[0].str), + &len); + free((yyvsp[0].str)); + OUTYY(("P(server_access_control_tag:%s)\n", (yyvsp[-1].str))); + if(!bitlist) { + yyerror("could not parse tags, (define-tag them first)"); + free((yyvsp[-1].str)); + } + if(bitlist) { + if(!cfg_strbytelist_insert( + &cfg_parser->cfg->acl_tags, + (yyvsp[-1].str), bitlist, len)) { + yyerror("out of memory"); + free((yyvsp[-1].str)); + } + } + } +#line 5992 "util/configparser.c" + break; + + case 562: /* server_access_control_tag_action: VAR_ACCESS_CONTROL_TAG_ACTION STRING_ARG STRING_ARG STRING_ARG */ +#line 2648 "util/configparser.y" + { + OUTYY(("P(server_access_control_tag_action:%s %s %s)\n", (yyvsp[-2].str), (yyvsp[-1].str), (yyvsp[0].str))); + if(!cfg_str3list_insert(&cfg_parser->cfg->acl_tag_actions, + (yyvsp[-2].str), (yyvsp[-1].str), (yyvsp[0].str))) { + yyerror("out of memory"); + free((yyvsp[-2].str)); + free((yyvsp[-1].str)); + free((yyvsp[0].str)); + } + } +#line 6007 "util/configparser.c" + break; + + case 563: /* server_access_control_tag_data: VAR_ACCESS_CONTROL_TAG_DATA STRING_ARG STRING_ARG STRING_ARG */ +#line 2660 "util/configparser.y" + { + OUTYY(("P(server_access_control_tag_data:%s %s %s)\n", (yyvsp[-2].str), (yyvsp[-1].str), (yyvsp[0].str))); + if(!cfg_str3list_insert(&cfg_parser->cfg->acl_tag_datas, + (yyvsp[-2].str), (yyvsp[-1].str), (yyvsp[0].str))) { + yyerror("out of memory"); + free((yyvsp[-2].str)); + free((yyvsp[-1].str)); + free((yyvsp[0].str)); + } + } +#line 6022 "util/configparser.c" + break; + + case 564: /* server_local_zone_override: VAR_LOCAL_ZONE_OVERRIDE STRING_ARG STRING_ARG STRING_ARG */ +#line 2672 "util/configparser.y" + { + OUTYY(("P(server_local_zone_override:%s %s %s)\n", (yyvsp[-2].str), (yyvsp[-1].str), (yyvsp[0].str))); + if(!cfg_str3list_insert(&cfg_parser->cfg->local_zone_overrides, + (yyvsp[-2].str), (yyvsp[-1].str), (yyvsp[0].str))) { + yyerror("out of memory"); + free((yyvsp[-2].str)); + free((yyvsp[-1].str)); + free((yyvsp[0].str)); + } + } +#line 6037 "util/configparser.c" + break; + + case 565: /* server_access_control_view: VAR_ACCESS_CONTROL_VIEW STRING_ARG STRING_ARG */ +#line 2684 "util/configparser.y" + { + OUTYY(("P(server_access_control_view:%s %s)\n", (yyvsp[-1].str), (yyvsp[0].str))); + if(!cfg_str2list_insert(&cfg_parser->cfg->acl_view, + (yyvsp[-1].str), (yyvsp[0].str))) { + yyerror("out of memory"); + } + } +#line 6049 "util/configparser.c" + break; + + case 566: /* server_interface_tag: VAR_INTERFACE_TAG STRING_ARG STRING_ARG */ +#line 2693 "util/configparser.y" + { + size_t len = 0; + uint8_t* bitlist = config_parse_taglist(cfg_parser->cfg, (yyvsp[0].str), + &len); + free((yyvsp[0].str)); + OUTYY(("P(server_interface_tag:%s)\n", (yyvsp[-1].str))); + if(!bitlist) { + yyerror("could not parse tags, (define-tag them first)"); + free((yyvsp[-1].str)); + } + if(bitlist) { + if(!cfg_strbytelist_insert( + &cfg_parser->cfg->interface_tags, + (yyvsp[-1].str), bitlist, len)) { + yyerror("out of memory"); + free((yyvsp[-1].str)); + } + } + } +#line 6073 "util/configparser.c" + break; + + case 567: /* server_interface_tag_action: VAR_INTERFACE_TAG_ACTION STRING_ARG STRING_ARG STRING_ARG */ +#line 2714 "util/configparser.y" + { + OUTYY(("P(server_interface_tag_action:%s %s %s)\n", (yyvsp[-2].str), (yyvsp[-1].str), (yyvsp[0].str))); + if(!cfg_str3list_insert(&cfg_parser->cfg->interface_tag_actions, + (yyvsp[-2].str), (yyvsp[-1].str), (yyvsp[0].str))) { + yyerror("out of memory"); + free((yyvsp[-2].str)); + free((yyvsp[-1].str)); + free((yyvsp[0].str)); + } + } +#line 6088 "util/configparser.c" + break; + + case 568: /* server_interface_tag_data: VAR_INTERFACE_TAG_DATA STRING_ARG STRING_ARG STRING_ARG */ +#line 2726 "util/configparser.y" + { + OUTYY(("P(server_interface_tag_data:%s %s %s)\n", (yyvsp[-2].str), (yyvsp[-1].str), (yyvsp[0].str))); + if(!cfg_str3list_insert(&cfg_parser->cfg->interface_tag_datas, + (yyvsp[-2].str), (yyvsp[-1].str), (yyvsp[0].str))) { + yyerror("out of memory"); + free((yyvsp[-2].str)); + free((yyvsp[-1].str)); + free((yyvsp[0].str)); + } + } +#line 6103 "util/configparser.c" + break; + + case 569: /* server_interface_view: VAR_INTERFACE_VIEW STRING_ARG STRING_ARG */ +#line 2738 "util/configparser.y" + { + OUTYY(("P(server_interface_view:%s %s)\n", (yyvsp[-1].str), (yyvsp[0].str))); + if(!cfg_str2list_insert(&cfg_parser->cfg->interface_view, + (yyvsp[-1].str), (yyvsp[0].str))) { + yyerror("out of memory"); + } + } +#line 6115 "util/configparser.c" + break; + + case 570: /* server_response_ip_tag: VAR_RESPONSE_IP_TAG STRING_ARG STRING_ARG */ +#line 2747 "util/configparser.y" + { + size_t len = 0; + uint8_t* bitlist = config_parse_taglist(cfg_parser->cfg, (yyvsp[0].str), + &len); + free((yyvsp[0].str)); + OUTYY(("P(response_ip_tag:%s)\n", (yyvsp[-1].str))); + if(!bitlist) { + yyerror("could not parse tags, (define-tag them first)"); + free((yyvsp[-1].str)); + } + if(bitlist) { + if(!cfg_strbytelist_insert( + &cfg_parser->cfg->respip_tags, + (yyvsp[-1].str), bitlist, len)) { + yyerror("out of memory"); + free((yyvsp[-1].str)); + } + } + } +#line 6139 "util/configparser.c" + break; + + case 571: /* server_ip_ratelimit: VAR_IP_RATELIMIT STRING_ARG */ +#line 2768 "util/configparser.y" + { + OUTYY(("P(server_ip_ratelimit:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->ip_ratelimit = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 6151 "util/configparser.c" + break; + + case 572: /* server_ip_ratelimit_cookie: VAR_IP_RATELIMIT_COOKIE STRING_ARG */ +#line 2777 "util/configparser.y" + { + OUTYY(("P(server_ip_ratelimit_cookie:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->ip_ratelimit_cookie = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 6163 "util/configparser.c" + break; + + case 573: /* server_ratelimit: VAR_RATELIMIT STRING_ARG */ +#line 2786 "util/configparser.y" + { + OUTYY(("P(server_ratelimit:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->ratelimit = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 6175 "util/configparser.c" + break; + + case 574: /* server_ip_ratelimit_size: VAR_IP_RATELIMIT_SIZE STRING_ARG */ +#line 2795 "util/configparser.y" + { + OUTYY(("P(server_ip_ratelimit_size:%s)\n", (yyvsp[0].str))); + if(!cfg_parse_memsize((yyvsp[0].str), &cfg_parser->cfg->ip_ratelimit_size)) + yyerror("memory size expected"); + free((yyvsp[0].str)); + } +#line 6186 "util/configparser.c" + break; + + case 575: /* server_ratelimit_size: VAR_RATELIMIT_SIZE STRING_ARG */ +#line 2803 "util/configparser.y" + { + OUTYY(("P(server_ratelimit_size:%s)\n", (yyvsp[0].str))); + if(!cfg_parse_memsize((yyvsp[0].str), &cfg_parser->cfg->ratelimit_size)) + yyerror("memory size expected"); + free((yyvsp[0].str)); + } +#line 6197 "util/configparser.c" + break; + + case 576: /* server_ip_ratelimit_slabs: VAR_IP_RATELIMIT_SLABS STRING_ARG */ +#line 2811 "util/configparser.y" + { + OUTYY(("P(server_ip_ratelimit_slabs:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0) { + yyerror("number expected"); + } else { + cfg_parser->cfg->ip_ratelimit_slabs = atoi((yyvsp[0].str)); + if(!is_pow2(cfg_parser->cfg->ip_ratelimit_slabs)) + yyerror("must be a power of 2"); + } + free((yyvsp[0].str)); + } +#line 6213 "util/configparser.c" + break; + + case 577: /* server_ratelimit_slabs: VAR_RATELIMIT_SLABS STRING_ARG */ +#line 2824 "util/configparser.y" + { + OUTYY(("P(server_ratelimit_slabs:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0) { + yyerror("number expected"); + } else { + cfg_parser->cfg->ratelimit_slabs = atoi((yyvsp[0].str)); + if(!is_pow2(cfg_parser->cfg->ratelimit_slabs)) + yyerror("must be a power of 2"); + } + free((yyvsp[0].str)); + } +#line 6229 "util/configparser.c" + break; + + case 578: /* server_ratelimit_for_domain: VAR_RATELIMIT_FOR_DOMAIN STRING_ARG STRING_ARG */ +#line 2837 "util/configparser.y" + { + OUTYY(("P(server_ratelimit_for_domain:%s %s)\n", (yyvsp[-1].str), (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) { + yyerror("number expected"); + free((yyvsp[-1].str)); + free((yyvsp[0].str)); + } else { + if(!cfg_str2list_insert(&cfg_parser->cfg-> + ratelimit_for_domain, (yyvsp[-1].str), (yyvsp[0].str))) + yyerror("out of memory"); + } + } +#line 6246 "util/configparser.c" + break; + + case 579: /* server_ratelimit_below_domain: VAR_RATELIMIT_BELOW_DOMAIN STRING_ARG STRING_ARG */ +#line 2851 "util/configparser.y" + { + OUTYY(("P(server_ratelimit_below_domain:%s %s)\n", (yyvsp[-1].str), (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) { + yyerror("number expected"); + free((yyvsp[-1].str)); + free((yyvsp[0].str)); + } else { + if(!cfg_str2list_insert(&cfg_parser->cfg-> + ratelimit_below_domain, (yyvsp[-1].str), (yyvsp[0].str))) + yyerror("out of memory"); + } + } +#line 6263 "util/configparser.c" + break; + + case 580: /* server_ip_ratelimit_factor: VAR_IP_RATELIMIT_FACTOR STRING_ARG */ +#line 2865 "util/configparser.y" + { + OUTYY(("P(server_ip_ratelimit_factor:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->ip_ratelimit_factor = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 6275 "util/configparser.c" + break; + + case 581: /* server_ratelimit_factor: VAR_RATELIMIT_FACTOR STRING_ARG */ +#line 2874 "util/configparser.y" + { + OUTYY(("P(server_ratelimit_factor:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->ratelimit_factor = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 6287 "util/configparser.c" + break; + + case 582: /* server_ip_ratelimit_backoff: VAR_IP_RATELIMIT_BACKOFF STRING_ARG */ +#line 2883 "util/configparser.y" + { + OUTYY(("P(server_ip_ratelimit_backoff:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->ip_ratelimit_backoff = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 6300 "util/configparser.c" + break; + + case 583: /* server_ratelimit_backoff: VAR_RATELIMIT_BACKOFF STRING_ARG */ +#line 2893 "util/configparser.y" + { + OUTYY(("P(server_ratelimit_backoff:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->ratelimit_backoff = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 6313 "util/configparser.c" + break; + + case 584: /* server_outbound_msg_retry: VAR_OUTBOUND_MSG_RETRY STRING_ARG */ +#line 2903 "util/configparser.y" + { + OUTYY(("P(server_outbound_msg_retry:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->outbound_msg_retry = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 6325 "util/configparser.c" + break; + + case 585: /* server_max_sent_count: VAR_MAX_SENT_COUNT STRING_ARG */ +#line 2912 "util/configparser.y" + { + OUTYY(("P(server_max_sent_count:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->max_sent_count = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 6337 "util/configparser.c" + break; + + case 586: /* server_max_query_restarts: VAR_MAX_QUERY_RESTARTS STRING_ARG */ +#line 2921 "util/configparser.y" + { + OUTYY(("P(server_max_query_restarts:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->max_query_restarts = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 6349 "util/configparser.c" + break; + + case 587: /* server_low_rtt: VAR_LOW_RTT STRING_ARG */ +#line 2930 "util/configparser.y" + { + OUTYY(("P(low-rtt option is deprecated, use fast-server-num instead)\n")); + free((yyvsp[0].str)); + } +#line 6358 "util/configparser.c" + break; + + case 588: /* server_fast_server_num: VAR_FAST_SERVER_NUM STRING_ARG */ +#line 2936 "util/configparser.y" + { + OUTYY(("P(server_fast_server_num:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) <= 0) + yyerror("number expected"); + else cfg_parser->cfg->fast_server_num = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 6370 "util/configparser.c" + break; + + case 589: /* server_fast_server_permil: VAR_FAST_SERVER_PERMIL STRING_ARG */ +#line 2945 "util/configparser.y" + { + OUTYY(("P(server_fast_server_permil:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->fast_server_permil = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 6382 "util/configparser.c" + break; + + case 590: /* server_qname_minimisation: VAR_QNAME_MINIMISATION STRING_ARG */ +#line 2954 "util/configparser.y" + { + OUTYY(("P(server_qname_minimisation:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->qname_minimisation = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 6395 "util/configparser.c" + break; + + case 591: /* server_qname_minimisation_strict: VAR_QNAME_MINIMISATION_STRICT STRING_ARG */ +#line 2964 "util/configparser.y" + { + OUTYY(("P(server_qname_minimisation_strict:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->qname_minimisation_strict = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 6408 "util/configparser.c" + break; + + case 592: /* server_pad_responses: VAR_PAD_RESPONSES STRING_ARG */ +#line 2974 "util/configparser.y" + { + OUTYY(("P(server_pad_responses:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->pad_responses = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 6421 "util/configparser.c" + break; + + case 593: /* server_pad_responses_block_size: VAR_PAD_RESPONSES_BLOCK_SIZE STRING_ARG */ +#line 2984 "util/configparser.y" + { + OUTYY(("P(server_pad_responses_block_size:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0) + yyerror("number expected"); + else cfg_parser->cfg->pad_responses_block_size = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 6433 "util/configparser.c" + break; + + case 594: /* server_pad_queries: VAR_PAD_QUERIES STRING_ARG */ +#line 2993 "util/configparser.y" + { + OUTYY(("P(server_pad_queries:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->pad_queries = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 6446 "util/configparser.c" + break; + + case 595: /* server_pad_queries_block_size: VAR_PAD_QUERIES_BLOCK_SIZE STRING_ARG */ +#line 3003 "util/configparser.y" + { + OUTYY(("P(server_pad_queries_block_size:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0) + yyerror("number expected"); + else cfg_parser->cfg->pad_queries_block_size = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 6458 "util/configparser.c" + break; + + case 596: /* server_ipsecmod_enabled: VAR_IPSECMOD_ENABLED STRING_ARG */ +#line 3012 "util/configparser.y" + { + #ifdef USE_IPSECMOD + OUTYY(("P(server_ipsecmod_enabled:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->ipsecmod_enabled = (strcmp((yyvsp[0].str), "yes")==0); + #else + OUTYY(("P(Compiled without IPsec module, ignoring)\n")); + #endif + free((yyvsp[0].str)); + } +#line 6474 "util/configparser.c" + break; + + case 597: /* server_ipsecmod_ignore_bogus: VAR_IPSECMOD_IGNORE_BOGUS STRING_ARG */ +#line 3025 "util/configparser.y" + { + #ifdef USE_IPSECMOD + OUTYY(("P(server_ipsecmod_ignore_bogus:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->ipsecmod_ignore_bogus = (strcmp((yyvsp[0].str), "yes")==0); + #else + OUTYY(("P(Compiled without IPsec module, ignoring)\n")); + #endif + free((yyvsp[0].str)); + } +#line 6490 "util/configparser.c" + break; + + case 598: /* server_ipsecmod_hook: VAR_IPSECMOD_HOOK STRING_ARG */ +#line 3038 "util/configparser.y" + { + #ifdef USE_IPSECMOD + OUTYY(("P(server_ipsecmod_hook:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->ipsecmod_hook); + cfg_parser->cfg->ipsecmod_hook = (yyvsp[0].str); + #else + OUTYY(("P(Compiled without IPsec module, ignoring)\n")); + free((yyvsp[0].str)); + #endif + } +#line 6505 "util/configparser.c" + break; + + case 599: /* server_ipsecmod_max_ttl: VAR_IPSECMOD_MAX_TTL STRING_ARG */ +#line 3050 "util/configparser.y" + { + #ifdef USE_IPSECMOD + OUTYY(("P(server_ipsecmod_max_ttl:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->ipsecmod_max_ttl = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + #else + OUTYY(("P(Compiled without IPsec module, ignoring)\n")); + free((yyvsp[0].str)); + #endif + } +#line 6522 "util/configparser.c" + break; + + case 600: /* server_ipsecmod_whitelist: VAR_IPSECMOD_WHITELIST STRING_ARG */ +#line 3064 "util/configparser.y" + { + #ifdef USE_IPSECMOD + OUTYY(("P(server_ipsecmod_whitelist:%s)\n", (yyvsp[0].str))); + if(!cfg_strlist_insert(&cfg_parser->cfg->ipsecmod_whitelist, (yyvsp[0].str))) + yyerror("out of memory"); + #else + OUTYY(("P(Compiled without IPsec module, ignoring)\n")); + free((yyvsp[0].str)); + #endif + } +#line 6537 "util/configparser.c" + break; + + case 601: /* server_ipsecmod_strict: VAR_IPSECMOD_STRICT STRING_ARG */ +#line 3076 "util/configparser.y" + { + #ifdef USE_IPSECMOD + OUTYY(("P(server_ipsecmod_strict:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->ipsecmod_strict = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + #else + OUTYY(("P(Compiled without IPsec module, ignoring)\n")); + free((yyvsp[0].str)); + #endif + } +#line 6554 "util/configparser.c" + break; + + case 602: /* server_edns_client_string: VAR_EDNS_CLIENT_STRING STRING_ARG STRING_ARG */ +#line 3090 "util/configparser.y" + { + OUTYY(("P(server_edns_client_string:%s %s)\n", (yyvsp[-1].str), (yyvsp[0].str))); + if(!cfg_str2list_insert( + &cfg_parser->cfg->edns_client_strings, (yyvsp[-1].str), (yyvsp[0].str))) + yyerror("out of memory"); + } +#line 6565 "util/configparser.c" + break; + + case 603: /* server_edns_client_string_opcode: VAR_EDNS_CLIENT_STRING_OPCODE STRING_ARG */ +#line 3098 "util/configparser.y" + { + OUTYY(("P(edns_client_string_opcode:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("option code expected"); + else if(atoi((yyvsp[0].str)) > 65535 || atoi((yyvsp[0].str)) < 0) + yyerror("option code must be in interval [0, 65535]"); + else cfg_parser->cfg->edns_client_string_opcode = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 6579 "util/configparser.c" + break; + + case 604: /* server_ede: VAR_EDE STRING_ARG */ +#line 3109 "util/configparser.y" + { + OUTYY(("P(server_ede:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->ede = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 6591 "util/configparser.c" + break; + + case 605: /* server_dns_error_reporting: VAR_DNS_ERROR_REPORTING STRING_ARG */ +#line 3118 "util/configparser.y" + { + OUTYY(("P(server_dns_error_reporting:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->dns_error_reporting = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 6603 "util/configparser.c" + break; + + case 606: /* server_proxy_protocol_port: VAR_PROXY_PROTOCOL_PORT STRING_ARG */ +#line 3127 "util/configparser.y" + { + OUTYY(("P(server_proxy_protocol_port:%s)\n", (yyvsp[0].str))); + if(!cfg_strlist_insert(&cfg_parser->cfg->proxy_protocol_port, (yyvsp[0].str))) + yyerror("out of memory"); + } +#line 6613 "util/configparser.c" + break; + + case 607: /* stub_name: VAR_NAME STRING_ARG */ +#line 3134 "util/configparser.y" + { + OUTYY(("P(name:%s)\n", (yyvsp[0].str))); + if(cfg_parser->cfg->stubs->name) + yyerror("stub name override, there must be one name " + "for one stub-zone"); + free(cfg_parser->cfg->stubs->name); + cfg_parser->cfg->stubs->name = (yyvsp[0].str); + } +#line 6626 "util/configparser.c" + break; + + case 608: /* stub_host: VAR_STUB_HOST STRING_ARG */ +#line 3144 "util/configparser.y" + { + OUTYY(("P(stub-host:%s)\n", (yyvsp[0].str))); + if(!cfg_strlist_insert(&cfg_parser->cfg->stubs->hosts, (yyvsp[0].str))) + yyerror("out of memory"); + } +#line 6636 "util/configparser.c" + break; + + case 609: /* stub_addr: VAR_STUB_ADDR STRING_ARG */ +#line 3151 "util/configparser.y" + { + OUTYY(("P(stub-addr:%s)\n", (yyvsp[0].str))); + if(!cfg_strlist_insert(&cfg_parser->cfg->stubs->addrs, (yyvsp[0].str))) + yyerror("out of memory"); + } +#line 6646 "util/configparser.c" + break; + + case 610: /* stub_first: VAR_STUB_FIRST STRING_ARG */ +#line 3158 "util/configparser.y" + { + OUTYY(("P(stub-first:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->stubs->isfirst=(strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 6658 "util/configparser.c" + break; + + case 611: /* stub_no_cache: VAR_STUB_NO_CACHE STRING_ARG */ +#line 3167 "util/configparser.y" + { + OUTYY(("P(stub-no-cache:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->stubs->no_cache=(strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 6670 "util/configparser.c" + break; + + case 612: /* stub_ssl_upstream: VAR_STUB_SSL_UPSTREAM STRING_ARG */ +#line 3176 "util/configparser.y" + { + OUTYY(("P(stub-ssl-upstream:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->stubs->ssl_upstream = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 6683 "util/configparser.c" + break; + + case 613: /* stub_tcp_upstream: VAR_STUB_TCP_UPSTREAM STRING_ARG */ +#line 3186 "util/configparser.y" + { + OUTYY(("P(stub-tcp-upstream:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->stubs->tcp_upstream = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 6696 "util/configparser.c" + break; + + case 614: /* stub_prime: VAR_STUB_PRIME STRING_ARG */ +#line 3196 "util/configparser.y" + { + OUTYY(("P(stub-prime:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->stubs->isprime = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 6709 "util/configparser.c" + break; + + case 615: /* forward_name: VAR_NAME STRING_ARG */ +#line 3206 "util/configparser.y" + { + OUTYY(("P(name:%s)\n", (yyvsp[0].str))); + if(cfg_parser->cfg->forwards->name) + yyerror("forward name override, there must be one " + "name for one forward-zone"); + free(cfg_parser->cfg->forwards->name); + cfg_parser->cfg->forwards->name = (yyvsp[0].str); + } +#line 6722 "util/configparser.c" + break; + + case 616: /* forward_host: VAR_FORWARD_HOST STRING_ARG */ +#line 3216 "util/configparser.y" + { + OUTYY(("P(forward-host:%s)\n", (yyvsp[0].str))); + if(!cfg_strlist_insert(&cfg_parser->cfg->forwards->hosts, (yyvsp[0].str))) + yyerror("out of memory"); + } +#line 6732 "util/configparser.c" + break; + + case 617: /* forward_addr: VAR_FORWARD_ADDR STRING_ARG */ +#line 3223 "util/configparser.y" + { + OUTYY(("P(forward-addr:%s)\n", (yyvsp[0].str))); + if(!cfg_strlist_insert(&cfg_parser->cfg->forwards->addrs, (yyvsp[0].str))) + yyerror("out of memory"); + } +#line 6742 "util/configparser.c" + break; + + case 618: /* forward_first: VAR_FORWARD_FIRST STRING_ARG */ +#line 3230 "util/configparser.y" + { + OUTYY(("P(forward-first:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->forwards->isfirst=(strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 6754 "util/configparser.c" + break; + + case 619: /* forward_no_cache: VAR_FORWARD_NO_CACHE STRING_ARG */ +#line 3239 "util/configparser.y" + { + OUTYY(("P(forward-no-cache:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->forwards->no_cache=(strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 6766 "util/configparser.c" + break; + + case 620: /* forward_ssl_upstream: VAR_FORWARD_SSL_UPSTREAM STRING_ARG */ +#line 3248 "util/configparser.y" + { + OUTYY(("P(forward-ssl-upstream:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->forwards->ssl_upstream = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 6779 "util/configparser.c" + break; + + case 621: /* forward_tcp_upstream: VAR_FORWARD_TCP_UPSTREAM STRING_ARG */ +#line 3258 "util/configparser.y" + { + OUTYY(("P(forward-tcp-upstream:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->forwards->tcp_upstream = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 6792 "util/configparser.c" + break; + + case 622: /* auth_name: VAR_NAME STRING_ARG */ +#line 3268 "util/configparser.y" + { + OUTYY(("P(name:%s)\n", (yyvsp[0].str))); + if(cfg_parser->cfg->auths->name) + yyerror("auth name override, there must be one name " + "for one auth-zone"); + free(cfg_parser->cfg->auths->name); + cfg_parser->cfg->auths->name = (yyvsp[0].str); + } +#line 6805 "util/configparser.c" + break; + + case 623: /* auth_zonefile: VAR_ZONEFILE STRING_ARG */ +#line 3278 "util/configparser.y" + { + OUTYY(("P(zonefile:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->auths->zonefile); + cfg_parser->cfg->auths->zonefile = (yyvsp[0].str); + } +#line 6815 "util/configparser.c" + break; + + case 624: /* auth_master: VAR_MASTER STRING_ARG */ +#line 3285 "util/configparser.y" + { + OUTYY(("P(master:%s)\n", (yyvsp[0].str))); + if(!cfg_strlist_insert(&cfg_parser->cfg->auths->masters, (yyvsp[0].str))) + yyerror("out of memory"); + } +#line 6825 "util/configparser.c" + break; + + case 625: /* auth_url: VAR_URL STRING_ARG */ +#line 3292 "util/configparser.y" + { + OUTYY(("P(url:%s)\n", (yyvsp[0].str))); + if(!cfg_strlist_insert(&cfg_parser->cfg->auths->urls, (yyvsp[0].str))) + yyerror("out of memory"); + } +#line 6835 "util/configparser.c" + break; + + case 626: /* auth_allow_notify: VAR_ALLOW_NOTIFY STRING_ARG */ +#line 3299 "util/configparser.y" + { + OUTYY(("P(allow-notify:%s)\n", (yyvsp[0].str))); + if(!cfg_strlist_insert(&cfg_parser->cfg->auths->allow_notify, + (yyvsp[0].str))) + yyerror("out of memory"); + } +#line 6846 "util/configparser.c" + break; + + case 627: /* auth_zonemd_check: VAR_ZONEMD_CHECK STRING_ARG */ +#line 3307 "util/configparser.y" + { + OUTYY(("P(zonemd-check:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->auths->zonemd_check = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 6859 "util/configparser.c" + break; + + case 628: /* auth_zonemd_reject_absence: VAR_ZONEMD_REJECT_ABSENCE STRING_ARG */ +#line 3317 "util/configparser.y" + { + OUTYY(("P(zonemd-reject-absence:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->auths->zonemd_reject_absence = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 6872 "util/configparser.c" + break; + + case 629: /* auth_for_downstream: VAR_FOR_DOWNSTREAM STRING_ARG */ +#line 3327 "util/configparser.y" + { + OUTYY(("P(for-downstream:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->auths->for_downstream = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 6885 "util/configparser.c" + break; + + case 630: /* auth_for_upstream: VAR_FOR_UPSTREAM STRING_ARG */ +#line 3337 "util/configparser.y" + { + OUTYY(("P(for-upstream:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->auths->for_upstream = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 6898 "util/configparser.c" + break; + + case 631: /* auth_fallback_enabled: VAR_FALLBACK_ENABLED STRING_ARG */ +#line 3347 "util/configparser.y" + { + OUTYY(("P(fallback-enabled:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->auths->fallback_enabled = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 6911 "util/configparser.c" + break; + + case 632: /* auth_max_transfer_size: VAR_MAX_TRANSFER_SIZE STRING_ARG */ +#line 3357 "util/configparser.y" + { + OUTYY(("P(max-transfer-size:%s)\n", (yyvsp[0].str))); + if(!cfg_parse_memsize((yyvsp[0].str), &cfg_parser->cfg->auths->max_transfer_size)) + yyerror("memory size expected"); + free((yyvsp[0].str)); + } +#line 6922 "util/configparser.c" + break; + + case 633: /* auth_max_transfer_time: VAR_MAX_TRANSFER_TIME STRING_ARG */ +#line 3365 "util/configparser.y" + { + OUTYY(("P(max-transfer-time:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->auths->max_transfer_time = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 6934 "util/configparser.c" + break; + + case 634: /* view_name: VAR_NAME STRING_ARG */ +#line 3374 "util/configparser.y" + { + OUTYY(("P(name:%s)\n", (yyvsp[0].str))); + if(cfg_parser->cfg->views->name) + yyerror("view name override, there must be one " + "name for one view"); + free(cfg_parser->cfg->views->name); + cfg_parser->cfg->views->name = (yyvsp[0].str); + } +#line 6947 "util/configparser.c" + break; + + case 635: /* view_local_zone: VAR_LOCAL_ZONE STRING_ARG STRING_ARG */ +#line 3384 "util/configparser.y" + { + OUTYY(("P(view_local_zone:%s %s)\n", (yyvsp[-1].str), (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "static")!=0 && strcmp((yyvsp[0].str), "deny")!=0 && + strcmp((yyvsp[0].str), "refuse")!=0 && strcmp((yyvsp[0].str), "redirect")!=0 && + strcmp((yyvsp[0].str), "transparent")!=0 && strcmp((yyvsp[0].str), "nodefault")!=0 + && strcmp((yyvsp[0].str), "typetransparent")!=0 + && strcmp((yyvsp[0].str), "always_transparent")!=0 + && strcmp((yyvsp[0].str), "always_refuse")!=0 + && strcmp((yyvsp[0].str), "always_nxdomain")!=0 + && strcmp((yyvsp[0].str), "always_nodata")!=0 + && strcmp((yyvsp[0].str), "always_deny")!=0 + && strcmp((yyvsp[0].str), "always_null")!=0 + && strcmp((yyvsp[0].str), "noview")!=0 + && strcmp((yyvsp[0].str), "inform")!=0 && strcmp((yyvsp[0].str), "inform_deny")!=0 + && strcmp((yyvsp[0].str), "inform_redirect") != 0 + && strcmp((yyvsp[0].str), "ipset") != 0) { + yyerror("local-zone type: expected static, deny, " + "refuse, redirect, transparent, " + "typetransparent, inform, inform_deny, " + "inform_redirect, always_transparent, " + "always_refuse, always_nxdomain, " + "always_nodata, always_deny, always_null, " + "noview, nodefault or ipset"); + free((yyvsp[-1].str)); + free((yyvsp[0].str)); + } else if(strcmp((yyvsp[0].str), "nodefault")==0) { + if(!cfg_strlist_insert(&cfg_parser->cfg->views-> + local_zones_nodefault, (yyvsp[-1].str))) + yyerror("out of memory"); + free((yyvsp[0].str)); +#ifdef USE_IPSET + } else if(strcmp((yyvsp[0].str), "ipset")==0) { + size_t len = strlen((yyvsp[-1].str)); + /* Make sure to add the trailing dot. + * These are str compared to domain names. */ + if((yyvsp[-1].str)[len-1] != '.') { + char* prev = (yyvsp[-1].str); + if(!((yyvsp[-1].str) = realloc((yyvsp[-1].str), len+2))) { + yyerror("out of memory"); + free(prev); + } else { + (yyvsp[-1].str)[len] = '.'; + (yyvsp[-1].str)[len+1] = 0; + } + } + if(!cfg_strlist_insert(&cfg_parser->cfg->views-> + local_zones_ipset, (yyvsp[-1].str))) + yyerror("out of memory"); + free((yyvsp[0].str)); +#endif + } else { + if(!cfg_str2list_insert( + &cfg_parser->cfg->views->local_zones, + (yyvsp[-1].str), (yyvsp[0].str))) + yyerror("out of memory"); + } + } +#line 7009 "util/configparser.c" + break; + + case 636: /* view_response_ip: VAR_RESPONSE_IP STRING_ARG STRING_ARG */ +#line 3443 "util/configparser.y" + { + OUTYY(("P(view_response_ip:%s %s)\n", (yyvsp[-1].str), (yyvsp[0].str))); + validate_respip_action((yyvsp[0].str)); + if(!cfg_str2list_insert( + &cfg_parser->cfg->views->respip_actions, (yyvsp[-1].str), (yyvsp[0].str))) + yyerror("out of memory"); + } +#line 7021 "util/configparser.c" + break; + + case 637: /* view_response_ip_data: VAR_RESPONSE_IP_DATA STRING_ARG STRING_ARG */ +#line 3452 "util/configparser.y" + { + OUTYY(("P(view_response_ip_data:%s)\n", (yyvsp[-1].str))); + if(!cfg_str2list_insert( + &cfg_parser->cfg->views->respip_data, (yyvsp[-1].str), (yyvsp[0].str))) + yyerror("out of memory"); + } +#line 7032 "util/configparser.c" + break; + + case 638: /* view_local_data: VAR_LOCAL_DATA STRING_ARG */ +#line 3460 "util/configparser.y" + { + OUTYY(("P(view_local_data:%s)\n", (yyvsp[0].str))); + if(!cfg_strlist_insert(&cfg_parser->cfg->views->local_data, (yyvsp[0].str))) { + yyerror("out of memory"); + } + } +#line 7043 "util/configparser.c" + break; + + case 639: /* view_local_data_ptr: VAR_LOCAL_DATA_PTR STRING_ARG */ +#line 3468 "util/configparser.y" + { + char* ptr; + OUTYY(("P(view_local_data_ptr:%s)\n", (yyvsp[0].str))); + ptr = cfg_ptr_reverse((yyvsp[0].str)); + free((yyvsp[0].str)); + if(ptr) { + if(!cfg_strlist_insert(&cfg_parser->cfg->views-> + local_data, ptr)) + yyerror("out of memory"); + } else { + yyerror("local-data-ptr could not be reversed"); + } + } +#line 7061 "util/configparser.c" + break; + + case 640: /* view_first: VAR_VIEW_FIRST STRING_ARG */ +#line 3483 "util/configparser.y" + { + OUTYY(("P(view-first:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->views->isfirst=(strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 7073 "util/configparser.c" + break; + + case 641: /* rcstart: VAR_REMOTE_CONTROL */ +#line 3492 "util/configparser.y" + { + OUTYY(("\nP(remote-control:)\n")); + cfg_parser->started_toplevel = 1; + } +#line 7082 "util/configparser.c" + break; + + case 652: /* rc_control_enable: VAR_CONTROL_ENABLE STRING_ARG */ +#line 3504 "util/configparser.y" + { + OUTYY(("P(control_enable:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->remote_control_enable = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 7095 "util/configparser.c" + break; + + case 653: /* rc_control_port: VAR_CONTROL_PORT STRING_ARG */ +#line 3514 "util/configparser.y" + { + OUTYY(("P(control_port:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0) + yyerror("control port number expected"); + else cfg_parser->cfg->control_port = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 7107 "util/configparser.c" + break; + + case 654: /* rc_control_interface: VAR_CONTROL_INTERFACE STRING_ARG */ +#line 3523 "util/configparser.y" + { + OUTYY(("P(control_interface:%s)\n", (yyvsp[0].str))); + if(!cfg_strlist_append(&cfg_parser->cfg->control_ifs, (yyvsp[0].str))) + yyerror("out of memory"); + } +#line 7117 "util/configparser.c" + break; + + case 655: /* rc_control_use_cert: VAR_CONTROL_USE_CERT STRING_ARG */ +#line 3530 "util/configparser.y" + { + OUTYY(("P(control_use_cert:%s)\n", (yyvsp[0].str))); + cfg_parser->cfg->control_use_cert = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 7127 "util/configparser.c" + break; + + case 656: /* rc_server_key_file: VAR_SERVER_KEY_FILE STRING_ARG */ +#line 3537 "util/configparser.y" + { + OUTYY(("P(rc_server_key_file:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->server_key_file); + cfg_parser->cfg->server_key_file = (yyvsp[0].str); + } +#line 7137 "util/configparser.c" + break; + + case 657: /* rc_server_cert_file: VAR_SERVER_CERT_FILE STRING_ARG */ +#line 3544 "util/configparser.y" + { + OUTYY(("P(rc_server_cert_file:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->server_cert_file); + cfg_parser->cfg->server_cert_file = (yyvsp[0].str); + } +#line 7147 "util/configparser.c" + break; + + case 658: /* rc_control_key_file: VAR_CONTROL_KEY_FILE STRING_ARG */ +#line 3551 "util/configparser.y" + { + OUTYY(("P(rc_control_key_file:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->control_key_file); + cfg_parser->cfg->control_key_file = (yyvsp[0].str); + } +#line 7157 "util/configparser.c" + break; + + case 659: /* rc_control_cert_file: VAR_CONTROL_CERT_FILE STRING_ARG */ +#line 3558 "util/configparser.y" + { + OUTYY(("P(rc_control_cert_file:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->control_cert_file); + cfg_parser->cfg->control_cert_file = (yyvsp[0].str); + } +#line 7167 "util/configparser.c" + break; + + case 660: /* dtstart: VAR_DNSTAP */ +#line 3565 "util/configparser.y" + { + OUTYY(("\nP(dnstap:)\n")); + cfg_parser->started_toplevel = 1; + } +#line 7176 "util/configparser.c" + break; + + case 683: /* dt_dnstap_enable: VAR_DNSTAP_ENABLE STRING_ARG */ +#line 3587 "util/configparser.y" + { + OUTYY(("P(dt_dnstap_enable:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->dnstap = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 7188 "util/configparser.c" + break; + + case 684: /* dt_dnstap_bidirectional: VAR_DNSTAP_BIDIRECTIONAL STRING_ARG */ +#line 3596 "util/configparser.y" + { + OUTYY(("P(dt_dnstap_bidirectional:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->dnstap_bidirectional = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 7201 "util/configparser.c" + break; + + case 685: /* dt_dnstap_socket_path: VAR_DNSTAP_SOCKET_PATH STRING_ARG */ +#line 3606 "util/configparser.y" + { + OUTYY(("P(dt_dnstap_socket_path:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->dnstap_socket_path); + cfg_parser->cfg->dnstap_socket_path = (yyvsp[0].str); + } +#line 7211 "util/configparser.c" + break; + + case 686: /* dt_dnstap_ip: VAR_DNSTAP_IP STRING_ARG */ +#line 3613 "util/configparser.y" + { + OUTYY(("P(dt_dnstap_ip:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->dnstap_ip); + cfg_parser->cfg->dnstap_ip = (yyvsp[0].str); + } +#line 7221 "util/configparser.c" + break; + + case 687: /* dt_dnstap_tls: VAR_DNSTAP_TLS STRING_ARG */ +#line 3620 "util/configparser.y" + { + OUTYY(("P(dt_dnstap_tls:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->dnstap_tls = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 7233 "util/configparser.c" + break; + + case 688: /* dt_dnstap_tls_server_name: VAR_DNSTAP_TLS_SERVER_NAME STRING_ARG */ +#line 3629 "util/configparser.y" + { + OUTYY(("P(dt_dnstap_tls_server_name:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->dnstap_tls_server_name); + cfg_parser->cfg->dnstap_tls_server_name = (yyvsp[0].str); + } +#line 7243 "util/configparser.c" + break; + + case 689: /* dt_dnstap_tls_cert_bundle: VAR_DNSTAP_TLS_CERT_BUNDLE STRING_ARG */ +#line 3636 "util/configparser.y" + { + OUTYY(("P(dt_dnstap_tls_cert_bundle:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->dnstap_tls_cert_bundle); + cfg_parser->cfg->dnstap_tls_cert_bundle = (yyvsp[0].str); + } +#line 7253 "util/configparser.c" + break; + + case 690: /* dt_dnstap_tls_client_key_file: VAR_DNSTAP_TLS_CLIENT_KEY_FILE STRING_ARG */ +#line 3643 "util/configparser.y" + { + OUTYY(("P(dt_dnstap_tls_client_key_file:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->dnstap_tls_client_key_file); + cfg_parser->cfg->dnstap_tls_client_key_file = (yyvsp[0].str); + } +#line 7263 "util/configparser.c" + break; + + case 691: /* dt_dnstap_tls_client_cert_file: VAR_DNSTAP_TLS_CLIENT_CERT_FILE STRING_ARG */ +#line 3650 "util/configparser.y" + { + OUTYY(("P(dt_dnstap_tls_client_cert_file:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->dnstap_tls_client_cert_file); + cfg_parser->cfg->dnstap_tls_client_cert_file = (yyvsp[0].str); + } +#line 7273 "util/configparser.c" + break; + + case 692: /* dt_dnstap_send_identity: VAR_DNSTAP_SEND_IDENTITY STRING_ARG */ +#line 3657 "util/configparser.y" + { + OUTYY(("P(dt_dnstap_send_identity:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->dnstap_send_identity = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 7285 "util/configparser.c" + break; + + case 693: /* dt_dnstap_send_version: VAR_DNSTAP_SEND_VERSION STRING_ARG */ +#line 3666 "util/configparser.y" + { + OUTYY(("P(dt_dnstap_send_version:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->dnstap_send_version = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 7297 "util/configparser.c" + break; + + case 694: /* dt_dnstap_identity: VAR_DNSTAP_IDENTITY STRING_ARG */ +#line 3675 "util/configparser.y" + { + OUTYY(("P(dt_dnstap_identity:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->dnstap_identity); + cfg_parser->cfg->dnstap_identity = (yyvsp[0].str); + } +#line 7307 "util/configparser.c" + break; + + case 695: /* dt_dnstap_version: VAR_DNSTAP_VERSION STRING_ARG */ +#line 3682 "util/configparser.y" + { + OUTYY(("P(dt_dnstap_version:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->dnstap_version); + cfg_parser->cfg->dnstap_version = (yyvsp[0].str); + } +#line 7317 "util/configparser.c" + break; + + case 696: /* dt_dnstap_log_resolver_query_messages: VAR_DNSTAP_LOG_RESOLVER_QUERY_MESSAGES STRING_ARG */ +#line 3689 "util/configparser.y" + { + OUTYY(("P(dt_dnstap_log_resolver_query_messages:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->dnstap_log_resolver_query_messages = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 7330 "util/configparser.c" + break; + + case 697: /* dt_dnstap_log_resolver_response_messages: VAR_DNSTAP_LOG_RESOLVER_RESPONSE_MESSAGES STRING_ARG */ +#line 3699 "util/configparser.y" + { + OUTYY(("P(dt_dnstap_log_resolver_response_messages:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->dnstap_log_resolver_response_messages = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 7343 "util/configparser.c" + break; + + case 698: /* dt_dnstap_log_client_query_messages: VAR_DNSTAP_LOG_CLIENT_QUERY_MESSAGES STRING_ARG */ +#line 3709 "util/configparser.y" + { + OUTYY(("P(dt_dnstap_log_client_query_messages:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->dnstap_log_client_query_messages = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 7356 "util/configparser.c" + break; + + case 699: /* dt_dnstap_log_client_response_messages: VAR_DNSTAP_LOG_CLIENT_RESPONSE_MESSAGES STRING_ARG */ +#line 3719 "util/configparser.y" + { + OUTYY(("P(dt_dnstap_log_client_response_messages:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->dnstap_log_client_response_messages = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 7369 "util/configparser.c" + break; + + case 700: /* dt_dnstap_log_forwarder_query_messages: VAR_DNSTAP_LOG_FORWARDER_QUERY_MESSAGES STRING_ARG */ +#line 3729 "util/configparser.y" + { + OUTYY(("P(dt_dnstap_log_forwarder_query_messages:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->dnstap_log_forwarder_query_messages = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 7382 "util/configparser.c" + break; + + case 701: /* dt_dnstap_log_forwarder_response_messages: VAR_DNSTAP_LOG_FORWARDER_RESPONSE_MESSAGES STRING_ARG */ +#line 3739 "util/configparser.y" + { + OUTYY(("P(dt_dnstap_log_forwarder_response_messages:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->dnstap_log_forwarder_response_messages = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 7395 "util/configparser.c" + break; + + case 702: /* dt_dnstap_sample_rate: VAR_DNSTAP_SAMPLE_RATE STRING_ARG */ +#line 3749 "util/configparser.y" + { + OUTYY(("P(dt_dnstap_sample_rate:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else if(atoi((yyvsp[0].str)) < 0) + yyerror("dnstap sample rate too small"); + else cfg_parser->cfg->dnstap_sample_rate = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 7409 "util/configparser.c" + break; + + case 703: /* pythonstart: VAR_PYTHON */ +#line 3760 "util/configparser.y" + { + OUTYY(("\nP(python:)\n")); + cfg_parser->started_toplevel = 1; + } +#line 7418 "util/configparser.c" + break; + + case 707: /* py_script: VAR_PYTHON_SCRIPT STRING_ARG */ +#line 3770 "util/configparser.y" + { + OUTYY(("P(python-script:%s)\n", (yyvsp[0].str))); + if(!cfg_strlist_append_ex(&cfg_parser->cfg->python_script, (yyvsp[0].str))) + yyerror("out of memory"); + } +#line 7428 "util/configparser.c" + break; + + case 708: /* dynlibstart: VAR_DYNLIB */ +#line 3777 "util/configparser.y" + { + OUTYY(("\nP(dynlib:)\n")); + cfg_parser->started_toplevel = 1; + } +#line 7437 "util/configparser.c" + break; + + case 712: /* dl_file: VAR_DYNLIB_FILE STRING_ARG */ +#line 3787 "util/configparser.y" + { + OUTYY(("P(dynlib-file:%s)\n", (yyvsp[0].str))); + if(!cfg_strlist_append_ex(&cfg_parser->cfg->dynlib_file, (yyvsp[0].str))) + yyerror("out of memory"); + } +#line 7447 "util/configparser.c" + break; + + case 713: /* server_disable_dnssec_lame_check: VAR_DISABLE_DNSSEC_LAME_CHECK STRING_ARG */ +#line 3794 "util/configparser.y" + { + OUTYY(("P(disable_dnssec_lame_check:%s)\n", (yyvsp[0].str))); + if (strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->disable_dnssec_lame_check = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 7460 "util/configparser.c" + break; + + case 714: /* server_log_identity: VAR_LOG_IDENTITY STRING_ARG */ +#line 3804 "util/configparser.y" + { + OUTYY(("P(server_log_identity:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->log_identity); + cfg_parser->cfg->log_identity = (yyvsp[0].str); + } +#line 7470 "util/configparser.c" + break; + + case 715: /* server_response_ip: VAR_RESPONSE_IP STRING_ARG STRING_ARG */ +#line 3811 "util/configparser.y" + { + OUTYY(("P(server_response_ip:%s %s)\n", (yyvsp[-1].str), (yyvsp[0].str))); + validate_respip_action((yyvsp[0].str)); + if(!cfg_str2list_insert(&cfg_parser->cfg->respip_actions, + (yyvsp[-1].str), (yyvsp[0].str))) + yyerror("out of memory"); + } +#line 7482 "util/configparser.c" + break; + + case 716: /* server_response_ip_data: VAR_RESPONSE_IP_DATA STRING_ARG STRING_ARG */ +#line 3820 "util/configparser.y" + { + OUTYY(("P(server_response_ip_data:%s)\n", (yyvsp[-1].str))); + if(!cfg_str2list_insert(&cfg_parser->cfg->respip_data, + (yyvsp[-1].str), (yyvsp[0].str))) + yyerror("out of memory"); + } +#line 7493 "util/configparser.c" + break; + + case 717: /* dnscstart: VAR_DNSCRYPT */ +#line 3828 "util/configparser.y" + { + OUTYY(("\nP(dnscrypt:)\n")); + cfg_parser->started_toplevel = 1; + } +#line 7502 "util/configparser.c" + break; + + case 730: /* dnsc_dnscrypt_enable: VAR_DNSCRYPT_ENABLE STRING_ARG */ +#line 3845 "util/configparser.y" + { + OUTYY(("P(dnsc_dnscrypt_enable:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->dnscrypt = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 7514 "util/configparser.c" + break; + + case 731: /* dnsc_dnscrypt_port: VAR_DNSCRYPT_PORT STRING_ARG */ +#line 3854 "util/configparser.y" + { + OUTYY(("P(dnsc_dnscrypt_port:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0) + yyerror("port number expected"); + else cfg_parser->cfg->dnscrypt_port = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 7526 "util/configparser.c" + break; + + case 732: /* dnsc_dnscrypt_provider: VAR_DNSCRYPT_PROVIDER STRING_ARG */ +#line 3863 "util/configparser.y" + { + OUTYY(("P(dnsc_dnscrypt_provider:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->dnscrypt_provider); + cfg_parser->cfg->dnscrypt_provider = (yyvsp[0].str); + } +#line 7536 "util/configparser.c" + break; + + case 733: /* dnsc_dnscrypt_provider_cert: VAR_DNSCRYPT_PROVIDER_CERT STRING_ARG */ +#line 3870 "util/configparser.y" + { + OUTYY(("P(dnsc_dnscrypt_provider_cert:%s)\n", (yyvsp[0].str))); + if(cfg_strlist_find(cfg_parser->cfg->dnscrypt_provider_cert, (yyvsp[0].str))) { + log_warn("dnscrypt-provider-cert %s is a duplicate", (yyvsp[0].str)); + free((yyvsp[0].str)); + } else if(!cfg_strlist_insert(&cfg_parser->cfg->dnscrypt_provider_cert, (yyvsp[0].str))) { + yyerror("out of memory"); + } + } +#line 7550 "util/configparser.c" + break; + + case 734: /* dnsc_dnscrypt_provider_cert_rotated: VAR_DNSCRYPT_PROVIDER_CERT_ROTATED STRING_ARG */ +#line 3881 "util/configparser.y" + { + OUTYY(("P(dnsc_dnscrypt_provider_cert_rotated:%s)\n", (yyvsp[0].str))); + if(!cfg_strlist_insert(&cfg_parser->cfg->dnscrypt_provider_cert_rotated, (yyvsp[0].str))) + yyerror("out of memory"); + } +#line 7560 "util/configparser.c" + break; + + case 735: /* dnsc_dnscrypt_secret_key: VAR_DNSCRYPT_SECRET_KEY STRING_ARG */ +#line 3888 "util/configparser.y" + { + OUTYY(("P(dnsc_dnscrypt_secret_key:%s)\n", (yyvsp[0].str))); + if(cfg_strlist_find(cfg_parser->cfg->dnscrypt_secret_key, (yyvsp[0].str))) { + log_warn("dnscrypt-secret-key: %s is a duplicate", (yyvsp[0].str)); + free((yyvsp[0].str)); + } else if(!cfg_strlist_insert(&cfg_parser->cfg->dnscrypt_secret_key, (yyvsp[0].str))) { + yyerror("out of memory"); + } + } +#line 7574 "util/configparser.c" + break; + + case 736: /* dnsc_dnscrypt_shared_secret_cache_size: VAR_DNSCRYPT_SHARED_SECRET_CACHE_SIZE STRING_ARG */ +#line 3899 "util/configparser.y" + { + OUTYY(("P(dnscrypt_shared_secret_cache_size:%s)\n", (yyvsp[0].str))); + if(!cfg_parse_memsize((yyvsp[0].str), &cfg_parser->cfg->dnscrypt_shared_secret_cache_size)) + yyerror("memory size expected"); + free((yyvsp[0].str)); + } +#line 7585 "util/configparser.c" + break; + + case 737: /* dnsc_dnscrypt_shared_secret_cache_slabs: VAR_DNSCRYPT_SHARED_SECRET_CACHE_SLABS STRING_ARG */ +#line 3907 "util/configparser.y" + { + OUTYY(("P(dnscrypt_shared_secret_cache_slabs:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0) { + yyerror("number expected"); + } else { + cfg_parser->cfg->dnscrypt_shared_secret_cache_slabs = atoi((yyvsp[0].str)); + if(!is_pow2(cfg_parser->cfg->dnscrypt_shared_secret_cache_slabs)) + yyerror("must be a power of 2"); + } + free((yyvsp[0].str)); + } +#line 7601 "util/configparser.c" + break; + + case 738: /* dnsc_dnscrypt_nonce_cache_size: VAR_DNSCRYPT_NONCE_CACHE_SIZE STRING_ARG */ +#line 3920 "util/configparser.y" + { + OUTYY(("P(dnscrypt_nonce_cache_size:%s)\n", (yyvsp[0].str))); + if(!cfg_parse_memsize((yyvsp[0].str), &cfg_parser->cfg->dnscrypt_nonce_cache_size)) + yyerror("memory size expected"); + free((yyvsp[0].str)); + } +#line 7612 "util/configparser.c" + break; + + case 739: /* dnsc_dnscrypt_nonce_cache_slabs: VAR_DNSCRYPT_NONCE_CACHE_SLABS STRING_ARG */ +#line 3928 "util/configparser.y" + { + OUTYY(("P(dnscrypt_nonce_cache_slabs:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0) { + yyerror("number expected"); + } else { + cfg_parser->cfg->dnscrypt_nonce_cache_slabs = atoi((yyvsp[0].str)); + if(!is_pow2(cfg_parser->cfg->dnscrypt_nonce_cache_slabs)) + yyerror("must be a power of 2"); + } + free((yyvsp[0].str)); + } +#line 7628 "util/configparser.c" + break; + + case 740: /* cachedbstart: VAR_CACHEDB */ +#line 3941 "util/configparser.y" + { + OUTYY(("\nP(cachedb:)\n")); + cfg_parser->started_toplevel = 1; + } +#line 7637 "util/configparser.c" + break; + + case 764: /* cachedb_backend_name: VAR_CACHEDB_BACKEND STRING_ARG */ +#line 3961 "util/configparser.y" + { + #ifdef USE_CACHEDB + OUTYY(("P(backend:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->cachedb_backend); + cfg_parser->cfg->cachedb_backend = (yyvsp[0].str); + #else + OUTYY(("P(Compiled without cachedb, ignoring)\n")); + free((yyvsp[0].str)); + #endif + } +#line 7652 "util/configparser.c" + break; + + case 765: /* cachedb_secret_seed: VAR_CACHEDB_SECRETSEED STRING_ARG */ +#line 3973 "util/configparser.y" + { + #ifdef USE_CACHEDB + OUTYY(("P(secret-seed:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->cachedb_secret); + cfg_parser->cfg->cachedb_secret = (yyvsp[0].str); + #else + OUTYY(("P(Compiled without cachedb, ignoring)\n")); + free((yyvsp[0].str)); + #endif + } +#line 7667 "util/configparser.c" + break; + + case 766: /* cachedb_no_store: VAR_CACHEDB_NO_STORE STRING_ARG */ +#line 3985 "util/configparser.y" + { + #ifdef USE_CACHEDB + OUTYY(("P(cachedb_no_store:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->cachedb_no_store = (strcmp((yyvsp[0].str), "yes")==0); + #else + OUTYY(("P(Compiled without cachedb, ignoring)\n")); + #endif + free((yyvsp[0].str)); + } +#line 7683 "util/configparser.c" + break; + + case 767: /* cachedb_check_when_serve_expired: VAR_CACHEDB_CHECK_WHEN_SERVE_EXPIRED STRING_ARG */ +#line 3998 "util/configparser.y" + { + #ifdef USE_CACHEDB + OUTYY(("P(cachedb_check_when_serve_expired:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->cachedb_check_when_serve_expired = (strcmp((yyvsp[0].str), "yes")==0); + #else + OUTYY(("P(Compiled without cachedb, ignoring)\n")); + #endif + free((yyvsp[0].str)); + } +#line 7699 "util/configparser.c" + break; + + case 768: /* redis_server_host: VAR_CACHEDB_REDISHOST STRING_ARG */ +#line 4011 "util/configparser.y" + { + #if defined(USE_CACHEDB) && defined(USE_REDIS) + OUTYY(("P(redis_server_host:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->redis_server_host); + cfg_parser->cfg->redis_server_host = (yyvsp[0].str); + #else + OUTYY(("P(Compiled without cachedb or redis, ignoring)\n")); + free((yyvsp[0].str)); + #endif + } +#line 7714 "util/configparser.c" + break; + + case 769: /* redis_replica_server_host: VAR_CACHEDB_REDISREPLICAHOST STRING_ARG */ +#line 4023 "util/configparser.y" + { + #if defined(USE_CACHEDB) && defined(USE_REDIS) + OUTYY(("P(redis_replica_server_host:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->redis_replica_server_host); + cfg_parser->cfg->redis_replica_server_host = (yyvsp[0].str); + #else + OUTYY(("P(Compiled without cachedb or redis, ignoring)\n")); + free((yyvsp[0].str)); + #endif + } +#line 7729 "util/configparser.c" + break; + + case 770: /* redis_server_port: VAR_CACHEDB_REDISPORT STRING_ARG */ +#line 4035 "util/configparser.y" + { + #if defined(USE_CACHEDB) && defined(USE_REDIS) + int port; + OUTYY(("P(redis_server_port:%s)\n", (yyvsp[0].str))); + port = atoi((yyvsp[0].str)); + if(port == 0 || port < 0 || port > 65535) + yyerror("valid redis server port number expected"); + else cfg_parser->cfg->redis_server_port = port; + #else + OUTYY(("P(Compiled without cachedb or redis, ignoring)\n")); + #endif + free((yyvsp[0].str)); + } +#line 7747 "util/configparser.c" + break; + + case 771: /* redis_replica_server_port: VAR_CACHEDB_REDISREPLICAPORT STRING_ARG */ +#line 4050 "util/configparser.y" + { + #if defined(USE_CACHEDB) && defined(USE_REDIS) + int port; + OUTYY(("P(redis_replica_server_port:%s)\n", (yyvsp[0].str))); + port = atoi((yyvsp[0].str)); + if(port == 0 || port < 0 || port > 65535) + yyerror("valid redis server port number expected"); + else cfg_parser->cfg->redis_replica_server_port = port; + #else + OUTYY(("P(Compiled without cachedb or redis, ignoring)\n")); + #endif + free((yyvsp[0].str)); + } +#line 7765 "util/configparser.c" + break; + + case 772: /* redis_server_path: VAR_CACHEDB_REDISPATH STRING_ARG */ +#line 4065 "util/configparser.y" + { + #if defined(USE_CACHEDB) && defined(USE_REDIS) + OUTYY(("P(redis_server_path:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->redis_server_path); + cfg_parser->cfg->redis_server_path = (yyvsp[0].str); + #else + OUTYY(("P(Compiled without cachedb or redis, ignoring)\n")); + free((yyvsp[0].str)); + #endif + } +#line 7780 "util/configparser.c" + break; + + case 773: /* redis_replica_server_path: VAR_CACHEDB_REDISREPLICAPATH STRING_ARG */ +#line 4077 "util/configparser.y" + { + #if defined(USE_CACHEDB) && defined(USE_REDIS) + OUTYY(("P(redis_replica_server_path:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->redis_replica_server_path); + cfg_parser->cfg->redis_replica_server_path = (yyvsp[0].str); + #else + OUTYY(("P(Compiled without cachedb or redis, ignoring)\n")); + free((yyvsp[0].str)); + #endif + } +#line 7795 "util/configparser.c" + break; + + case 774: /* redis_server_password: VAR_CACHEDB_REDISPASSWORD STRING_ARG */ +#line 4089 "util/configparser.y" + { + #if defined(USE_CACHEDB) && defined(USE_REDIS) + OUTYY(("P(redis_server_password:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->redis_server_password); + cfg_parser->cfg->redis_server_password = (yyvsp[0].str); + #else + OUTYY(("P(Compiled without cachedb or redis, ignoring)\n")); + free((yyvsp[0].str)); + #endif + } +#line 7810 "util/configparser.c" + break; + + case 775: /* redis_replica_server_password: VAR_CACHEDB_REDISREPLICAPASSWORD STRING_ARG */ +#line 4101 "util/configparser.y" + { + #if defined(USE_CACHEDB) && defined(USE_REDIS) + OUTYY(("P(redis_replica_server_password:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->redis_replica_server_password); + cfg_parser->cfg->redis_replica_server_password = (yyvsp[0].str); + #else + OUTYY(("P(Compiled without cachedb or redis, ignoring)\n")); + free((yyvsp[0].str)); + #endif + } +#line 7825 "util/configparser.c" + break; + + case 776: /* redis_timeout: VAR_CACHEDB_REDISTIMEOUT STRING_ARG */ +#line 4113 "util/configparser.y" + { + #if defined(USE_CACHEDB) && defined(USE_REDIS) + OUTYY(("P(redis_timeout:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0) + yyerror("redis timeout value expected"); + else cfg_parser->cfg->redis_timeout = atoi((yyvsp[0].str)); + #else + OUTYY(("P(Compiled without cachedb or redis, ignoring)\n")); + #endif + free((yyvsp[0].str)); + } +#line 7841 "util/configparser.c" + break; + + case 777: /* redis_replica_timeout: VAR_CACHEDB_REDISREPLICATIMEOUT STRING_ARG */ +#line 4126 "util/configparser.y" + { + #if defined(USE_CACHEDB) && defined(USE_REDIS) + OUTYY(("P(redis_replica_timeout:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0) + yyerror("redis timeout value expected"); + else cfg_parser->cfg->redis_replica_timeout = atoi((yyvsp[0].str)); + #else + OUTYY(("P(Compiled without cachedb or redis, ignoring)\n")); + #endif + free((yyvsp[0].str)); + } +#line 7857 "util/configparser.c" + break; + + case 778: /* redis_command_timeout: VAR_CACHEDB_REDISCOMMANDTIMEOUT STRING_ARG */ +#line 4139 "util/configparser.y" + { + #if defined(USE_CACHEDB) && defined(USE_REDIS) + OUTYY(("P(redis_command_timeout:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("redis command timeout value expected"); + else cfg_parser->cfg->redis_command_timeout = atoi((yyvsp[0].str)); + #else + OUTYY(("P(Compiled without cachedb or redis, ignoring)\n")); + #endif + free((yyvsp[0].str)); + } +#line 7873 "util/configparser.c" + break; + + case 779: /* redis_replica_command_timeout: VAR_CACHEDB_REDISREPLICACOMMANDTIMEOUT STRING_ARG */ +#line 4152 "util/configparser.y" + { + #if defined(USE_CACHEDB) && defined(USE_REDIS) + OUTYY(("P(redis_replica_command_timeout:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("redis command timeout value expected"); + else cfg_parser->cfg->redis_replica_command_timeout = atoi((yyvsp[0].str)); + #else + OUTYY(("P(Compiled without cachedb or redis, ignoring)\n")); + #endif + free((yyvsp[0].str)); + } +#line 7889 "util/configparser.c" + break; + + case 780: /* redis_connect_timeout: VAR_CACHEDB_REDISCONNECTTIMEOUT STRING_ARG */ +#line 4165 "util/configparser.y" + { + #if defined(USE_CACHEDB) && defined(USE_REDIS) + OUTYY(("P(redis_connect_timeout:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("redis connect timeout value expected"); + else cfg_parser->cfg->redis_connect_timeout = atoi((yyvsp[0].str)); + #else + OUTYY(("P(Compiled without cachedb or redis, ignoring)\n")); + #endif + free((yyvsp[0].str)); + } +#line 7905 "util/configparser.c" + break; + + case 781: /* redis_replica_connect_timeout: VAR_CACHEDB_REDISREPLICACONNECTTIMEOUT STRING_ARG */ +#line 4178 "util/configparser.y" + { + #if defined(USE_CACHEDB) && defined(USE_REDIS) + OUTYY(("P(redis_replica_connect_timeout:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("redis connect timeout value expected"); + else cfg_parser->cfg->redis_replica_connect_timeout = atoi((yyvsp[0].str)); + #else + OUTYY(("P(Compiled without cachedb or redis, ignoring)\n")); + #endif + free((yyvsp[0].str)); + } +#line 7921 "util/configparser.c" + break; + + case 782: /* redis_expire_records: VAR_CACHEDB_REDISEXPIRERECORDS STRING_ARG */ +#line 4191 "util/configparser.y" + { + #if defined(USE_CACHEDB) && defined(USE_REDIS) + OUTYY(("P(redis_expire_records:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->redis_expire_records = (strcmp((yyvsp[0].str), "yes")==0); + #else + OUTYY(("P(Compiled without cachedb or redis, ignoring)\n")); + #endif + free((yyvsp[0].str)); + } +#line 7937 "util/configparser.c" + break; + + case 783: /* redis_logical_db: VAR_CACHEDB_REDISLOGICALDB STRING_ARG */ +#line 4204 "util/configparser.y" + { + #if defined(USE_CACHEDB) && defined(USE_REDIS) + int db; + OUTYY(("P(redis_logical_db:%s)\n", (yyvsp[0].str))); + db = atoi((yyvsp[0].str)); + if((db == 0 && strcmp((yyvsp[0].str), "0") != 0) || db < 0) + yyerror("valid redis logical database index expected"); + else cfg_parser->cfg->redis_logical_db = db; + #else + OUTYY(("P(Compiled without cachedb or redis, ignoring)\n")); + #endif + free((yyvsp[0].str)); + } +#line 7955 "util/configparser.c" + break; + + case 784: /* redis_replica_logical_db: VAR_CACHEDB_REDISREPLICALOGICALDB STRING_ARG */ +#line 4219 "util/configparser.y" + { + #if defined(USE_CACHEDB) && defined(USE_REDIS) + int db; + OUTYY(("P(redis_replica_logical_db:%s)\n", (yyvsp[0].str))); + db = atoi((yyvsp[0].str)); + if((db == 0 && strcmp((yyvsp[0].str), "0") != 0) || db < 0) + yyerror("valid redis logical database index expected"); + else cfg_parser->cfg->redis_replica_logical_db = db; + #else + OUTYY(("P(Compiled without cachedb or redis, ignoring)\n")); + #endif + free((yyvsp[0].str)); + } +#line 7973 "util/configparser.c" + break; + + case 785: /* server_tcp_connection_limit: VAR_TCP_CONNECTION_LIMIT STRING_ARG STRING_ARG */ +#line 4234 "util/configparser.y" + { + OUTYY(("P(server_tcp_connection_limit:%s %s)\n", (yyvsp[-1].str), (yyvsp[0].str))); + if (atoi((yyvsp[0].str)) < 0) + yyerror("positive number expected"); + else { + if(!cfg_str2list_insert(&cfg_parser->cfg->tcp_connection_limits, (yyvsp[-1].str), (yyvsp[0].str))) + yyerror("out of memory"); + } + } +#line 7987 "util/configparser.c" + break; + + case 786: /* server_answer_cookie: VAR_ANSWER_COOKIE STRING_ARG */ +#line 4245 "util/configparser.y" + { + OUTYY(("P(server_answer_cookie:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->do_answer_cookie = (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 7999 "util/configparser.c" + break; + + case 787: /* server_cookie_secret: VAR_COOKIE_SECRET STRING_ARG */ +#line 4254 "util/configparser.y" + { + uint8_t secret[32]; + size_t secret_len = sizeof(secret); + + OUTYY(("P(server_cookie_secret:%s)\n", (yyvsp[0].str))); + if(sldns_str2wire_hex_buf((yyvsp[0].str), secret, &secret_len) + || (secret_len != 16)) + yyerror("expected 128 bit hex string"); + else { + cfg_parser->cfg->cookie_secret_len = secret_len; + memcpy(cfg_parser->cfg->cookie_secret, secret, sizeof(secret)); + } + free((yyvsp[0].str)); + } +#line 8018 "util/configparser.c" + break; + + case 788: /* server_cookie_secret_file: VAR_COOKIE_SECRET_FILE STRING_ARG */ +#line 4270 "util/configparser.y" + { + OUTYY(("P(cookie_secret_file:%s)\n", (yyvsp[0].str))); + free(cfg_parser->cfg->cookie_secret_file); + cfg_parser->cfg->cookie_secret_file = (yyvsp[0].str); + } +#line 8028 "util/configparser.c" + break; + + case 789: /* server_iter_scrub_ns: VAR_ITER_SCRUB_NS STRING_ARG */ +#line 4277 "util/configparser.y" + { + OUTYY(("P(server_iter_scrub_ns:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) < 1) + yyerror("number >= 1 expected"); + else cfg_parser->cfg->iter_scrub_ns = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 8040 "util/configparser.c" + break; + + case 790: /* server_iter_scrub_cname: VAR_ITER_SCRUB_CNAME STRING_ARG */ +#line 4286 "util/configparser.y" + { + OUTYY(("P(server_iter_scrub_cname:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->iter_scrub_cname = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 8052 "util/configparser.c" + break; + + case 791: /* server_iter_scrub_rrsig: VAR_ITER_SCRUB_RRSIG STRING_ARG */ +#line 4295 "util/configparser.y" + { + OUTYY(("P(server_iter_scrub_rrsig:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->iter_scrub_rrsig = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 8064 "util/configparser.c" + break; + + case 792: /* server_max_global_quota: VAR_MAX_GLOBAL_QUOTA STRING_ARG */ +#line 4304 "util/configparser.y" + { + OUTYY(("P(server_max_global_quota:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->max_global_quota = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 8076 "util/configparser.c" + break; + + case 793: /* server_iter_scrub_promiscuous: VAR_ITER_SCRUB_PROMISCUOUS STRING_ARG */ +#line 4313 "util/configparser.y" + { + OUTYY(("P(server_iter_scrub_promiscuous:%s)\n", (yyvsp[0].str))); + if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->iter_scrub_promiscuous = + (strcmp((yyvsp[0].str), "yes")==0); + free((yyvsp[0].str)); + } +#line 8089 "util/configparser.c" + break; + + case 794: /* server_val_validation_attempts: VAR_VAL_VALIDATION_ATTEMPTS STRING_ARG */ +#line 4323 "util/configparser.y" + { + OUTYY(("P(server_val_validation_attempts:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->val_validation_attempts = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 8101 "util/configparser.c" + break; + + case 795: /* server_val_hash_attempts: VAR_VAL_HASH_ATTEMPTS STRING_ARG */ +#line 4332 "util/configparser.y" + { + OUTYY(("P(server_val_hash_attempts:%s)\n", (yyvsp[0].str))); + if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) + yyerror("number expected"); + else cfg_parser->cfg->val_hash_attempts = atoi((yyvsp[0].str)); + free((yyvsp[0].str)); + } +#line 8113 "util/configparser.c" + break; + + case 796: /* ipsetstart: VAR_IPSET */ +#line 4341 "util/configparser.y" + { + OUTYY(("\nP(ipset:)\n")); + cfg_parser->started_toplevel = 1; + } +#line 8122 "util/configparser.c" + break; + + case 801: /* ipset_name_v4: VAR_IPSET_NAME_V4 STRING_ARG */ +#line 4351 "util/configparser.y" + { + #ifdef USE_IPSET + OUTYY(("P(name-v4:%s)\n", (yyvsp[0].str))); + if(cfg_parser->cfg->ipset_name_v4) + yyerror("ipset name v4 override, there must be one " + "name for ip v4"); + free(cfg_parser->cfg->ipset_name_v4); + cfg_parser->cfg->ipset_name_v4 = (yyvsp[0].str); + #else + OUTYY(("P(Compiled without ipset, ignoring)\n")); + free((yyvsp[0].str)); + #endif + } +#line 8140 "util/configparser.c" + break; + + case 802: /* ipset_name_v6: VAR_IPSET_NAME_V6 STRING_ARG */ +#line 4366 "util/configparser.y" + { + #ifdef USE_IPSET + OUTYY(("P(name-v6:%s)\n", (yyvsp[0].str))); + if(cfg_parser->cfg->ipset_name_v6) + yyerror("ipset name v6 override, there must be one " + "name for ip v6"); + free(cfg_parser->cfg->ipset_name_v6); + cfg_parser->cfg->ipset_name_v6 = (yyvsp[0].str); + #else + OUTYY(("P(Compiled without ipset, ignoring)\n")); + free((yyvsp[0].str)); + #endif + } +#line 8158 "util/configparser.c" + break; + + +#line 8162 "util/configparser.c" + + default: break; + } + /* User semantic actions sometimes alter yychar, and that requires + that yytoken be updated with the new translation. We take the + approach of translating immediately before every use of yytoken. + One alternative is translating here after every semantic action, + but that translation would be missed if the semantic action invokes + YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or + if it invokes YYBACKUP. In the case of YYABORT or YYACCEPT, an + incorrect destructor might then be invoked immediately. In the + case of YYERROR or YYBACKUP, subsequent parser actions might lead + to an incorrect destructor call or verbose syntax error message + before the lookahead is translated. */ + YY_SYMBOL_PRINT ("-> $$ =", YY_CAST (yysymbol_kind_t, yyr1[yyn]), &yyval, &yyloc); + + YYPOPSTACK (yylen); + yylen = 0; + + *++yyvsp = yyval; + + /* Now 'shift' the result of the reduction. Determine what state + that goes to, based on the state we popped back to and the rule + number reduced by. */ + { + const int yylhs = yyr1[yyn] - YYNTOKENS; + const int yyi = yypgoto[yylhs] + *yyssp; + yystate = (0 <= yyi && yyi <= YYLAST && yycheck[yyi] == *yyssp + ? yytable[yyi] + : yydefgoto[yylhs]); + } + + goto yynewstate; + + +/*--------------------------------------. +| yyerrlab -- here on detecting error. | +`--------------------------------------*/ +yyerrlab: + /* Make sure we have latest lookahead translation. See comments at + user semantic actions for why this is necessary. */ + yytoken = yychar == YYEMPTY ? YYSYMBOL_YYEMPTY : YYTRANSLATE (yychar); + /* If not already recovering from an error, report this error. */ + if (!yyerrstatus) + { + ++yynerrs; + yyerror (YY_("syntax error")); + } + + if (yyerrstatus == 3) + { + /* If just tried and failed to reuse lookahead token after an + error, discard it. */ + + if (yychar <= YYEOF) + { + /* Return failure if at end of input. */ + if (yychar == YYEOF) + YYABORT; + } + else + { + yydestruct ("Error: discarding", + yytoken, &yylval); + yychar = YYEMPTY; + } + } + + /* Else will try to reuse lookahead token after shifting the error + token. */ + goto yyerrlab1; + + +/*---------------------------------------------------. +| yyerrorlab -- error raised explicitly by YYERROR. | +`---------------------------------------------------*/ +yyerrorlab: + /* Pacify compilers when the user code never invokes YYERROR and the + label yyerrorlab therefore never appears in user code. */ + if (0) + YYERROR; + ++yynerrs; + + /* Do not reclaim the symbols of the rule whose action triggered + this YYERROR. */ + YYPOPSTACK (yylen); + yylen = 0; + YY_STACK_PRINT (yyss, yyssp); + yystate = *yyssp; + goto yyerrlab1; + + +/*-------------------------------------------------------------. +| yyerrlab1 -- common code for both syntax error and YYERROR. | +`-------------------------------------------------------------*/ +yyerrlab1: + yyerrstatus = 3; /* Each real token shifted decrements this. */ + + /* Pop stack until we find a state that shifts the error token. */ + for (;;) + { + yyn = yypact[yystate]; + if (!yypact_value_is_default (yyn)) + { + yyn += YYSYMBOL_YYerror; + if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) + { + yyn = yytable[yyn]; + if (0 < yyn) + break; + } + } + + /* Pop the current state because it cannot handle the error token. */ + if (yyssp == yyss) + YYABORT; + + + yydestruct ("Error: popping", + YY_ACCESSING_SYMBOL (yystate), yyvsp); + YYPOPSTACK (1); + yystate = *yyssp; + YY_STACK_PRINT (yyss, yyssp); + } + + YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN + *++yyvsp = yylval; + YY_IGNORE_MAYBE_UNINITIALIZED_END + + + /* Shift the error token. */ + YY_SYMBOL_PRINT ("Shifting", YY_ACCESSING_SYMBOL (yyn), yyvsp, yylsp); + + yystate = yyn; + goto yynewstate; + + +/*-------------------------------------. +| yyacceptlab -- YYACCEPT comes here. | +`-------------------------------------*/ +yyacceptlab: + yyresult = 0; + goto yyreturnlab; + + +/*-----------------------------------. +| yyabortlab -- YYABORT comes here. | +`-----------------------------------*/ +yyabortlab: + yyresult = 1; + goto yyreturnlab; + + +/*-----------------------------------------------------------. +| yyexhaustedlab -- YYNOMEM (memory exhaustion) comes here. | +`-----------------------------------------------------------*/ +yyexhaustedlab: + yyerror (YY_("memory exhausted")); + yyresult = 2; + goto yyreturnlab; + + +/*----------------------------------------------------------. +| yyreturnlab -- parsing is finished, clean up and return. | +`----------------------------------------------------------*/ +yyreturnlab: + if (yychar != YYEMPTY) + { + /* Make sure we have latest lookahead translation. See comments at + user semantic actions for why this is necessary. */ + yytoken = YYTRANSLATE (yychar); + yydestruct ("Cleanup: discarding lookahead", + yytoken, &yylval); + } + /* Do not reclaim the symbols of the rule whose action triggered + this YYABORT or YYACCEPT. */ + YYPOPSTACK (yylen); + YY_STACK_PRINT (yyss, yyssp); + while (yyssp != yyss) + { + yydestruct ("Cleanup: popping", + YY_ACCESSING_SYMBOL (+*yyssp), yyvsp); + YYPOPSTACK (1); + } +#ifndef yyoverflow + if (yyss != yyssa) + YYSTACK_FREE (yyss); +#endif + + return yyresult; +} + +#line 4380 "util/configparser.y" + + +/* parse helper routines could be here */ +static void +validate_respip_action(const char* action) +{ + if(strcmp(action, "deny")!=0 && + strcmp(action, "redirect")!=0 && + strcmp(action, "inform")!=0 && + strcmp(action, "inform_deny")!=0 && + strcmp(action, "always_transparent")!=0 && + strcmp(action, "always_refuse")!=0 && + strcmp(action, "always_nxdomain")!=0) + { + yyerror("response-ip action: expected deny, redirect, " + "inform, inform_deny, always_transparent, " + "always_refuse or always_nxdomain"); + } +} + +static void +validate_acl_action(const char* action) +{ + if(strcmp(action, "deny")!=0 && + strcmp(action, "refuse")!=0 && + strcmp(action, "deny_non_local")!=0 && + strcmp(action, "refuse_non_local")!=0 && + strcmp(action, "allow_setrd")!=0 && + strcmp(action, "allow")!=0 && + strcmp(action, "allow_snoop")!=0 && + strcmp(action, "allow_cookie")!=0) + { + yyerror("expected deny, refuse, deny_non_local, " + "refuse_non_local, allow, allow_setrd, " + "allow_snoop or allow_cookie as access control action"); + } +} diff --git a/util/configparser.h b/util/configparser.h new file mode 100644 index 00000000..099deff9 --- /dev/null +++ b/util/configparser.h @@ -0,0 +1,853 @@ +/* A Bison parser, made by GNU Bison 3.8.2. */ + +/* Bison interface for Yacc-like parsers in C + + Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation, + Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. */ + +/* As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + + This special exception was added by the Free Software Foundation in + version 2.2 of Bison. */ + +/* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual, + especially those whose name start with YY_ or yy_. They are + private implementation details that can be changed or removed. */ + +#ifndef YY_YY_UTIL_CONFIGPARSER_H_INCLUDED +# define YY_YY_UTIL_CONFIGPARSER_H_INCLUDED +/* Debug traces. */ +#ifndef YYDEBUG +# define YYDEBUG 0 +#endif +#if YYDEBUG +extern int yydebug; +#endif + +/* Token kinds. */ +#ifndef YYTOKENTYPE +# define YYTOKENTYPE + enum yytokentype + { + YYEMPTY = -2, + YYEOF = 0, /* "end of file" */ + YYerror = 256, /* error */ + YYUNDEF = 257, /* "invalid token" */ + SPACE = 258, /* SPACE */ + LETTER = 259, /* LETTER */ + NEWLINE = 260, /* NEWLINE */ + COMMENT = 261, /* COMMENT */ + COLON = 262, /* COLON */ + ANY = 263, /* ANY */ + ZONESTR = 264, /* ZONESTR */ + STRING_ARG = 265, /* STRING_ARG */ + VAR_FORCE_TOPLEVEL = 266, /* VAR_FORCE_TOPLEVEL */ + VAR_SERVER = 267, /* VAR_SERVER */ + VAR_VERBOSITY = 268, /* VAR_VERBOSITY */ + VAR_NUM_THREADS = 269, /* VAR_NUM_THREADS */ + VAR_PORT = 270, /* VAR_PORT */ + VAR_OUTGOING_RANGE = 271, /* VAR_OUTGOING_RANGE */ + VAR_INTERFACE = 272, /* VAR_INTERFACE */ + VAR_PREFER_IP4 = 273, /* VAR_PREFER_IP4 */ + VAR_DO_IP4 = 274, /* VAR_DO_IP4 */ + VAR_DO_IP6 = 275, /* VAR_DO_IP6 */ + VAR_DO_NAT64 = 276, /* VAR_DO_NAT64 */ + VAR_PREFER_IP6 = 277, /* VAR_PREFER_IP6 */ + VAR_DO_UDP = 278, /* VAR_DO_UDP */ + VAR_DO_TCP = 279, /* VAR_DO_TCP */ + VAR_TCP_MSS = 280, /* VAR_TCP_MSS */ + VAR_OUTGOING_TCP_MSS = 281, /* VAR_OUTGOING_TCP_MSS */ + VAR_TCP_IDLE_TIMEOUT = 282, /* VAR_TCP_IDLE_TIMEOUT */ + VAR_EDNS_TCP_KEEPALIVE = 283, /* VAR_EDNS_TCP_KEEPALIVE */ + VAR_EDNS_TCP_KEEPALIVE_TIMEOUT = 284, /* VAR_EDNS_TCP_KEEPALIVE_TIMEOUT */ + VAR_SOCK_QUEUE_TIMEOUT = 285, /* VAR_SOCK_QUEUE_TIMEOUT */ + VAR_CHROOT = 286, /* VAR_CHROOT */ + VAR_USERNAME = 287, /* VAR_USERNAME */ + VAR_DIRECTORY = 288, /* VAR_DIRECTORY */ + VAR_LOGFILE = 289, /* VAR_LOGFILE */ + VAR_PIDFILE = 290, /* VAR_PIDFILE */ + VAR_MSG_CACHE_SIZE = 291, /* VAR_MSG_CACHE_SIZE */ + VAR_MSG_CACHE_SLABS = 292, /* VAR_MSG_CACHE_SLABS */ + VAR_NUM_QUERIES_PER_THREAD = 293, /* VAR_NUM_QUERIES_PER_THREAD */ + VAR_RRSET_CACHE_SIZE = 294, /* VAR_RRSET_CACHE_SIZE */ + VAR_RRSET_CACHE_SLABS = 295, /* VAR_RRSET_CACHE_SLABS */ + VAR_OUTGOING_NUM_TCP = 296, /* VAR_OUTGOING_NUM_TCP */ + VAR_INFRA_HOST_TTL = 297, /* VAR_INFRA_HOST_TTL */ + VAR_INFRA_LAME_TTL = 298, /* VAR_INFRA_LAME_TTL */ + VAR_INFRA_CACHE_SLABS = 299, /* VAR_INFRA_CACHE_SLABS */ + VAR_INFRA_CACHE_NUMHOSTS = 300, /* VAR_INFRA_CACHE_NUMHOSTS */ + VAR_INFRA_CACHE_LAME_SIZE = 301, /* VAR_INFRA_CACHE_LAME_SIZE */ + VAR_NAME = 302, /* VAR_NAME */ + VAR_STUB_ZONE = 303, /* VAR_STUB_ZONE */ + VAR_STUB_HOST = 304, /* VAR_STUB_HOST */ + VAR_STUB_ADDR = 305, /* VAR_STUB_ADDR */ + VAR_TARGET_FETCH_POLICY = 306, /* VAR_TARGET_FETCH_POLICY */ + VAR_HARDEN_SHORT_BUFSIZE = 307, /* VAR_HARDEN_SHORT_BUFSIZE */ + VAR_HARDEN_LARGE_QUERIES = 308, /* VAR_HARDEN_LARGE_QUERIES */ + VAR_FORWARD_ZONE = 309, /* VAR_FORWARD_ZONE */ + VAR_FORWARD_HOST = 310, /* VAR_FORWARD_HOST */ + VAR_FORWARD_ADDR = 311, /* VAR_FORWARD_ADDR */ + VAR_DO_NOT_QUERY_ADDRESS = 312, /* VAR_DO_NOT_QUERY_ADDRESS */ + VAR_HIDE_IDENTITY = 313, /* VAR_HIDE_IDENTITY */ + VAR_HIDE_VERSION = 314, /* VAR_HIDE_VERSION */ + VAR_IDENTITY = 315, /* VAR_IDENTITY */ + VAR_VERSION = 316, /* VAR_VERSION */ + VAR_HARDEN_GLUE = 317, /* VAR_HARDEN_GLUE */ + VAR_MODULE_CONF = 318, /* VAR_MODULE_CONF */ + VAR_TRUST_ANCHOR_FILE = 319, /* VAR_TRUST_ANCHOR_FILE */ + VAR_TRUST_ANCHOR = 320, /* VAR_TRUST_ANCHOR */ + VAR_VAL_OVERRIDE_DATE = 321, /* VAR_VAL_OVERRIDE_DATE */ + VAR_BOGUS_TTL = 322, /* VAR_BOGUS_TTL */ + VAR_VAL_CLEAN_ADDITIONAL = 323, /* VAR_VAL_CLEAN_ADDITIONAL */ + VAR_VAL_PERMISSIVE_MODE = 324, /* VAR_VAL_PERMISSIVE_MODE */ + VAR_INCOMING_NUM_TCP = 325, /* VAR_INCOMING_NUM_TCP */ + VAR_MSG_BUFFER_SIZE = 326, /* VAR_MSG_BUFFER_SIZE */ + VAR_KEY_CACHE_SIZE = 327, /* VAR_KEY_CACHE_SIZE */ + VAR_KEY_CACHE_SLABS = 328, /* VAR_KEY_CACHE_SLABS */ + VAR_TRUSTED_KEYS_FILE = 329, /* VAR_TRUSTED_KEYS_FILE */ + VAR_VAL_NSEC3_KEYSIZE_ITERATIONS = 330, /* VAR_VAL_NSEC3_KEYSIZE_ITERATIONS */ + VAR_USE_SYSLOG = 331, /* VAR_USE_SYSLOG */ + VAR_OUTGOING_INTERFACE = 332, /* VAR_OUTGOING_INTERFACE */ + VAR_ROOT_HINTS = 333, /* VAR_ROOT_HINTS */ + VAR_DO_NOT_QUERY_LOCALHOST = 334, /* VAR_DO_NOT_QUERY_LOCALHOST */ + VAR_CACHE_MAX_TTL = 335, /* VAR_CACHE_MAX_TTL */ + VAR_HARDEN_DNSSEC_STRIPPED = 336, /* VAR_HARDEN_DNSSEC_STRIPPED */ + VAR_ACCESS_CONTROL = 337, /* VAR_ACCESS_CONTROL */ + VAR_LOCAL_ZONE = 338, /* VAR_LOCAL_ZONE */ + VAR_LOCAL_DATA = 339, /* VAR_LOCAL_DATA */ + VAR_INTERFACE_AUTOMATIC = 340, /* VAR_INTERFACE_AUTOMATIC */ + VAR_STATISTICS_INTERVAL = 341, /* VAR_STATISTICS_INTERVAL */ + VAR_DO_DAEMONIZE = 342, /* VAR_DO_DAEMONIZE */ + VAR_USE_CAPS_FOR_ID = 343, /* VAR_USE_CAPS_FOR_ID */ + VAR_STATISTICS_CUMULATIVE = 344, /* VAR_STATISTICS_CUMULATIVE */ + VAR_OUTGOING_PORT_PERMIT = 345, /* VAR_OUTGOING_PORT_PERMIT */ + VAR_OUTGOING_PORT_AVOID = 346, /* VAR_OUTGOING_PORT_AVOID */ + VAR_DLV_ANCHOR_FILE = 347, /* VAR_DLV_ANCHOR_FILE */ + VAR_DLV_ANCHOR = 348, /* VAR_DLV_ANCHOR */ + VAR_NEG_CACHE_SIZE = 349, /* VAR_NEG_CACHE_SIZE */ + VAR_HARDEN_REFERRAL_PATH = 350, /* VAR_HARDEN_REFERRAL_PATH */ + VAR_PRIVATE_ADDRESS = 351, /* VAR_PRIVATE_ADDRESS */ + VAR_PRIVATE_DOMAIN = 352, /* VAR_PRIVATE_DOMAIN */ + VAR_REMOTE_CONTROL = 353, /* VAR_REMOTE_CONTROL */ + VAR_CONTROL_ENABLE = 354, /* VAR_CONTROL_ENABLE */ + VAR_CONTROL_INTERFACE = 355, /* VAR_CONTROL_INTERFACE */ + VAR_CONTROL_PORT = 356, /* VAR_CONTROL_PORT */ + VAR_SERVER_KEY_FILE = 357, /* VAR_SERVER_KEY_FILE */ + VAR_SERVER_CERT_FILE = 358, /* VAR_SERVER_CERT_FILE */ + VAR_CONTROL_KEY_FILE = 359, /* VAR_CONTROL_KEY_FILE */ + VAR_CONTROL_CERT_FILE = 360, /* VAR_CONTROL_CERT_FILE */ + VAR_CONTROL_USE_CERT = 361, /* VAR_CONTROL_USE_CERT */ + VAR_TCP_REUSE_TIMEOUT = 362, /* VAR_TCP_REUSE_TIMEOUT */ + VAR_MAX_REUSE_TCP_QUERIES = 363, /* VAR_MAX_REUSE_TCP_QUERIES */ + VAR_EXTENDED_STATISTICS = 364, /* VAR_EXTENDED_STATISTICS */ + VAR_LOCAL_DATA_PTR = 365, /* VAR_LOCAL_DATA_PTR */ + VAR_JOSTLE_TIMEOUT = 366, /* VAR_JOSTLE_TIMEOUT */ + VAR_STUB_PRIME = 367, /* VAR_STUB_PRIME */ + VAR_UNWANTED_REPLY_THRESHOLD = 368, /* VAR_UNWANTED_REPLY_THRESHOLD */ + VAR_LOG_TIME_ASCII = 369, /* VAR_LOG_TIME_ASCII */ + VAR_DOMAIN_INSECURE = 370, /* VAR_DOMAIN_INSECURE */ + VAR_PYTHON = 371, /* VAR_PYTHON */ + VAR_PYTHON_SCRIPT = 372, /* VAR_PYTHON_SCRIPT */ + VAR_VAL_SIG_SKEW_MIN = 373, /* VAR_VAL_SIG_SKEW_MIN */ + VAR_VAL_SIG_SKEW_MAX = 374, /* VAR_VAL_SIG_SKEW_MAX */ + VAR_VAL_MAX_RESTART = 375, /* VAR_VAL_MAX_RESTART */ + VAR_CACHE_MIN_TTL = 376, /* VAR_CACHE_MIN_TTL */ + VAR_VAL_LOG_LEVEL = 377, /* VAR_VAL_LOG_LEVEL */ + VAR_AUTO_TRUST_ANCHOR_FILE = 378, /* VAR_AUTO_TRUST_ANCHOR_FILE */ + VAR_KEEP_MISSING = 379, /* VAR_KEEP_MISSING */ + VAR_ADD_HOLDDOWN = 380, /* VAR_ADD_HOLDDOWN */ + VAR_DEL_HOLDDOWN = 381, /* VAR_DEL_HOLDDOWN */ + VAR_SO_RCVBUF = 382, /* VAR_SO_RCVBUF */ + VAR_EDNS_BUFFER_SIZE = 383, /* VAR_EDNS_BUFFER_SIZE */ + VAR_PREFETCH = 384, /* VAR_PREFETCH */ + VAR_PREFETCH_KEY = 385, /* VAR_PREFETCH_KEY */ + VAR_SO_SNDBUF = 386, /* VAR_SO_SNDBUF */ + VAR_SO_REUSEPORT = 387, /* VAR_SO_REUSEPORT */ + VAR_HARDEN_BELOW_NXDOMAIN = 388, /* VAR_HARDEN_BELOW_NXDOMAIN */ + VAR_IGNORE_CD_FLAG = 389, /* VAR_IGNORE_CD_FLAG */ + VAR_LOG_QUERIES = 390, /* VAR_LOG_QUERIES */ + VAR_LOG_REPLIES = 391, /* VAR_LOG_REPLIES */ + VAR_LOG_LOCAL_ACTIONS = 392, /* VAR_LOG_LOCAL_ACTIONS */ + VAR_TCP_UPSTREAM = 393, /* VAR_TCP_UPSTREAM */ + VAR_SSL_UPSTREAM = 394, /* VAR_SSL_UPSTREAM */ + VAR_TCP_AUTH_QUERY_TIMEOUT = 395, /* VAR_TCP_AUTH_QUERY_TIMEOUT */ + VAR_SSL_SERVICE_KEY = 396, /* VAR_SSL_SERVICE_KEY */ + VAR_SSL_SERVICE_PEM = 397, /* VAR_SSL_SERVICE_PEM */ + VAR_SSL_PORT = 398, /* VAR_SSL_PORT */ + VAR_FORWARD_FIRST = 399, /* VAR_FORWARD_FIRST */ + VAR_STUB_SSL_UPSTREAM = 400, /* VAR_STUB_SSL_UPSTREAM */ + VAR_FORWARD_SSL_UPSTREAM = 401, /* VAR_FORWARD_SSL_UPSTREAM */ + VAR_TLS_CERT_BUNDLE = 402, /* VAR_TLS_CERT_BUNDLE */ + VAR_STUB_TCP_UPSTREAM = 403, /* VAR_STUB_TCP_UPSTREAM */ + VAR_FORWARD_TCP_UPSTREAM = 404, /* VAR_FORWARD_TCP_UPSTREAM */ + VAR_HTTPS_PORT = 405, /* VAR_HTTPS_PORT */ + VAR_HTTP_ENDPOINT = 406, /* VAR_HTTP_ENDPOINT */ + VAR_HTTP_MAX_STREAMS = 407, /* VAR_HTTP_MAX_STREAMS */ + VAR_HTTP_QUERY_BUFFER_SIZE = 408, /* VAR_HTTP_QUERY_BUFFER_SIZE */ + VAR_HTTP_RESPONSE_BUFFER_SIZE = 409, /* VAR_HTTP_RESPONSE_BUFFER_SIZE */ + VAR_HTTP_NODELAY = 410, /* VAR_HTTP_NODELAY */ + VAR_HTTP_NOTLS_DOWNSTREAM = 411, /* VAR_HTTP_NOTLS_DOWNSTREAM */ + VAR_STUB_FIRST = 412, /* VAR_STUB_FIRST */ + VAR_MINIMAL_RESPONSES = 413, /* VAR_MINIMAL_RESPONSES */ + VAR_RRSET_ROUNDROBIN = 414, /* VAR_RRSET_ROUNDROBIN */ + VAR_MAX_UDP_SIZE = 415, /* VAR_MAX_UDP_SIZE */ + VAR_DELAY_CLOSE = 416, /* VAR_DELAY_CLOSE */ + VAR_UDP_CONNECT = 417, /* VAR_UDP_CONNECT */ + VAR_UNBLOCK_LAN_ZONES = 418, /* VAR_UNBLOCK_LAN_ZONES */ + VAR_INSECURE_LAN_ZONES = 419, /* VAR_INSECURE_LAN_ZONES */ + VAR_INFRA_CACHE_MIN_RTT = 420, /* VAR_INFRA_CACHE_MIN_RTT */ + VAR_INFRA_CACHE_MAX_RTT = 421, /* VAR_INFRA_CACHE_MAX_RTT */ + VAR_INFRA_KEEP_PROBING = 422, /* VAR_INFRA_KEEP_PROBING */ + VAR_DNS64_PREFIX = 423, /* VAR_DNS64_PREFIX */ + VAR_DNS64_SYNTHALL = 424, /* VAR_DNS64_SYNTHALL */ + VAR_DNS64_IGNORE_AAAA = 425, /* VAR_DNS64_IGNORE_AAAA */ + VAR_NAT64_PREFIX = 426, /* VAR_NAT64_PREFIX */ + VAR_DNSTAP = 427, /* VAR_DNSTAP */ + VAR_DNSTAP_ENABLE = 428, /* VAR_DNSTAP_ENABLE */ + VAR_DNSTAP_SOCKET_PATH = 429, /* VAR_DNSTAP_SOCKET_PATH */ + VAR_DNSTAP_IP = 430, /* VAR_DNSTAP_IP */ + VAR_DNSTAP_TLS = 431, /* VAR_DNSTAP_TLS */ + VAR_DNSTAP_TLS_SERVER_NAME = 432, /* VAR_DNSTAP_TLS_SERVER_NAME */ + VAR_DNSTAP_TLS_CERT_BUNDLE = 433, /* VAR_DNSTAP_TLS_CERT_BUNDLE */ + VAR_DNSTAP_TLS_CLIENT_KEY_FILE = 434, /* VAR_DNSTAP_TLS_CLIENT_KEY_FILE */ + VAR_DNSTAP_TLS_CLIENT_CERT_FILE = 435, /* VAR_DNSTAP_TLS_CLIENT_CERT_FILE */ + VAR_DNSTAP_SEND_IDENTITY = 436, /* VAR_DNSTAP_SEND_IDENTITY */ + VAR_DNSTAP_SEND_VERSION = 437, /* VAR_DNSTAP_SEND_VERSION */ + VAR_DNSTAP_BIDIRECTIONAL = 438, /* VAR_DNSTAP_BIDIRECTIONAL */ + VAR_DNSTAP_IDENTITY = 439, /* VAR_DNSTAP_IDENTITY */ + VAR_DNSTAP_VERSION = 440, /* VAR_DNSTAP_VERSION */ + VAR_DNSTAP_LOG_RESOLVER_QUERY_MESSAGES = 441, /* VAR_DNSTAP_LOG_RESOLVER_QUERY_MESSAGES */ + VAR_DNSTAP_LOG_RESOLVER_RESPONSE_MESSAGES = 442, /* VAR_DNSTAP_LOG_RESOLVER_RESPONSE_MESSAGES */ + VAR_DNSTAP_LOG_CLIENT_QUERY_MESSAGES = 443, /* VAR_DNSTAP_LOG_CLIENT_QUERY_MESSAGES */ + VAR_DNSTAP_LOG_CLIENT_RESPONSE_MESSAGES = 444, /* VAR_DNSTAP_LOG_CLIENT_RESPONSE_MESSAGES */ + VAR_DNSTAP_LOG_FORWARDER_QUERY_MESSAGES = 445, /* VAR_DNSTAP_LOG_FORWARDER_QUERY_MESSAGES */ + VAR_DNSTAP_LOG_FORWARDER_RESPONSE_MESSAGES = 446, /* VAR_DNSTAP_LOG_FORWARDER_RESPONSE_MESSAGES */ + VAR_DNSTAP_SAMPLE_RATE = 447, /* VAR_DNSTAP_SAMPLE_RATE */ + VAR_RESPONSE_IP_TAG = 448, /* VAR_RESPONSE_IP_TAG */ + VAR_RESPONSE_IP = 449, /* VAR_RESPONSE_IP */ + VAR_RESPONSE_IP_DATA = 450, /* VAR_RESPONSE_IP_DATA */ + VAR_HARDEN_ALGO_DOWNGRADE = 451, /* VAR_HARDEN_ALGO_DOWNGRADE */ + VAR_IP_TRANSPARENT = 452, /* VAR_IP_TRANSPARENT */ + VAR_IP_DSCP = 453, /* VAR_IP_DSCP */ + VAR_DISABLE_DNSSEC_LAME_CHECK = 454, /* VAR_DISABLE_DNSSEC_LAME_CHECK */ + VAR_IP_RATELIMIT = 455, /* VAR_IP_RATELIMIT */ + VAR_IP_RATELIMIT_SLABS = 456, /* VAR_IP_RATELIMIT_SLABS */ + VAR_IP_RATELIMIT_SIZE = 457, /* VAR_IP_RATELIMIT_SIZE */ + VAR_RATELIMIT = 458, /* VAR_RATELIMIT */ + VAR_RATELIMIT_SLABS = 459, /* VAR_RATELIMIT_SLABS */ + VAR_RATELIMIT_SIZE = 460, /* VAR_RATELIMIT_SIZE */ + VAR_OUTBOUND_MSG_RETRY = 461, /* VAR_OUTBOUND_MSG_RETRY */ + VAR_MAX_SENT_COUNT = 462, /* VAR_MAX_SENT_COUNT */ + VAR_MAX_QUERY_RESTARTS = 463, /* VAR_MAX_QUERY_RESTARTS */ + VAR_RATELIMIT_FOR_DOMAIN = 464, /* VAR_RATELIMIT_FOR_DOMAIN */ + VAR_RATELIMIT_BELOW_DOMAIN = 465, /* VAR_RATELIMIT_BELOW_DOMAIN */ + VAR_IP_RATELIMIT_FACTOR = 466, /* VAR_IP_RATELIMIT_FACTOR */ + VAR_RATELIMIT_FACTOR = 467, /* VAR_RATELIMIT_FACTOR */ + VAR_IP_RATELIMIT_BACKOFF = 468, /* VAR_IP_RATELIMIT_BACKOFF */ + VAR_RATELIMIT_BACKOFF = 469, /* VAR_RATELIMIT_BACKOFF */ + VAR_SEND_CLIENT_SUBNET = 470, /* VAR_SEND_CLIENT_SUBNET */ + VAR_CLIENT_SUBNET_ZONE = 471, /* VAR_CLIENT_SUBNET_ZONE */ + VAR_CLIENT_SUBNET_ALWAYS_FORWARD = 472, /* VAR_CLIENT_SUBNET_ALWAYS_FORWARD */ + VAR_CLIENT_SUBNET_OPCODE = 473, /* VAR_CLIENT_SUBNET_OPCODE */ + VAR_MAX_CLIENT_SUBNET_IPV4 = 474, /* VAR_MAX_CLIENT_SUBNET_IPV4 */ + VAR_MAX_CLIENT_SUBNET_IPV6 = 475, /* VAR_MAX_CLIENT_SUBNET_IPV6 */ + VAR_MIN_CLIENT_SUBNET_IPV4 = 476, /* VAR_MIN_CLIENT_SUBNET_IPV4 */ + VAR_MIN_CLIENT_SUBNET_IPV6 = 477, /* VAR_MIN_CLIENT_SUBNET_IPV6 */ + VAR_MAX_ECS_TREE_SIZE_IPV4 = 478, /* VAR_MAX_ECS_TREE_SIZE_IPV4 */ + VAR_MAX_ECS_TREE_SIZE_IPV6 = 479, /* VAR_MAX_ECS_TREE_SIZE_IPV6 */ + VAR_CAPS_WHITELIST = 480, /* VAR_CAPS_WHITELIST */ + VAR_CACHE_MAX_NEGATIVE_TTL = 481, /* VAR_CACHE_MAX_NEGATIVE_TTL */ + VAR_PERMIT_SMALL_HOLDDOWN = 482, /* VAR_PERMIT_SMALL_HOLDDOWN */ + VAR_CACHE_MIN_NEGATIVE_TTL = 483, /* VAR_CACHE_MIN_NEGATIVE_TTL */ + VAR_QNAME_MINIMISATION = 484, /* VAR_QNAME_MINIMISATION */ + VAR_QNAME_MINIMISATION_STRICT = 485, /* VAR_QNAME_MINIMISATION_STRICT */ + VAR_IP_FREEBIND = 486, /* VAR_IP_FREEBIND */ + VAR_DEFINE_TAG = 487, /* VAR_DEFINE_TAG */ + VAR_LOCAL_ZONE_TAG = 488, /* VAR_LOCAL_ZONE_TAG */ + VAR_ACCESS_CONTROL_TAG = 489, /* VAR_ACCESS_CONTROL_TAG */ + VAR_LOCAL_ZONE_OVERRIDE = 490, /* VAR_LOCAL_ZONE_OVERRIDE */ + VAR_ACCESS_CONTROL_TAG_ACTION = 491, /* VAR_ACCESS_CONTROL_TAG_ACTION */ + VAR_ACCESS_CONTROL_TAG_DATA = 492, /* VAR_ACCESS_CONTROL_TAG_DATA */ + VAR_VIEW = 493, /* VAR_VIEW */ + VAR_ACCESS_CONTROL_VIEW = 494, /* VAR_ACCESS_CONTROL_VIEW */ + VAR_VIEW_FIRST = 495, /* VAR_VIEW_FIRST */ + VAR_SERVE_EXPIRED = 496, /* VAR_SERVE_EXPIRED */ + VAR_SERVE_EXPIRED_TTL = 497, /* VAR_SERVE_EXPIRED_TTL */ + VAR_SERVE_EXPIRED_TTL_RESET = 498, /* VAR_SERVE_EXPIRED_TTL_RESET */ + VAR_SERVE_EXPIRED_REPLY_TTL = 499, /* VAR_SERVE_EXPIRED_REPLY_TTL */ + VAR_SERVE_EXPIRED_CLIENT_TIMEOUT = 500, /* VAR_SERVE_EXPIRED_CLIENT_TIMEOUT */ + VAR_EDE_SERVE_EXPIRED = 501, /* VAR_EDE_SERVE_EXPIRED */ + VAR_SERVE_ORIGINAL_TTL = 502, /* VAR_SERVE_ORIGINAL_TTL */ + VAR_FAKE_DSA = 503, /* VAR_FAKE_DSA */ + VAR_FAKE_SHA1 = 504, /* VAR_FAKE_SHA1 */ + VAR_LOG_IDENTITY = 505, /* VAR_LOG_IDENTITY */ + VAR_HIDE_TRUSTANCHOR = 506, /* VAR_HIDE_TRUSTANCHOR */ + VAR_HIDE_HTTP_USER_AGENT = 507, /* VAR_HIDE_HTTP_USER_AGENT */ + VAR_HTTP_USER_AGENT = 508, /* VAR_HTTP_USER_AGENT */ + VAR_TRUST_ANCHOR_SIGNALING = 509, /* VAR_TRUST_ANCHOR_SIGNALING */ + VAR_AGGRESSIVE_NSEC = 510, /* VAR_AGGRESSIVE_NSEC */ + VAR_USE_SYSTEMD = 511, /* VAR_USE_SYSTEMD */ + VAR_SHM_ENABLE = 512, /* VAR_SHM_ENABLE */ + VAR_SHM_KEY = 513, /* VAR_SHM_KEY */ + VAR_ROOT_KEY_SENTINEL = 514, /* VAR_ROOT_KEY_SENTINEL */ + VAR_DNSCRYPT = 515, /* VAR_DNSCRYPT */ + VAR_DNSCRYPT_ENABLE = 516, /* VAR_DNSCRYPT_ENABLE */ + VAR_DNSCRYPT_PORT = 517, /* VAR_DNSCRYPT_PORT */ + VAR_DNSCRYPT_PROVIDER = 518, /* VAR_DNSCRYPT_PROVIDER */ + VAR_DNSCRYPT_SECRET_KEY = 519, /* VAR_DNSCRYPT_SECRET_KEY */ + VAR_DNSCRYPT_PROVIDER_CERT = 520, /* VAR_DNSCRYPT_PROVIDER_CERT */ + VAR_DNSCRYPT_PROVIDER_CERT_ROTATED = 521, /* VAR_DNSCRYPT_PROVIDER_CERT_ROTATED */ + VAR_DNSCRYPT_SHARED_SECRET_CACHE_SIZE = 522, /* VAR_DNSCRYPT_SHARED_SECRET_CACHE_SIZE */ + VAR_DNSCRYPT_SHARED_SECRET_CACHE_SLABS = 523, /* VAR_DNSCRYPT_SHARED_SECRET_CACHE_SLABS */ + VAR_DNSCRYPT_NONCE_CACHE_SIZE = 524, /* VAR_DNSCRYPT_NONCE_CACHE_SIZE */ + VAR_DNSCRYPT_NONCE_CACHE_SLABS = 525, /* VAR_DNSCRYPT_NONCE_CACHE_SLABS */ + VAR_PAD_RESPONSES = 526, /* VAR_PAD_RESPONSES */ + VAR_PAD_RESPONSES_BLOCK_SIZE = 527, /* VAR_PAD_RESPONSES_BLOCK_SIZE */ + VAR_PAD_QUERIES = 528, /* VAR_PAD_QUERIES */ + VAR_PAD_QUERIES_BLOCK_SIZE = 529, /* VAR_PAD_QUERIES_BLOCK_SIZE */ + VAR_IPSECMOD_ENABLED = 530, /* VAR_IPSECMOD_ENABLED */ + VAR_IPSECMOD_HOOK = 531, /* VAR_IPSECMOD_HOOK */ + VAR_IPSECMOD_IGNORE_BOGUS = 532, /* VAR_IPSECMOD_IGNORE_BOGUS */ + VAR_IPSECMOD_MAX_TTL = 533, /* VAR_IPSECMOD_MAX_TTL */ + VAR_IPSECMOD_WHITELIST = 534, /* VAR_IPSECMOD_WHITELIST */ + VAR_IPSECMOD_STRICT = 535, /* VAR_IPSECMOD_STRICT */ + VAR_CACHEDB = 536, /* VAR_CACHEDB */ + VAR_CACHEDB_BACKEND = 537, /* VAR_CACHEDB_BACKEND */ + VAR_CACHEDB_SECRETSEED = 538, /* VAR_CACHEDB_SECRETSEED */ + VAR_CACHEDB_REDISHOST = 539, /* VAR_CACHEDB_REDISHOST */ + VAR_CACHEDB_REDISREPLICAHOST = 540, /* VAR_CACHEDB_REDISREPLICAHOST */ + VAR_CACHEDB_REDISPORT = 541, /* VAR_CACHEDB_REDISPORT */ + VAR_CACHEDB_REDISREPLICAPORT = 542, /* VAR_CACHEDB_REDISREPLICAPORT */ + VAR_CACHEDB_REDISTIMEOUT = 543, /* VAR_CACHEDB_REDISTIMEOUT */ + VAR_CACHEDB_REDISREPLICATIMEOUT = 544, /* VAR_CACHEDB_REDISREPLICATIMEOUT */ + VAR_CACHEDB_REDISEXPIRERECORDS = 545, /* VAR_CACHEDB_REDISEXPIRERECORDS */ + VAR_CACHEDB_REDISPATH = 546, /* VAR_CACHEDB_REDISPATH */ + VAR_CACHEDB_REDISREPLICAPATH = 547, /* VAR_CACHEDB_REDISREPLICAPATH */ + VAR_CACHEDB_REDISPASSWORD = 548, /* VAR_CACHEDB_REDISPASSWORD */ + VAR_CACHEDB_REDISREPLICAPASSWORD = 549, /* VAR_CACHEDB_REDISREPLICAPASSWORD */ + VAR_CACHEDB_REDISLOGICALDB = 550, /* VAR_CACHEDB_REDISLOGICALDB */ + VAR_CACHEDB_REDISREPLICALOGICALDB = 551, /* VAR_CACHEDB_REDISREPLICALOGICALDB */ + VAR_CACHEDB_REDISCOMMANDTIMEOUT = 552, /* VAR_CACHEDB_REDISCOMMANDTIMEOUT */ + VAR_CACHEDB_REDISREPLICACOMMANDTIMEOUT = 553, /* VAR_CACHEDB_REDISREPLICACOMMANDTIMEOUT */ + VAR_CACHEDB_REDISCONNECTTIMEOUT = 554, /* VAR_CACHEDB_REDISCONNECTTIMEOUT */ + VAR_CACHEDB_REDISREPLICACONNECTTIMEOUT = 555, /* VAR_CACHEDB_REDISREPLICACONNECTTIMEOUT */ + VAR_UDP_UPSTREAM_WITHOUT_DOWNSTREAM = 556, /* VAR_UDP_UPSTREAM_WITHOUT_DOWNSTREAM */ + VAR_FOR_UPSTREAM = 557, /* VAR_FOR_UPSTREAM */ + VAR_AUTH_ZONE = 558, /* VAR_AUTH_ZONE */ + VAR_ZONEFILE = 559, /* VAR_ZONEFILE */ + VAR_MASTER = 560, /* VAR_MASTER */ + VAR_URL = 561, /* VAR_URL */ + VAR_FOR_DOWNSTREAM = 562, /* VAR_FOR_DOWNSTREAM */ + VAR_FALLBACK_ENABLED = 563, /* VAR_FALLBACK_ENABLED */ + VAR_TLS_ADDITIONAL_PORT = 564, /* VAR_TLS_ADDITIONAL_PORT */ + VAR_LOW_RTT = 565, /* VAR_LOW_RTT */ + VAR_LOW_RTT_PERMIL = 566, /* VAR_LOW_RTT_PERMIL */ + VAR_FAST_SERVER_PERMIL = 567, /* VAR_FAST_SERVER_PERMIL */ + VAR_FAST_SERVER_NUM = 568, /* VAR_FAST_SERVER_NUM */ + VAR_ALLOW_NOTIFY = 569, /* VAR_ALLOW_NOTIFY */ + VAR_TLS_WIN_CERT = 570, /* VAR_TLS_WIN_CERT */ + VAR_TCP_CONNECTION_LIMIT = 571, /* VAR_TCP_CONNECTION_LIMIT */ + VAR_ANSWER_COOKIE = 572, /* VAR_ANSWER_COOKIE */ + VAR_COOKIE_SECRET = 573, /* VAR_COOKIE_SECRET */ + VAR_IP_RATELIMIT_COOKIE = 574, /* VAR_IP_RATELIMIT_COOKIE */ + VAR_FORWARD_NO_CACHE = 575, /* VAR_FORWARD_NO_CACHE */ + VAR_STUB_NO_CACHE = 576, /* VAR_STUB_NO_CACHE */ + VAR_LOG_SERVFAIL = 577, /* VAR_LOG_SERVFAIL */ + VAR_DENY_ANY = 578, /* VAR_DENY_ANY */ + VAR_UNKNOWN_SERVER_TIME_LIMIT = 579, /* VAR_UNKNOWN_SERVER_TIME_LIMIT */ + VAR_LOG_TAG_QUERYREPLY = 580, /* VAR_LOG_TAG_QUERYREPLY */ + VAR_DISCARD_TIMEOUT = 581, /* VAR_DISCARD_TIMEOUT */ + VAR_WAIT_LIMIT = 582, /* VAR_WAIT_LIMIT */ + VAR_WAIT_LIMIT_COOKIE = 583, /* VAR_WAIT_LIMIT_COOKIE */ + VAR_WAIT_LIMIT_NETBLOCK = 584, /* VAR_WAIT_LIMIT_NETBLOCK */ + VAR_WAIT_LIMIT_COOKIE_NETBLOCK = 585, /* VAR_WAIT_LIMIT_COOKIE_NETBLOCK */ + VAR_STREAM_WAIT_SIZE = 586, /* VAR_STREAM_WAIT_SIZE */ + VAR_TLS_CIPHERS = 587, /* VAR_TLS_CIPHERS */ + VAR_TLS_CIPHERSUITES = 588, /* VAR_TLS_CIPHERSUITES */ + VAR_TLS_USE_SNI = 589, /* VAR_TLS_USE_SNI */ + VAR_TLS_PROTOCOLS = 590, /* VAR_TLS_PROTOCOLS */ + VAR_IPSET = 591, /* VAR_IPSET */ + VAR_IPSET_NAME_V4 = 592, /* VAR_IPSET_NAME_V4 */ + VAR_IPSET_NAME_V6 = 593, /* VAR_IPSET_NAME_V6 */ + VAR_TLS_SESSION_TICKET_KEYS = 594, /* VAR_TLS_SESSION_TICKET_KEYS */ + VAR_RPZ = 595, /* VAR_RPZ */ + VAR_TAGS = 596, /* VAR_TAGS */ + VAR_RPZ_ACTION_OVERRIDE = 597, /* VAR_RPZ_ACTION_OVERRIDE */ + VAR_RPZ_CNAME_OVERRIDE = 598, /* VAR_RPZ_CNAME_OVERRIDE */ + VAR_RPZ_LOG = 599, /* VAR_RPZ_LOG */ + VAR_RPZ_LOG_NAME = 600, /* VAR_RPZ_LOG_NAME */ + VAR_DYNLIB = 601, /* VAR_DYNLIB */ + VAR_DYNLIB_FILE = 602, /* VAR_DYNLIB_FILE */ + VAR_EDNS_CLIENT_STRING = 603, /* VAR_EDNS_CLIENT_STRING */ + VAR_EDNS_CLIENT_STRING_OPCODE = 604, /* VAR_EDNS_CLIENT_STRING_OPCODE */ + VAR_NSID = 605, /* VAR_NSID */ + VAR_ZONEMD_PERMISSIVE_MODE = 606, /* VAR_ZONEMD_PERMISSIVE_MODE */ + VAR_ZONEMD_CHECK = 607, /* VAR_ZONEMD_CHECK */ + VAR_ZONEMD_REJECT_ABSENCE = 608, /* VAR_ZONEMD_REJECT_ABSENCE */ + VAR_RPZ_SIGNAL_NXDOMAIN_RA = 609, /* VAR_RPZ_SIGNAL_NXDOMAIN_RA */ + VAR_INTERFACE_AUTOMATIC_PORTS = 610, /* VAR_INTERFACE_AUTOMATIC_PORTS */ + VAR_EDE = 611, /* VAR_EDE */ + VAR_DNS_ERROR_REPORTING = 612, /* VAR_DNS_ERROR_REPORTING */ + VAR_INTERFACE_ACTION = 613, /* VAR_INTERFACE_ACTION */ + VAR_INTERFACE_VIEW = 614, /* VAR_INTERFACE_VIEW */ + VAR_INTERFACE_TAG = 615, /* VAR_INTERFACE_TAG */ + VAR_INTERFACE_TAG_ACTION = 616, /* VAR_INTERFACE_TAG_ACTION */ + VAR_INTERFACE_TAG_DATA = 617, /* VAR_INTERFACE_TAG_DATA */ + VAR_QUIC_PORT = 618, /* VAR_QUIC_PORT */ + VAR_QUIC_SIZE = 619, /* VAR_QUIC_SIZE */ + VAR_PROXY_PROTOCOL_PORT = 620, /* VAR_PROXY_PROTOCOL_PORT */ + VAR_STATISTICS_INHIBIT_ZERO = 621, /* VAR_STATISTICS_INHIBIT_ZERO */ + VAR_HARDEN_UNKNOWN_ADDITIONAL = 622, /* VAR_HARDEN_UNKNOWN_ADDITIONAL */ + VAR_DISABLE_EDNS_DO = 623, /* VAR_DISABLE_EDNS_DO */ + VAR_CACHEDB_NO_STORE = 624, /* VAR_CACHEDB_NO_STORE */ + VAR_LOG_DESTADDR = 625, /* VAR_LOG_DESTADDR */ + VAR_CACHEDB_CHECK_WHEN_SERVE_EXPIRED = 626, /* VAR_CACHEDB_CHECK_WHEN_SERVE_EXPIRED */ + VAR_COOKIE_SECRET_FILE = 627, /* VAR_COOKIE_SECRET_FILE */ + VAR_ITER_SCRUB_NS = 628, /* VAR_ITER_SCRUB_NS */ + VAR_ITER_SCRUB_CNAME = 629, /* VAR_ITER_SCRUB_CNAME */ + VAR_ITER_SCRUB_RRSIG = 630, /* VAR_ITER_SCRUB_RRSIG */ + VAR_MAX_TRANSFER_SIZE = 631, /* VAR_MAX_TRANSFER_SIZE */ + VAR_MAX_TRANSFER_TIME = 632, /* VAR_MAX_TRANSFER_TIME */ + VAR_MAX_GLOBAL_QUOTA = 633, /* VAR_MAX_GLOBAL_QUOTA */ + VAR_HARDEN_UNVERIFIED_GLUE = 634, /* VAR_HARDEN_UNVERIFIED_GLUE */ + VAR_LOG_TIME_ISO = 635, /* VAR_LOG_TIME_ISO */ + VAR_VAL_VALIDATION_ATTEMPTS = 636, /* VAR_VAL_VALIDATION_ATTEMPTS */ + VAR_VAL_HASH_ATTEMPTS = 637, /* VAR_VAL_HASH_ATTEMPTS */ + VAR_ITER_SCRUB_PROMISCUOUS = 638, /* VAR_ITER_SCRUB_PROMISCUOUS */ + VAR_LOG_THREAD_ID = 639 /* VAR_LOG_THREAD_ID */ + }; + typedef enum yytokentype yytoken_kind_t; +#endif +/* Token kinds. */ +#define YYEMPTY -2 +#define YYEOF 0 +#define YYerror 256 +#define YYUNDEF 257 +#define SPACE 258 +#define LETTER 259 +#define NEWLINE 260 +#define COMMENT 261 +#define COLON 262 +#define ANY 263 +#define ZONESTR 264 +#define STRING_ARG 265 +#define VAR_FORCE_TOPLEVEL 266 +#define VAR_SERVER 267 +#define VAR_VERBOSITY 268 +#define VAR_NUM_THREADS 269 +#define VAR_PORT 270 +#define VAR_OUTGOING_RANGE 271 +#define VAR_INTERFACE 272 +#define VAR_PREFER_IP4 273 +#define VAR_DO_IP4 274 +#define VAR_DO_IP6 275 +#define VAR_DO_NAT64 276 +#define VAR_PREFER_IP6 277 +#define VAR_DO_UDP 278 +#define VAR_DO_TCP 279 +#define VAR_TCP_MSS 280 +#define VAR_OUTGOING_TCP_MSS 281 +#define VAR_TCP_IDLE_TIMEOUT 282 +#define VAR_EDNS_TCP_KEEPALIVE 283 +#define VAR_EDNS_TCP_KEEPALIVE_TIMEOUT 284 +#define VAR_SOCK_QUEUE_TIMEOUT 285 +#define VAR_CHROOT 286 +#define VAR_USERNAME 287 +#define VAR_DIRECTORY 288 +#define VAR_LOGFILE 289 +#define VAR_PIDFILE 290 +#define VAR_MSG_CACHE_SIZE 291 +#define VAR_MSG_CACHE_SLABS 292 +#define VAR_NUM_QUERIES_PER_THREAD 293 +#define VAR_RRSET_CACHE_SIZE 294 +#define VAR_RRSET_CACHE_SLABS 295 +#define VAR_OUTGOING_NUM_TCP 296 +#define VAR_INFRA_HOST_TTL 297 +#define VAR_INFRA_LAME_TTL 298 +#define VAR_INFRA_CACHE_SLABS 299 +#define VAR_INFRA_CACHE_NUMHOSTS 300 +#define VAR_INFRA_CACHE_LAME_SIZE 301 +#define VAR_NAME 302 +#define VAR_STUB_ZONE 303 +#define VAR_STUB_HOST 304 +#define VAR_STUB_ADDR 305 +#define VAR_TARGET_FETCH_POLICY 306 +#define VAR_HARDEN_SHORT_BUFSIZE 307 +#define VAR_HARDEN_LARGE_QUERIES 308 +#define VAR_FORWARD_ZONE 309 +#define VAR_FORWARD_HOST 310 +#define VAR_FORWARD_ADDR 311 +#define VAR_DO_NOT_QUERY_ADDRESS 312 +#define VAR_HIDE_IDENTITY 313 +#define VAR_HIDE_VERSION 314 +#define VAR_IDENTITY 315 +#define VAR_VERSION 316 +#define VAR_HARDEN_GLUE 317 +#define VAR_MODULE_CONF 318 +#define VAR_TRUST_ANCHOR_FILE 319 +#define VAR_TRUST_ANCHOR 320 +#define VAR_VAL_OVERRIDE_DATE 321 +#define VAR_BOGUS_TTL 322 +#define VAR_VAL_CLEAN_ADDITIONAL 323 +#define VAR_VAL_PERMISSIVE_MODE 324 +#define VAR_INCOMING_NUM_TCP 325 +#define VAR_MSG_BUFFER_SIZE 326 +#define VAR_KEY_CACHE_SIZE 327 +#define VAR_KEY_CACHE_SLABS 328 +#define VAR_TRUSTED_KEYS_FILE 329 +#define VAR_VAL_NSEC3_KEYSIZE_ITERATIONS 330 +#define VAR_USE_SYSLOG 331 +#define VAR_OUTGOING_INTERFACE 332 +#define VAR_ROOT_HINTS 333 +#define VAR_DO_NOT_QUERY_LOCALHOST 334 +#define VAR_CACHE_MAX_TTL 335 +#define VAR_HARDEN_DNSSEC_STRIPPED 336 +#define VAR_ACCESS_CONTROL 337 +#define VAR_LOCAL_ZONE 338 +#define VAR_LOCAL_DATA 339 +#define VAR_INTERFACE_AUTOMATIC 340 +#define VAR_STATISTICS_INTERVAL 341 +#define VAR_DO_DAEMONIZE 342 +#define VAR_USE_CAPS_FOR_ID 343 +#define VAR_STATISTICS_CUMULATIVE 344 +#define VAR_OUTGOING_PORT_PERMIT 345 +#define VAR_OUTGOING_PORT_AVOID 346 +#define VAR_DLV_ANCHOR_FILE 347 +#define VAR_DLV_ANCHOR 348 +#define VAR_NEG_CACHE_SIZE 349 +#define VAR_HARDEN_REFERRAL_PATH 350 +#define VAR_PRIVATE_ADDRESS 351 +#define VAR_PRIVATE_DOMAIN 352 +#define VAR_REMOTE_CONTROL 353 +#define VAR_CONTROL_ENABLE 354 +#define VAR_CONTROL_INTERFACE 355 +#define VAR_CONTROL_PORT 356 +#define VAR_SERVER_KEY_FILE 357 +#define VAR_SERVER_CERT_FILE 358 +#define VAR_CONTROL_KEY_FILE 359 +#define VAR_CONTROL_CERT_FILE 360 +#define VAR_CONTROL_USE_CERT 361 +#define VAR_TCP_REUSE_TIMEOUT 362 +#define VAR_MAX_REUSE_TCP_QUERIES 363 +#define VAR_EXTENDED_STATISTICS 364 +#define VAR_LOCAL_DATA_PTR 365 +#define VAR_JOSTLE_TIMEOUT 366 +#define VAR_STUB_PRIME 367 +#define VAR_UNWANTED_REPLY_THRESHOLD 368 +#define VAR_LOG_TIME_ASCII 369 +#define VAR_DOMAIN_INSECURE 370 +#define VAR_PYTHON 371 +#define VAR_PYTHON_SCRIPT 372 +#define VAR_VAL_SIG_SKEW_MIN 373 +#define VAR_VAL_SIG_SKEW_MAX 374 +#define VAR_VAL_MAX_RESTART 375 +#define VAR_CACHE_MIN_TTL 376 +#define VAR_VAL_LOG_LEVEL 377 +#define VAR_AUTO_TRUST_ANCHOR_FILE 378 +#define VAR_KEEP_MISSING 379 +#define VAR_ADD_HOLDDOWN 380 +#define VAR_DEL_HOLDDOWN 381 +#define VAR_SO_RCVBUF 382 +#define VAR_EDNS_BUFFER_SIZE 383 +#define VAR_PREFETCH 384 +#define VAR_PREFETCH_KEY 385 +#define VAR_SO_SNDBUF 386 +#define VAR_SO_REUSEPORT 387 +#define VAR_HARDEN_BELOW_NXDOMAIN 388 +#define VAR_IGNORE_CD_FLAG 389 +#define VAR_LOG_QUERIES 390 +#define VAR_LOG_REPLIES 391 +#define VAR_LOG_LOCAL_ACTIONS 392 +#define VAR_TCP_UPSTREAM 393 +#define VAR_SSL_UPSTREAM 394 +#define VAR_TCP_AUTH_QUERY_TIMEOUT 395 +#define VAR_SSL_SERVICE_KEY 396 +#define VAR_SSL_SERVICE_PEM 397 +#define VAR_SSL_PORT 398 +#define VAR_FORWARD_FIRST 399 +#define VAR_STUB_SSL_UPSTREAM 400 +#define VAR_FORWARD_SSL_UPSTREAM 401 +#define VAR_TLS_CERT_BUNDLE 402 +#define VAR_STUB_TCP_UPSTREAM 403 +#define VAR_FORWARD_TCP_UPSTREAM 404 +#define VAR_HTTPS_PORT 405 +#define VAR_HTTP_ENDPOINT 406 +#define VAR_HTTP_MAX_STREAMS 407 +#define VAR_HTTP_QUERY_BUFFER_SIZE 408 +#define VAR_HTTP_RESPONSE_BUFFER_SIZE 409 +#define VAR_HTTP_NODELAY 410 +#define VAR_HTTP_NOTLS_DOWNSTREAM 411 +#define VAR_STUB_FIRST 412 +#define VAR_MINIMAL_RESPONSES 413 +#define VAR_RRSET_ROUNDROBIN 414 +#define VAR_MAX_UDP_SIZE 415 +#define VAR_DELAY_CLOSE 416 +#define VAR_UDP_CONNECT 417 +#define VAR_UNBLOCK_LAN_ZONES 418 +#define VAR_INSECURE_LAN_ZONES 419 +#define VAR_INFRA_CACHE_MIN_RTT 420 +#define VAR_INFRA_CACHE_MAX_RTT 421 +#define VAR_INFRA_KEEP_PROBING 422 +#define VAR_DNS64_PREFIX 423 +#define VAR_DNS64_SYNTHALL 424 +#define VAR_DNS64_IGNORE_AAAA 425 +#define VAR_NAT64_PREFIX 426 +#define VAR_DNSTAP 427 +#define VAR_DNSTAP_ENABLE 428 +#define VAR_DNSTAP_SOCKET_PATH 429 +#define VAR_DNSTAP_IP 430 +#define VAR_DNSTAP_TLS 431 +#define VAR_DNSTAP_TLS_SERVER_NAME 432 +#define VAR_DNSTAP_TLS_CERT_BUNDLE 433 +#define VAR_DNSTAP_TLS_CLIENT_KEY_FILE 434 +#define VAR_DNSTAP_TLS_CLIENT_CERT_FILE 435 +#define VAR_DNSTAP_SEND_IDENTITY 436 +#define VAR_DNSTAP_SEND_VERSION 437 +#define VAR_DNSTAP_BIDIRECTIONAL 438 +#define VAR_DNSTAP_IDENTITY 439 +#define VAR_DNSTAP_VERSION 440 +#define VAR_DNSTAP_LOG_RESOLVER_QUERY_MESSAGES 441 +#define VAR_DNSTAP_LOG_RESOLVER_RESPONSE_MESSAGES 442 +#define VAR_DNSTAP_LOG_CLIENT_QUERY_MESSAGES 443 +#define VAR_DNSTAP_LOG_CLIENT_RESPONSE_MESSAGES 444 +#define VAR_DNSTAP_LOG_FORWARDER_QUERY_MESSAGES 445 +#define VAR_DNSTAP_LOG_FORWARDER_RESPONSE_MESSAGES 446 +#define VAR_DNSTAP_SAMPLE_RATE 447 +#define VAR_RESPONSE_IP_TAG 448 +#define VAR_RESPONSE_IP 449 +#define VAR_RESPONSE_IP_DATA 450 +#define VAR_HARDEN_ALGO_DOWNGRADE 451 +#define VAR_IP_TRANSPARENT 452 +#define VAR_IP_DSCP 453 +#define VAR_DISABLE_DNSSEC_LAME_CHECK 454 +#define VAR_IP_RATELIMIT 455 +#define VAR_IP_RATELIMIT_SLABS 456 +#define VAR_IP_RATELIMIT_SIZE 457 +#define VAR_RATELIMIT 458 +#define VAR_RATELIMIT_SLABS 459 +#define VAR_RATELIMIT_SIZE 460 +#define VAR_OUTBOUND_MSG_RETRY 461 +#define VAR_MAX_SENT_COUNT 462 +#define VAR_MAX_QUERY_RESTARTS 463 +#define VAR_RATELIMIT_FOR_DOMAIN 464 +#define VAR_RATELIMIT_BELOW_DOMAIN 465 +#define VAR_IP_RATELIMIT_FACTOR 466 +#define VAR_RATELIMIT_FACTOR 467 +#define VAR_IP_RATELIMIT_BACKOFF 468 +#define VAR_RATELIMIT_BACKOFF 469 +#define VAR_SEND_CLIENT_SUBNET 470 +#define VAR_CLIENT_SUBNET_ZONE 471 +#define VAR_CLIENT_SUBNET_ALWAYS_FORWARD 472 +#define VAR_CLIENT_SUBNET_OPCODE 473 +#define VAR_MAX_CLIENT_SUBNET_IPV4 474 +#define VAR_MAX_CLIENT_SUBNET_IPV6 475 +#define VAR_MIN_CLIENT_SUBNET_IPV4 476 +#define VAR_MIN_CLIENT_SUBNET_IPV6 477 +#define VAR_MAX_ECS_TREE_SIZE_IPV4 478 +#define VAR_MAX_ECS_TREE_SIZE_IPV6 479 +#define VAR_CAPS_WHITELIST 480 +#define VAR_CACHE_MAX_NEGATIVE_TTL 481 +#define VAR_PERMIT_SMALL_HOLDDOWN 482 +#define VAR_CACHE_MIN_NEGATIVE_TTL 483 +#define VAR_QNAME_MINIMISATION 484 +#define VAR_QNAME_MINIMISATION_STRICT 485 +#define VAR_IP_FREEBIND 486 +#define VAR_DEFINE_TAG 487 +#define VAR_LOCAL_ZONE_TAG 488 +#define VAR_ACCESS_CONTROL_TAG 489 +#define VAR_LOCAL_ZONE_OVERRIDE 490 +#define VAR_ACCESS_CONTROL_TAG_ACTION 491 +#define VAR_ACCESS_CONTROL_TAG_DATA 492 +#define VAR_VIEW 493 +#define VAR_ACCESS_CONTROL_VIEW 494 +#define VAR_VIEW_FIRST 495 +#define VAR_SERVE_EXPIRED 496 +#define VAR_SERVE_EXPIRED_TTL 497 +#define VAR_SERVE_EXPIRED_TTL_RESET 498 +#define VAR_SERVE_EXPIRED_REPLY_TTL 499 +#define VAR_SERVE_EXPIRED_CLIENT_TIMEOUT 500 +#define VAR_EDE_SERVE_EXPIRED 501 +#define VAR_SERVE_ORIGINAL_TTL 502 +#define VAR_FAKE_DSA 503 +#define VAR_FAKE_SHA1 504 +#define VAR_LOG_IDENTITY 505 +#define VAR_HIDE_TRUSTANCHOR 506 +#define VAR_HIDE_HTTP_USER_AGENT 507 +#define VAR_HTTP_USER_AGENT 508 +#define VAR_TRUST_ANCHOR_SIGNALING 509 +#define VAR_AGGRESSIVE_NSEC 510 +#define VAR_USE_SYSTEMD 511 +#define VAR_SHM_ENABLE 512 +#define VAR_SHM_KEY 513 +#define VAR_ROOT_KEY_SENTINEL 514 +#define VAR_DNSCRYPT 515 +#define VAR_DNSCRYPT_ENABLE 516 +#define VAR_DNSCRYPT_PORT 517 +#define VAR_DNSCRYPT_PROVIDER 518 +#define VAR_DNSCRYPT_SECRET_KEY 519 +#define VAR_DNSCRYPT_PROVIDER_CERT 520 +#define VAR_DNSCRYPT_PROVIDER_CERT_ROTATED 521 +#define VAR_DNSCRYPT_SHARED_SECRET_CACHE_SIZE 522 +#define VAR_DNSCRYPT_SHARED_SECRET_CACHE_SLABS 523 +#define VAR_DNSCRYPT_NONCE_CACHE_SIZE 524 +#define VAR_DNSCRYPT_NONCE_CACHE_SLABS 525 +#define VAR_PAD_RESPONSES 526 +#define VAR_PAD_RESPONSES_BLOCK_SIZE 527 +#define VAR_PAD_QUERIES 528 +#define VAR_PAD_QUERIES_BLOCK_SIZE 529 +#define VAR_IPSECMOD_ENABLED 530 +#define VAR_IPSECMOD_HOOK 531 +#define VAR_IPSECMOD_IGNORE_BOGUS 532 +#define VAR_IPSECMOD_MAX_TTL 533 +#define VAR_IPSECMOD_WHITELIST 534 +#define VAR_IPSECMOD_STRICT 535 +#define VAR_CACHEDB 536 +#define VAR_CACHEDB_BACKEND 537 +#define VAR_CACHEDB_SECRETSEED 538 +#define VAR_CACHEDB_REDISHOST 539 +#define VAR_CACHEDB_REDISREPLICAHOST 540 +#define VAR_CACHEDB_REDISPORT 541 +#define VAR_CACHEDB_REDISREPLICAPORT 542 +#define VAR_CACHEDB_REDISTIMEOUT 543 +#define VAR_CACHEDB_REDISREPLICATIMEOUT 544 +#define VAR_CACHEDB_REDISEXPIRERECORDS 545 +#define VAR_CACHEDB_REDISPATH 546 +#define VAR_CACHEDB_REDISREPLICAPATH 547 +#define VAR_CACHEDB_REDISPASSWORD 548 +#define VAR_CACHEDB_REDISREPLICAPASSWORD 549 +#define VAR_CACHEDB_REDISLOGICALDB 550 +#define VAR_CACHEDB_REDISREPLICALOGICALDB 551 +#define VAR_CACHEDB_REDISCOMMANDTIMEOUT 552 +#define VAR_CACHEDB_REDISREPLICACOMMANDTIMEOUT 553 +#define VAR_CACHEDB_REDISCONNECTTIMEOUT 554 +#define VAR_CACHEDB_REDISREPLICACONNECTTIMEOUT 555 +#define VAR_UDP_UPSTREAM_WITHOUT_DOWNSTREAM 556 +#define VAR_FOR_UPSTREAM 557 +#define VAR_AUTH_ZONE 558 +#define VAR_ZONEFILE 559 +#define VAR_MASTER 560 +#define VAR_URL 561 +#define VAR_FOR_DOWNSTREAM 562 +#define VAR_FALLBACK_ENABLED 563 +#define VAR_TLS_ADDITIONAL_PORT 564 +#define VAR_LOW_RTT 565 +#define VAR_LOW_RTT_PERMIL 566 +#define VAR_FAST_SERVER_PERMIL 567 +#define VAR_FAST_SERVER_NUM 568 +#define VAR_ALLOW_NOTIFY 569 +#define VAR_TLS_WIN_CERT 570 +#define VAR_TCP_CONNECTION_LIMIT 571 +#define VAR_ANSWER_COOKIE 572 +#define VAR_COOKIE_SECRET 573 +#define VAR_IP_RATELIMIT_COOKIE 574 +#define VAR_FORWARD_NO_CACHE 575 +#define VAR_STUB_NO_CACHE 576 +#define VAR_LOG_SERVFAIL 577 +#define VAR_DENY_ANY 578 +#define VAR_UNKNOWN_SERVER_TIME_LIMIT 579 +#define VAR_LOG_TAG_QUERYREPLY 580 +#define VAR_DISCARD_TIMEOUT 581 +#define VAR_WAIT_LIMIT 582 +#define VAR_WAIT_LIMIT_COOKIE 583 +#define VAR_WAIT_LIMIT_NETBLOCK 584 +#define VAR_WAIT_LIMIT_COOKIE_NETBLOCK 585 +#define VAR_STREAM_WAIT_SIZE 586 +#define VAR_TLS_CIPHERS 587 +#define VAR_TLS_CIPHERSUITES 588 +#define VAR_TLS_USE_SNI 589 +#define VAR_TLS_PROTOCOLS 590 +#define VAR_IPSET 591 +#define VAR_IPSET_NAME_V4 592 +#define VAR_IPSET_NAME_V6 593 +#define VAR_TLS_SESSION_TICKET_KEYS 594 +#define VAR_RPZ 595 +#define VAR_TAGS 596 +#define VAR_RPZ_ACTION_OVERRIDE 597 +#define VAR_RPZ_CNAME_OVERRIDE 598 +#define VAR_RPZ_LOG 599 +#define VAR_RPZ_LOG_NAME 600 +#define VAR_DYNLIB 601 +#define VAR_DYNLIB_FILE 602 +#define VAR_EDNS_CLIENT_STRING 603 +#define VAR_EDNS_CLIENT_STRING_OPCODE 604 +#define VAR_NSID 605 +#define VAR_ZONEMD_PERMISSIVE_MODE 606 +#define VAR_ZONEMD_CHECK 607 +#define VAR_ZONEMD_REJECT_ABSENCE 608 +#define VAR_RPZ_SIGNAL_NXDOMAIN_RA 609 +#define VAR_INTERFACE_AUTOMATIC_PORTS 610 +#define VAR_EDE 611 +#define VAR_DNS_ERROR_REPORTING 612 +#define VAR_INTERFACE_ACTION 613 +#define VAR_INTERFACE_VIEW 614 +#define VAR_INTERFACE_TAG 615 +#define VAR_INTERFACE_TAG_ACTION 616 +#define VAR_INTERFACE_TAG_DATA 617 +#define VAR_QUIC_PORT 618 +#define VAR_QUIC_SIZE 619 +#define VAR_PROXY_PROTOCOL_PORT 620 +#define VAR_STATISTICS_INHIBIT_ZERO 621 +#define VAR_HARDEN_UNKNOWN_ADDITIONAL 622 +#define VAR_DISABLE_EDNS_DO 623 +#define VAR_CACHEDB_NO_STORE 624 +#define VAR_LOG_DESTADDR 625 +#define VAR_CACHEDB_CHECK_WHEN_SERVE_EXPIRED 626 +#define VAR_COOKIE_SECRET_FILE 627 +#define VAR_ITER_SCRUB_NS 628 +#define VAR_ITER_SCRUB_CNAME 629 +#define VAR_ITER_SCRUB_RRSIG 630 +#define VAR_MAX_TRANSFER_SIZE 631 +#define VAR_MAX_TRANSFER_TIME 632 +#define VAR_MAX_GLOBAL_QUOTA 633 +#define VAR_HARDEN_UNVERIFIED_GLUE 634 +#define VAR_LOG_TIME_ISO 635 +#define VAR_VAL_VALIDATION_ATTEMPTS 636 +#define VAR_VAL_HASH_ATTEMPTS 637 +#define VAR_ITER_SCRUB_PROMISCUOUS 638 +#define VAR_LOG_THREAD_ID 639 + +/* Value type. */ +#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED +union YYSTYPE +{ +#line 68 "util/configparser.y" + + char* str; + +#line 839 "util/configparser.h" + +}; +typedef union YYSTYPE YYSTYPE; +# define YYSTYPE_IS_TRIVIAL 1 +# define YYSTYPE_IS_DECLARED 1 +#endif + + +extern YYSTYPE yylval; + + +int yyparse (void); + + +#endif /* !YY_YY_UTIL_CONFIGPARSER_H_INCLUDED */ |
